yera.providers.openai_common
Common infra for accessing OpenAI services.
Symbols
get_openai_client
get_openai_client(
connection: OpenAIConnection,
) → OpenAIBuild an openai client object from an openai connection object.
This will try to get the api key from the connection's specified location and then use it to build a client.