├── .github ├── release-drafter.yml └── workflows │ ├── check_sdk_regulation.py │ ├── ci.yml │ ├── pypi-release.yml │ ├── required-labels.yml │ └── sdk-regulation.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .vscode └── settings.json ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── codecov.yml ├── cozepy ├── __init__.py ├── api_apps │ ├── __init__.py │ └── events │ │ └── __init__.py ├── apps │ └── __init__.py ├── audio │ ├── __init__.py │ ├── live │ │ └── __init__.py │ ├── rooms │ │ └── __init__.py │ ├── speech │ │ └── __init__.py │ ├── transcriptions │ │ └── __init__.py │ ├── voiceprint_groups │ │ ├── __init__.py │ │ └── features │ │ │ └── __init__.py │ └── voices │ │ └── __init__.py ├── auth │ └── __init__.py ├── bots │ └── __init__.py ├── chat │ ├── __init__.py │ └── message │ │ └── __init__.py ├── config.py ├── connectors │ ├── __init__.py │ └── bots │ │ └── __init__.py ├── conversations │ ├── __init__.py │ └── message │ │ ├── __init__.py │ │ └── feedback │ │ └── __init__.py ├── coze.py ├── datasets │ ├── __init__.py │ ├── documents │ │ └── __init__.py │ └── images │ │ └── __init__.py ├── enterprises │ ├── __init__.py │ └── members │ │ └── __init__.py ├── exception.py ├── files │ └── __init__.py ├── folders │ └── __init__.py ├── knowledge │ ├── __init__.py │ └── documents │ │ └── __init__.py ├── log.py ├── model.py ├── py.typed ├── request.py ├── templates │ └── __init__.py ├── users │ └── __init__.py ├── util.py ├── variables │ └── __init__.py ├── version.py ├── websockets │ ├── __init__.py │ ├── audio │ │ ├── __init__.py │ │ ├── speech │ │ │ └── __init__.py │ │ └── transcriptions │ │ │ └── __init__.py │ ├── chat │ │ └── __init__.py │ └── ws.py ├── workflows │ ├── __init__.py │ ├── chat │ │ └── __init__.py │ ├── runs │ │ ├── __init__.py │ │ └── run_histories │ │ │ ├── __init__.py │ │ │ └── execute_nodes │ │ │ └── __init__.py │ └── versions │ │ └── __init__.py └── workspaces │ ├── __init__.py │ └── members │ └── __init__.py ├── examples ├── apps_list.py ├── audio.py ├── audio_voiceprint_groups_create.py ├── audio_voiceprint_groups_delete.py ├── audio_voiceprint_groups_features_create.py ├── audio_voiceprint_groups_features_delete.py ├── audio_voiceprint_groups_features_list.py ├── audio_voiceprint_groups_features_update.py ├── audio_voiceprint_groups_list.py ├── audio_voiceprint_groups_speaker_identify.py ├── audio_voiceprint_groups_update.py ├── auth_oauth_device.py ├── auth_oauth_jwt.py ├── auth_oauth_pkce.py ├── auth_oauth_web.py ├── auth_pat.py ├── benchmark_ark_text.py ├── benchmark_text_chat.py ├── benchmark_websockets_chat.py ├── bot_create.py ├── bot_publish.py ├── bot_retrieve.py ├── bot_unpublish.py ├── bot_update.py ├── bots_list.py ├── chat_conversation_stream.py ├── chat_download_file.py ├── chat_local_plugin.py ├── chat_multimode_stream.py ├── chat_no_stream.py ├── chat_oneonone_audio.py ├── chat_simple_audio.py ├── chat_stream.py ├── cli.py ├── connector_bot_update.py ├── conversation.py ├── conversation_create.py ├── conversation_delete.py ├── conversation_list.py ├── conversation_update.py ├── dataset_create.py ├── exception.py ├── files_upload.py ├── log.py ├── template_duplicate.py ├── timeout.py ├── users_me.py ├── variable_retrieve.py ├── variable_update.py ├── websockets_audio_speech.py ├── websockets_audio_transcriptions.py ├── websockets_chat.py ├── websockets_chat_realtime_gui.py ├── workflow_async.py ├── workflow_chat_multimode_stream.py ├── workflow_chat_stream.py ├── workflow_execute_node.py ├── workflow_no_stream.py ├── workflow_retrieve.py ├── workflow_run_history.py ├── workflow_stream.py ├── workflow_version_list.py ├── workspaces_list.py ├── workspaces_members_create.py └── workspaces_members_delete.py ├── poetry.lock ├── pyproject.toml └── tests ├── __init__.py ├── test_api_apps.py ├── test_apps.py ├── test_audio_live.py ├── test_audio_rooms.py ├── test_audio_speech.py ├── test_audio_translations.py ├── test_audio_voices.py ├── test_auth.py ├── test_bots.py ├── test_chat.py ├── test_chat_messages.py ├── test_connectors.py ├── test_conversations.py ├── test_conversations_messages.py ├── test_conversations_messages_feedback.py ├── test_datasets.py ├── test_datasets_documents.py ├── test_datasets_images.py ├── test_enterprises_members.py ├── test_exception.py ├── test_file.py ├── test_folders.py ├── test_knowledge_documents.py ├── test_log.py ├── test_model.py ├── test_request.py ├── test_template.py ├── test_users.py ├── test_util.py ├── test_version.py ├── test_websockets.py ├── test_workflow_run_history.py ├── test_workflows.py ├── test_workflows_chat.py ├── test_workflows_runs.py ├── test_workspaces.py ├── test_workspaces_members.py └── testdata ├── chat_audio_stream_resp.txt ├── chat_error_resp.txt ├── chat_failed_resp.txt ├── chat_invalid_resp.txt ├── chat_text_stream_resp.txt ├── private_key.pem ├── workflow_run_invalid_stream_resp.txt ├── workflow_run_stream_resp.txt └── workflows_chat_stream_resp.txt /.github/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.github/release-drafter.yml -------------------------------------------------------------------------------- /.github/workflows/check_sdk_regulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.github/workflows/check_sdk_regulation.py -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/pypi-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.github/workflows/pypi-release.yml -------------------------------------------------------------------------------- /.github/workflows/required-labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.github/workflows/required-labels.yml -------------------------------------------------------------------------------- /.github/workflows/sdk-regulation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.github/workflows/sdk-regulation.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/codecov.yml -------------------------------------------------------------------------------- /cozepy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/__init__.py -------------------------------------------------------------------------------- /cozepy/api_apps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/api_apps/__init__.py -------------------------------------------------------------------------------- /cozepy/api_apps/events/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/api_apps/events/__init__.py -------------------------------------------------------------------------------- /cozepy/apps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/apps/__init__.py -------------------------------------------------------------------------------- /cozepy/audio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/audio/__init__.py -------------------------------------------------------------------------------- /cozepy/audio/live/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/audio/live/__init__.py -------------------------------------------------------------------------------- /cozepy/audio/rooms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/audio/rooms/__init__.py -------------------------------------------------------------------------------- /cozepy/audio/speech/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/audio/speech/__init__.py -------------------------------------------------------------------------------- /cozepy/audio/transcriptions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/audio/transcriptions/__init__.py -------------------------------------------------------------------------------- /cozepy/audio/voiceprint_groups/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/audio/voiceprint_groups/__init__.py -------------------------------------------------------------------------------- /cozepy/audio/voiceprint_groups/features/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/audio/voiceprint_groups/features/__init__.py -------------------------------------------------------------------------------- /cozepy/audio/voices/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/audio/voices/__init__.py -------------------------------------------------------------------------------- /cozepy/auth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/auth/__init__.py -------------------------------------------------------------------------------- /cozepy/bots/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/bots/__init__.py -------------------------------------------------------------------------------- /cozepy/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/chat/__init__.py -------------------------------------------------------------------------------- /cozepy/chat/message/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/chat/message/__init__.py -------------------------------------------------------------------------------- /cozepy/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/config.py -------------------------------------------------------------------------------- /cozepy/connectors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/connectors/__init__.py -------------------------------------------------------------------------------- /cozepy/connectors/bots/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/connectors/bots/__init__.py -------------------------------------------------------------------------------- /cozepy/conversations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/conversations/__init__.py -------------------------------------------------------------------------------- /cozepy/conversations/message/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/conversations/message/__init__.py -------------------------------------------------------------------------------- /cozepy/conversations/message/feedback/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/conversations/message/feedback/__init__.py -------------------------------------------------------------------------------- /cozepy/coze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/coze.py -------------------------------------------------------------------------------- /cozepy/datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/datasets/__init__.py -------------------------------------------------------------------------------- /cozepy/datasets/documents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/datasets/documents/__init__.py -------------------------------------------------------------------------------- /cozepy/datasets/images/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/datasets/images/__init__.py -------------------------------------------------------------------------------- /cozepy/enterprises/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/enterprises/__init__.py -------------------------------------------------------------------------------- /cozepy/enterprises/members/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/enterprises/members/__init__.py -------------------------------------------------------------------------------- /cozepy/exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/exception.py -------------------------------------------------------------------------------- /cozepy/files/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/files/__init__.py -------------------------------------------------------------------------------- /cozepy/folders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/folders/__init__.py -------------------------------------------------------------------------------- /cozepy/knowledge/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/knowledge/__init__.py -------------------------------------------------------------------------------- /cozepy/knowledge/documents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/knowledge/documents/__init__.py -------------------------------------------------------------------------------- /cozepy/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/log.py -------------------------------------------------------------------------------- /cozepy/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/model.py -------------------------------------------------------------------------------- /cozepy/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cozepy/request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/request.py -------------------------------------------------------------------------------- /cozepy/templates/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/templates/__init__.py -------------------------------------------------------------------------------- /cozepy/users/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/users/__init__.py -------------------------------------------------------------------------------- /cozepy/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/util.py -------------------------------------------------------------------------------- /cozepy/variables/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/variables/__init__.py -------------------------------------------------------------------------------- /cozepy/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/version.py -------------------------------------------------------------------------------- /cozepy/websockets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/websockets/__init__.py -------------------------------------------------------------------------------- /cozepy/websockets/audio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/websockets/audio/__init__.py -------------------------------------------------------------------------------- /cozepy/websockets/audio/speech/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/websockets/audio/speech/__init__.py -------------------------------------------------------------------------------- /cozepy/websockets/audio/transcriptions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/websockets/audio/transcriptions/__init__.py -------------------------------------------------------------------------------- /cozepy/websockets/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/websockets/chat/__init__.py -------------------------------------------------------------------------------- /cozepy/websockets/ws.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/websockets/ws.py -------------------------------------------------------------------------------- /cozepy/workflows/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/workflows/__init__.py -------------------------------------------------------------------------------- /cozepy/workflows/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/workflows/chat/__init__.py -------------------------------------------------------------------------------- /cozepy/workflows/runs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/workflows/runs/__init__.py -------------------------------------------------------------------------------- /cozepy/workflows/runs/run_histories/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/workflows/runs/run_histories/__init__.py -------------------------------------------------------------------------------- /cozepy/workflows/runs/run_histories/execute_nodes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/workflows/runs/run_histories/execute_nodes/__init__.py -------------------------------------------------------------------------------- /cozepy/workflows/versions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/workflows/versions/__init__.py -------------------------------------------------------------------------------- /cozepy/workspaces/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/workspaces/__init__.py -------------------------------------------------------------------------------- /cozepy/workspaces/members/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/cozepy/workspaces/members/__init__.py -------------------------------------------------------------------------------- /examples/apps_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/apps_list.py -------------------------------------------------------------------------------- /examples/audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_create.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_delete.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_features_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_features_create.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_features_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_features_delete.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_features_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_features_list.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_features_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_features_update.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_list.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_speaker_identify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_speaker_identify.py -------------------------------------------------------------------------------- /examples/audio_voiceprint_groups_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/audio_voiceprint_groups_update.py -------------------------------------------------------------------------------- /examples/auth_oauth_device.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/auth_oauth_device.py -------------------------------------------------------------------------------- /examples/auth_oauth_jwt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/auth_oauth_jwt.py -------------------------------------------------------------------------------- /examples/auth_oauth_pkce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/auth_oauth_pkce.py -------------------------------------------------------------------------------- /examples/auth_oauth_web.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/auth_oauth_web.py -------------------------------------------------------------------------------- /examples/auth_pat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/auth_pat.py -------------------------------------------------------------------------------- /examples/benchmark_ark_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/benchmark_ark_text.py -------------------------------------------------------------------------------- /examples/benchmark_text_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/benchmark_text_chat.py -------------------------------------------------------------------------------- /examples/benchmark_websockets_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/benchmark_websockets_chat.py -------------------------------------------------------------------------------- /examples/bot_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/bot_create.py -------------------------------------------------------------------------------- /examples/bot_publish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/bot_publish.py -------------------------------------------------------------------------------- /examples/bot_retrieve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/bot_retrieve.py -------------------------------------------------------------------------------- /examples/bot_unpublish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/bot_unpublish.py -------------------------------------------------------------------------------- /examples/bot_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/bot_update.py -------------------------------------------------------------------------------- /examples/bots_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/bots_list.py -------------------------------------------------------------------------------- /examples/chat_conversation_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/chat_conversation_stream.py -------------------------------------------------------------------------------- /examples/chat_download_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/chat_download_file.py -------------------------------------------------------------------------------- /examples/chat_local_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/chat_local_plugin.py -------------------------------------------------------------------------------- /examples/chat_multimode_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/chat_multimode_stream.py -------------------------------------------------------------------------------- /examples/chat_no_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/chat_no_stream.py -------------------------------------------------------------------------------- /examples/chat_oneonone_audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/chat_oneonone_audio.py -------------------------------------------------------------------------------- /examples/chat_simple_audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/chat_simple_audio.py -------------------------------------------------------------------------------- /examples/chat_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/chat_stream.py -------------------------------------------------------------------------------- /examples/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/cli.py -------------------------------------------------------------------------------- /examples/connector_bot_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/connector_bot_update.py -------------------------------------------------------------------------------- /examples/conversation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/conversation.py -------------------------------------------------------------------------------- /examples/conversation_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/conversation_create.py -------------------------------------------------------------------------------- /examples/conversation_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/conversation_delete.py -------------------------------------------------------------------------------- /examples/conversation_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/conversation_list.py -------------------------------------------------------------------------------- /examples/conversation_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/conversation_update.py -------------------------------------------------------------------------------- /examples/dataset_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/dataset_create.py -------------------------------------------------------------------------------- /examples/exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/exception.py -------------------------------------------------------------------------------- /examples/files_upload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/files_upload.py -------------------------------------------------------------------------------- /examples/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/log.py -------------------------------------------------------------------------------- /examples/template_duplicate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/template_duplicate.py -------------------------------------------------------------------------------- /examples/timeout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/timeout.py -------------------------------------------------------------------------------- /examples/users_me.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/users_me.py -------------------------------------------------------------------------------- /examples/variable_retrieve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/variable_retrieve.py -------------------------------------------------------------------------------- /examples/variable_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/variable_update.py -------------------------------------------------------------------------------- /examples/websockets_audio_speech.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/websockets_audio_speech.py -------------------------------------------------------------------------------- /examples/websockets_audio_transcriptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/websockets_audio_transcriptions.py -------------------------------------------------------------------------------- /examples/websockets_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/websockets_chat.py -------------------------------------------------------------------------------- /examples/websockets_chat_realtime_gui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/websockets_chat_realtime_gui.py -------------------------------------------------------------------------------- /examples/workflow_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_async.py -------------------------------------------------------------------------------- /examples/workflow_chat_multimode_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_chat_multimode_stream.py -------------------------------------------------------------------------------- /examples/workflow_chat_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_chat_stream.py -------------------------------------------------------------------------------- /examples/workflow_execute_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_execute_node.py -------------------------------------------------------------------------------- /examples/workflow_no_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_no_stream.py -------------------------------------------------------------------------------- /examples/workflow_retrieve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_retrieve.py -------------------------------------------------------------------------------- /examples/workflow_run_history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_run_history.py -------------------------------------------------------------------------------- /examples/workflow_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_stream.py -------------------------------------------------------------------------------- /examples/workflow_version_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workflow_version_list.py -------------------------------------------------------------------------------- /examples/workspaces_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workspaces_list.py -------------------------------------------------------------------------------- /examples/workspaces_members_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workspaces_members_create.py -------------------------------------------------------------------------------- /examples/workspaces_members_delete.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/examples/workspaces_members_delete.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_api_apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_api_apps.py -------------------------------------------------------------------------------- /tests/test_apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_apps.py -------------------------------------------------------------------------------- /tests/test_audio_live.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_audio_live.py -------------------------------------------------------------------------------- /tests/test_audio_rooms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_audio_rooms.py -------------------------------------------------------------------------------- /tests/test_audio_speech.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_audio_speech.py -------------------------------------------------------------------------------- /tests/test_audio_translations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_audio_translations.py -------------------------------------------------------------------------------- /tests/test_audio_voices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_audio_voices.py -------------------------------------------------------------------------------- /tests/test_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_auth.py -------------------------------------------------------------------------------- /tests/test_bots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_bots.py -------------------------------------------------------------------------------- /tests/test_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_chat.py -------------------------------------------------------------------------------- /tests/test_chat_messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_chat_messages.py -------------------------------------------------------------------------------- /tests/test_connectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_connectors.py -------------------------------------------------------------------------------- /tests/test_conversations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_conversations.py -------------------------------------------------------------------------------- /tests/test_conversations_messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_conversations_messages.py -------------------------------------------------------------------------------- /tests/test_conversations_messages_feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_conversations_messages_feedback.py -------------------------------------------------------------------------------- /tests/test_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_datasets.py -------------------------------------------------------------------------------- /tests/test_datasets_documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_datasets_documents.py -------------------------------------------------------------------------------- /tests/test_datasets_images.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_datasets_images.py -------------------------------------------------------------------------------- /tests/test_enterprises_members.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_enterprises_members.py -------------------------------------------------------------------------------- /tests/test_exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_exception.py -------------------------------------------------------------------------------- /tests/test_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_file.py -------------------------------------------------------------------------------- /tests/test_folders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_folders.py -------------------------------------------------------------------------------- /tests/test_knowledge_documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_knowledge_documents.py -------------------------------------------------------------------------------- /tests/test_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_log.py -------------------------------------------------------------------------------- /tests/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_model.py -------------------------------------------------------------------------------- /tests/test_request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_request.py -------------------------------------------------------------------------------- /tests/test_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_template.py -------------------------------------------------------------------------------- /tests/test_users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_users.py -------------------------------------------------------------------------------- /tests/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_util.py -------------------------------------------------------------------------------- /tests/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_version.py -------------------------------------------------------------------------------- /tests/test_websockets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_websockets.py -------------------------------------------------------------------------------- /tests/test_workflow_run_history.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_workflow_run_history.py -------------------------------------------------------------------------------- /tests/test_workflows.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_workflows.py -------------------------------------------------------------------------------- /tests/test_workflows_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_workflows_chat.py -------------------------------------------------------------------------------- /tests/test_workflows_runs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_workflows_runs.py -------------------------------------------------------------------------------- /tests/test_workspaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_workspaces.py -------------------------------------------------------------------------------- /tests/test_workspaces_members.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/test_workspaces_members.py -------------------------------------------------------------------------------- /tests/testdata/chat_audio_stream_resp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/testdata/chat_audio_stream_resp.txt -------------------------------------------------------------------------------- /tests/testdata/chat_error_resp.txt: -------------------------------------------------------------------------------- 1 | event:error 2 | data:{} -------------------------------------------------------------------------------- /tests/testdata/chat_failed_resp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/testdata/chat_failed_resp.txt -------------------------------------------------------------------------------- /tests/testdata/chat_invalid_resp.txt: -------------------------------------------------------------------------------- 1 | event:invalid 2 | data:{} -------------------------------------------------------------------------------- /tests/testdata/chat_text_stream_resp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/testdata/chat_text_stream_resp.txt -------------------------------------------------------------------------------- /tests/testdata/private_key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/testdata/private_key.pem -------------------------------------------------------------------------------- /tests/testdata/workflow_run_invalid_stream_resp.txt: -------------------------------------------------------------------------------- 1 | id:0 2 | event:invalid 3 | data:{} -------------------------------------------------------------------------------- /tests/testdata/workflow_run_stream_resp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/testdata/workflow_run_stream_resp.txt -------------------------------------------------------------------------------- /tests/testdata/workflows_chat_stream_resp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coze-dev/coze-py/HEAD/tests/testdata/workflows_chat_stream_resp.txt --------------------------------------------------------------------------------