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Z/m0Z0m1Z1m2Z2 ddNl3m4Z4m5Z5m6Z6 ddOl7m8Z8m9Z9 ddPl:m;Z; ddQl<m=Z=m>Z>m?Z?m@Z@ ddRlAmBZBmCZC ddSlDmEZE ddTlFmGZG ddUlHmIZImJZJ ddVlKmLZL ddWlMmNZNmOZOmPZPmQZQmRZR ddXlSmTZTmUZUmVZV ddYlWmXZXmYZY ddZlZm[Z[m\Z\ dd[l]m^Z^m_Z_ dd\l`maZa dd]lbmcZcmdZdmeZemfZfmgZg dd^lhmiZi dd_ljmkZkmlZl dd`lmmnZnmoZo ddalpmqZqmrZr ddblsmtZtmuZumvZv ddclwmxZxmyZy dddlzm{Z{m|Z| ddel}m~Z~mZ ddflmZmZmZmZmZ ddglmZmZmZmZ ddhlmZmZmZ ddilmZmZmZ g djZyk)lzACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.   )AgentsCompletionRequestAgentsCompletionRequestMessages(AgentsCompletionRequestMessagesTypedDictAgentsCompletionRequestStop$AgentsCompletionRequestStopTypedDict!AgentsCompletionRequestToolChoice*AgentsCompletionRequestToolChoiceTypedDict AgentsCompletionRequestTypedDict)AgentsCompletionStreamRequest%AgentsCompletionStreamRequestMessages.AgentsCompletionStreamRequestMessagesTypedDict!AgentsCompletionStreamRequestStop*AgentsCompletionStreamRequestStopTypedDict'AgentsCompletionStreamRequestToolChoice0AgentsCompletionStreamRequestToolChoiceTypedDict&AgentsCompletionStreamRequestTypedDict)APIEndpoint)ArchiveFTModelOutArchiveFTModelOutObjectArchiveFTModelOutTypedDict)AssistantMessageAssistantMessageContent AssistantMessageContentTypedDictAssistantMessageRoleAssistantMessageTypedDict)BaseModelCardBaseModelCardTypedDictType)
BatchErrorBatchErrorTypedDict)
BatchJobInBatchJobInTypedDict)BatchJobOutBatchJobOutObjectBatchJobOutTypedDict)BatchJobsOutBatchJobsOutObjectBatchJobsOutTypedDict)BatchJobStatus)ChatClassificationRequestChatClassificationRequestInputs(ChatClassificationRequestInputsTypedDict"ChatClassificationRequestTypedDictOneOneTypedDictTwoTwoTypedDict)ChatCompletionChoiceChatCompletionChoiceTypedDictFinishReason)ChatCompletionRequestChatCompletionRequestToolChoice(ChatCompletionRequestToolChoiceTypedDictChatCompletionRequestTypedDictMessagesMessagesTypedDictStopStopTypedDict)ChatCompletionResponseChatCompletionResponseTypedDict)ChatCompletionStreamRequest#ChatCompletionStreamRequestMessages,ChatCompletionStreamRequestMessagesTypedDictChatCompletionStreamRequestStop(ChatCompletionStreamRequestStopTypedDict%ChatCompletionStreamRequestToolChoice.ChatCompletionStreamRequestToolChoiceTypedDict$ChatCompletionStreamRequestTypedDict)CheckpointOutCheckpointOutTypedDict)ClassificationObjectClassificationObjectTypedDict)ClassificationRequestClassificationRequestInputs$ClassificationRequestInputsTypedDictClassificationRequestTypedDict)ClassificationResponseClassificationResponseTypedDict)CompletionChunkCompletionChunkTypedDict)CompletionEventCompletionEventTypedDict)CompletionResponseStreamChoice*CompletionResponseStreamChoiceFinishReason'CompletionResponseStreamChoiceTypedDict)ContentChunkContentChunkTypedDict)'DeleteModelV1ModelsModelIDDeleteRequest0DeleteModelV1ModelsModelIDDeleteRequestTypedDict)DeleteFileOutDeleteFileOutTypedDict)DeleteModelOutDeleteModelOutTypedDict)ContentContentTypedDictDeltaMessageDeltaMessageTypedDict)DetailedJobOutDetailedJobOutIntegrations#DetailedJobOutIntegrationsTypedDictDetailedJobOutObjectDetailedJobOutRepositories#DetailedJobOutRepositoriesTypedDictDetailedJobOutStatusDetailedJobOutTypedDict)EmbeddingRequestEmbeddingRequestTypedDictInputsInputsTypedDict)EmbeddingResponseEmbeddingResponseTypedDict)EmbeddingResponseDataEmbeddingResponseDataTypedDict)EventOutEventOutTypedDict)FilePurpose)FilesAPIRoutesDeleteFileRequest(FilesAPIRoutesDeleteFileRequestTypedDict)!FilesAPIRoutesDownloadFileRequest*FilesAPIRoutesDownloadFileRequestTypedDict)!FilesAPIRoutesGetSignedURLRequest*FilesAPIRoutesGetSignedURLRequestTypedDict)FilesAPIRoutesListFilesRequest'FilesAPIRoutesListFilesRequestTypedDict)!FilesAPIRoutesRetrieveFileRequest*FilesAPIRoutesRetrieveFileRequestTypedDict)FileFileTypedDict+FilesAPIRoutesUploadFileMultiPartBodyParams4FilesAPIRoutesUploadFileMultiPartBodyParamsTypedDict)
FileSchemaFileSchemaTypedDict)FileSignedURLFileSignedURLTypedDict)FIMCompletionRequestFIMCompletionRequestStop!FIMCompletionRequestStopTypedDictFIMCompletionRequestTypedDict)FIMCompletionResponseFIMCompletionResponseTypedDict)FIMCompletionStreamRequestFIMCompletionStreamRequestStop'FIMCompletionStreamRequestStopTypedDict#FIMCompletionStreamRequestTypedDict)FTModelCapabilitiesOutFTModelCapabilitiesOutTypedDict)FTModelCardFTModelCardTypeFTModelCardTypedDict)
FTModelOutFTModelOutObjectFTModelOutTypedDict)FunctionFunctionTypedDict)	ArgumentsArgumentsTypedDictFunctionCallFunctionCallTypedDict)FunctionNameFunctionNameTypedDict)GithubRepositoryInGithubRepositoryInTypeGithubRepositoryInTypedDict)GithubRepositoryOutGithubRepositoryOutTypeGithubRepositoryOutTypedDict)HTTPValidationErrorHTTPValidationErrorData)ImageURLImageURLTypedDict)ImageURLChunkImageURLChunkImageURLImageURLChunkImageURLTypedDictImageURLChunkTypeImageURLChunkTypedDict)JobInJobInIntegrationsJobInIntegrationsTypedDictJobInRepositoriesJobInRepositoriesTypedDictJobInTypedDict)JobMetadataOutJobMetadataOutTypedDict)IntegrationsIntegrationsTypedDictJobOutJobOutTypedDictObjectRepositoriesRepositoriesTypedDictStatus)'JobsAPIRoutesBatchCancelBatchJobRequest0JobsAPIRoutesBatchCancelBatchJobRequestTypedDict)$JobsAPIRoutesBatchGetBatchJobRequest-JobsAPIRoutesBatchGetBatchJobRequestTypedDict)%JobsAPIRoutesBatchGetBatchJobsRequest.JobsAPIRoutesBatchGetBatchJobsRequestTypedDict)3JobsAPIRoutesFineTuningArchiveFineTunedModelRequest<JobsAPIRoutesFineTuningArchiveFineTunedModelRequestTypedDict)1JobsAPIRoutesFineTuningCancelFineTuningJobRequest:JobsAPIRoutesFineTuningCancelFineTuningJobRequestTypedDict)2JobsAPIRoutesFineTuningCreateFineTuningJobResponse;JobsAPIRoutesFineTuningCreateFineTuningJobResponseTypedDict).JobsAPIRoutesFineTuningGetFineTuningJobRequest7JobsAPIRoutesFineTuningGetFineTuningJobRequestTypedDict)/JobsAPIRoutesFineTuningGetFineTuningJobsRequest8JobsAPIRoutesFineTuningGetFineTuningJobsRequestTypedDictQueryParamStatus)0JobsAPIRoutesFineTuningStartFineTuningJobRequest9JobsAPIRoutesFineTuningStartFineTuningJobRequestTypedDict)5JobsAPIRoutesFineTuningUnarchiveFineTunedModelRequest>JobsAPIRoutesFineTuningUnarchiveFineTunedModelRequestTypedDict)2JobsAPIRoutesFineTuningUpdateFineTunedModelRequest;JobsAPIRoutesFineTuningUpdateFineTunedModelRequestTypedDict)JobsOutJobsOutObjectJobsOutTypedDict)LegacyJobMetadataOutLegacyJobMetadataOutObjectLegacyJobMetadataOutTypedDict)ListFilesOutListFilesOutTypedDict)	MetricOutMetricOutTypedDict)ModelCapabilitiesModelCapabilitiesTypedDict)DataDataTypedDict	ModelListModelListTypedDict)ReferenceChunkReferenceChunkTypeReferenceChunkTypedDict)ResponseFormatResponseFormatTypedDict)ResponseFormats)&RetrieveModelV1ModelsModelIDGetRequest/RetrieveModelV1ModelsModelIDGetRequestTypedDictFRetrieveModelV1ModelsModelIDGetResponseRetrieveModelV1ModelsModelIDGetORetrieveModelV1ModelsModelIDGetResponseRetrieveModelV1ModelsModelIDGetTypedDict)RetrieveFileOutRetrieveFileOutTypedDict)
SampleType)SDKError)SecuritySecurityTypedDict)Source)RoleSystemMessageSystemMessageContentSystemMessageContentTypedDictSystemMessageTypedDict)	TextChunkTextChunkTypeTextChunkTypedDict)ToolToolTypedDict)ToolCallToolCallTypedDict)
ToolChoiceToolChoiceTypedDict)ToolChoiceEnum)ToolMessageToolMessageContentToolMessageContentTypedDictToolMessageRoleToolMessageTypedDict)	ToolTypes)TrainingFileTrainingFileTypedDict)TrainingParametersTrainingParametersTypedDict)TrainingParametersInTrainingParametersInTypedDict)UnarchiveFTModelOutUnarchiveFTModelOutObjectUnarchiveFTModelOutTypedDict)UpdateFTModelInUpdateFTModelInTypedDict)UploadFileOutUploadFileOutTypedDict)	UsageInfoUsageInfoTypedDict)UserMessageUserMessageContentUserMessageContentTypedDictUserMessageRoleUserMessageTypedDict)LocLocTypedDictValidationErrorValidationErrorTypedDict)WandbIntegrationWandbIntegrationTypeWandbIntegrationTypedDict)WandbIntegrationOutWandbIntegrationOutTypeWandbIntegrationOutTypedDict(*  r   r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r)   r&   r'   r(   r*   r+   r,   r-   r2   r3   r5   r6   r7   r8   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r`   rX   rY   ra   r   r   r\   r]   r^   r_   rZ   r[   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rp   rr   rs   rq   rt   ru   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rv   r   r   r   r   r   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r   r   r4   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rn   ro   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r#  r$  r9   r:   r   r   r   r   r   r   r   r.   r/   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r;   r<   r   r   r   r   r   r   r  r  r  r  r  r  r  r	  r
  r  r  r  r  r  r  r  r  r  r  r  r0   r1   r   r  r  r  r  r  r  r  r  r  r  r  r   r!  r"  r%  r&  r'  r*  r+  r,  r(  r)  N(  __doc__agentscompletionrequestr   r   r   r   r   r   r	   r
   agentscompletionstreamrequestr   r   r   r   r   r   r   r   apiendpointr   archiveftmodeloutr   r   r   assistantmessager   r   r   r   r   basemodelcardr   r   r   
