together 1.5.34__tar.gz → 2.0.0a6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- together-2.0.0a6/.gitignore +15 -0
- together-2.0.0a6/.release-please-manifest.json +3 -0
- together-2.0.0a6/CHANGELOG.md +731 -0
- together-2.0.0a6/CONTRIBUTING.md +128 -0
- {together-1.5.34 → together-2.0.0a6}/LICENSE +1 -1
- together-2.0.0a6/PKG-INFO +729 -0
- together-2.0.0a6/README.md +684 -0
- together-2.0.0a6/SECURITY.md +27 -0
- together-2.0.0a6/api.md +295 -0
- together-2.0.0a6/bin/check-release-environment +21 -0
- together-2.0.0a6/bin/publish-pypi +7 -0
- together-2.0.0a6/examples/.keep +4 -0
- together-2.0.0a6/examples/coqa-small.jsonl +1 -0
- together-2.0.0a6/examples/coqa.jsonl +100 -0
- together-2.0.0a6/examples/embedding.py +11 -0
- together-2.0.0a6/examples/file-upload.py +10 -0
- together-2.0.0a6/examples/files.py +20 -0
- together-2.0.0a6/examples/fine_tuning.py +30 -0
- together-2.0.0a6/examples/image.py +21 -0
- together-2.0.0a6/examples/models.py +8 -0
- together-2.0.0a6/examples/streaming.py +18 -0
- together-2.0.0a6/pyproject.toml +266 -0
- together-2.0.0a6/release-please-config.json +66 -0
- together-2.0.0a6/requirements-dev.lock +168 -0
- together-2.0.0a6/src/together/__init__.py +110 -0
- together-2.0.0a6/src/together/_base_client.py +1995 -0
- together-2.0.0a6/src/together/_client.py +1033 -0
- together-2.0.0a6/src/together/_compat.py +219 -0
- together-2.0.0a6/src/together/_constants.py +14 -0
- together-2.0.0a6/src/together/_exceptions.py +108 -0
- together-2.0.0a6/src/together/_files.py +123 -0
- together-2.0.0a6/src/together/_models.py +857 -0
- together-2.0.0a6/src/together/_qs.py +150 -0
- together-2.0.0a6/src/together/_resource.py +43 -0
- together-2.0.0a6/src/together/_response.py +830 -0
- together-2.0.0a6/src/together/_streaming.py +370 -0
- together-2.0.0a6/src/together/_types.py +260 -0
- together-2.0.0a6/src/together/_utils/__init__.py +64 -0
- together-2.0.0a6/src/together/_utils/_compat.py +45 -0
- together-2.0.0a6/src/together/_utils/_datetime_parse.py +136 -0
- together-2.0.0a6/src/together/_utils/_logs.py +25 -0
- together-2.0.0a6/src/together/_utils/_proxy.py +65 -0
- together-2.0.0a6/src/together/_utils/_reflection.py +42 -0
- together-2.0.0a6/src/together/_utils/_resources_proxy.py +24 -0
- together-2.0.0a6/src/together/_utils/_streams.py +12 -0
- together-2.0.0a6/src/together/_utils/_sync.py +58 -0
- together-2.0.0a6/src/together/_utils/_transform.py +457 -0
- together-2.0.0a6/src/together/_utils/_typing.py +156 -0
- together-2.0.0a6/src/together/_utils/_utils.py +421 -0
- together-2.0.0a6/src/together/_version.py +4 -0
- together-2.0.0a6/src/together/lib/.keep +4 -0
- together-2.0.0a6/src/together/lib/__init__.py +23 -0
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/cli/api/endpoints.py +65 -81
- together-1.5.34/src/together/cli/api/evaluation.py → together-2.0.0a6/src/together/lib/cli/api/evals.py +152 -43
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/cli/api/files.py +20 -17
- together-1.5.34/src/together/cli/api/finetune.py → together-2.0.0a6/src/together/lib/cli/api/fine_tuning.py +116 -172
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/cli/api/models.py +34 -27
- together-2.0.0a6/src/together/lib/cli/api/utils.py +50 -0
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/cli/cli.py +16 -26
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/constants.py +11 -24
- together-2.0.0a6/src/together/lib/resources/__init__.py +11 -0
- together-2.0.0a6/src/together/lib/resources/files.py +999 -0
- together-2.0.0a6/src/together/lib/resources/fine_tuning.py +280 -0
- together-2.0.0a6/src/together/lib/resources/models.py +35 -0
- together-2.0.0a6/src/together/lib/types/__init__.py +13 -0
- together-2.0.0a6/src/together/lib/types/error.py +9 -0
- together-2.0.0a6/src/together/lib/types/fine_tuning.py +397 -0
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/utils/__init__.py +6 -14
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/utils/_log.py +11 -16
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/utils/files.py +90 -288
- together-2.0.0a6/src/together/lib/utils/serializer.py +10 -0
- {together-1.5.34/src/together → together-2.0.0a6/src/together/lib}/utils/tools.py +19 -55
- together-2.0.0a6/src/together/resources/__init__.py +229 -0
- together-2.0.0a6/src/together/resources/audio/__init__.py +75 -0
- together-2.0.0a6/src/together/resources/audio/audio.py +198 -0
- together-2.0.0a6/src/together/resources/audio/speech.py +605 -0
- together-2.0.0a6/src/together/resources/audio/transcriptions.py +282 -0
- together-2.0.0a6/src/together/resources/audio/translations.py +256 -0
- together-2.0.0a6/src/together/resources/audio/voices.py +135 -0
- together-2.0.0a6/src/together/resources/batches.py +417 -0
- together-2.0.0a6/src/together/resources/chat/__init__.py +33 -0
- together-2.0.0a6/src/together/resources/chat/chat.py +102 -0
- together-2.0.0a6/src/together/resources/chat/completions.py +1097 -0
- together-2.0.0a6/src/together/resources/code_interpreter/__init__.py +33 -0
- together-2.0.0a6/src/together/resources/code_interpreter/code_interpreter.py +258 -0
- together-2.0.0a6/src/together/resources/code_interpreter/sessions.py +135 -0
- together-2.0.0a6/src/together/resources/completions.py +920 -0
- together-2.0.0a6/src/together/resources/embeddings.py +208 -0
- together-2.0.0a6/src/together/resources/endpoints.py +711 -0
- together-2.0.0a6/src/together/resources/evals.py +452 -0
- together-2.0.0a6/src/together/resources/files.py +463 -0
- together-2.0.0a6/src/together/resources/fine_tuning.py +1033 -0
- together-2.0.0a6/src/together/resources/hardware.py +181 -0
- together-2.0.0a6/src/together/resources/images.py +310 -0
- together-2.0.0a6/src/together/resources/jobs.py +214 -0
- together-2.0.0a6/src/together/resources/models.py +282 -0
- together-2.0.0a6/src/together/resources/rerank.py +226 -0
- together-2.0.0a6/src/together/resources/videos.py +375 -0
- together-2.0.0a6/src/together/types/__init__.py +68 -0
- together-2.0.0a6/src/together/types/audio/__init__.py +10 -0
- together-2.0.0a6/src/together/types/audio/speech_create_params.py +75 -0
- together-2.0.0a6/src/together/types/audio/transcription_create_params.py +54 -0
- together-2.0.0a6/src/together/types/audio/transcription_create_response.py +111 -0
- together-2.0.0a6/src/together/types/audio/translation_create_params.py +40 -0
- together-2.0.0a6/src/together/types/audio/translation_create_response.py +70 -0
- together-2.0.0a6/src/together/types/audio/voice_list_response.py +23 -0
- together-2.0.0a6/src/together/types/audio_speech_stream_chunk.py +16 -0
- together-2.0.0a6/src/together/types/autoscaling.py +13 -0
- together-2.0.0a6/src/together/types/autoscaling_param.py +15 -0
- together-2.0.0a6/src/together/types/batch_create_params.py +24 -0
- together-2.0.0a6/src/together/types/batch_create_response.py +14 -0
- together-2.0.0a6/src/together/types/batch_job.py +45 -0
- together-2.0.0a6/src/together/types/batch_list_response.py +10 -0
- together-2.0.0a6/src/together/types/chat/__init__.py +18 -0
- together-2.0.0a6/src/together/types/chat/chat_completion.py +60 -0
- together-2.0.0a6/src/together/types/chat/chat_completion_chunk.py +61 -0
- together-2.0.0a6/src/together/types/chat/chat_completion_structured_message_image_url_param.py +18 -0
- together-2.0.0a6/src/together/types/chat/chat_completion_structured_message_text_param.py +13 -0
- together-2.0.0a6/src/together/types/chat/chat_completion_structured_message_video_url_param.py +18 -0
- together-2.0.0a6/src/together/types/chat/chat_completion_usage.py +13 -0
- together-2.0.0a6/src/together/types/chat/chat_completion_warning.py +9 -0
- together-2.0.0a6/src/together/types/chat/completion_create_params.py +329 -0
- together-2.0.0a6/src/together/types/code_interpreter/__init__.py +5 -0
- together-2.0.0a6/src/together/types/code_interpreter/session_list_response.py +31 -0
- together-2.0.0a6/src/together/types/code_interpreter_execute_params.py +45 -0
- together-2.0.0a6/src/together/types/completion.py +42 -0
- together-2.0.0a6/src/together/types/completion_chunk.py +66 -0
- together-2.0.0a6/src/together/types/completion_create_params.py +138 -0
- together-2.0.0a6/src/together/types/dedicated_endpoint.py +44 -0
- together-2.0.0a6/src/together/types/embedding.py +24 -0
- together-2.0.0a6/src/together/types/embedding_create_params.py +31 -0
- together-2.0.0a6/src/together/types/endpoint_create_params.py +43 -0
- together-2.0.0a6/src/together/types/endpoint_list_avzones_response.py +11 -0
- together-2.0.0a6/src/together/types/endpoint_list_params.py +18 -0
- together-2.0.0a6/src/together/types/endpoint_list_response.py +41 -0
- together-2.0.0a6/src/together/types/endpoint_update_params.py +27 -0
- together-2.0.0a6/src/together/types/eval_create_params.py +263 -0
- together-2.0.0a6/src/together/types/eval_create_response.py +16 -0
- together-2.0.0a6/src/together/types/eval_list_params.py +21 -0
- together-2.0.0a6/src/together/types/eval_list_response.py +10 -0
- together-2.0.0a6/src/together/types/eval_status_response.py +100 -0
- together-2.0.0a6/src/together/types/evaluation_job.py +139 -0
- together-2.0.0a6/src/together/types/execute_response.py +108 -0
- together-2.0.0a6/src/together/types/file_delete_response.py +13 -0
- together-2.0.0a6/src/together/types/file_list.py +12 -0
- together-2.0.0a6/src/together/types/file_purpose.py +9 -0
- together-2.0.0a6/src/together/types/file_response.py +31 -0
- together-2.0.0a6/src/together/types/file_type.py +7 -0
- together-2.0.0a6/src/together/types/fine_tuning_cancel_response.py +194 -0
- together-2.0.0a6/src/together/types/fine_tuning_content_params.py +24 -0
- together-2.0.0a6/src/together/types/fine_tuning_delete_params.py +11 -0
- together-2.0.0a6/src/together/types/fine_tuning_delete_response.py +12 -0
- together-2.0.0a6/src/together/types/fine_tuning_list_checkpoints_response.py +21 -0
- together-2.0.0a6/src/together/types/fine_tuning_list_events_response.py +12 -0
- together-2.0.0a6/src/together/types/fine_tuning_list_response.py +199 -0
- together-2.0.0a6/src/together/types/finetune_event.py +41 -0
- together-2.0.0a6/src/together/types/finetune_event_type.py +33 -0
- together-2.0.0a6/src/together/types/finetune_response.py +177 -0
- together-2.0.0a6/src/together/types/hardware_list_params.py +16 -0
- together-2.0.0a6/src/together/types/hardware_list_response.py +58 -0
- together-2.0.0a6/src/together/types/image_data_b64.py +15 -0
- together-2.0.0a6/src/together/types/image_data_url.py +15 -0
- together-2.0.0a6/src/together/types/image_file.py +23 -0
- together-2.0.0a6/src/together/types/image_generate_params.py +85 -0
- together-2.0.0a6/src/together/types/job_list_response.py +47 -0
- together-2.0.0a6/src/together/types/job_retrieve_response.py +43 -0
- together-2.0.0a6/src/together/types/log_probs.py +18 -0
- together-2.0.0a6/src/together/types/model_list_response.py +10 -0
- together-2.0.0a6/src/together/types/model_object.py +42 -0
- together-2.0.0a6/src/together/types/model_upload_params.py +36 -0
- together-2.0.0a6/src/together/types/model_upload_response.py +23 -0
- together-2.0.0a6/src/together/types/rerank_create_params.py +36 -0
- together-2.0.0a6/src/together/types/rerank_create_response.py +36 -0
- together-2.0.0a6/src/together/types/tool_choice.py +23 -0
- together-2.0.0a6/src/together/types/tool_choice_param.py +23 -0
- together-2.0.0a6/src/together/types/tools_param.py +23 -0
- together-2.0.0a6/src/together/types/training_method_dpo.py +22 -0
- together-2.0.0a6/src/together/types/training_method_sft.py +18 -0
- together-2.0.0a6/src/together/types/video_create_params.py +86 -0
- together-2.0.0a6/src/together/types/video_create_response.py +10 -0
- together-2.0.0a6/src/together/types/video_job.py +57 -0
- together-2.0.0a6/tests/__init__.py +1 -0
- together-2.0.0a6/tests/api_resources/__init__.py +1 -0
- together-2.0.0a6/tests/api_resources/audio/__init__.py +1 -0
- together-2.0.0a6/tests/api_resources/audio/test_speech.py +298 -0
- together-2.0.0a6/tests/api_resources/audio/test_transcriptions.py +114 -0
- together-2.0.0a6/tests/api_resources/audio/test_translations.py +112 -0
- together-2.0.0a6/tests/api_resources/audio/test_voices.py +74 -0
- together-2.0.0a6/tests/api_resources/chat/__init__.py +1 -0
- together-2.0.0a6/tests/api_resources/chat/test_completions.py +428 -0
- together-2.0.0a6/tests/api_resources/code_interpreter/__init__.py +1 -0
- together-2.0.0a6/tests/api_resources/code_interpreter/test_sessions.py +80 -0
- together-2.0.0a6/tests/api_resources/test_batches.py +316 -0
- together-2.0.0a6/tests/api_resources/test_code_interpreter.py +132 -0
- together-2.0.0a6/tests/api_resources/test_completions.py +272 -0
- together-2.0.0a6/tests/api_resources/test_embeddings.py +92 -0
- together-2.0.0a6/tests/api_resources/test_endpoints.py +530 -0
- together-2.0.0a6/tests/api_resources/test_evals.py +419 -0
- together-2.0.0a6/tests/api_resources/test_files.py +334 -0
- together-2.0.0a6/tests/api_resources/test_fine_tuning.py +589 -0
- together-2.0.0a6/tests/api_resources/test_hardware.py +88 -0
- together-2.0.0a6/tests/api_resources/test_images.py +142 -0
- together-2.0.0a6/tests/api_resources/test_jobs.py +150 -0
- together-2.0.0a6/tests/api_resources/test_models.py +168 -0
- together-2.0.0a6/tests/api_resources/test_rerank.py +258 -0
- together-2.0.0a6/tests/api_resources/test_videos.py +212 -0
- together-2.0.0a6/tests/conftest.py +84 -0
- together-2.0.0a6/tests/integration/constants.py +23 -0
- together-2.0.0a6/tests/integration/resources/__init__.py +0 -0
- together-2.0.0a6/tests/integration/resources/generate_hyperparameters.py +51 -0
- together-2.0.0a6/tests/integration/resources/test_completion.py +561 -0
- together-2.0.0a6/tests/integration/resources/test_completion_stream.py +128 -0
- together-2.0.0a6/tests/integration/resources/test_files.py +48 -0
- together-2.0.0a6/tests/sample_file.txt +1 -0
- together-2.0.0a6/tests/test_client.py +1824 -0
- together-2.0.0a6/tests/test_deepcopy.py +58 -0
- together-2.0.0a6/tests/test_extract_files.py +64 -0
- together-2.0.0a6/tests/test_files.py +51 -0
- together-2.0.0a6/tests/test_models.py +963 -0
- together-2.0.0a6/tests/test_qs.py +78 -0
- together-2.0.0a6/tests/test_required_args.py +111 -0
- together-2.0.0a6/tests/test_response.py +277 -0
- together-2.0.0a6/tests/test_streaming.py +248 -0
- together-2.0.0a6/tests/test_transform.py +460 -0
- together-2.0.0a6/tests/test_utils/test_datetime_parse.py +110 -0
- together-2.0.0a6/tests/test_utils/test_proxy.py +34 -0
- together-2.0.0a6/tests/test_utils/test_typing.py +73 -0
- together-2.0.0a6/tests/unit/test_async_client.py +110 -0
- together-2.0.0a6/tests/unit/test_client.py +110 -0
- together-2.0.0a6/tests/unit/test_code_interpreter.py +490 -0
- together-2.0.0a6/tests/unit/test_files_checks.py +465 -0
- together-2.0.0a6/tests/unit/test_files_resource.py +86 -0
- together-2.0.0a6/tests/unit/test_fine_tuning_resources.py +338 -0
- together-2.0.0a6/tests/unit/test_imports.py +15 -0
- together-2.0.0a6/tests/unit/test_multipart_upload_manager.py +46 -0
- together-2.0.0a6/tests/unit/test_preference_openai.py +296 -0
- together-2.0.0a6/tests/unit/test_video_url.py +35 -0
- together-2.0.0a6/tests/utils.py +167 -0
- together-2.0.0a6/uv.lock +2349 -0
- together-1.5.34/PKG-INFO +0 -583
- together-1.5.34/README.md +0 -544
- together-1.5.34/pyproject.toml +0 -107
- together-1.5.34/src/together/__init__.py +0 -123
- together-1.5.34/src/together/abstract/api_requestor.py +0 -770
- together-1.5.34/src/together/cli/api/chat.py +0 -298
- together-1.5.34/src/together/cli/api/completions.py +0 -119
- together-1.5.34/src/together/cli/api/images.py +0 -93
- together-1.5.34/src/together/cli/api/utils.py +0 -139
- together-1.5.34/src/together/client.py +0 -186
- together-1.5.34/src/together/error.py +0 -194
- together-1.5.34/src/together/filemanager.py +0 -635
- together-1.5.34/src/together/legacy/base.py +0 -27
- together-1.5.34/src/together/legacy/complete.py +0 -93
- together-1.5.34/src/together/legacy/embeddings.py +0 -27
- together-1.5.34/src/together/legacy/files.py +0 -146
- together-1.5.34/src/together/legacy/finetune.py +0 -177
- together-1.5.34/src/together/legacy/images.py +0 -27
- together-1.5.34/src/together/legacy/models.py +0 -44
- together-1.5.34/src/together/resources/__init__.py +0 -43
- together-1.5.34/src/together/resources/audio/__init__.py +0 -51
- together-1.5.34/src/together/resources/audio/speech.py +0 -159
- together-1.5.34/src/together/resources/audio/transcriptions.py +0 -296
- together-1.5.34/src/together/resources/audio/translations.py +0 -276
- together-1.5.34/src/together/resources/audio/voices.py +0 -65
- together-1.5.34/src/together/resources/batch.py +0 -165
- together-1.5.34/src/together/resources/chat/__init__.py +0 -24
- together-1.5.34/src/together/resources/chat/completions.py +0 -297
- together-1.5.34/src/together/resources/code_interpreter.py +0 -82
- together-1.5.34/src/together/resources/completions.py +0 -261
- together-1.5.34/src/together/resources/embeddings.py +0 -104
- together-1.5.34/src/together/resources/endpoints.py +0 -599
- together-1.5.34/src/together/resources/evaluation.py +0 -808
- together-1.5.34/src/together/resources/files.py +0 -195
- together-1.5.34/src/together/resources/finetune.py +0 -1388
- together-1.5.34/src/together/resources/images.py +0 -156
- together-1.5.34/src/together/resources/models.py +0 -252
- together-1.5.34/src/together/resources/rerank.py +0 -128
- together-1.5.34/src/together/resources/videos.py +0 -303
- together-1.5.34/src/together/together_response.py +0 -50
- together-1.5.34/src/together/types/__init__.py +0 -169
- together-1.5.34/src/together/types/abstract.py +0 -26
- together-1.5.34/src/together/types/audio_speech.py +0 -311
- together-1.5.34/src/together/types/batch.py +0 -54
- together-1.5.34/src/together/types/chat_completions.py +0 -210
- together-1.5.34/src/together/types/code_interpreter.py +0 -57
- together-1.5.34/src/together/types/common.py +0 -67
- together-1.5.34/src/together/types/completions.py +0 -107
- together-1.5.34/src/together/types/embeddings.py +0 -35
- together-1.5.34/src/together/types/endpoints.py +0 -123
- together-1.5.34/src/together/types/error.py +0 -16
- together-1.5.34/src/together/types/evaluation.py +0 -93
- together-1.5.34/src/together/types/files.py +0 -93
- together-1.5.34/src/together/types/finetune.py +0 -464
- together-1.5.34/src/together/types/images.py +0 -42
- together-1.5.34/src/together/types/models.py +0 -96
- together-1.5.34/src/together/types/rerank.py +0 -43
- together-1.5.34/src/together/types/videos.py +0 -69
- together-1.5.34/src/together/utils/api_helpers.py +0 -124
- together-1.5.34/src/together/version.py +0 -6
- {together-1.5.34/src/together/abstract → together-2.0.0a6/src/together/lib/cli}/__init__.py +0 -0
- {together-1.5.34/src/together/cli → together-2.0.0a6/src/together/lib/cli/api}/__init__.py +0 -0
- /together-1.5.34/src/together/cli/api/__init__.py → /together-2.0.0a6/src/together/py.typed +0 -0
- {together-1.5.34/src/together/legacy → together-2.0.0a6/tests/integration}/__init__.py +0 -0