mistralai 1.9.1__py3-none-any.whl → 1.9.3__py3-none-any.whl
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/_version.py +2 -2
- mistralai/accesses.py +672 -0
- mistralai/audio.py +18 -0
- mistralai/beta.py +4 -0
- mistralai/documents.py +2136 -0
- mistralai/files.py +2 -2
- mistralai/libraries.py +1041 -0
- mistralai/mistral_jobs.py +14 -2
- mistralai/models/__init__.py +360 -9
- mistralai/models/audiochunk.py +20 -0
- mistralai/models/audiotranscriptionrequest.py +97 -0
- mistralai/models/audiotranscriptionrequeststream.py +97 -0
- mistralai/models/basemodelcard.py +5 -2
- mistralai/models/batchjobin.py +7 -4
- mistralai/models/batchjobout.py +10 -3
- mistralai/models/classifierftmodelout.py +6 -0
- mistralai/models/completionargs.py +3 -2
- mistralai/models/completionftmodelout.py +6 -0
- mistralai/models/contentchunk.py +6 -0
- mistralai/models/conversationevents.py +6 -0
- mistralai/models/conversationhistory.py +4 -4
- mistralai/models/documentout.py +105 -0
- mistralai/models/documenttextcontent.py +13 -0
- mistralai/models/documentupdatein.py +44 -0
- mistralai/models/entitytype.py +9 -0
- mistralai/models/file.py +33 -0
- mistralai/models/files_api_routes_upload_fileop.py +2 -27
- mistralai/models/fileschema.py +8 -2
- mistralai/models/ftmodelcard.py +5 -3
- mistralai/models/inputentries.py +4 -4
- mistralai/models/jobs_api_routes_batch_get_batch_jobsop.py +8 -1
- mistralai/models/libraries_delete_v1op.py +16 -0
- mistralai/models/libraries_documents_delete_v1op.py +21 -0
- mistralai/models/libraries_documents_get_extracted_text_signed_url_v1op.py +21 -0
- mistralai/models/libraries_documents_get_signed_url_v1op.py +21 -0
- mistralai/models/libraries_documents_get_status_v1op.py +21 -0
- mistralai/models/libraries_documents_get_text_content_v1op.py +21 -0
- mistralai/models/libraries_documents_get_v1op.py +21 -0
- mistralai/models/libraries_documents_list_v1op.py +78 -0
- mistralai/models/libraries_documents_reprocess_v1op.py +21 -0
- mistralai/models/libraries_documents_update_v1op.py +28 -0
- mistralai/models/libraries_documents_upload_v1op.py +56 -0
- mistralai/models/libraries_get_v1op.py +16 -0
- mistralai/models/libraries_share_create_v1op.py +22 -0
- mistralai/models/libraries_share_delete_v1op.py +23 -0
- mistralai/models/libraries_share_list_v1op.py +16 -0
- mistralai/models/libraries_update_v1op.py +23 -0
- mistralai/models/libraryin.py +50 -0
- mistralai/models/libraryinupdate.py +47 -0
- mistralai/models/libraryout.py +107 -0
- mistralai/models/listdocumentout.py +19 -0
- mistralai/models/listlibraryout.py +15 -0
- mistralai/models/listsharingout.py +15 -0
- mistralai/models/messageinputentry.py +14 -4
- mistralai/models/paginationinfo.py +25 -0
- mistralai/models/processingstatusout.py +16 -0
- mistralai/models/retrievefileout.py +8 -2
- mistralai/models/shareenum.py +8 -0
- mistralai/models/sharingdelete.py +26 -0
- mistralai/models/sharingin.py +30 -0
- mistralai/models/sharingout.py +59 -0
- mistralai/models/ssetypes.py +1 -0
- mistralai/models/thinkchunk.py +35 -0
- mistralai/models/timestampgranularity.py +7 -0
- mistralai/models/toolcall.py +43 -1
- mistralai/models/toolexecutiondeltaevent.py +34 -0
- mistralai/models/toolexecutionentry.py +3 -0
- mistralai/models/toolexecutionstartedevent.py +3 -0
- mistralai/models/toolreferencechunk.py +7 -4
- mistralai/models/transcriptionresponse.py +79 -0
- mistralai/models/transcriptionsegmentchunk.py +41 -0
- mistralai/models/transcriptionstreamdone.py +85 -0
- mistralai/models/transcriptionstreamevents.py +58 -0
- mistralai/models/transcriptionstreameventtypes.py +12 -0
- mistralai/models/transcriptionstreamlanguage.py +35 -0
- mistralai/models/transcriptionstreamsegmentdelta.py +41 -0
- mistralai/models/transcriptionstreamtextdelta.py +35 -0
- mistralai/models/uploadfileout.py +8 -2
- mistralai/models/usageinfo.py +65 -8
- mistralai/sdk.py +3 -0
- mistralai/transcriptions.py +480 -0
- {mistralai-1.9.1.dist-info → mistralai-1.9.3.dist-info}/METADATA +37 -2
- {mistralai-1.9.1.dist-info → mistralai-1.9.3.dist-info}/RECORD +85 -33
- {mistralai-1.9.1.dist-info → mistralai-1.9.3.dist-info}/LICENSE +0 -0
- {mistralai-1.9.1.dist-info → mistralai-1.9.3.dist-info}/WHEEL +0 -0
mistralai/models/__init__.py
CHANGED
|
@@ -129,7 +129,16 @@ if TYPE_CHECKING:
|
|
|
129
129
|
AssistantMessageRole,
|
|
130
130
|
AssistantMessageTypedDict,
|
|
131
131
|
)
|
|
132
|
-
from .
|
|
132
|
+
from .audiochunk import AudioChunk, AudioChunkType, AudioChunkTypedDict
|
|
133
|
+
from .audiotranscriptionrequest import (
|
|
134
|
+
AudioTranscriptionRequest,
|
|
135
|
+
AudioTranscriptionRequestTypedDict,
|
|
136
|
+
)
|
|
137
|
+
from .audiotranscriptionrequeststream import (
|
|
138
|
+
AudioTranscriptionRequestStream,
|
|
139
|
+
AudioTranscriptionRequestStreamTypedDict,
|
|
140
|
+
)
|
|
141
|
+
from .basemodelcard import BaseModelCard, BaseModelCardType, BaseModelCardTypedDict
|
|
133
142
|
from .batcherror import BatchError, BatchErrorTypedDict
|
|
134
143
|
from .batchjobin import BatchJobIn, BatchJobInTypedDict
|
|
135
144
|
from .batchjobout import BatchJobOut, BatchJobOutObject, BatchJobOutTypedDict
|
|
@@ -360,6 +369,9 @@ if TYPE_CHECKING:
|
|
|
360
369
|
DocumentLibraryToolType,
|
|
361
370
|
DocumentLibraryToolTypedDict,
|
|
362
371
|
)
|
|
372
|
+
from .documentout import DocumentOut, DocumentOutTypedDict
|
|
373
|
+
from .documenttextcontent import DocumentTextContent, DocumentTextContentTypedDict
|
|
374
|
+
from .documentupdatein import DocumentUpdateIn, DocumentUpdateInTypedDict
|
|
363
375
|
from .documenturlchunk import (
|
|
364
376
|
DocumentURLChunk,
|
|
365
377
|
DocumentURLChunkType,
|
|
@@ -377,7 +389,9 @@ if TYPE_CHECKING:
|
|
|
377
389
|
EmbeddingResponseData,
|
|
378
390
|
EmbeddingResponseDataTypedDict,
|
|
379
391
|
)
|
|
392
|
+
from .entitytype import EntityType
|
|
380
393
|
from .eventout import EventOut, EventOutTypedDict
|
|
394
|
+
from .file import File, FileTypedDict
|
|
381
395
|
from .filechunk import FileChunk, FileChunkTypedDict
|
|
382
396
|
from .filepurpose import FilePurpose
|
|
383
397
|
from .files_api_routes_delete_fileop import (
|
|
@@ -401,8 +415,6 @@ if TYPE_CHECKING:
|
|
|
401
415
|
FilesAPIRoutesRetrieveFileRequestTypedDict,
|
|
402
416
|
)
|
|
403
417
|
from .files_api_routes_upload_fileop import (
|
|
404
|
-
File,
|
|
405
|
-
FileTypedDict,
|
|
406
418
|
FilesAPIRoutesUploadFileMultiPartBodyParams,
|
|
407
419
|
FilesAPIRoutesUploadFileMultiPartBodyParamsTypedDict,
|
|
408
420
|
)
|
|
@@ -430,7 +442,7 @@ if TYPE_CHECKING:
|
|
|
430
442
|
FTModelCapabilitiesOut,
|
|
431
443
|
FTModelCapabilitiesOutTypedDict,
|
|
432
444
|
)
|
|
433
|
-
from .ftmodelcard import FTModelCard, FTModelCardTypedDict
|
|
445
|
+
from .ftmodelcard import FTModelCard, FTModelCardType, FTModelCardTypedDict
|
|
434
446
|
from .function import Function, FunctionTypedDict
|
|
435
447
|
from .functioncall import (
|
|
436
448
|
Arguments,
|
|
@@ -579,7 +591,79 @@ if TYPE_CHECKING:
|
|
|
579
591
|
LegacyJobMetadataOutObject,
|
|
580
592
|
LegacyJobMetadataOutTypedDict,
|
|
581
593
|
)
|
|
594
|
+
from .libraries_delete_v1op import (
|
|
595
|
+
LibrariesDeleteV1Request,
|
|
596
|
+
LibrariesDeleteV1RequestTypedDict,
|
|
597
|
+
)
|
|
598
|
+
from .libraries_documents_delete_v1op import (
|
|
599
|
+
LibrariesDocumentsDeleteV1Request,
|
|
600
|
+
LibrariesDocumentsDeleteV1RequestTypedDict,
|
|
601
|
+
)
|
|
602
|
+
from .libraries_documents_get_extracted_text_signed_url_v1op import (
|
|
603
|
+
LibrariesDocumentsGetExtractedTextSignedURLV1Request,
|
|
604
|
+
LibrariesDocumentsGetExtractedTextSignedURLV1RequestTypedDict,
|
|
605
|
+
)
|
|
606
|
+
from .libraries_documents_get_signed_url_v1op import (
|
|
607
|
+
LibrariesDocumentsGetSignedURLV1Request,
|
|
608
|
+
LibrariesDocumentsGetSignedURLV1RequestTypedDict,
|
|
609
|
+
)
|
|
610
|
+
from .libraries_documents_get_status_v1op import (
|
|
611
|
+
LibrariesDocumentsGetStatusV1Request,
|
|
612
|
+
LibrariesDocumentsGetStatusV1RequestTypedDict,
|
|
613
|
+
)
|
|
614
|
+
from .libraries_documents_get_text_content_v1op import (
|
|
615
|
+
LibrariesDocumentsGetTextContentV1Request,
|
|
616
|
+
LibrariesDocumentsGetTextContentV1RequestTypedDict,
|
|
617
|
+
)
|
|
618
|
+
from .libraries_documents_get_v1op import (
|
|
619
|
+
LibrariesDocumentsGetV1Request,
|
|
620
|
+
LibrariesDocumentsGetV1RequestTypedDict,
|
|
621
|
+
)
|
|
622
|
+
from .libraries_documents_list_v1op import (
|
|
623
|
+
LibrariesDocumentsListV1Request,
|
|
624
|
+
LibrariesDocumentsListV1RequestTypedDict,
|
|
625
|
+
)
|
|
626
|
+
from .libraries_documents_reprocess_v1op import (
|
|
627
|
+
LibrariesDocumentsReprocessV1Request,
|
|
628
|
+
LibrariesDocumentsReprocessV1RequestTypedDict,
|
|
629
|
+
)
|
|
630
|
+
from .libraries_documents_update_v1op import (
|
|
631
|
+
LibrariesDocumentsUpdateV1Request,
|
|
632
|
+
LibrariesDocumentsUpdateV1RequestTypedDict,
|
|
633
|
+
)
|
|
634
|
+
from .libraries_documents_upload_v1op import (
|
|
635
|
+
LibrariesDocumentsUploadV1DocumentUpload,
|
|
636
|
+
LibrariesDocumentsUploadV1DocumentUploadTypedDict,
|
|
637
|
+
LibrariesDocumentsUploadV1Request,
|
|
638
|
+
LibrariesDocumentsUploadV1RequestTypedDict,
|
|
639
|
+
)
|
|
640
|
+
from .libraries_get_v1op import (
|
|
641
|
+
LibrariesGetV1Request,
|
|
642
|
+
LibrariesGetV1RequestTypedDict,
|
|
643
|
+
)
|
|
644
|
+
from .libraries_share_create_v1op import (
|
|
645
|
+
LibrariesShareCreateV1Request,
|
|
646
|
+
LibrariesShareCreateV1RequestTypedDict,
|
|
647
|
+
)
|
|
648
|
+
from .libraries_share_delete_v1op import (
|
|
649
|
+
LibrariesShareDeleteV1Request,
|
|
650
|
+
LibrariesShareDeleteV1RequestTypedDict,
|
|
651
|
+
)
|
|
652
|
+
from .libraries_share_list_v1op import (
|
|
653
|
+
LibrariesShareListV1Request,
|
|
654
|
+
LibrariesShareListV1RequestTypedDict,
|
|
655
|
+
)
|
|
656
|
+
from .libraries_update_v1op import (
|
|
657
|
+
LibrariesUpdateV1Request,
|
|
658
|
+
LibrariesUpdateV1RequestTypedDict,
|
|
659
|
+
)
|
|
660
|
+
from .libraryin import LibraryIn, LibraryInTypedDict
|
|
661
|
+
from .libraryinupdate import LibraryInUpdate, LibraryInUpdateTypedDict
|
|
662
|
+
from .libraryout import LibraryOut, LibraryOutTypedDict
|
|
663
|
+
from .listdocumentout import ListDocumentOut, ListDocumentOutTypedDict
|
|
582
664
|
from .listfilesout import ListFilesOut, ListFilesOutTypedDict
|
|
665
|
+
from .listlibraryout import ListLibraryOut, ListLibraryOutTypedDict
|
|
666
|
+
from .listsharingout import ListSharingOut, ListSharingOutTypedDict
|
|
583
667
|
from .messageentries import MessageEntries, MessageEntriesTypedDict
|
|
584
668
|
from .messageinputcontentchunks import (
|
|
585
669
|
MessageInputContentChunks,
|
|
@@ -590,9 +674,9 @@ if TYPE_CHECKING:
|
|
|
590
674
|
MessageInputEntryContent,
|
|
591
675
|
MessageInputEntryContentTypedDict,
|
|
592
676
|
MessageInputEntryRole,
|
|
677
|
+
MessageInputEntryType,
|
|
593
678
|
MessageInputEntryTypedDict,
|
|
594
679
|
Object,
|
|
595
|
-
Type,
|
|
596
680
|
)
|
|
597
681
|
from .messageoutputcontentchunks import (
|
|
598
682
|
MessageOutputContentChunks,
|
|
@@ -635,7 +719,9 @@ if TYPE_CHECKING:
|
|
|
635
719
|
from .ocrresponse import OCRResponse, OCRResponseTypedDict
|
|
636
720
|
from .ocrusageinfo import OCRUsageInfo, OCRUsageInfoTypedDict
|
|
637
721
|
from .outputcontentchunks import OutputContentChunks, OutputContentChunksTypedDict
|
|
722
|
+
from .paginationinfo import PaginationInfo, PaginationInfoTypedDict
|
|
638
723
|
from .prediction import Prediction, PredictionTypedDict
|
|
724
|
+
from .processingstatusout import ProcessingStatusOut, ProcessingStatusOutTypedDict
|
|
639
725
|
from .referencechunk import (
|
|
640
726
|
ReferenceChunk,
|
|
641
727
|
ReferenceChunkType,
|
|
@@ -668,6 +754,10 @@ if TYPE_CHECKING:
|
|
|
668
754
|
from .sampletype import SampleType
|
|
669
755
|
from .sdkerror import SDKError
|
|
670
756
|
from .security import Security, SecurityTypedDict
|
|
757
|
+
from .shareenum import ShareEnum
|
|
758
|
+
from .sharingdelete import SharingDelete, SharingDeleteTypedDict
|
|
759
|
+
from .sharingin import SharingIn, SharingInTypedDict
|
|
760
|
+
from .sharingout import SharingOut, SharingOutTypedDict
|
|
671
761
|
from .source import Source
|
|
672
762
|
from .ssetypes import SSETypes
|
|
673
763
|
from .systemmessage import (
|
|
@@ -678,10 +768,23 @@ if TYPE_CHECKING:
|
|
|
678
768
|
SystemMessageTypedDict,
|
|
679
769
|
)
|
|
680
770
|
from .textchunk import TextChunk, TextChunkType, TextChunkTypedDict
|
|
771
|
+
from .thinkchunk import (
|
|
772
|
+
ThinkChunk,
|
|
773
|
+
ThinkChunkType,
|
|
774
|
+
ThinkChunkTypedDict,
|
|
775
|
+
Thinking,
|
|
776
|
+
ThinkingTypedDict,
|
|
777
|
+
)
|
|
778
|
+
from .timestampgranularity import TimestampGranularity
|
|
681
779
|
from .tool import Tool, ToolTypedDict
|
|
682
|
-
from .toolcall import ToolCall, ToolCallTypedDict
|
|
780
|
+
from .toolcall import Metadata, MetadataTypedDict, ToolCall, ToolCallTypedDict
|
|
683
781
|
from .toolchoice import ToolChoice, ToolChoiceTypedDict
|
|
684
782
|
from .toolchoiceenum import ToolChoiceEnum
|
|
783
|
+
from .toolexecutiondeltaevent import (
|
|
784
|
+
ToolExecutionDeltaEvent,
|
|
785
|
+
ToolExecutionDeltaEventType,
|
|
786
|
+
ToolExecutionDeltaEventTypedDict,
|
|
787
|
+
)
|
|
685
788
|
from .toolexecutiondoneevent import (
|
|
686
789
|
ToolExecutionDoneEvent,
|
|
687
790
|
ToolExecutionDoneEventType,
|
|
@@ -713,6 +816,42 @@ if TYPE_CHECKING:
|
|
|
713
816
|
)
|
|
714
817
|
from .tooltypes import ToolTypes
|
|
715
818
|
from .trainingfile import TrainingFile, TrainingFileTypedDict
|
|
819
|
+
from .transcriptionresponse import (
|
|
820
|
+
TranscriptionResponse,
|
|
821
|
+
TranscriptionResponseTypedDict,
|
|
822
|
+
)
|
|
823
|
+
from .transcriptionsegmentchunk import (
|
|
824
|
+
TranscriptionSegmentChunk,
|
|
825
|
+
TranscriptionSegmentChunkTypedDict,
|
|
826
|
+
Type,
|
|
827
|
+
)
|
|
828
|
+
from .transcriptionstreamdone import (
|
|
829
|
+
TranscriptionStreamDone,
|
|
830
|
+
TranscriptionStreamDoneType,
|
|
831
|
+
TranscriptionStreamDoneTypedDict,
|
|
832
|
+
)
|
|
833
|
+
from .transcriptionstreamevents import (
|
|
834
|
+
TranscriptionStreamEvents,
|
|
835
|
+
TranscriptionStreamEventsData,
|
|
836
|
+
TranscriptionStreamEventsDataTypedDict,
|
|
837
|
+
TranscriptionStreamEventsTypedDict,
|
|
838
|
+
)
|
|
839
|
+
from .transcriptionstreameventtypes import TranscriptionStreamEventTypes
|
|
840
|
+
from .transcriptionstreamlanguage import (
|
|
841
|
+
TranscriptionStreamLanguage,
|
|
842
|
+
TranscriptionStreamLanguageType,
|
|
843
|
+
TranscriptionStreamLanguageTypedDict,
|
|
844
|
+
)
|
|
845
|
+
from .transcriptionstreamsegmentdelta import (
|
|
846
|
+
TranscriptionStreamSegmentDelta,
|
|
847
|
+
TranscriptionStreamSegmentDeltaType,
|
|
848
|
+
TranscriptionStreamSegmentDeltaTypedDict,
|
|
849
|
+
)
|
|
850
|
+
from .transcriptionstreamtextdelta import (
|
|
851
|
+
TranscriptionStreamTextDelta,
|
|
852
|
+
TranscriptionStreamTextDeltaType,
|
|
853
|
+
TranscriptionStreamTextDeltaTypedDict,
|
|
854
|
+
)
|
|
716
855
|
from .unarchiveftmodelout import (
|
|
717
856
|
UnarchiveFTModelOut,
|
|
718
857
|
UnarchiveFTModelOutObject,
|
|
@@ -831,7 +970,15 @@ __all__ = [
|
|
|
831
970
|
"AssistantMessageContentTypedDict",
|
|
832
971
|
"AssistantMessageRole",
|
|
833
972
|
"AssistantMessageTypedDict",
|
|
973
|
+
"AudioChunk",
|
|
974
|
+
"AudioChunkType",
|
|
975
|
+
"AudioChunkTypedDict",
|
|
976
|
+
"AudioTranscriptionRequest",
|
|
977
|
+
"AudioTranscriptionRequestStream",
|
|
978
|
+
"AudioTranscriptionRequestStreamTypedDict",
|
|
979
|
+
"AudioTranscriptionRequestTypedDict",
|
|
834
980
|
"BaseModelCard",
|
|
981
|
+
"BaseModelCardType",
|
|
835
982
|
"BaseModelCardTypedDict",
|
|
836
983
|
"BatchError",
|
|
837
984
|
"BatchErrorTypedDict",
|
|
@@ -990,10 +1137,16 @@ __all__ = [
|
|
|
990
1137
|
"DocumentLibraryTool",
|
|
991
1138
|
"DocumentLibraryToolType",
|
|
992
1139
|
"DocumentLibraryToolTypedDict",
|
|
1140
|
+
"DocumentOut",
|
|
1141
|
+
"DocumentOutTypedDict",
|
|
1142
|
+
"DocumentTextContent",
|
|
1143
|
+
"DocumentTextContentTypedDict",
|
|
993
1144
|
"DocumentTypedDict",
|
|
994
1145
|
"DocumentURLChunk",
|
|
995
1146
|
"DocumentURLChunkType",
|
|
996
1147
|
"DocumentURLChunkTypedDict",
|
|
1148
|
+
"DocumentUpdateIn",
|
|
1149
|
+
"DocumentUpdateInTypedDict",
|
|
997
1150
|
"EmbeddingDtype",
|
|
998
1151
|
"EmbeddingRequest",
|
|
999
1152
|
"EmbeddingRequestInputs",
|
|
@@ -1003,6 +1156,7 @@ __all__ = [
|
|
|
1003
1156
|
"EmbeddingResponseData",
|
|
1004
1157
|
"EmbeddingResponseDataTypedDict",
|
|
1005
1158
|
"EmbeddingResponseTypedDict",
|
|
1159
|
+
"EntityType",
|
|
1006
1160
|
"Entries",
|
|
1007
1161
|
"EntriesTypedDict",
|
|
1008
1162
|
"EventOut",
|
|
@@ -1021,6 +1175,7 @@ __all__ = [
|
|
|
1021
1175
|
"FTModelCapabilitiesOut",
|
|
1022
1176
|
"FTModelCapabilitiesOutTypedDict",
|
|
1023
1177
|
"FTModelCard",
|
|
1178
|
+
"FTModelCardType",
|
|
1024
1179
|
"FTModelCardTypedDict",
|
|
1025
1180
|
"File",
|
|
1026
1181
|
"FileChunk",
|
|
@@ -1151,8 +1306,54 @@ __all__ = [
|
|
|
1151
1306
|
"LegacyJobMetadataOut",
|
|
1152
1307
|
"LegacyJobMetadataOutObject",
|
|
1153
1308
|
"LegacyJobMetadataOutTypedDict",
|
|
1309
|
+
"LibrariesDeleteV1Request",
|
|
1310
|
+
"LibrariesDeleteV1RequestTypedDict",
|
|
1311
|
+
"LibrariesDocumentsDeleteV1Request",
|
|
1312
|
+
"LibrariesDocumentsDeleteV1RequestTypedDict",
|
|
1313
|
+
"LibrariesDocumentsGetExtractedTextSignedURLV1Request",
|
|
1314
|
+
"LibrariesDocumentsGetExtractedTextSignedURLV1RequestTypedDict",
|
|
1315
|
+
"LibrariesDocumentsGetSignedURLV1Request",
|
|
1316
|
+
"LibrariesDocumentsGetSignedURLV1RequestTypedDict",
|
|
1317
|
+
"LibrariesDocumentsGetStatusV1Request",
|
|
1318
|
+
"LibrariesDocumentsGetStatusV1RequestTypedDict",
|
|
1319
|
+
"LibrariesDocumentsGetTextContentV1Request",
|
|
1320
|
+
"LibrariesDocumentsGetTextContentV1RequestTypedDict",
|
|
1321
|
+
"LibrariesDocumentsGetV1Request",
|
|
1322
|
+
"LibrariesDocumentsGetV1RequestTypedDict",
|
|
1323
|
+
"LibrariesDocumentsListV1Request",
|
|
1324
|
+
"LibrariesDocumentsListV1RequestTypedDict",
|
|
1325
|
+
"LibrariesDocumentsReprocessV1Request",
|
|
1326
|
+
"LibrariesDocumentsReprocessV1RequestTypedDict",
|
|
1327
|
+
"LibrariesDocumentsUpdateV1Request",
|
|
1328
|
+
"LibrariesDocumentsUpdateV1RequestTypedDict",
|
|
1329
|
+
"LibrariesDocumentsUploadV1DocumentUpload",
|
|
1330
|
+
"LibrariesDocumentsUploadV1DocumentUploadTypedDict",
|
|
1331
|
+
"LibrariesDocumentsUploadV1Request",
|
|
1332
|
+
"LibrariesDocumentsUploadV1RequestTypedDict",
|
|
1333
|
+
"LibrariesGetV1Request",
|
|
1334
|
+
"LibrariesGetV1RequestTypedDict",
|
|
1335
|
+
"LibrariesShareCreateV1Request",
|
|
1336
|
+
"LibrariesShareCreateV1RequestTypedDict",
|
|
1337
|
+
"LibrariesShareDeleteV1Request",
|
|
1338
|
+
"LibrariesShareDeleteV1RequestTypedDict",
|
|
1339
|
+
"LibrariesShareListV1Request",
|
|
1340
|
+
"LibrariesShareListV1RequestTypedDict",
|
|
1341
|
+
"LibrariesUpdateV1Request",
|
|
1342
|
+
"LibrariesUpdateV1RequestTypedDict",
|
|
1343
|
+
"LibraryIn",
|
|
1344
|
+
"LibraryInTypedDict",
|
|
1345
|
+
"LibraryInUpdate",
|
|
1346
|
+
"LibraryInUpdateTypedDict",
|
|
1347
|
+
"LibraryOut",
|
|
1348
|
+
"LibraryOutTypedDict",
|
|
1349
|
+
"ListDocumentOut",
|
|
1350
|
+
"ListDocumentOutTypedDict",
|
|
1154
1351
|
"ListFilesOut",
|
|
1155
1352
|
"ListFilesOutTypedDict",
|
|
1353
|
+
"ListLibraryOut",
|
|
1354
|
+
"ListLibraryOutTypedDict",
|
|
1355
|
+
"ListSharingOut",
|
|
1356
|
+
"ListSharingOutTypedDict",
|
|
1156
1357
|
"Loc",
|
|
1157
1358
|
"LocTypedDict",
|
|
1158
1359
|
"MessageEntries",
|
|
@@ -1163,6 +1364,7 @@ __all__ = [
|
|
|
1163
1364
|
"MessageInputEntryContent",
|
|
1164
1365
|
"MessageInputEntryContentTypedDict",
|
|
1165
1366
|
"MessageInputEntryRole",
|
|
1367
|
+
"MessageInputEntryType",
|
|
1166
1368
|
"MessageInputEntryTypedDict",
|
|
1167
1369
|
"MessageOutputContentChunks",
|
|
1168
1370
|
"MessageOutputContentChunksTypedDict",
|
|
@@ -1181,6 +1383,8 @@ __all__ = [
|
|
|
1181
1383
|
"MessageOutputEventTypedDict",
|
|
1182
1384
|
"Messages",
|
|
1183
1385
|
"MessagesTypedDict",
|
|
1386
|
+
"Metadata",
|
|
1387
|
+
"MetadataTypedDict",
|
|
1184
1388
|
"MetricOut",
|
|
1185
1389
|
"MetricOutTypedDict",
|
|
1186
1390
|
"MistralPromptMode",
|
|
@@ -1217,8 +1421,12 @@ __all__ = [
|
|
|
1217
1421
|
"OutputContentChunksTypedDict",
|
|
1218
1422
|
"Outputs",
|
|
1219
1423
|
"OutputsTypedDict",
|
|
1424
|
+
"PaginationInfo",
|
|
1425
|
+
"PaginationInfoTypedDict",
|
|
1220
1426
|
"Prediction",
|
|
1221
1427
|
"PredictionTypedDict",
|
|
1428
|
+
"ProcessingStatusOut",
|
|
1429
|
+
"ProcessingStatusOutTypedDict",
|
|
1222
1430
|
"QueryParamStatus",
|
|
1223
1431
|
"ReferenceChunk",
|
|
1224
1432
|
"ReferenceChunkType",
|
|
@@ -1253,6 +1461,13 @@ __all__ = [
|
|
|
1253
1461
|
"SampleType",
|
|
1254
1462
|
"Security",
|
|
1255
1463
|
"SecurityTypedDict",
|
|
1464
|
+
"ShareEnum",
|
|
1465
|
+
"SharingDelete",
|
|
1466
|
+
"SharingDeleteTypedDict",
|
|
1467
|
+
"SharingIn",
|
|
1468
|
+
"SharingInTypedDict",
|
|
1469
|
+
"SharingOut",
|
|
1470
|
+
"SharingOutTypedDict",
|
|
1256
1471
|
"Source",
|
|
1257
1472
|
"Status",
|
|
1258
1473
|
"Stop",
|
|
@@ -1264,12 +1479,21 @@ __all__ = [
|
|
|
1264
1479
|
"TextChunk",
|
|
1265
1480
|
"TextChunkType",
|
|
1266
1481
|
"TextChunkTypedDict",
|
|
1482
|
+
"ThinkChunk",
|
|
1483
|
+
"ThinkChunkType",
|
|
1484
|
+
"ThinkChunkTypedDict",
|
|
1485
|
+
"Thinking",
|
|
1486
|
+
"ThinkingTypedDict",
|
|
1487
|
+
"TimestampGranularity",
|
|
1267
1488
|
"Tool",
|
|
1268
1489
|
"ToolCall",
|
|
1269
1490
|
"ToolCallTypedDict",
|
|
1270
1491
|
"ToolChoice",
|
|
1271
1492
|
"ToolChoiceEnum",
|
|
1272
1493
|
"ToolChoiceTypedDict",
|
|
1494
|
+
"ToolExecutionDeltaEvent",
|
|
1495
|
+
"ToolExecutionDeltaEventType",
|
|
1496
|
+
"ToolExecutionDeltaEventTypedDict",
|
|
1273
1497
|
"ToolExecutionDoneEvent",
|
|
1274
1498
|
"ToolExecutionDoneEventType",
|
|
1275
1499
|
"ToolExecutionDoneEventTypedDict",
|
|
@@ -1297,6 +1521,27 @@ __all__ = [
|
|
|
1297
1521
|
"ToolsTypedDict",
|
|
1298
1522
|
"TrainingFile",
|
|
1299
1523
|
"TrainingFileTypedDict",
|
|
1524
|
+
"TranscriptionResponse",
|
|
1525
|
+
"TranscriptionResponseTypedDict",
|
|
1526
|
+
"TranscriptionSegmentChunk",
|
|
1527
|
+
"TranscriptionSegmentChunkTypedDict",
|
|
1528
|
+
"TranscriptionStreamDone",
|
|
1529
|
+
"TranscriptionStreamDoneType",
|
|
1530
|
+
"TranscriptionStreamDoneTypedDict",
|
|
1531
|
+
"TranscriptionStreamEventTypes",
|
|
1532
|
+
"TranscriptionStreamEvents",
|
|
1533
|
+
"TranscriptionStreamEventsData",
|
|
1534
|
+
"TranscriptionStreamEventsDataTypedDict",
|
|
1535
|
+
"TranscriptionStreamEventsTypedDict",
|
|
1536
|
+
"TranscriptionStreamLanguage",
|
|
1537
|
+
"TranscriptionStreamLanguageType",
|
|
1538
|
+
"TranscriptionStreamLanguageTypedDict",
|
|
1539
|
+
"TranscriptionStreamSegmentDelta",
|
|
1540
|
+
"TranscriptionStreamSegmentDeltaType",
|
|
1541
|
+
"TranscriptionStreamSegmentDeltaTypedDict",
|
|
1542
|
+
"TranscriptionStreamTextDelta",
|
|
1543
|
+
"TranscriptionStreamTextDeltaType",
|
|
1544
|
+
"TranscriptionStreamTextDeltaTypedDict",
|
|
1300
1545
|
"Two",
|
|
1301
1546
|
"TwoTypedDict",
|
|
1302
1547
|
"Type",
|
|
@@ -1410,7 +1655,15 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1410
1655
|
"AssistantMessageContentTypedDict": ".assistantmessage",
|
|
1411
1656
|
"AssistantMessageRole": ".assistantmessage",
|
|
1412
1657
|
"AssistantMessageTypedDict": ".assistantmessage",
|
|
1658
|
+
"AudioChunk": ".audiochunk",
|
|
1659
|
+
"AudioChunkType": ".audiochunk",
|
|
1660
|
+
"AudioChunkTypedDict": ".audiochunk",
|
|
1661
|
+
"AudioTranscriptionRequest": ".audiotranscriptionrequest",
|
|
1662
|
+
"AudioTranscriptionRequestTypedDict": ".audiotranscriptionrequest",
|
|
1663
|
+
"AudioTranscriptionRequestStream": ".audiotranscriptionrequeststream",
|
|
1664
|
+
"AudioTranscriptionRequestStreamTypedDict": ".audiotranscriptionrequeststream",
|
|
1413
1665
|
"BaseModelCard": ".basemodelcard",
|
|
1666
|
+
"BaseModelCardType": ".basemodelcard",
|
|
1414
1667
|
"BaseModelCardTypedDict": ".basemodelcard",
|
|
1415
1668
|
"BatchError": ".batcherror",
|
|
1416
1669
|
"BatchErrorTypedDict": ".batcherror",
|
|
@@ -1589,6 +1842,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1589
1842
|
"DocumentLibraryTool": ".documentlibrarytool",
|
|
1590
1843
|
"DocumentLibraryToolType": ".documentlibrarytool",
|
|
1591
1844
|
"DocumentLibraryToolTypedDict": ".documentlibrarytool",
|
|
1845
|
+
"DocumentOut": ".documentout",
|
|
1846
|
+
"DocumentOutTypedDict": ".documentout",
|
|
1847
|
+
"DocumentTextContent": ".documenttextcontent",
|
|
1848
|
+
"DocumentTextContentTypedDict": ".documenttextcontent",
|
|
1849
|
+
"DocumentUpdateIn": ".documentupdatein",
|
|
1850
|
+
"DocumentUpdateInTypedDict": ".documentupdatein",
|
|
1592
1851
|
"DocumentURLChunk": ".documenturlchunk",
|
|
1593
1852
|
"DocumentURLChunkType": ".documenturlchunk",
|
|
1594
1853
|
"DocumentURLChunkTypedDict": ".documenturlchunk",
|
|
@@ -1601,8 +1860,11 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1601
1860
|
"EmbeddingResponseTypedDict": ".embeddingresponse",
|
|
1602
1861
|
"EmbeddingResponseData": ".embeddingresponsedata",
|
|
1603
1862
|
"EmbeddingResponseDataTypedDict": ".embeddingresponsedata",
|
|
1863
|
+
"EntityType": ".entitytype",
|
|
1604
1864
|
"EventOut": ".eventout",
|
|
1605
1865
|
"EventOutTypedDict": ".eventout",
|
|
1866
|
+
"File": ".file",
|
|
1867
|
+
"FileTypedDict": ".file",
|
|
1606
1868
|
"FileChunk": ".filechunk",
|
|
1607
1869
|
"FileChunkTypedDict": ".filechunk",
|
|
1608
1870
|
"FilePurpose": ".filepurpose",
|
|
@@ -1616,8 +1878,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1616
1878
|
"FilesAPIRoutesListFilesRequestTypedDict": ".files_api_routes_list_filesop",
|
|
1617
1879
|
"FilesAPIRoutesRetrieveFileRequest": ".files_api_routes_retrieve_fileop",
|
|
1618
1880
|
"FilesAPIRoutesRetrieveFileRequestTypedDict": ".files_api_routes_retrieve_fileop",
|
|
1619
|
-
"File": ".files_api_routes_upload_fileop",
|
|
1620
|
-
"FileTypedDict": ".files_api_routes_upload_fileop",
|
|
1621
1881
|
"FilesAPIRoutesUploadFileMultiPartBodyParams": ".files_api_routes_upload_fileop",
|
|
1622
1882
|
"FilesAPIRoutesUploadFileMultiPartBodyParamsTypedDict": ".files_api_routes_upload_fileop",
|
|
1623
1883
|
"FileSchema": ".fileschema",
|
|
@@ -1639,6 +1899,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1639
1899
|
"FTModelCapabilitiesOut": ".ftmodelcapabilitiesout",
|
|
1640
1900
|
"FTModelCapabilitiesOutTypedDict": ".ftmodelcapabilitiesout",
|
|
1641
1901
|
"FTModelCard": ".ftmodelcard",
|
|
1902
|
+
"FTModelCardType": ".ftmodelcard",
|
|
1642
1903
|
"FTModelCardTypedDict": ".ftmodelcard",
|
|
1643
1904
|
"Function": ".function",
|
|
1644
1905
|
"FunctionTypedDict": ".function",
|
|
@@ -1747,8 +2008,54 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1747
2008
|
"LegacyJobMetadataOut": ".legacyjobmetadataout",
|
|
1748
2009
|
"LegacyJobMetadataOutObject": ".legacyjobmetadataout",
|
|
1749
2010
|
"LegacyJobMetadataOutTypedDict": ".legacyjobmetadataout",
|
|
2011
|
+
"LibrariesDeleteV1Request": ".libraries_delete_v1op",
|
|
2012
|
+
"LibrariesDeleteV1RequestTypedDict": ".libraries_delete_v1op",
|
|
2013
|
+
"LibrariesDocumentsDeleteV1Request": ".libraries_documents_delete_v1op",
|
|
2014
|
+
"LibrariesDocumentsDeleteV1RequestTypedDict": ".libraries_documents_delete_v1op",
|
|
2015
|
+
"LibrariesDocumentsGetExtractedTextSignedURLV1Request": ".libraries_documents_get_extracted_text_signed_url_v1op",
|
|
2016
|
+
"LibrariesDocumentsGetExtractedTextSignedURLV1RequestTypedDict": ".libraries_documents_get_extracted_text_signed_url_v1op",
|
|
2017
|
+
"LibrariesDocumentsGetSignedURLV1Request": ".libraries_documents_get_signed_url_v1op",
|
|
2018
|
+
"LibrariesDocumentsGetSignedURLV1RequestTypedDict": ".libraries_documents_get_signed_url_v1op",
|
|
2019
|
+
"LibrariesDocumentsGetStatusV1Request": ".libraries_documents_get_status_v1op",
|
|
2020
|
+
"LibrariesDocumentsGetStatusV1RequestTypedDict": ".libraries_documents_get_status_v1op",
|
|
2021
|
+
"LibrariesDocumentsGetTextContentV1Request": ".libraries_documents_get_text_content_v1op",
|
|
2022
|
+
"LibrariesDocumentsGetTextContentV1RequestTypedDict": ".libraries_documents_get_text_content_v1op",
|
|
2023
|
+
"LibrariesDocumentsGetV1Request": ".libraries_documents_get_v1op",
|
|
2024
|
+
"LibrariesDocumentsGetV1RequestTypedDict": ".libraries_documents_get_v1op",
|
|
2025
|
+
"LibrariesDocumentsListV1Request": ".libraries_documents_list_v1op",
|
|
2026
|
+
"LibrariesDocumentsListV1RequestTypedDict": ".libraries_documents_list_v1op",
|
|
2027
|
+
"LibrariesDocumentsReprocessV1Request": ".libraries_documents_reprocess_v1op",
|
|
2028
|
+
"LibrariesDocumentsReprocessV1RequestTypedDict": ".libraries_documents_reprocess_v1op",
|
|
2029
|
+
"LibrariesDocumentsUpdateV1Request": ".libraries_documents_update_v1op",
|
|
2030
|
+
"LibrariesDocumentsUpdateV1RequestTypedDict": ".libraries_documents_update_v1op",
|
|
2031
|
+
"LibrariesDocumentsUploadV1DocumentUpload": ".libraries_documents_upload_v1op",
|
|
2032
|
+
"LibrariesDocumentsUploadV1DocumentUploadTypedDict": ".libraries_documents_upload_v1op",
|
|
2033
|
+
"LibrariesDocumentsUploadV1Request": ".libraries_documents_upload_v1op",
|
|
2034
|
+
"LibrariesDocumentsUploadV1RequestTypedDict": ".libraries_documents_upload_v1op",
|
|
2035
|
+
"LibrariesGetV1Request": ".libraries_get_v1op",
|
|
2036
|
+
"LibrariesGetV1RequestTypedDict": ".libraries_get_v1op",
|
|
2037
|
+
"LibrariesShareCreateV1Request": ".libraries_share_create_v1op",
|
|
2038
|
+
"LibrariesShareCreateV1RequestTypedDict": ".libraries_share_create_v1op",
|
|
2039
|
+
"LibrariesShareDeleteV1Request": ".libraries_share_delete_v1op",
|
|
2040
|
+
"LibrariesShareDeleteV1RequestTypedDict": ".libraries_share_delete_v1op",
|
|
2041
|
+
"LibrariesShareListV1Request": ".libraries_share_list_v1op",
|
|
2042
|
+
"LibrariesShareListV1RequestTypedDict": ".libraries_share_list_v1op",
|
|
2043
|
+
"LibrariesUpdateV1Request": ".libraries_update_v1op",
|
|
2044
|
+
"LibrariesUpdateV1RequestTypedDict": ".libraries_update_v1op",
|
|
2045
|
+
"LibraryIn": ".libraryin",
|
|
2046
|
+
"LibraryInTypedDict": ".libraryin",
|
|
2047
|
+
"LibraryInUpdate": ".libraryinupdate",
|
|
2048
|
+
"LibraryInUpdateTypedDict": ".libraryinupdate",
|
|
2049
|
+
"LibraryOut": ".libraryout",
|
|
2050
|
+
"LibraryOutTypedDict": ".libraryout",
|
|
2051
|
+
"ListDocumentOut": ".listdocumentout",
|
|
2052
|
+
"ListDocumentOutTypedDict": ".listdocumentout",
|
|
1750
2053
|
"ListFilesOut": ".listfilesout",
|
|
1751
2054
|
"ListFilesOutTypedDict": ".listfilesout",
|
|
2055
|
+
"ListLibraryOut": ".listlibraryout",
|
|
2056
|
+
"ListLibraryOutTypedDict": ".listlibraryout",
|
|
2057
|
+
"ListSharingOut": ".listsharingout",
|
|
2058
|
+
"ListSharingOutTypedDict": ".listsharingout",
|
|
1752
2059
|
"MessageEntries": ".messageentries",
|
|
1753
2060
|
"MessageEntriesTypedDict": ".messageentries",
|
|
1754
2061
|
"MessageInputContentChunks": ".messageinputcontentchunks",
|
|
@@ -1757,9 +2064,9 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1757
2064
|
"MessageInputEntryContent": ".messageinputentry",
|
|
1758
2065
|
"MessageInputEntryContentTypedDict": ".messageinputentry",
|
|
1759
2066
|
"MessageInputEntryRole": ".messageinputentry",
|
|
2067
|
+
"MessageInputEntryType": ".messageinputentry",
|
|
1760
2068
|
"MessageInputEntryTypedDict": ".messageinputentry",
|
|
1761
2069
|
"Object": ".messageinputentry",
|
|
1762
|
-
"Type": ".messageinputentry",
|
|
1763
2070
|
"MessageOutputContentChunks": ".messageoutputcontentchunks",
|
|
1764
2071
|
"MessageOutputContentChunksTypedDict": ".messageoutputcontentchunks",
|
|
1765
2072
|
"MessageOutputEntry": ".messageoutputentry",
|
|
@@ -1809,8 +2116,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1809
2116
|
"OCRUsageInfoTypedDict": ".ocrusageinfo",
|
|
1810
2117
|
"OutputContentChunks": ".outputcontentchunks",
|
|
1811
2118
|
"OutputContentChunksTypedDict": ".outputcontentchunks",
|
|
2119
|
+
"PaginationInfo": ".paginationinfo",
|
|
2120
|
+
"PaginationInfoTypedDict": ".paginationinfo",
|
|
1812
2121
|
"Prediction": ".prediction",
|
|
1813
2122
|
"PredictionTypedDict": ".prediction",
|
|
2123
|
+
"ProcessingStatusOut": ".processingstatusout",
|
|
2124
|
+
"ProcessingStatusOutTypedDict": ".processingstatusout",
|
|
1814
2125
|
"ReferenceChunk": ".referencechunk",
|
|
1815
2126
|
"ReferenceChunkType": ".referencechunk",
|
|
1816
2127
|
"ReferenceChunkTypedDict": ".referencechunk",
|
|
@@ -1836,6 +2147,13 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1836
2147
|
"SDKError": ".sdkerror",
|
|
1837
2148
|
"Security": ".security",
|
|
1838
2149
|
"SecurityTypedDict": ".security",
|
|
2150
|
+
"ShareEnum": ".shareenum",
|
|
2151
|
+
"SharingDelete": ".sharingdelete",
|
|
2152
|
+
"SharingDeleteTypedDict": ".sharingdelete",
|
|
2153
|
+
"SharingIn": ".sharingin",
|
|
2154
|
+
"SharingInTypedDict": ".sharingin",
|
|
2155
|
+
"SharingOut": ".sharingout",
|
|
2156
|
+
"SharingOutTypedDict": ".sharingout",
|
|
1839
2157
|
"Source": ".source",
|
|
1840
2158
|
"SSETypes": ".ssetypes",
|
|
1841
2159
|
"Role": ".systemmessage",
|
|
@@ -1846,13 +2164,24 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1846
2164
|
"TextChunk": ".textchunk",
|
|
1847
2165
|
"TextChunkType": ".textchunk",
|
|
1848
2166
|
"TextChunkTypedDict": ".textchunk",
|
|
2167
|
+
"ThinkChunk": ".thinkchunk",
|
|
2168
|
+
"ThinkChunkType": ".thinkchunk",
|
|
2169
|
+
"ThinkChunkTypedDict": ".thinkchunk",
|
|
2170
|
+
"Thinking": ".thinkchunk",
|
|
2171
|
+
"ThinkingTypedDict": ".thinkchunk",
|
|
2172
|
+
"TimestampGranularity": ".timestampgranularity",
|
|
1849
2173
|
"Tool": ".tool",
|
|
1850
2174
|
"ToolTypedDict": ".tool",
|
|
2175
|
+
"Metadata": ".toolcall",
|
|
2176
|
+
"MetadataTypedDict": ".toolcall",
|
|
1851
2177
|
"ToolCall": ".toolcall",
|
|
1852
2178
|
"ToolCallTypedDict": ".toolcall",
|
|
1853
2179
|
"ToolChoice": ".toolchoice",
|
|
1854
2180
|
"ToolChoiceTypedDict": ".toolchoice",
|
|
1855
2181
|
"ToolChoiceEnum": ".toolchoiceenum",
|
|
2182
|
+
"ToolExecutionDeltaEvent": ".toolexecutiondeltaevent",
|
|
2183
|
+
"ToolExecutionDeltaEventType": ".toolexecutiondeltaevent",
|
|
2184
|
+
"ToolExecutionDeltaEventTypedDict": ".toolexecutiondeltaevent",
|
|
1856
2185
|
"ToolExecutionDoneEvent": ".toolexecutiondoneevent",
|
|
1857
2186
|
"ToolExecutionDoneEventType": ".toolexecutiondoneevent",
|
|
1858
2187
|
"ToolExecutionDoneEventTypedDict": ".toolexecutiondoneevent",
|
|
@@ -1877,6 +2206,28 @@ _dynamic_imports: dict[str, str] = {
|
|
|
1877
2206
|
"ToolTypes": ".tooltypes",
|
|
1878
2207
|
"TrainingFile": ".trainingfile",
|
|
1879
2208
|
"TrainingFileTypedDict": ".trainingfile",
|
|
2209
|
+
"TranscriptionResponse": ".transcriptionresponse",
|
|
2210
|
+
"TranscriptionResponseTypedDict": ".transcriptionresponse",
|
|
2211
|
+
"TranscriptionSegmentChunk": ".transcriptionsegmentchunk",
|
|
2212
|
+
"TranscriptionSegmentChunkTypedDict": ".transcriptionsegmentchunk",
|
|
2213
|
+
"Type": ".transcriptionsegmentchunk",
|
|
2214
|
+
"TranscriptionStreamDone": ".transcriptionstreamdone",
|
|
2215
|
+
"TranscriptionStreamDoneType": ".transcriptionstreamdone",
|
|
2216
|
+
"TranscriptionStreamDoneTypedDict": ".transcriptionstreamdone",
|
|
2217
|
+
"TranscriptionStreamEvents": ".transcriptionstreamevents",
|
|
2218
|
+
"TranscriptionStreamEventsData": ".transcriptionstreamevents",
|
|
2219
|
+
"TranscriptionStreamEventsDataTypedDict": ".transcriptionstreamevents",
|
|
2220
|
+
"TranscriptionStreamEventsTypedDict": ".transcriptionstreamevents",
|
|
2221
|
+
"TranscriptionStreamEventTypes": ".transcriptionstreameventtypes",
|
|
2222
|
+
"TranscriptionStreamLanguage": ".transcriptionstreamlanguage",
|
|
2223
|
+
"TranscriptionStreamLanguageType": ".transcriptionstreamlanguage",
|
|
2224
|
+
"TranscriptionStreamLanguageTypedDict": ".transcriptionstreamlanguage",
|
|
2225
|
+
"TranscriptionStreamSegmentDelta": ".transcriptionstreamsegmentdelta",
|
|
2226
|
+
"TranscriptionStreamSegmentDeltaType": ".transcriptionstreamsegmentdelta",
|
|
2227
|
+
"TranscriptionStreamSegmentDeltaTypedDict": ".transcriptionstreamsegmentdelta",
|
|
2228
|
+
"TranscriptionStreamTextDelta": ".transcriptionstreamtextdelta",
|
|
2229
|
+
"TranscriptionStreamTextDeltaType": ".transcriptionstreamtextdelta",
|
|
2230
|
+
"TranscriptionStreamTextDeltaTypedDict": ".transcriptionstreamtextdelta",
|
|
1880
2231
|
"UnarchiveFTModelOut": ".unarchiveftmodelout",
|
|
1881
2232
|
"UnarchiveFTModelOutObject": ".unarchiveftmodelout",
|
|
1882
2233
|
"UnarchiveFTModelOutTypedDict": ".unarchiveftmodelout",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from mistralai.types import BaseModel
|
|
5
|
+
from typing import Literal, Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
AudioChunkType = Literal["input_audio"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AudioChunkTypedDict(TypedDict):
|
|
13
|
+
input_audio: str
|
|
14
|
+
type: NotRequired[AudioChunkType]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class AudioChunk(BaseModel):
|
|
18
|
+
input_audio: str
|
|
19
|
+
|
|
20
|
+
type: Optional[AudioChunkType] = "input_audio"
|