├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .github └── workflows │ ├── ci.yml │ ├── code-freeze-bypass.yaml │ ├── publish-pypi.yml │ ├── release-doctor.yml │ └── stale.yaml ├── .gitignore ├── .python-version ├── .release-please-manifest.json ├── .stats.yml ├── .vscode └── settings.json ├── Brewfile ├── CHANGELOG.md ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── api.md ├── bin ├── check-release-environment └── publish-pypi ├── examples ├── .keep ├── chat_completion.py ├── chat_completion_async.py ├── chat_completion_async_streaming.py ├── chat_completion_stop.py ├── chat_completion_streaming.py └── embedding.py ├── noxfile.py ├── pyproject.toml ├── release-please-config.json ├── requirements-dev.lock ├── requirements.lock ├── scripts ├── bootstrap ├── format ├── lint ├── mock ├── test └── utils │ ├── ruffen-docs.py │ └── upload-artifact.sh ├── src └── groq │ ├── __init__.py │ ├── _base_client.py │ ├── _client.py │ ├── _compat.py │ ├── _constants.py │ ├── _exceptions.py │ ├── _files.py │ ├── _models.py │ ├── _qs.py │ ├── _resource.py │ ├── _response.py │ ├── _streaming.py │ ├── _types.py │ ├── _utils │ ├── __init__.py │ ├── _compat.py │ ├── _datetime_parse.py │ ├── _logs.py │ ├── _proxy.py │ ├── _reflection.py │ ├── _resources_proxy.py │ ├── _streams.py │ ├── _sync.py │ ├── _transform.py │ ├── _typing.py │ └── _utils.py │ ├── _version.py │ ├── lib │ └── .keep │ ├── py.typed │ ├── resources │ ├── __init__.py │ ├── audio │ │ ├── __init__.py │ │ ├── audio.py │ │ ├── speech.py │ │ ├── transcriptions.py │ │ └── translations.py │ ├── batches.py │ ├── chat │ │ ├── __init__.py │ │ ├── chat.py │ │ └── completions.py │ ├── embeddings.py │ ├── files.py │ └── models.py │ └── types │ ├── __init__.py │ ├── audio │ ├── __init__.py │ ├── speech_create_params.py │ ├── transcription.py │ ├── transcription_create_params.py │ ├── translation.py │ └── translation_create_params.py │ ├── batch_cancel_response.py │ ├── batch_create_params.py │ ├── batch_create_response.py │ ├── batch_list_response.py │ ├── batch_retrieve_response.py │ ├── chat │ ├── __init__.py │ ├── chat_completion.py │ ├── chat_completion_assistant_message_param.py │ ├── chat_completion_chunk.py │ ├── chat_completion_content_part_image_param.py │ ├── chat_completion_content_part_param.py │ ├── chat_completion_content_part_text_param.py │ ├── chat_completion_function_call_option_param.py │ ├── chat_completion_function_message_param.py │ ├── chat_completion_message.py │ ├── chat_completion_message_param.py │ ├── chat_completion_message_tool_call.py │ ├── chat_completion_message_tool_call_param.py │ ├── chat_completion_named_tool_choice_param.py │ ├── chat_completion_role.py │ ├── chat_completion_system_message_param.py │ ├── chat_completion_token_logprob.py │ ├── chat_completion_tool_choice_option_param.py │ ├── chat_completion_tool_message_param.py │ ├── chat_completion_tool_param.py │ ├── chat_completion_user_message_param.py │ └── completion_create_params.py │ ├── completion_usage.py │ ├── create_embedding_response.py │ ├── embedding.py │ ├── embedding_create_params.py │ ├── file_create_params.py │ ├── file_create_response.py │ ├── file_delete_response.py │ ├── file_info_response.py │ ├── file_list_response.py │ ├── model.py │ ├── model_deleted.py │ ├── model_list_response.py │ ├── shared │ ├── __init__.py │ ├── error_object.py │ ├── function_definition.py │ └── function_parameters.py │ └── shared_params │ ├── __init__.py │ ├── function_definition.py │ └── function_parameters.py └── tests ├── __init__.py ├── api_resources ├── __init__.py ├── audio │ ├── __init__.py │ ├── test_speech.py │ ├── test_transcriptions.py │ └── test_translations.py ├── chat │ ├── __init__.py │ └── test_completions.py ├── test_batches.py ├── test_embeddings.py ├── test_files.py └── test_models.py ├── conftest.py ├── sample_file.txt ├── test_client.py ├── test_deepcopy.py ├── test_extract_files.py ├── test_files.py ├── test_models.py ├── test_qs.py ├── test_required_args.py ├── test_response.py ├── test_streaming.py ├── test_transform.py ├── test_utils ├── test_datetime_parse.py ├── test_proxy.py └── test_typing.py └── utils.py /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/code-freeze-bypass.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.github/workflows/code-freeze-bypass.yaml -------------------------------------------------------------------------------- /.github/workflows/publish-pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.github/workflows/publish-pypi.yml -------------------------------------------------------------------------------- /.github/workflows/release-doctor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.github/workflows/release-doctor.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.github/workflows/stale.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.gitignore -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.9.18 2 | -------------------------------------------------------------------------------- /.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | ".": "0.37.1" 3 | } -------------------------------------------------------------------------------- /.stats.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/.stats.yml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "python.analysis.importFormat": "relative", 3 | } 4 | -------------------------------------------------------------------------------- /Brewfile: -------------------------------------------------------------------------------- 1 | brew "rye" 2 | 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @gradenr @bklieger-groq 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/SECURITY.md -------------------------------------------------------------------------------- /api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/api.md -------------------------------------------------------------------------------- /bin/check-release-environment: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/bin/check-release-environment -------------------------------------------------------------------------------- /bin/publish-pypi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/bin/publish-pypi -------------------------------------------------------------------------------- /examples/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/examples/.keep -------------------------------------------------------------------------------- /examples/chat_completion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/examples/chat_completion.py -------------------------------------------------------------------------------- /examples/chat_completion_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/examples/chat_completion_async.py -------------------------------------------------------------------------------- /examples/chat_completion_async_streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/examples/chat_completion_async_streaming.py -------------------------------------------------------------------------------- /examples/chat_completion_stop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/examples/chat_completion_stop.py -------------------------------------------------------------------------------- /examples/chat_completion_streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/examples/chat_completion_streaming.py -------------------------------------------------------------------------------- /examples/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/examples/embedding.py -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/noxfile.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/pyproject.toml -------------------------------------------------------------------------------- /release-please-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/release-please-config.json -------------------------------------------------------------------------------- /requirements-dev.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/requirements-dev.lock -------------------------------------------------------------------------------- /requirements.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/requirements.lock -------------------------------------------------------------------------------- /scripts/bootstrap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/scripts/bootstrap -------------------------------------------------------------------------------- /scripts/format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/scripts/format -------------------------------------------------------------------------------- /scripts/lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/scripts/lint -------------------------------------------------------------------------------- /scripts/mock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/scripts/mock -------------------------------------------------------------------------------- /scripts/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/scripts/test -------------------------------------------------------------------------------- /scripts/utils/ruffen-docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/scripts/utils/ruffen-docs.py -------------------------------------------------------------------------------- /scripts/utils/upload-artifact.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/scripts/utils/upload-artifact.sh -------------------------------------------------------------------------------- /src/groq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/__init__.py -------------------------------------------------------------------------------- /src/groq/_base_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_base_client.py -------------------------------------------------------------------------------- /src/groq/_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_client.py -------------------------------------------------------------------------------- /src/groq/_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_compat.py -------------------------------------------------------------------------------- /src/groq/_constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_constants.py -------------------------------------------------------------------------------- /src/groq/_exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_exceptions.py -------------------------------------------------------------------------------- /src/groq/_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_files.py -------------------------------------------------------------------------------- /src/groq/_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_models.py -------------------------------------------------------------------------------- /src/groq/_qs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_qs.py -------------------------------------------------------------------------------- /src/groq/_resource.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_resource.py -------------------------------------------------------------------------------- /src/groq/_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_response.py -------------------------------------------------------------------------------- /src/groq/_streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_streaming.py -------------------------------------------------------------------------------- /src/groq/_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_types.py -------------------------------------------------------------------------------- /src/groq/_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/__init__.py -------------------------------------------------------------------------------- /src/groq/_utils/_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_compat.py -------------------------------------------------------------------------------- /src/groq/_utils/_datetime_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_datetime_parse.py -------------------------------------------------------------------------------- /src/groq/_utils/_logs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_logs.py -------------------------------------------------------------------------------- /src/groq/_utils/_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_proxy.py -------------------------------------------------------------------------------- /src/groq/_utils/_reflection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_reflection.py -------------------------------------------------------------------------------- /src/groq/_utils/_resources_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_resources_proxy.py -------------------------------------------------------------------------------- /src/groq/_utils/_streams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_streams.py -------------------------------------------------------------------------------- /src/groq/_utils/_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_sync.py -------------------------------------------------------------------------------- /src/groq/_utils/_transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_transform.py -------------------------------------------------------------------------------- /src/groq/_utils/_typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_typing.py -------------------------------------------------------------------------------- /src/groq/_utils/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_utils/_utils.py -------------------------------------------------------------------------------- /src/groq/_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/_version.py -------------------------------------------------------------------------------- /src/groq/lib/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/lib/.keep -------------------------------------------------------------------------------- /src/groq/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/groq/resources/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/__init__.py -------------------------------------------------------------------------------- /src/groq/resources/audio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/audio/__init__.py -------------------------------------------------------------------------------- /src/groq/resources/audio/audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/audio/audio.py -------------------------------------------------------------------------------- /src/groq/resources/audio/speech.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/audio/speech.py -------------------------------------------------------------------------------- /src/groq/resources/audio/transcriptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/audio/transcriptions.py -------------------------------------------------------------------------------- /src/groq/resources/audio/translations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/audio/translations.py -------------------------------------------------------------------------------- /src/groq/resources/batches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/batches.py -------------------------------------------------------------------------------- /src/groq/resources/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/chat/__init__.py -------------------------------------------------------------------------------- /src/groq/resources/chat/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/chat/chat.py -------------------------------------------------------------------------------- /src/groq/resources/chat/completions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/chat/completions.py -------------------------------------------------------------------------------- /src/groq/resources/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/embeddings.py -------------------------------------------------------------------------------- /src/groq/resources/files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/files.py -------------------------------------------------------------------------------- /src/groq/resources/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/resources/models.py -------------------------------------------------------------------------------- /src/groq/types/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/__init__.py -------------------------------------------------------------------------------- /src/groq/types/audio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/audio/__init__.py -------------------------------------------------------------------------------- /src/groq/types/audio/speech_create_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/audio/speech_create_params.py -------------------------------------------------------------------------------- /src/groq/types/audio/transcription.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/audio/transcription.py -------------------------------------------------------------------------------- /src/groq/types/audio/transcription_create_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/audio/transcription_create_params.py -------------------------------------------------------------------------------- /src/groq/types/audio/translation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/audio/translation.py -------------------------------------------------------------------------------- /src/groq/types/audio/translation_create_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/audio/translation_create_params.py -------------------------------------------------------------------------------- /src/groq/types/batch_cancel_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/batch_cancel_response.py -------------------------------------------------------------------------------- /src/groq/types/batch_create_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/batch_create_params.py -------------------------------------------------------------------------------- /src/groq/types/batch_create_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/batch_create_response.py -------------------------------------------------------------------------------- /src/groq/types/batch_list_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/batch_list_response.py -------------------------------------------------------------------------------- /src/groq/types/batch_retrieve_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/batch_retrieve_response.py -------------------------------------------------------------------------------- /src/groq/types/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/__init__.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_assistant_message_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_assistant_message_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_chunk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_chunk.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_content_part_image_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_content_part_image_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_content_part_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_content_part_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_content_part_text_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_content_part_text_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_function_call_option_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_function_call_option_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_function_message_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_function_message_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_message.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_message_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_message_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_message_tool_call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_message_tool_call.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_message_tool_call_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_message_tool_call_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_named_tool_choice_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_named_tool_choice_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_role.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_role.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_system_message_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_system_message_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_token_logprob.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_token_logprob.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_tool_choice_option_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_tool_choice_option_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_tool_message_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_tool_message_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_tool_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_tool_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/chat_completion_user_message_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/chat_completion_user_message_param.py -------------------------------------------------------------------------------- /src/groq/types/chat/completion_create_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/chat/completion_create_params.py -------------------------------------------------------------------------------- /src/groq/types/completion_usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/completion_usage.py -------------------------------------------------------------------------------- /src/groq/types/create_embedding_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/create_embedding_response.py -------------------------------------------------------------------------------- /src/groq/types/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/embedding.py -------------------------------------------------------------------------------- /src/groq/types/embedding_create_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/embedding_create_params.py -------------------------------------------------------------------------------- /src/groq/types/file_create_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/file_create_params.py -------------------------------------------------------------------------------- /src/groq/types/file_create_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/file_create_response.py -------------------------------------------------------------------------------- /src/groq/types/file_delete_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/file_delete_response.py -------------------------------------------------------------------------------- /src/groq/types/file_info_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/file_info_response.py -------------------------------------------------------------------------------- /src/groq/types/file_list_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/file_list_response.py -------------------------------------------------------------------------------- /src/groq/types/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/model.py -------------------------------------------------------------------------------- /src/groq/types/model_deleted.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/model_deleted.py -------------------------------------------------------------------------------- /src/groq/types/model_list_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/model_list_response.py -------------------------------------------------------------------------------- /src/groq/types/shared/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/shared/__init__.py -------------------------------------------------------------------------------- /src/groq/types/shared/error_object.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/shared/error_object.py -------------------------------------------------------------------------------- /src/groq/types/shared/function_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/shared/function_definition.py -------------------------------------------------------------------------------- /src/groq/types/shared/function_parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/shared/function_parameters.py -------------------------------------------------------------------------------- /src/groq/types/shared_params/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/shared_params/__init__.py -------------------------------------------------------------------------------- /src/groq/types/shared_params/function_definition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/shared_params/function_definition.py -------------------------------------------------------------------------------- /src/groq/types/shared_params/function_parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/src/groq/types/shared_params/function_parameters.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/api_resources/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/__init__.py -------------------------------------------------------------------------------- /tests/api_resources/audio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/audio/__init__.py -------------------------------------------------------------------------------- /tests/api_resources/audio/test_speech.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/audio/test_speech.py -------------------------------------------------------------------------------- /tests/api_resources/audio/test_transcriptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/audio/test_transcriptions.py -------------------------------------------------------------------------------- /tests/api_resources/audio/test_translations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/audio/test_translations.py -------------------------------------------------------------------------------- /tests/api_resources/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/chat/__init__.py -------------------------------------------------------------------------------- /tests/api_resources/chat/test_completions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/chat/test_completions.py -------------------------------------------------------------------------------- /tests/api_resources/test_batches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/test_batches.py -------------------------------------------------------------------------------- /tests/api_resources/test_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/test_embeddings.py -------------------------------------------------------------------------------- /tests/api_resources/test_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/test_files.py -------------------------------------------------------------------------------- /tests/api_resources/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/api_resources/test_models.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/sample_file.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /tests/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_client.py -------------------------------------------------------------------------------- /tests/test_deepcopy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_deepcopy.py -------------------------------------------------------------------------------- /tests/test_extract_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_extract_files.py -------------------------------------------------------------------------------- /tests/test_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_files.py -------------------------------------------------------------------------------- /tests/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_models.py -------------------------------------------------------------------------------- /tests/test_qs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_qs.py -------------------------------------------------------------------------------- /tests/test_required_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_required_args.py -------------------------------------------------------------------------------- /tests/test_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_response.py -------------------------------------------------------------------------------- /tests/test_streaming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_streaming.py -------------------------------------------------------------------------------- /tests/test_transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_transform.py -------------------------------------------------------------------------------- /tests/test_utils/test_datetime_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_utils/test_datetime_parse.py -------------------------------------------------------------------------------- /tests/test_utils/test_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_utils/test_proxy.py -------------------------------------------------------------------------------- /tests/test_utils/test_typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/test_utils/test_typing.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/groq/groq-python/HEAD/tests/utils.py --------------------------------------------------------------------------------