MCPcopy Create free account
hub / github.com/Enfoirer/Text2GraphRAG / get_openai_async_client_instance

Function get_openai_async_client_instance

nano_graphrag/_llm.py:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def get_openai_async_client_instance():
25 global global_openai_async_client
26 if global_openai_async_client is None:
27 global_openai_async_client = AsyncOpenAI()
28 return global_openai_async_client
29
30
31def get_azure_openai_async_client_instance():

Callers 2

openai_complete_if_cacheFunction · 0.85
openai_embeddingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected