mistralai 1.2.1__tar.gz → 1.2.2__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.2.1 → mistralai-1.2.2}/PKG-INFO +11 -12
- {mistralai-1.2.1 → mistralai-1.2.2}/README-PYPI.md +10 -11
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/chat.py +8 -8
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/chatcompletionrequest.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/chatcompletionstreamrequest.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/sdkconfiguration.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/chat.py +8 -8
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/chatcompletionrequest.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/chatcompletionstreamrequest.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/sdkconfiguration.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/pyproject.toml +1 -1
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/_version.py +1 -1
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/agents.py +8 -8
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/chat.py +8 -8
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/agentscompletionrequest.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/agentscompletionstreamrequest.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/chatcompletionrequest.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/chatcompletionstreamrequest.py +2 -2
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/sdkconfiguration.py +3 -3
- {mistralai-1.2.1 → mistralai-1.2.2}/LICENSE +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_hooks/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_hooks/custom_user_agent.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_hooks/registration.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_hooks/sdkhooks.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_hooks/types.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_version.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/basesdk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/httpclient.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/assistantmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/chatcompletionchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/chatcompletionresponse.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/completionchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/completionevent.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/completionresponsestreamchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/contentchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/deltamessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/function.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/functioncall.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/functionname.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/httpvalidationerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/responseformat.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/responseformats.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/sdkerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/security.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/systemmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/textchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/tool.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/toolcall.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/toolchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/toolchoiceenum.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/toolmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/tooltypes.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/usageinfo.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/usermessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/validationerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/py.typed +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/sdk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/types/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/types/basemodel.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/annotations.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/enums.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/eventstreaming.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/forms.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/headers.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/logger.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/metadata.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/queryparams.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/requestbodies.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/retries.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/security.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/serializers.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/url.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/values.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/custom_user_agent.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/registration.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/sdkhooks.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/types.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_version.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/basesdk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/fim.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/httpclient.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/assistantmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/chatcompletionchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/chatcompletionresponse.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/completionchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/completionevent.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/completionresponsestreamchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/contentchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/deltamessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/fimcompletionrequest.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/fimcompletionresponse.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/fimcompletionstreamrequest.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/function.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/functioncall.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/functionname.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/httpvalidationerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/responseformat.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/responseformats.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/sdkerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/security.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/systemmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/textchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/tool.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/toolcall.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/toolchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/toolchoiceenum.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/toolmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/tooltypes.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/usageinfo.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/usermessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/models/validationerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/py.typed +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/sdk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/types/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/types/basemodel.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/annotations.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/enums.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/eventstreaming.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/forms.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/headers.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/logger.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/metadata.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/queryparams.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/requestbodies.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/retries.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/security.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/serializers.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/url.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/utils/values.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/py.typed +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/_hooks/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/_hooks/custom_user_agent.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/_hooks/deprecation_warning.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/_hooks/registration.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/_hooks/sdkhooks.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/_hooks/types.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/async_client.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/basesdk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/batch.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/classifiers.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/client.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/embeddings.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/files.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/fim.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/fine_tuning.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/httpclient.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/jobs.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/mistral_jobs.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/apiendpoint.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/archiveftmodelout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/assistantmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/basemodelcard.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/batcherror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/batchjobin.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/batchjobout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/batchjobsout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/batchjobstatus.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/chatclassificationrequest.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/chatcompletionchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/chatcompletionresponse.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/checkpointout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/classificationobject.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/classificationrequest.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/classificationresponse.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/completionchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/completionevent.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/completionresponsestreamchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/contentchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/delete_model_v1_models_model_id_deleteop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/deletefileout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/deletemodelout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/deltamessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/detailedjobout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/embeddingrequest.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/embeddingresponse.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/embeddingresponsedata.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/eventout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/filepurpose.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/files_api_routes_delete_fileop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/files_api_routes_download_fileop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/files_api_routes_list_filesop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/files_api_routes_retrieve_fileop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/files_api_routes_upload_fileop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/fileschema.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/fimcompletionrequest.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/fimcompletionresponse.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/fimcompletionstreamrequest.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/finetuneablemodel.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/ftmodelcapabilitiesout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/ftmodelcard.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/ftmodelout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/function.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/functioncall.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/functionname.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/githubrepositoryin.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/githubrepositoryout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/httpvalidationerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/imageurl.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/imageurlchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobin.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobmetadataout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_batch_cancel_batch_jobop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_batch_get_batch_jobop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_batch_get_batch_jobsop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobsop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/jobsout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/legacyjobmetadataout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/listfilesout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/metricout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/modelcapabilities.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/modellist.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/responseformat.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/responseformats.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/retrieve_model_v1_models_model_id_getop.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/retrievefileout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/sampletype.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/sdkerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/security.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/source.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/systemmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/textchunk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/tool.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/toolcall.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/toolchoice.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/toolchoiceenum.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/toolmessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/tooltypes.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/trainingfile.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/trainingparameters.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/trainingparametersin.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/unarchiveftmodelout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/updateftmodelin.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/uploadfileout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/usageinfo.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/usermessage.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/validationerror.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/wandbintegration.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models/wandbintegrationout.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/models_.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/py.typed +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/sdk.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/types/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/types/basemodel.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/__init__.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/annotations.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/enums.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/eventstreaming.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/forms.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/headers.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/logger.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/metadata.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/queryparams.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/requestbodies.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/retries.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/security.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/serializers.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/url.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/utils/values.py +0 -0
- {mistralai-1.2.1 → mistralai-1.2.2}/src/mistralai/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mistralai
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: Python Client SDK for the Mistral AI API.
|
|
5
5
|
Home-page: https://github.com/mistralai/client-python.git
|
|
6
6
|
Author: Mistral
|
|
@@ -582,10 +582,10 @@ By default, an API error will raise a models.SDKError exception, which has the f
|
|
|
582
582
|
|
|
583
583
|
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `list_async` method may raise the following exceptions:
|
|
584
584
|
|
|
585
|
-
| Error Type | Status Code
|
|
586
|
-
| -------------------------- |
|
|
587
|
-
| models.HTTPValidationError | 422
|
|
588
|
-
| models.SDKError | 4XX, 5XX
|
|
585
|
+
| Error Type | Status Code | Content Type |
|
|
586
|
+
| -------------------------- | ----------- | ---------------- |
|
|
587
|
+
| models.HTTPValidationError | 422 | application/json |
|
|
588
|
+
| models.SDKError | 4XX, 5XX | \*/\* |
|
|
589
589
|
|
|
590
590
|
### Example
|
|
591
591
|
|
|
@@ -621,9 +621,9 @@ except models.SDKError as e:
|
|
|
621
621
|
|
|
622
622
|
You can override the default server globally by passing a server name to the `server: str` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
|
|
623
623
|
|
|
624
|
-
| Name | Server
|
|
625
|
-
|
|
|
626
|
-
| `eu` | `https://api.mistral.ai` |
|
|
624
|
+
| Name | Server |
|
|
625
|
+
| ---- | ------------------------ |
|
|
626
|
+
| `eu` | `https://api.mistral.ai` |
|
|
627
627
|
|
|
628
628
|
#### Example
|
|
629
629
|
|
|
@@ -644,7 +644,6 @@ if res is not None:
|
|
|
644
644
|
|
|
645
645
|
```
|
|
646
646
|
|
|
647
|
-
|
|
648
647
|
### Override Server URL Per-Client
|
|
649
648
|
|
|
650
649
|
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
|
|
@@ -754,9 +753,9 @@ s = Mistral(async_client=CustomClient(httpx.AsyncClient()))
|
|
|
754
753
|
|
|
755
754
|
This SDK supports the following security scheme globally:
|
|
756
755
|
|
|
757
|
-
| Name
|
|
758
|
-
|
|
|
759
|
-
| `api_key`
|
|
756
|
+
| Name | Type | Scheme | Environment Variable |
|
|
757
|
+
| --------- | ---- | ----------- | -------------------- |
|
|
758
|
+
| `api_key` | http | HTTP Bearer | `MISTRAL_API_KEY` |
|
|
760
759
|
|
|
761
760
|
To authenticate with the API the `api_key` parameter must be set when initializing the SDK client instance. For example:
|
|
762
761
|
```python
|
|
@@ -556,10 +556,10 @@ By default, an API error will raise a models.SDKError exception, which has the f
|
|
|
556
556
|
|
|
557
557
|
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `list_async` method may raise the following exceptions:
|
|
558
558
|
|
|
559
|
-
| Error Type | Status Code
|
|
560
|
-
| -------------------------- |
|
|
561
|
-
| models.HTTPValidationError | 422
|
|
562
|
-
| models.SDKError | 4XX, 5XX
|
|
559
|
+
| Error Type | Status Code | Content Type |
|
|
560
|
+
| -------------------------- | ----------- | ---------------- |
|
|
561
|
+
| models.HTTPValidationError | 422 | application/json |
|
|
562
|
+
| models.SDKError | 4XX, 5XX | \*/\* |
|
|
563
563
|
|
|
564
564
|
### Example
|
|
565
565
|
|
|
@@ -595,9 +595,9 @@ except models.SDKError as e:
|
|
|
595
595
|
|
|
596
596
|
You can override the default server globally by passing a server name to the `server: str` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
|
|
597
597
|
|
|
598
|
-
| Name | Server
|
|
599
|
-
|
|
|
600
|
-
| `eu` | `https://api.mistral.ai` |
|
|
598
|
+
| Name | Server |
|
|
599
|
+
| ---- | ------------------------ |
|
|
600
|
+
| `eu` | `https://api.mistral.ai` |
|
|
601
601
|
|
|
602
602
|
#### Example
|
|
603
603
|
|
|
@@ -618,7 +618,6 @@ if res is not None:
|
|
|
618
618
|
|
|
619
619
|
```
|
|
620
620
|
|
|
621
|
-
|
|
622
621
|
### Override Server URL Per-Client
|
|
623
622
|
|
|
624
623
|
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
|
|
@@ -728,9 +727,9 @@ s = Mistral(async_client=CustomClient(httpx.AsyncClient()))
|
|
|
728
727
|
|
|
729
728
|
This SDK supports the following security scheme globally:
|
|
730
729
|
|
|
731
|
-
| Name
|
|
732
|
-
|
|
|
733
|
-
| `api_key`
|
|
730
|
+
| Name | Type | Scheme | Environment Variable |
|
|
731
|
+
| --------- | ---- | ----------- | -------------------- |
|
|
732
|
+
| `api_key` | http | HTTP Bearer | `MISTRAL_API_KEY` |
|
|
734
733
|
|
|
735
734
|
To authenticate with the API the `api_key` parameter must be set when initializing the SDK client instance. For example:
|
|
736
735
|
```python
|
|
@@ -34,8 +34,8 @@ class Chat(BaseSDK):
|
|
|
34
34
|
models.ChatCompletionStreamRequestToolChoiceTypedDict,
|
|
35
35
|
]
|
|
36
36
|
] = None,
|
|
37
|
-
presence_penalty: Optional[float] =
|
|
38
|
-
frequency_penalty: Optional[float] =
|
|
37
|
+
presence_penalty: Optional[float] = None,
|
|
38
|
+
frequency_penalty: Optional[float] = None,
|
|
39
39
|
n: OptionalNullable[int] = UNSET,
|
|
40
40
|
safe_prompt: Optional[bool] = False,
|
|
41
41
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -182,8 +182,8 @@ class Chat(BaseSDK):
|
|
|
182
182
|
models.ChatCompletionStreamRequestToolChoiceTypedDict,
|
|
183
183
|
]
|
|
184
184
|
] = None,
|
|
185
|
-
presence_penalty: Optional[float] =
|
|
186
|
-
frequency_penalty: Optional[float] =
|
|
185
|
+
presence_penalty: Optional[float] = None,
|
|
186
|
+
frequency_penalty: Optional[float] = None,
|
|
187
187
|
n: OptionalNullable[int] = UNSET,
|
|
188
188
|
safe_prompt: Optional[bool] = False,
|
|
189
189
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -338,8 +338,8 @@ class Chat(BaseSDK):
|
|
|
338
338
|
models.ChatCompletionRequestToolChoiceTypedDict,
|
|
339
339
|
]
|
|
340
340
|
] = None,
|
|
341
|
-
presence_penalty: Optional[float] =
|
|
342
|
-
frequency_penalty: Optional[float] =
|
|
341
|
+
presence_penalty: Optional[float] = None,
|
|
342
|
+
frequency_penalty: Optional[float] = None,
|
|
343
343
|
n: OptionalNullable[int] = UNSET,
|
|
344
344
|
safe_prompt: Optional[bool] = False,
|
|
345
345
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -490,8 +490,8 @@ class Chat(BaseSDK):
|
|
|
490
490
|
models.ChatCompletionRequestToolChoiceTypedDict,
|
|
491
491
|
]
|
|
492
492
|
] = None,
|
|
493
|
-
presence_penalty: Optional[float] =
|
|
494
|
-
frequency_penalty: Optional[float] =
|
|
493
|
+
presence_penalty: Optional[float] = None,
|
|
494
|
+
frequency_penalty: Optional[float] = None,
|
|
495
495
|
n: OptionalNullable[int] = UNSET,
|
|
496
496
|
safe_prompt: Optional[bool] = False,
|
|
497
497
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -116,10 +116,10 @@ class ChatCompletionRequest(BaseModel):
|
|
|
116
116
|
|
|
117
117
|
tool_choice: Optional[ChatCompletionRequestToolChoice] = None
|
|
118
118
|
|
|
119
|
-
presence_penalty: Optional[float] =
|
|
119
|
+
presence_penalty: Optional[float] = None
|
|
120
120
|
r"""presence_penalty determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative."""
|
|
121
121
|
|
|
122
|
-
frequency_penalty: Optional[float] =
|
|
122
|
+
frequency_penalty: Optional[float] = None
|
|
123
123
|
r"""frequency_penalty penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition."""
|
|
124
124
|
|
|
125
125
|
n: OptionalNullable[int] = UNSET
|
|
@@ -116,10 +116,10 @@ class ChatCompletionStreamRequest(BaseModel):
|
|
|
116
116
|
|
|
117
117
|
tool_choice: Optional[ChatCompletionStreamRequestToolChoice] = None
|
|
118
118
|
|
|
119
|
-
presence_penalty: Optional[float] =
|
|
119
|
+
presence_penalty: Optional[float] = None
|
|
120
120
|
r"""presence_penalty determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative."""
|
|
121
121
|
|
|
122
|
-
frequency_penalty: Optional[float] =
|
|
122
|
+
frequency_penalty: Optional[float] = None
|
|
123
123
|
r"""frequency_penalty penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition."""
|
|
124
124
|
|
|
125
125
|
n: OptionalNullable[int] = UNSET
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/sdkconfiguration.py
RENAMED
|
@@ -29,8 +29,8 @@ class SDKConfiguration:
|
|
|
29
29
|
language: str = "python"
|
|
30
30
|
openapi_doc_version: str = "0.0.2"
|
|
31
31
|
sdk_version: str = "1.2.0"
|
|
32
|
-
gen_version: str = "2.
|
|
33
|
-
user_agent: str = "speakeasy-sdk/python 1.2.0 2.
|
|
32
|
+
gen_version: str = "2.457.2"
|
|
33
|
+
user_agent: str = "speakeasy-sdk/python 1.2.0 2.457.2 0.0.2 mistralai_azure"
|
|
34
34
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
|
35
35
|
timeout_ms: Optional[int] = None
|
|
36
36
|
|
|
@@ -34,8 +34,8 @@ class Chat(BaseSDK):
|
|
|
34
34
|
models.ChatCompletionStreamRequestToolChoiceTypedDict,
|
|
35
35
|
]
|
|
36
36
|
] = None,
|
|
37
|
-
presence_penalty: Optional[float] =
|
|
38
|
-
frequency_penalty: Optional[float] =
|
|
37
|
+
presence_penalty: Optional[float] = None,
|
|
38
|
+
frequency_penalty: Optional[float] = None,
|
|
39
39
|
n: OptionalNullable[int] = UNSET,
|
|
40
40
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
41
41
|
server_url: Optional[str] = None,
|
|
@@ -179,8 +179,8 @@ class Chat(BaseSDK):
|
|
|
179
179
|
models.ChatCompletionStreamRequestToolChoiceTypedDict,
|
|
180
180
|
]
|
|
181
181
|
] = None,
|
|
182
|
-
presence_penalty: Optional[float] =
|
|
183
|
-
frequency_penalty: Optional[float] =
|
|
182
|
+
presence_penalty: Optional[float] = None,
|
|
183
|
+
frequency_penalty: Optional[float] = None,
|
|
184
184
|
n: OptionalNullable[int] = UNSET,
|
|
185
185
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
186
186
|
server_url: Optional[str] = None,
|
|
@@ -332,8 +332,8 @@ class Chat(BaseSDK):
|
|
|
332
332
|
models.ChatCompletionRequestToolChoiceTypedDict,
|
|
333
333
|
]
|
|
334
334
|
] = None,
|
|
335
|
-
presence_penalty: Optional[float] =
|
|
336
|
-
frequency_penalty: Optional[float] =
|
|
335
|
+
presence_penalty: Optional[float] = None,
|
|
336
|
+
frequency_penalty: Optional[float] = None,
|
|
337
337
|
n: OptionalNullable[int] = UNSET,
|
|
338
338
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
339
339
|
server_url: Optional[str] = None,
|
|
@@ -481,8 +481,8 @@ class Chat(BaseSDK):
|
|
|
481
481
|
models.ChatCompletionRequestToolChoiceTypedDict,
|
|
482
482
|
]
|
|
483
483
|
] = None,
|
|
484
|
-
presence_penalty: Optional[float] =
|
|
485
|
-
frequency_penalty: Optional[float] =
|
|
484
|
+
presence_penalty: Optional[float] = None,
|
|
485
|
+
frequency_penalty: Optional[float] = None,
|
|
486
486
|
n: OptionalNullable[int] = UNSET,
|
|
487
487
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
488
488
|
server_url: Optional[str] = None,
|
|
@@ -114,10 +114,10 @@ class ChatCompletionRequest(BaseModel):
|
|
|
114
114
|
|
|
115
115
|
tool_choice: Optional[ChatCompletionRequestToolChoice] = None
|
|
116
116
|
|
|
117
|
-
presence_penalty: Optional[float] =
|
|
117
|
+
presence_penalty: Optional[float] = None
|
|
118
118
|
r"""presence_penalty determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative."""
|
|
119
119
|
|
|
120
|
-
frequency_penalty: Optional[float] =
|
|
120
|
+
frequency_penalty: Optional[float] = None
|
|
121
121
|
r"""frequency_penalty penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition."""
|
|
122
122
|
|
|
123
123
|
n: OptionalNullable[int] = UNSET
|
|
@@ -114,10 +114,10 @@ class ChatCompletionStreamRequest(BaseModel):
|
|
|
114
114
|
|
|
115
115
|
tool_choice: Optional[ChatCompletionStreamRequestToolChoice] = None
|
|
116
116
|
|
|
117
|
-
presence_penalty: Optional[float] =
|
|
117
|
+
presence_penalty: Optional[float] = None
|
|
118
118
|
r"""presence_penalty determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative."""
|
|
119
119
|
|
|
120
|
-
frequency_penalty: Optional[float] =
|
|
120
|
+
frequency_penalty: Optional[float] = None
|
|
121
121
|
r"""frequency_penalty penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition."""
|
|
122
122
|
|
|
123
123
|
n: OptionalNullable[int] = UNSET
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/sdkconfiguration.py
RENAMED
|
@@ -29,8 +29,8 @@ class SDKConfiguration:
|
|
|
29
29
|
language: str = "python"
|
|
30
30
|
openapi_doc_version: str = "0.0.2"
|
|
31
31
|
sdk_version: str = "1.2.0"
|
|
32
|
-
gen_version: str = "2.
|
|
33
|
-
user_agent: str = "speakeasy-sdk/python 1.2.0 2.
|
|
32
|
+
gen_version: str = "2.457.2"
|
|
33
|
+
user_agent: str = "speakeasy-sdk/python 1.2.0 2.457.2 0.0.2 mistralai-gcp"
|
|
34
34
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
|
35
35
|
timeout_ms: Optional[int] = None
|
|
36
36
|
|
|
@@ -40,8 +40,8 @@ class Agents(BaseSDK):
|
|
|
40
40
|
models.AgentsCompletionRequestToolChoiceTypedDict,
|
|
41
41
|
]
|
|
42
42
|
] = None,
|
|
43
|
-
presence_penalty: Optional[float] =
|
|
44
|
-
frequency_penalty: Optional[float] =
|
|
43
|
+
presence_penalty: Optional[float] = None,
|
|
44
|
+
frequency_penalty: Optional[float] = None,
|
|
45
45
|
n: OptionalNullable[int] = UNSET,
|
|
46
46
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
47
47
|
server_url: Optional[str] = None,
|
|
@@ -185,8 +185,8 @@ class Agents(BaseSDK):
|
|
|
185
185
|
models.AgentsCompletionRequestToolChoiceTypedDict,
|
|
186
186
|
]
|
|
187
187
|
] = None,
|
|
188
|
-
presence_penalty: Optional[float] =
|
|
189
|
-
frequency_penalty: Optional[float] =
|
|
188
|
+
presence_penalty: Optional[float] = None,
|
|
189
|
+
frequency_penalty: Optional[float] = None,
|
|
190
190
|
n: OptionalNullable[int] = UNSET,
|
|
191
191
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
192
192
|
server_url: Optional[str] = None,
|
|
@@ -330,8 +330,8 @@ class Agents(BaseSDK):
|
|
|
330
330
|
models.AgentsCompletionStreamRequestToolChoiceTypedDict,
|
|
331
331
|
]
|
|
332
332
|
] = None,
|
|
333
|
-
presence_penalty: Optional[float] =
|
|
334
|
-
frequency_penalty: Optional[float] =
|
|
333
|
+
presence_penalty: Optional[float] = None,
|
|
334
|
+
frequency_penalty: Optional[float] = None,
|
|
335
335
|
n: OptionalNullable[int] = UNSET,
|
|
336
336
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
337
337
|
server_url: Optional[str] = None,
|
|
@@ -481,8 +481,8 @@ class Agents(BaseSDK):
|
|
|
481
481
|
models.AgentsCompletionStreamRequestToolChoiceTypedDict,
|
|
482
482
|
]
|
|
483
483
|
] = None,
|
|
484
|
-
presence_penalty: Optional[float] =
|
|
485
|
-
frequency_penalty: Optional[float] =
|
|
484
|
+
presence_penalty: Optional[float] = None,
|
|
485
|
+
frequency_penalty: Optional[float] = None,
|
|
486
486
|
n: OptionalNullable[int] = UNSET,
|
|
487
487
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
488
488
|
server_url: Optional[str] = None,
|
|
@@ -34,8 +34,8 @@ class Chat(BaseSDK):
|
|
|
34
34
|
models.ChatCompletionRequestToolChoiceTypedDict,
|
|
35
35
|
]
|
|
36
36
|
] = None,
|
|
37
|
-
presence_penalty: Optional[float] =
|
|
38
|
-
frequency_penalty: Optional[float] =
|
|
37
|
+
presence_penalty: Optional[float] = None,
|
|
38
|
+
frequency_penalty: Optional[float] = None,
|
|
39
39
|
n: OptionalNullable[int] = UNSET,
|
|
40
40
|
safe_prompt: Optional[bool] = False,
|
|
41
41
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -178,8 +178,8 @@ class Chat(BaseSDK):
|
|
|
178
178
|
models.ChatCompletionRequestToolChoiceTypedDict,
|
|
179
179
|
]
|
|
180
180
|
] = None,
|
|
181
|
-
presence_penalty: Optional[float] =
|
|
182
|
-
frequency_penalty: Optional[float] =
|
|
181
|
+
presence_penalty: Optional[float] = None,
|
|
182
|
+
frequency_penalty: Optional[float] = None,
|
|
183
183
|
n: OptionalNullable[int] = UNSET,
|
|
184
184
|
safe_prompt: Optional[bool] = False,
|
|
185
185
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -330,8 +330,8 @@ class Chat(BaseSDK):
|
|
|
330
330
|
models.ChatCompletionStreamRequestToolChoiceTypedDict,
|
|
331
331
|
]
|
|
332
332
|
] = None,
|
|
333
|
-
presence_penalty: Optional[float] =
|
|
334
|
-
frequency_penalty: Optional[float] =
|
|
333
|
+
presence_penalty: Optional[float] = None,
|
|
334
|
+
frequency_penalty: Optional[float] = None,
|
|
335
335
|
n: OptionalNullable[int] = UNSET,
|
|
336
336
|
safe_prompt: Optional[bool] = False,
|
|
337
337
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -490,8 +490,8 @@ class Chat(BaseSDK):
|
|
|
490
490
|
models.ChatCompletionStreamRequestToolChoiceTypedDict,
|
|
491
491
|
]
|
|
492
492
|
] = None,
|
|
493
|
-
presence_penalty: Optional[float] =
|
|
494
|
-
frequency_penalty: Optional[float] =
|
|
493
|
+
presence_penalty: Optional[float] = None,
|
|
494
|
+
frequency_penalty: Optional[float] = None,
|
|
495
495
|
n: OptionalNullable[int] = UNSET,
|
|
496
496
|
safe_prompt: Optional[bool] = False,
|
|
497
497
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -98,10 +98,10 @@ class AgentsCompletionRequest(BaseModel):
|
|
|
98
98
|
|
|
99
99
|
tool_choice: Optional[AgentsCompletionRequestToolChoice] = None
|
|
100
100
|
|
|
101
|
-
presence_penalty: Optional[float] =
|
|
101
|
+
presence_penalty: Optional[float] = None
|
|
102
102
|
r"""presence_penalty determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative."""
|
|
103
103
|
|
|
104
|
-
frequency_penalty: Optional[float] =
|
|
104
|
+
frequency_penalty: Optional[float] = None
|
|
105
105
|
r"""frequency_penalty penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition."""
|
|
106
106
|
|
|
107
107
|
n: OptionalNullable[int] = UNSET
|
|
@@ -98,10 +98,10 @@ class AgentsCompletionStreamRequest(BaseModel):
|
|
|
98
98
|
|
|
99
99
|
tool_choice: Optional[AgentsCompletionStreamRequestToolChoice] = None
|
|
100
100
|
|
|
101
|
-
presence_penalty: Optional[float] =
|
|
101
|
+
presence_penalty: Optional[float] = None
|
|
102
102
|
r"""presence_penalty determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative."""
|
|
103
103
|
|
|
104
|
-
frequency_penalty: Optional[float] =
|
|
104
|
+
frequency_penalty: Optional[float] = None
|
|
105
105
|
r"""frequency_penalty penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition."""
|
|
106
106
|
|
|
107
107
|
n: OptionalNullable[int] = UNSET
|
|
@@ -110,10 +110,10 @@ class ChatCompletionRequest(BaseModel):
|
|
|
110
110
|
|
|
111
111
|
tool_choice: Optional[ChatCompletionRequestToolChoice] = None
|
|
112
112
|
|
|
113
|
-
presence_penalty: Optional[float] =
|
|
113
|
+
presence_penalty: Optional[float] = None
|
|
114
114
|
r"""presence_penalty determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative."""
|
|
115
115
|
|
|
116
|
-
frequency_penalty: Optional[float] =
|
|
116
|
+
frequency_penalty: Optional[float] = None
|
|
117
117
|
r"""frequency_penalty penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition."""
|
|
118
118
|
|
|
119
119
|
n: OptionalNullable[int] = UNSET
|
|
@@ -110,10 +110,10 @@ class ChatCompletionStreamRequest(BaseModel):
|
|
|
110
110
|
|
|
111
111
|
tool_choice: Optional[ChatCompletionStreamRequestToolChoice] = None
|
|
112
112
|
|
|
113
|
-
presence_penalty: Optional[float] =
|
|
113
|
+
presence_penalty: Optional[float] = None
|
|
114
114
|
r"""presence_penalty determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative."""
|
|
115
115
|
|
|
116
|
-
frequency_penalty: Optional[float] =
|
|
116
|
+
frequency_penalty: Optional[float] = None
|
|
117
117
|
r"""frequency_penalty penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition."""
|
|
118
118
|
|
|
119
119
|
n: OptionalNullable[int] = UNSET
|
|
@@ -28,9 +28,9 @@ class SDKConfiguration:
|
|
|
28
28
|
server: Optional[str] = ""
|
|
29
29
|
language: str = "python"
|
|
30
30
|
openapi_doc_version: str = "0.0.2"
|
|
31
|
-
sdk_version: str = "1.2.
|
|
32
|
-
gen_version: str = "2.
|
|
33
|
-
user_agent: str = "speakeasy-sdk/python 1.2.
|
|
31
|
+
sdk_version: str = "1.2.2"
|
|
32
|
+
gen_version: str = "2.457.2"
|
|
33
|
+
user_agent: str = "speakeasy-sdk/python 1.2.2 2.457.2 0.0.2 mistralai"
|
|
34
34
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
|
35
35
|
timeout_ms: Optional[int] = None
|
|
36
36
|
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/__init__.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_hooks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_hooks/sdkhooks.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_hooks/types.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/_version.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/httpclient.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/function.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/sdkerror.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/security.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/textchunk.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/tool.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/toolcall.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/tooltypes.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/models/usageinfo.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/types/__init__.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/types/basemodel.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/enums.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/forms.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/headers.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/logger.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/metadata.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/retries.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/security.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/url.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_azure/src/mistralai_azure/utils/values.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/registration.py
RENAMED
|
File without changes
|
{mistralai-1.2.1 → mistralai-1.2.2}/packages/mistralai_gcp/src/mistralai_gcp/_hooks/sdkhooks.py
RENAMED
|
File without changes
|