batcherrorr   r    
batchjobinr!   r"   batchjoboutr#   r$   r%   batchjobsoutr&   r'   r(   batchjobstatusr)   chatclassificationrequestr*   r+   r,   r-   r.   r/   r0   r1   chatcompletionchoicer2   r3   r4   chatcompletionrequestr5   r6   r7   r8   r9   r:   r;   r<   chatcompletionresponser=   r>   chatcompletionstreamrequestr?   r@   rA   rB   rC   rD   rE   rF   checkpointoutrG   rH   classificationobjectrI   rJ   classificationrequestrK   rL   rM   rN   classificationresponserO   rP   completionchunkrQ   rR   completioneventrS   rT   completionresponsestreamchoicerU   rV   rW   contentchunkrX   rY   (delete_model_v1_models_model_id_deleteoprZ   r[   deletefileoutr\   r]   deletemodeloutr^   r_   deltamessager`   ra   rb   rc   detailedjoboutrd   re   rf   rg   rh   ri   rj   rk   embeddingrequestrl   rm   rn   ro   embeddingresponserp   rq   embeddingresponsedatarr   rs   eventoutrt   ru   filepurposerv   files_api_routes_delete_fileoprw   rx    files_api_routes_download_fileopry   rz   !files_api_routes_get_signed_urlopr{   r|   files_api_routes_list_filesopr}   r~    files_api_routes_retrieve_fileopr   r   files_api_routes_upload_fileopr   r   r   r   
fileschemar   r   filesignedurlr   r   fimcompletionrequestr   r   r   r   fimcompletionresponser   r   fimcompletionstreamrequestr   r   r   r   ftmodelcapabilitiesoutr   r   ftmodelcardr   r   r   
ftmodeloutr   r   r   functionr   r   functioncallr   r   r   r   functionnamer   r   githubrepositoryinr   r   r   githubrepositoryoutr   r   r   httpvalidationerrorr   r   imageurlr   r   imageurlchunkr   r   r   r   r   jobinr   r   r   r   r   r   jobmetadataoutr   r   joboutr   r   r   r   r   r   r   r   (jobs_api_routes_batch_cancel_batch_jobopr   r   %jobs_api_routes_batch_get_batch_jobopr   r   &jobs_api_routes_batch_get_batch_jobsopr   r   6jobs_api_routes_fine_tuning_archive_fine_tuned_modelopr   r   4jobs_api_routes_fine_tuning_cancel_fine_tuning_jobopr   r   4jobs_api_routes_fine_tuning_create_fine_tuning_jobopr   r   1jobs_api_routes_fine_tuning_get_fine_tuning_jobopr   r   2jobs_api_routes_fine_tuning_get_fine_tuning_jobsopr   r   r   3jobs_api_routes_fine_tuning_start_fine_tuning_jobopr   r   8jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelopr   r   5jobs_api_routes_fine_tuning_update_fine_tuned_modelopr   r   jobsoutr   r   r   legacyjobmetadataoutr   r   r   listfilesoutr   r   	metricoutr   r   modelcapabilitiesr   r   	modellistr   r   r   r   referencechunkr   r   r   responseformatr   r   responseformatsr   'retrieve_model_v1_models_model_id_getopr   r   r   r   retrievefileoutr   r   
sampletyper   sdkerrorr   securityr   r   sourcer   systemmessager   r   r   r   r   	textchunkr   r   r  toolr  r  toolcallr  r  
toolchoicer  r  toolchoiceenumr  toolmessager	  r
  r  r  r  	tooltypesr  trainingfiler  r  trainingparametersr  r  trainingparametersinr  r  unarchiveftmodeloutr  r  r  updateftmodelinr  r  uploadfileoutr  r  	usageinfor  r  usermessager  r  r   r!  r"  validationerrorr#  r$  r%  r&  wandbintegrationr'  r(  r)  wandbintegrationoutr*  r+  r,  __all__     N/var/www/openai/venv/lib/python3.12/site-packages/mistralai/models/__init__.py<module>r     ss   G	 	 		 	 	 % 
  G F 7 7 M M Q Q *	 	 	 
	 	 		 	 	 A U  G F 
 > A C X X	 	 	  M X 1 $  8 @  Y  L K I I 1  > 
 
 N 1   D	 	 	        
    > = =  
 > = 4 4 L L I I I W W W C C , ,   G F " "   1 1      D C C % % 1 1 7 7 * *    !   = = O O U U  
 G F @ @ 4 4       
  kr  