mistralai 1.0.0__tar.gz → 1.0.1__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.
- {mistralai-1.0.0 → mistralai-1.0.1}/PKG-INFO +12 -2
- {mistralai-1.0.0 → mistralai-1.0.1}/README.md +11 -1
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/deltamessage.py +3 -3
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/sdkconfiguration.py +3 -3
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/deltamessage.py +3 -3
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/sdkconfiguration.py +3 -3
- {mistralai-1.0.0 → mistralai-1.0.1}/pyproject.toml +1 -1
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/deltamessage.py +3 -3
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/sdkconfiguration.py +3 -3
- {mistralai-1.0.0 → mistralai-1.0.1}/LICENSE +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/_hooks/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/_hooks/custom_user_agent.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/_hooks/registration.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/_hooks/sdkhooks.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/_hooks/types.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/basesdk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/chat.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/httpclient.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/assistantmessage.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/chatcompletionchoice.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/chatcompletionrequest.py +14 -14
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/chatcompletionresponse.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/chatcompletionstreamrequest.py +14 -14
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/completionchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/completionevent.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/completionresponsestreamchoice.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/contentchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/function.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/functioncall.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/httpvalidationerror.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/responseformat.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/sdkerror.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/security.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/systemmessage.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/textchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/tool.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/toolcall.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/toolmessage.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/usageinfo.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/usermessage.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/validationerror.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/py.typed +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/sdk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/types/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/types/basemodel.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/annotations.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/enums.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/eventstreaming.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/forms.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/headers.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/logger.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/metadata.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/queryparams.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/requestbodies.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/retries.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/security.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/serializers.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/url.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/values.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/custom_user_agent.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/registration.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/sdkhooks.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/types.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/basesdk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/chat.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/fim.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/httpclient.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/assistantmessage.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/chatcompletionchoice.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/chatcompletionrequest.py +14 -14
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/chatcompletionresponse.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/chatcompletionstreamrequest.py +14 -14
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/completionchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/completionevent.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/completionresponsestreamchoice.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/contentchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/fimcompletionrequest.py +8 -8
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/fimcompletionresponse.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/fimcompletionstreamrequest.py +8 -8
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/function.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/functioncall.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/httpvalidationerror.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/responseformat.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/sdkerror.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/security.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/systemmessage.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/textchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/tool.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/toolcall.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/toolmessage.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/usageinfo.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/usermessage.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/validationerror.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/py.typed +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/sdk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/types/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/types/basemodel.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/annotations.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/enums.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/eventstreaming.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/forms.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/headers.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/logger.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/metadata.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/queryparams.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/requestbodies.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/retries.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/security.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/serializers.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/url.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/utils/values.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/py.typed +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/_hooks/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/_hooks/custom_user_agent.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/_hooks/deprecation_warning.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/_hooks/registration.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/_hooks/sdkhooks.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/_hooks/types.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/agents.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/async_client.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/basesdk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/chat.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/client.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/embeddings.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/files.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/fim.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/fine_tuning.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/httpclient.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/jobs.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/agentscompletionrequest.py +14 -14
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/agentscompletionstreamrequest.py +8 -8
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/archiveftmodelout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/assistantmessage.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/chatcompletionchoice.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/chatcompletionrequest.py +14 -14
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/chatcompletionresponse.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/chatcompletionstreamrequest.py +14 -14
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/checkpointout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/completionchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/completionevent.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/completionresponsestreamchoice.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/contentchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/delete_model_v1_models_model_id_deleteop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/deletefileout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/deletemodelout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/detailedjobout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/embeddingrequest.py +8 -8
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/embeddingresponse.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/embeddingresponsedata.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/eventout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/files_api_routes_delete_fileop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/files_api_routes_retrieve_fileop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/files_api_routes_upload_fileop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/fileschema.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/fimcompletionrequest.py +8 -8
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/fimcompletionresponse.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/fimcompletionstreamrequest.py +8 -8
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/finetuneablemodel.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/ftmodelcapabilitiesout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/ftmodelout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/function.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/functioncall.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/githubrepositoryin.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/githubrepositoryout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/httpvalidationerror.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobin.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobmetadataout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobsop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/jobsout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/legacyjobmetadataout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/listfilesout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/metricout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/modelcapabilities.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/modelcard.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/modellist.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/responseformat.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/retrieve_model_v1_models_model_id_getop.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/retrievefileout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/sampletype.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/sdkerror.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/security.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/source.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/systemmessage.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/textchunk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/tool.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/toolcall.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/toolmessage.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/trainingfile.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/trainingparameters.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/trainingparametersin.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/unarchiveftmodelout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/updateftmodelin.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/uploadfileout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/usageinfo.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/usermessage.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/validationerror.py +6 -6
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/wandbintegration.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models/wandbintegrationout.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/models_.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/py.typed +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/sdk.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/types/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/types/basemodel.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/__init__.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/annotations.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/enums.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/eventstreaming.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/forms.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/headers.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/logger.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/metadata.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/queryparams.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/requestbodies.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/retries.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/security.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/serializers.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/url.py +0 -0
- {mistralai-1.0.0 → mistralai-1.0.1}/src/mistralai/utils/values.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mistralai
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Python Client SDK for the Mistral AI API.
|
|
5
5
|
Author: Mistral
|
|
6
6
|
Requires-Python: >=3.8,<4.0
|
|
@@ -651,7 +651,7 @@ This SDK supports the following security scheme globally:
|
|
|
651
651
|
| -------------------- | -------------------- | -------------------- | -------------------- |
|
|
652
652
|
| `api_key` | http | HTTP Bearer | `MISTRAL_API_KEY` |
|
|
653
653
|
|
|
654
|
-
To authenticate with the API the `
|
|
654
|
+
To authenticate with the API the `api_key` parameter must be set when initializing the SDK client instance. For example:
|
|
655
655
|
```python
|
|
656
656
|
from mistralai import Mistral
|
|
657
657
|
import os
|
|
@@ -684,6 +684,16 @@ s = Mistral(debug_logger=logging.getLogger("mistralai"))
|
|
|
684
684
|
```
|
|
685
685
|
<!-- End Debugging [debug] -->
|
|
686
686
|
|
|
687
|
+
<!-- Start IDE Support [idesupport] -->
|
|
688
|
+
## IDE Support
|
|
689
|
+
|
|
690
|
+
### PyCharm
|
|
691
|
+
|
|
692
|
+
Generally, the SDK will work well with most IDEs out of the box. However, when using PyCharm, you can enjoy much better integration with Pydantic by installing an additional plugin.
|
|
693
|
+
|
|
694
|
+
- [PyCharm Pydantic Plugin](https://docs.pydantic.dev/latest/integrations/pycharm/)
|
|
695
|
+
<!-- End IDE Support [idesupport] -->
|
|
696
|
+
|
|
687
697
|
<!-- Placeholder for Future Speakeasy SDK Sections -->
|
|
688
698
|
|
|
689
699
|
# Development
|
|
@@ -629,7 +629,7 @@ This SDK supports the following security scheme globally:
|
|
|
629
629
|
| -------------------- | -------------------- | -------------------- | -------------------- |
|
|
630
630
|
| `api_key` | http | HTTP Bearer | `MISTRAL_API_KEY` |
|
|
631
631
|
|
|
632
|
-
To authenticate with the API the `
|
|
632
|
+
To authenticate with the API the `api_key` parameter must be set when initializing the SDK client instance. For example:
|
|
633
633
|
```python
|
|
634
634
|
from mistralai import Mistral
|
|
635
635
|
import os
|
|
@@ -662,6 +662,16 @@ s = Mistral(debug_logger=logging.getLogger("mistralai"))
|
|
|
662
662
|
```
|
|
663
663
|
<!-- End Debugging [debug] -->
|
|
664
664
|
|
|
665
|
+
<!-- Start IDE Support [idesupport] -->
|
|
666
|
+
## IDE Support
|
|
667
|
+
|
|
668
|
+
### PyCharm
|
|
669
|
+
|
|
670
|
+
Generally, the SDK will work well with most IDEs out of the box. However, when using PyCharm, you can enjoy much better integration with Pydantic by installing an additional plugin.
|
|
671
|
+
|
|
672
|
+
- [PyCharm Pydantic Plugin](https://docs.pydantic.dev/latest/integrations/pycharm/)
|
|
673
|
+
<!-- End IDE Support [idesupport] -->
|
|
674
|
+
|
|
665
675
|
<!-- Placeholder for Future Speakeasy SDK Sections -->
|
|
666
676
|
|
|
667
677
|
# Development
|
|
@@ -4,20 +4,20 @@ from __future__ import annotations
|
|
|
4
4
|
from .toolcall import ToolCall, ToolCallTypedDict
|
|
5
5
|
from mistralai_azure.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
6
|
from pydantic import model_serializer
|
|
7
|
-
from typing import Optional, TypedDict
|
|
7
|
+
from typing import List, Optional, TypedDict
|
|
8
8
|
from typing_extensions import NotRequired
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class DeltaMessageTypedDict(TypedDict):
|
|
12
12
|
role: NotRequired[str]
|
|
13
13
|
content: NotRequired[str]
|
|
14
|
-
tool_calls: NotRequired[Nullable[ToolCallTypedDict]]
|
|
14
|
+
tool_calls: NotRequired[Nullable[List[ToolCallTypedDict]]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class DeltaMessage(BaseModel):
|
|
18
18
|
role: Optional[str] = None
|
|
19
19
|
content: Optional[str] = None
|
|
20
|
-
tool_calls: OptionalNullable[ToolCall] = UNSET
|
|
20
|
+
tool_calls: OptionalNullable[List[ToolCall]] = UNSET
|
|
21
21
|
|
|
22
22
|
@model_serializer(mode="wrap")
|
|
23
23
|
def serialize_model(self, handler):
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/sdkconfiguration.py
RENAMED
|
@@ -29,9 +29,9 @@ class SDKConfiguration:
|
|
|
29
29
|
server: Optional[str] = ""
|
|
30
30
|
language: str = "python"
|
|
31
31
|
openapi_doc_version: str = "0.0.2"
|
|
32
|
-
sdk_version: str = "1.0.0-rc.
|
|
33
|
-
gen_version: str = "2.
|
|
34
|
-
user_agent: str = "speakeasy-sdk/python 1.0.0-rc.
|
|
32
|
+
sdk_version: str = "1.0.0-rc.4"
|
|
33
|
+
gen_version: str = "2.390.6"
|
|
34
|
+
user_agent: str = "speakeasy-sdk/python 1.0.0-rc.4 2.390.6 0.0.2 mistralai_azure"
|
|
35
35
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
|
36
36
|
timeout_ms: Optional[int] = None
|
|
37
37
|
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/deltamessage.py
RENAMED
|
@@ -4,20 +4,20 @@ from __future__ import annotations
|
|
|
4
4
|
from .toolcall import ToolCall, ToolCallTypedDict
|
|
5
5
|
from mistralai_gcp.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
6
|
from pydantic import model_serializer
|
|
7
|
-
from typing import Optional, TypedDict
|
|
7
|
+
from typing import List, Optional, TypedDict
|
|
8
8
|
from typing_extensions import NotRequired
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class DeltaMessageTypedDict(TypedDict):
|
|
12
12
|
role: NotRequired[str]
|
|
13
13
|
content: NotRequired[str]
|
|
14
|
-
tool_calls: NotRequired[Nullable[ToolCallTypedDict]]
|
|
14
|
+
tool_calls: NotRequired[Nullable[List[ToolCallTypedDict]]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class DeltaMessage(BaseModel):
|
|
18
18
|
role: Optional[str] = None
|
|
19
19
|
content: Optional[str] = None
|
|
20
|
-
tool_calls: OptionalNullable[ToolCall] = UNSET
|
|
20
|
+
tool_calls: OptionalNullable[List[ToolCall]] = UNSET
|
|
21
21
|
|
|
22
22
|
@model_serializer(mode="wrap")
|
|
23
23
|
def serialize_model(self, handler):
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/sdkconfiguration.py
RENAMED
|
@@ -29,9 +29,9 @@ class SDKConfiguration:
|
|
|
29
29
|
server: Optional[str] = ""
|
|
30
30
|
language: str = "python"
|
|
31
31
|
openapi_doc_version: str = "0.0.2"
|
|
32
|
-
sdk_version: str = "1.0.0-rc.
|
|
33
|
-
gen_version: str = "2.
|
|
34
|
-
user_agent: str = "speakeasy-sdk/python 1.0.0-rc.
|
|
32
|
+
sdk_version: str = "1.0.0-rc.4"
|
|
33
|
+
gen_version: str = "2.390.6"
|
|
34
|
+
user_agent: str = "speakeasy-sdk/python 1.0.0-rc.4 2.390.6 0.0.2 mistralai-gcp"
|
|
35
35
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
|
36
36
|
timeout_ms: Optional[int] = None
|
|
37
37
|
|
|
@@ -4,20 +4,20 @@ from __future__ import annotations
|
|
|
4
4
|
from .toolcall import ToolCall, ToolCallTypedDict
|
|
5
5
|
from mistralai.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
6
|
from pydantic import model_serializer
|
|
7
|
-
from typing import Optional, TypedDict
|
|
7
|
+
from typing import List, Optional, TypedDict
|
|
8
8
|
from typing_extensions import NotRequired
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class DeltaMessageTypedDict(TypedDict):
|
|
12
12
|
role: NotRequired[str]
|
|
13
13
|
content: NotRequired[str]
|
|
14
|
-
tool_calls: NotRequired[Nullable[ToolCallTypedDict]]
|
|
14
|
+
tool_calls: NotRequired[Nullable[List[ToolCallTypedDict]]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class DeltaMessage(BaseModel):
|
|
18
18
|
role: Optional[str] = None
|
|
19
19
|
content: Optional[str] = None
|
|
20
|
-
tool_calls: OptionalNullable[ToolCall] = UNSET
|
|
20
|
+
tool_calls: OptionalNullable[List[ToolCall]] = UNSET
|
|
21
21
|
|
|
22
22
|
@model_serializer(mode="wrap")
|
|
23
23
|
def serialize_model(self, handler):
|
|
@@ -29,9 +29,9 @@ class SDKConfiguration:
|
|
|
29
29
|
server: Optional[str] = ""
|
|
30
30
|
language: str = "python"
|
|
31
31
|
openapi_doc_version: str = "0.0.2"
|
|
32
|
-
sdk_version: str = "1.0.
|
|
33
|
-
gen_version: str = "2.
|
|
34
|
-
user_agent: str = "speakeasy-sdk/python 1.0.
|
|
32
|
+
sdk_version: str = "1.0.1"
|
|
33
|
+
gen_version: str = "2.390.6"
|
|
34
|
+
user_agent: str = "speakeasy-sdk/python 1.0.1 2.390.6 0.0.2 mistralai"
|
|
35
35
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
|
36
36
|
timeout_ms: Optional[int] = None
|
|
37
37
|
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/__init__.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/_hooks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/_hooks/sdkhooks.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/_hooks/types.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/httpclient.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -14,6 +14,20 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
14
14
|
from typing_extensions import Annotated, NotRequired
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
ChatCompletionRequestStopTypedDict = Union[str, List[str]]
|
|
18
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
ChatCompletionRequestStop = Union[str, List[str]]
|
|
22
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
ChatCompletionRequestMessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
ChatCompletionRequestMessages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
29
|
+
|
|
30
|
+
|
|
17
31
|
ChatCompletionRequestToolChoice = Literal["auto", "none", "any"]
|
|
18
32
|
|
|
19
33
|
class ChatCompletionRequestTypedDict(TypedDict):
|
|
@@ -93,17 +107,3 @@ class ChatCompletionRequest(BaseModel):
|
|
|
93
107
|
|
|
94
108
|
return m
|
|
95
109
|
|
|
96
|
-
|
|
97
|
-
ChatCompletionRequestStopTypedDict = Union[str, List[str]]
|
|
98
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
ChatCompletionRequestStop = Union[str, List[str]]
|
|
102
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
ChatCompletionRequestMessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
ChatCompletionRequestMessages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
109
|
-
|
|
File without changes
|
|
@@ -14,6 +14,20 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
14
14
|
from typing_extensions import Annotated, NotRequired
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
StopTypedDict = Union[str, List[str]]
|
|
18
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
Stop = Union[str, List[str]]
|
|
22
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
MessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
Messages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
29
|
+
|
|
30
|
+
|
|
17
31
|
ToolChoice = Literal["auto", "none", "any"]
|
|
18
32
|
|
|
19
33
|
class ChatCompletionStreamRequestTypedDict(TypedDict):
|
|
@@ -91,17 +105,3 @@ class ChatCompletionStreamRequest(BaseModel):
|
|
|
91
105
|
|
|
92
106
|
return m
|
|
93
107
|
|
|
94
|
-
|
|
95
|
-
StopTypedDict = Union[str, List[str]]
|
|
96
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
Stop = Union[str, List[str]]
|
|
100
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
MessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Messages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
107
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/function.py
RENAMED
|
File without changes
|
|
@@ -5,6 +5,12 @@ from mistralai_azure.types import BaseModel
|
|
|
5
5
|
from typing import Any, Dict, TypedDict, Union
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
ArgumentsTypedDict = Union[Dict[str, Any], str]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Arguments = Union[Dict[str, Any], str]
|
|
12
|
+
|
|
13
|
+
|
|
8
14
|
class FunctionCallTypedDict(TypedDict):
|
|
9
15
|
name: str
|
|
10
16
|
arguments: ArgumentsTypedDict
|
|
@@ -14,9 +20,3 @@ class FunctionCall(BaseModel):
|
|
|
14
20
|
name: str
|
|
15
21
|
arguments: Arguments
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
ArgumentsTypedDict = Union[Dict[str, Any], str]
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
Arguments = Union[Dict[str, Any], str]
|
|
22
|
-
|
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/sdkerror.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/security.py
RENAMED
|
File without changes
|
|
@@ -7,6 +7,12 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
7
7
|
from typing_extensions import NotRequired
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
ContentTypedDict = Union[str, List[ContentChunkTypedDict]]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Content = Union[str, List[ContentChunk]]
|
|
14
|
+
|
|
15
|
+
|
|
10
16
|
Role = Literal["system"]
|
|
11
17
|
|
|
12
18
|
class SystemMessageTypedDict(TypedDict):
|
|
@@ -18,9 +24,3 @@ class SystemMessage(BaseModel):
|
|
|
18
24
|
content: Content
|
|
19
25
|
role: Optional[Role] = "system"
|
|
20
26
|
|
|
21
|
-
|
|
22
|
-
ContentTypedDict = Union[str, List[ContentChunkTypedDict]]
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Content = Union[str, List[ContentChunk]]
|
|
26
|
-
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/textchunk.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/tool.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/toolcall.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/models/usageinfo.py
RENAMED
|
File without changes
|
|
@@ -7,6 +7,12 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
7
7
|
from typing_extensions import NotRequired
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
UserMessageContentTypedDict = Union[str, List[TextChunkTypedDict]]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
UserMessageContent = Union[str, List[TextChunk]]
|
|
14
|
+
|
|
15
|
+
|
|
10
16
|
UserMessageRole = Literal["user"]
|
|
11
17
|
|
|
12
18
|
class UserMessageTypedDict(TypedDict):
|
|
@@ -18,9 +24,3 @@ class UserMessage(BaseModel):
|
|
|
18
24
|
content: UserMessageContent
|
|
19
25
|
role: Optional[UserMessageRole] = "user"
|
|
20
26
|
|
|
21
|
-
|
|
22
|
-
UserMessageContentTypedDict = Union[str, List[TextChunkTypedDict]]
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
UserMessageContent = Union[str, List[TextChunk]]
|
|
26
|
-
|
|
@@ -5,6 +5,12 @@ from mistralai_azure.types import BaseModel
|
|
|
5
5
|
from typing import List, TypedDict, Union
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
LocTypedDict = Union[str, int]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Loc = Union[str, int]
|
|
12
|
+
|
|
13
|
+
|
|
8
14
|
class ValidationErrorTypedDict(TypedDict):
|
|
9
15
|
loc: List[LocTypedDict]
|
|
10
16
|
msg: str
|
|
@@ -16,9 +22,3 @@ class ValidationError(BaseModel):
|
|
|
16
22
|
msg: str
|
|
17
23
|
type: str
|
|
18
24
|
|
|
19
|
-
|
|
20
|
-
LocTypedDict = Union[str, int]
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Loc = Union[str, int]
|
|
24
|
-
|
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/types/__init__.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/types/basemodel.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/enums.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/forms.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/headers.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/logger.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/metadata.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/retries.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/security.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/url.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_azure/src/mistralai_azure/utils/values.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/registration.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/sdkhooks.py
RENAMED
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/types.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -14,6 +14,20 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
14
14
|
from typing_extensions import Annotated, NotRequired
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
ChatCompletionRequestStopTypedDict = Union[str, List[str]]
|
|
18
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
ChatCompletionRequestStop = Union[str, List[str]]
|
|
22
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
ChatCompletionRequestMessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
ChatCompletionRequestMessages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
29
|
+
|
|
30
|
+
|
|
17
31
|
ChatCompletionRequestToolChoice = Literal["auto", "none", "any"]
|
|
18
32
|
|
|
19
33
|
class ChatCompletionRequestTypedDict(TypedDict):
|
|
@@ -89,17 +103,3 @@ class ChatCompletionRequest(BaseModel):
|
|
|
89
103
|
|
|
90
104
|
return m
|
|
91
105
|
|
|
92
|
-
|
|
93
|
-
ChatCompletionRequestStopTypedDict = Union[str, List[str]]
|
|
94
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
ChatCompletionRequestStop = Union[str, List[str]]
|
|
98
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
ChatCompletionRequestMessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
ChatCompletionRequestMessages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
105
|
-
|
|
File without changes
|
|
@@ -14,6 +14,20 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
14
14
|
from typing_extensions import Annotated, NotRequired
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
StopTypedDict = Union[str, List[str]]
|
|
18
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
Stop = Union[str, List[str]]
|
|
22
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
MessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
Messages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
29
|
+
|
|
30
|
+
|
|
17
31
|
ToolChoice = Literal["auto", "none", "any"]
|
|
18
32
|
|
|
19
33
|
class ChatCompletionStreamRequestTypedDict(TypedDict):
|
|
@@ -87,17 +101,3 @@ class ChatCompletionStreamRequest(BaseModel):
|
|
|
87
101
|
|
|
88
102
|
return m
|
|
89
103
|
|
|
90
|
-
|
|
91
|
-
StopTypedDict = Union[str, List[str]]
|
|
92
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
Stop = Union[str, List[str]]
|
|
96
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
MessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
Messages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
103
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.0.0 → mistralai-1.0.1}/packages/mistralai_gcp/src/mistralai_gcp/models/contentchunk.py
RENAMED
|
File without changes
|
|
@@ -7,6 +7,14 @@ from typing import List, Optional, TypedDict, Union
|
|
|
7
7
|
from typing_extensions import NotRequired
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
FIMCompletionRequestStopTypedDict = Union[str, List[str]]
|
|
11
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
FIMCompletionRequestStop = Union[str, List[str]]
|
|
15
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
16
|
+
|
|
17
|
+
|
|
10
18
|
class FIMCompletionRequestTypedDict(TypedDict):
|
|
11
19
|
model: Nullable[str]
|
|
12
20
|
r"""ID of the model to use. Only compatible for now with:
|
|
@@ -84,11 +92,3 @@ class FIMCompletionRequest(BaseModel):
|
|
|
84
92
|
|
|
85
93
|
return m
|
|
86
94
|
|
|
87
|
-
|
|
88
|
-
FIMCompletionRequestStopTypedDict = Union[str, List[str]]
|
|
89
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
FIMCompletionRequestStop = Union[str, List[str]]
|
|
93
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
94
|
-
|