├── .gitattributes ├── .github └── workflows │ └── python-publish.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── async_openai ├── __init__.py ├── client.py ├── external_client.py ├── loadbalancer.py ├── manager.py ├── meta.py ├── routes.py ├── schemas │ ├── __init__.py │ ├── chat.py │ ├── completions.py │ ├── edits.py │ ├── embeddings.py │ ├── external │ │ ├── __init__.py │ │ ├── fireworks │ │ │ ├── __init__.py │ │ │ └── chat.py │ │ └── together │ │ │ ├── __init__.py │ │ │ ├── chat.py │ │ │ └── embeddings.py │ ├── images.py │ └── models.py ├── types │ ├── __init__.py │ ├── context.py │ ├── errors.py │ ├── functions.py │ ├── options.py │ ├── pricing.yaml │ ├── resources.py │ ├── responses.py │ └── routes.py ├── utils │ ├── __init__.py │ ├── config.py │ ├── embedding.py │ ├── external_config.py │ ├── fixjson.py │ ├── helpers.py │ ├── logs.py │ ├── presets │ │ ├── fireworks.yaml │ │ ├── together.yaml │ │ └── together_proxy.yaml │ ├── resolvers.py │ └── tokenization.py └── version.py ├── setup.py └── tests ├── chat.py ├── chat_functions.py ├── client.py ├── client_rotate.py ├── completion.py └── external_provider.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/README.md -------------------------------------------------------------------------------- /async_openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/__init__.py -------------------------------------------------------------------------------- /async_openai/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/client.py -------------------------------------------------------------------------------- /async_openai/external_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/external_client.py -------------------------------------------------------------------------------- /async_openai/loadbalancer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/loadbalancer.py -------------------------------------------------------------------------------- /async_openai/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/manager.py -------------------------------------------------------------------------------- /async_openai/meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/meta.py -------------------------------------------------------------------------------- /async_openai/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/routes.py -------------------------------------------------------------------------------- /async_openai/schemas/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/__init__.py -------------------------------------------------------------------------------- /async_openai/schemas/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/chat.py -------------------------------------------------------------------------------- /async_openai/schemas/completions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/completions.py -------------------------------------------------------------------------------- /async_openai/schemas/edits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/edits.py -------------------------------------------------------------------------------- /async_openai/schemas/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/embeddings.py -------------------------------------------------------------------------------- /async_openai/schemas/external/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/external/__init__.py -------------------------------------------------------------------------------- /async_openai/schemas/external/fireworks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /async_openai/schemas/external/fireworks/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/external/fireworks/chat.py -------------------------------------------------------------------------------- /async_openai/schemas/external/together/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /async_openai/schemas/external/together/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/external/together/chat.py -------------------------------------------------------------------------------- /async_openai/schemas/external/together/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/external/together/embeddings.py -------------------------------------------------------------------------------- /async_openai/schemas/images.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/images.py -------------------------------------------------------------------------------- /async_openai/schemas/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/schemas/models.py -------------------------------------------------------------------------------- /async_openai/types/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/__init__.py -------------------------------------------------------------------------------- /async_openai/types/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/context.py -------------------------------------------------------------------------------- /async_openai/types/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/errors.py -------------------------------------------------------------------------------- /async_openai/types/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/functions.py -------------------------------------------------------------------------------- /async_openai/types/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/options.py -------------------------------------------------------------------------------- /async_openai/types/pricing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/pricing.yaml -------------------------------------------------------------------------------- /async_openai/types/resources.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/resources.py -------------------------------------------------------------------------------- /async_openai/types/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/responses.py -------------------------------------------------------------------------------- /async_openai/types/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/types/routes.py -------------------------------------------------------------------------------- /async_openai/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/__init__.py -------------------------------------------------------------------------------- /async_openai/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/config.py -------------------------------------------------------------------------------- /async_openai/utils/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/embedding.py -------------------------------------------------------------------------------- /async_openai/utils/external_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/external_config.py -------------------------------------------------------------------------------- /async_openai/utils/fixjson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/fixjson.py -------------------------------------------------------------------------------- /async_openai/utils/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/helpers.py -------------------------------------------------------------------------------- /async_openai/utils/logs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/logs.py -------------------------------------------------------------------------------- /async_openai/utils/presets/fireworks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/presets/fireworks.yaml -------------------------------------------------------------------------------- /async_openai/utils/presets/together.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/presets/together.yaml -------------------------------------------------------------------------------- /async_openai/utils/presets/together_proxy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/presets/together_proxy.yaml -------------------------------------------------------------------------------- /async_openai/utils/resolvers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/resolvers.py -------------------------------------------------------------------------------- /async_openai/utils/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/async_openai/utils/tokenization.py -------------------------------------------------------------------------------- /async_openai/version.py: -------------------------------------------------------------------------------- 1 | VERSION = '0.0.53' -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/setup.py -------------------------------------------------------------------------------- /tests/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/tests/chat.py -------------------------------------------------------------------------------- /tests/chat_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/tests/chat_functions.py -------------------------------------------------------------------------------- /tests/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/tests/client.py -------------------------------------------------------------------------------- /tests/client_rotate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/tests/client_rotate.py -------------------------------------------------------------------------------- /tests/completion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/tests/completion.py -------------------------------------------------------------------------------- /tests/external_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GrowthEngineAI/async-openai/HEAD/tests/external_provider.py --------------------------------------------------------------------------------