MCPcopy Create free account
hub / github.com/IQEngine/IQEngine / is_open_ai_available

Function is_open_ai_available

api/aifunctions/aiquery.py:41–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 ]
40
41def is_open_ai_available():
42 return \
43 openai.api_type != None and openai.api_type != "" and \
44 openai.api_key != None and openai.api_key != "" and \
45 openai.api_base != None and openai.api_base != "" and \
46 openai.api_version != None and openai.api_version != ""
47
48
49def get_query_result(query: str) :

Callers 1

get_query_resultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected