mistralai 1.5.2rc1__py3-none-any.whl → 1.7.0__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/agents.py +12 -0
- mistralai/chat.py +12 -0
- mistralai/classifiers.py +435 -23
- mistralai/embeddings.py +6 -2
- mistralai/jobs.py +84 -38
- mistralai/mistral_jobs.py +2 -2
- mistralai/models/__init__.py +197 -46
- mistralai/models/agentscompletionrequest.py +4 -0
- mistralai/models/agentscompletionstreamrequest.py +4 -0
- mistralai/models/archiveftmodelout.py +3 -11
- mistralai/models/batchjobout.py +3 -9
- mistralai/models/batchjobsout.py +3 -9
- mistralai/models/chatclassificationrequest.py +20 -0
- mistralai/models/chatcompletionrequest.py +4 -0
- mistralai/models/chatcompletionstreamrequest.py +4 -0
- mistralai/models/chatmoderationrequest.py +4 -7
- mistralai/models/classificationresponse.py +12 -9
- mistralai/models/classificationtargetresult.py +14 -0
- mistralai/models/classifierdetailedjobout.py +156 -0
- mistralai/models/classifierftmodelout.py +101 -0
- mistralai/models/classifierjobout.py +165 -0
- mistralai/models/classifiertargetin.py +55 -0
- mistralai/models/classifiertargetout.py +24 -0
- mistralai/models/classifiertrainingparameters.py +73 -0
- mistralai/models/classifiertrainingparametersin.py +85 -0
- mistralai/models/{detailedjobout.py → completiondetailedjobout.py} +34 -34
- mistralai/models/{ftmodelout.py → completionftmodelout.py} +12 -12
- mistralai/models/{jobout.py → completionjobout.py} +25 -24
- mistralai/models/{trainingparameters.py → completiontrainingparameters.py} +7 -7
- mistralai/models/{trainingparametersin.py → completiontrainingparametersin.py} +7 -7
- mistralai/models/embeddingrequest.py +6 -4
- mistralai/models/finetuneablemodeltype.py +7 -0
- mistralai/models/ftclassifierlossfunction.py +7 -0
- mistralai/models/ftmodelcapabilitiesout.py +3 -0
- mistralai/models/function.py +2 -2
- mistralai/models/githubrepositoryin.py +3 -11
- mistralai/models/githubrepositoryout.py +3 -11
- mistralai/models/inputs.py +54 -0
- mistralai/models/instructrequest.py +42 -0
- mistralai/models/jobin.py +52 -12
- mistralai/models/jobs_api_routes_batch_get_batch_jobsop.py +3 -3
- mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py +29 -2
- mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py +21 -4
- mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobop.py +29 -2
- mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobsop.py +8 -0
- mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py +29 -2
- mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py +28 -2
- mistralai/models/jobsout.py +24 -13
- mistralai/models/jsonschema.py +1 -1
- mistralai/models/legacyjobmetadataout.py +3 -12
- mistralai/models/{classificationobject.py → moderationobject.py} +6 -6
- mistralai/models/moderationresponse.py +21 -0
- mistralai/models/unarchiveftmodelout.py +3 -11
- mistralai/models/wandbintegration.py +3 -11
- mistralai/models/wandbintegrationout.py +8 -13
- mistralai/models_.py +10 -4
- {mistralai-1.5.2rc1.dist-info → mistralai-1.7.0.dist-info}/METADATA +4 -2
- {mistralai-1.5.2rc1.dist-info → mistralai-1.7.0.dist-info}/RECORD +81 -63
- {mistralai-1.5.2rc1.dist-info → mistralai-1.7.0.dist-info}/WHEEL +1 -1
- mistralai_azure/_version.py +2 -2
- mistralai_azure/chat.py +12 -0
- mistralai_azure/models/__init__.py +15 -0
- mistralai_azure/models/chatcompletionrequest.py +4 -0
- mistralai_azure/models/chatcompletionstreamrequest.py +4 -0
- mistralai_azure/models/contentchunk.py +6 -2
- mistralai_azure/models/function.py +2 -2
- mistralai_azure/models/imageurl.py +53 -0
- mistralai_azure/models/imageurlchunk.py +33 -0
- mistralai_azure/models/jsonschema.py +1 -1
- mistralai_gcp/_version.py +2 -2
- mistralai_gcp/chat.py +12 -0
- mistralai_gcp/models/__init__.py +15 -0
- mistralai_gcp/models/chatcompletionrequest.py +4 -0
- mistralai_gcp/models/chatcompletionstreamrequest.py +4 -0
- mistralai_gcp/models/contentchunk.py +6 -2
- mistralai_gcp/models/function.py +2 -2
- mistralai_gcp/models/imageurl.py +53 -0
- mistralai_gcp/models/imageurlchunk.py +33 -0
- mistralai_gcp/models/jsonschema.py +1 -1
- {mistralai-1.5.2rc1.dist-info → mistralai-1.7.0.dist-info}/LICENSE +0 -0
mistralai/models/__init__.py
CHANGED
|
@@ -39,6 +39,10 @@ from .batchjobin import BatchJobIn, BatchJobInTypedDict
|
|
|
39
39
|
from .batchjobout import BatchJobOut, BatchJobOutObject, BatchJobOutTypedDict
|
|
40
40
|
from .batchjobsout import BatchJobsOut, BatchJobsOutObject, BatchJobsOutTypedDict
|
|
41
41
|
from .batchjobstatus import BatchJobStatus
|
|
42
|
+
from .chatclassificationrequest import (
|
|
43
|
+
ChatClassificationRequest,
|
|
44
|
+
ChatClassificationRequestTypedDict,
|
|
45
|
+
)
|
|
42
46
|
from .chatcompletionchoice import (
|
|
43
47
|
ChatCompletionChoice,
|
|
44
48
|
ChatCompletionChoiceTypedDict,
|
|
@@ -79,7 +83,6 @@ from .chatmoderationrequest import (
|
|
|
79
83
|
TwoTypedDict,
|
|
80
84
|
)
|
|
81
85
|
from .checkpointout import CheckpointOut, CheckpointOutTypedDict
|
|
82
|
-
from .classificationobject import ClassificationObject, ClassificationObjectTypedDict
|
|
83
86
|
from .classificationrequest import (
|
|
84
87
|
ClassificationRequest,
|
|
85
88
|
ClassificationRequestInputs,
|
|
@@ -90,13 +93,87 @@ from .classificationresponse import (
|
|
|
90
93
|
ClassificationResponse,
|
|
91
94
|
ClassificationResponseTypedDict,
|
|
92
95
|
)
|
|
96
|
+
from .classificationtargetresult import (
|
|
97
|
+
ClassificationTargetResult,
|
|
98
|
+
ClassificationTargetResultTypedDict,
|
|
99
|
+
)
|
|
100
|
+
from .classifierdetailedjobout import (
|
|
101
|
+
ClassifierDetailedJobOut,
|
|
102
|
+
ClassifierDetailedJobOutIntegrations,
|
|
103
|
+
ClassifierDetailedJobOutIntegrationsTypedDict,
|
|
104
|
+
ClassifierDetailedJobOutJobType,
|
|
105
|
+
ClassifierDetailedJobOutObject,
|
|
106
|
+
ClassifierDetailedJobOutStatus,
|
|
107
|
+
ClassifierDetailedJobOutTypedDict,
|
|
108
|
+
)
|
|
109
|
+
from .classifierftmodelout import (
|
|
110
|
+
ClassifierFTModelOut,
|
|
111
|
+
ClassifierFTModelOutModelType,
|
|
112
|
+
ClassifierFTModelOutObject,
|
|
113
|
+
ClassifierFTModelOutTypedDict,
|
|
114
|
+
)
|
|
115
|
+
from .classifierjobout import (
|
|
116
|
+
ClassifierJobOut,
|
|
117
|
+
ClassifierJobOutIntegrations,
|
|
118
|
+
ClassifierJobOutIntegrationsTypedDict,
|
|
119
|
+
ClassifierJobOutJobType,
|
|
120
|
+
ClassifierJobOutObject,
|
|
121
|
+
ClassifierJobOutStatus,
|
|
122
|
+
ClassifierJobOutTypedDict,
|
|
123
|
+
)
|
|
124
|
+
from .classifiertargetin import ClassifierTargetIn, ClassifierTargetInTypedDict
|
|
125
|
+
from .classifiertargetout import ClassifierTargetOut, ClassifierTargetOutTypedDict
|
|
126
|
+
from .classifiertrainingparameters import (
|
|
127
|
+
ClassifierTrainingParameters,
|
|
128
|
+
ClassifierTrainingParametersTypedDict,
|
|
129
|
+
)
|
|
130
|
+
from .classifiertrainingparametersin import (
|
|
131
|
+
ClassifierTrainingParametersIn,
|
|
132
|
+
ClassifierTrainingParametersInTypedDict,
|
|
133
|
+
)
|
|
93
134
|
from .completionchunk import CompletionChunk, CompletionChunkTypedDict
|
|
135
|
+
from .completiondetailedjobout import (
|
|
136
|
+
CompletionDetailedJobOut,
|
|
137
|
+
CompletionDetailedJobOutIntegrations,
|
|
138
|
+
CompletionDetailedJobOutIntegrationsTypedDict,
|
|
139
|
+
CompletionDetailedJobOutJobType,
|
|
140
|
+
CompletionDetailedJobOutObject,
|
|
141
|
+
CompletionDetailedJobOutRepositories,
|
|
142
|
+
CompletionDetailedJobOutRepositoriesTypedDict,
|
|
143
|
+
CompletionDetailedJobOutStatus,
|
|
144
|
+
CompletionDetailedJobOutTypedDict,
|
|
145
|
+
)
|
|
94
146
|
from .completionevent import CompletionEvent, CompletionEventTypedDict
|
|
147
|
+
from .completionftmodelout import (
|
|
148
|
+
CompletionFTModelOut,
|
|
149
|
+
CompletionFTModelOutObject,
|
|
150
|
+
CompletionFTModelOutTypedDict,
|
|
151
|
+
ModelType,
|
|
152
|
+
)
|
|
153
|
+
from .completionjobout import (
|
|
154
|
+
CompletionJobOut,
|
|
155
|
+
CompletionJobOutTypedDict,
|
|
156
|
+
Integrations,
|
|
157
|
+
IntegrationsTypedDict,
|
|
158
|
+
JobType,
|
|
159
|
+
Object,
|
|
160
|
+
Repositories,
|
|
161
|
+
RepositoriesTypedDict,
|
|
162
|
+
Status,
|
|
163
|
+
)
|
|
95
164
|
from .completionresponsestreamchoice import (
|
|
96
165
|
CompletionResponseStreamChoice,
|
|
97
166
|
CompletionResponseStreamChoiceFinishReason,
|
|
98
167
|
CompletionResponseStreamChoiceTypedDict,
|
|
99
168
|
)
|
|
169
|
+
from .completiontrainingparameters import (
|
|
170
|
+
CompletionTrainingParameters,
|
|
171
|
+
CompletionTrainingParametersTypedDict,
|
|
172
|
+
)
|
|
173
|
+
from .completiontrainingparametersin import (
|
|
174
|
+
CompletionTrainingParametersIn,
|
|
175
|
+
CompletionTrainingParametersInTypedDict,
|
|
176
|
+
)
|
|
100
177
|
from .contentchunk import ContentChunk, ContentChunkTypedDict
|
|
101
178
|
from .delete_model_v1_models_model_id_deleteop import (
|
|
102
179
|
DeleteModelV1ModelsModelIDDeleteRequest,
|
|
@@ -105,16 +182,6 @@ from .delete_model_v1_models_model_id_deleteop import (
|
|
|
105
182
|
from .deletefileout import DeleteFileOut, DeleteFileOutTypedDict
|
|
106
183
|
from .deletemodelout import DeleteModelOut, DeleteModelOutTypedDict
|
|
107
184
|
from .deltamessage import Content, ContentTypedDict, DeltaMessage, DeltaMessageTypedDict
|
|
108
|
-
from .detailedjobout import (
|
|
109
|
-
DetailedJobOut,
|
|
110
|
-
DetailedJobOutIntegrations,
|
|
111
|
-
DetailedJobOutIntegrationsTypedDict,
|
|
112
|
-
DetailedJobOutObject,
|
|
113
|
-
DetailedJobOutRepositories,
|
|
114
|
-
DetailedJobOutRepositoriesTypedDict,
|
|
115
|
-
DetailedJobOutStatus,
|
|
116
|
-
DetailedJobOutTypedDict,
|
|
117
|
-
)
|
|
118
185
|
from .documenturlchunk import (
|
|
119
186
|
DocumentURLChunk,
|
|
120
187
|
DocumentURLChunkType,
|
|
@@ -122,9 +189,9 @@ from .documenturlchunk import (
|
|
|
122
189
|
)
|
|
123
190
|
from .embeddingrequest import (
|
|
124
191
|
EmbeddingRequest,
|
|
192
|
+
EmbeddingRequestInputs,
|
|
193
|
+
EmbeddingRequestInputsTypedDict,
|
|
125
194
|
EmbeddingRequestTypedDict,
|
|
126
|
-
Inputs,
|
|
127
|
-
InputsTypedDict,
|
|
128
195
|
)
|
|
129
196
|
from .embeddingresponse import EmbeddingResponse, EmbeddingResponseTypedDict
|
|
130
197
|
from .embeddingresponsedata import EmbeddingResponseData, EmbeddingResponseDataTypedDict
|
|
@@ -171,12 +238,13 @@ from .fimcompletionstreamrequest import (
|
|
|
171
238
|
FIMCompletionStreamRequestStopTypedDict,
|
|
172
239
|
FIMCompletionStreamRequestTypedDict,
|
|
173
240
|
)
|
|
241
|
+
from .finetuneablemodeltype import FineTuneableModelType
|
|
242
|
+
from .ftclassifierlossfunction import FTClassifierLossFunction
|
|
174
243
|
from .ftmodelcapabilitiesout import (
|
|
175
244
|
FTModelCapabilitiesOut,
|
|
176
245
|
FTModelCapabilitiesOutTypedDict,
|
|
177
246
|
)
|
|
178
247
|
from .ftmodelcard import FTModelCard, FTModelCardType, FTModelCardTypedDict
|
|
179
|
-
from .ftmodelout import FTModelOut, FTModelOutObject, FTModelOutTypedDict
|
|
180
248
|
from .function import Function, FunctionTypedDict
|
|
181
249
|
from .functioncall import (
|
|
182
250
|
Arguments,
|
|
@@ -204,7 +272,23 @@ from .imageurlchunk import (
|
|
|
204
272
|
ImageURLChunkType,
|
|
205
273
|
ImageURLChunkTypedDict,
|
|
206
274
|
)
|
|
275
|
+
from .inputs import (
|
|
276
|
+
Inputs,
|
|
277
|
+
InputsTypedDict,
|
|
278
|
+
InstructRequestInputs,
|
|
279
|
+
InstructRequestInputsMessages,
|
|
280
|
+
InstructRequestInputsMessagesTypedDict,
|
|
281
|
+
InstructRequestInputsTypedDict,
|
|
282
|
+
)
|
|
283
|
+
from .instructrequest import (
|
|
284
|
+
InstructRequest,
|
|
285
|
+
InstructRequestMessages,
|
|
286
|
+
InstructRequestMessagesTypedDict,
|
|
287
|
+
InstructRequestTypedDict,
|
|
288
|
+
)
|
|
207
289
|
from .jobin import (
|
|
290
|
+
Hyperparameters,
|
|
291
|
+
HyperparametersTypedDict,
|
|
208
292
|
JobIn,
|
|
209
293
|
JobInIntegrations,
|
|
210
294
|
JobInIntegrationsTypedDict,
|
|
@@ -213,16 +297,6 @@ from .jobin import (
|
|
|
213
297
|
JobInTypedDict,
|
|
214
298
|
)
|
|
215
299
|
from .jobmetadataout import JobMetadataOut, JobMetadataOutTypedDict
|
|
216
|
-
from .jobout import (
|
|
217
|
-
Integrations,
|
|
218
|
-
IntegrationsTypedDict,
|
|
219
|
-
JobOut,
|
|
220
|
-
JobOutTypedDict,
|
|
221
|
-
Object,
|
|
222
|
-
Repositories,
|
|
223
|
-
RepositoriesTypedDict,
|
|
224
|
-
Status,
|
|
225
|
-
)
|
|
226
300
|
from .jobs_api_routes_batch_cancel_batch_jobop import (
|
|
227
301
|
JobsAPIRoutesBatchCancelBatchJobRequest,
|
|
228
302
|
JobsAPIRoutesBatchCancelBatchJobRequestTypedDict,
|
|
@@ -242,14 +316,20 @@ from .jobs_api_routes_fine_tuning_archive_fine_tuned_modelop import (
|
|
|
242
316
|
from .jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop import (
|
|
243
317
|
JobsAPIRoutesFineTuningCancelFineTuningJobRequest,
|
|
244
318
|
JobsAPIRoutesFineTuningCancelFineTuningJobRequestTypedDict,
|
|
319
|
+
JobsAPIRoutesFineTuningCancelFineTuningJobResponse,
|
|
320
|
+
JobsAPIRoutesFineTuningCancelFineTuningJobResponseTypedDict,
|
|
245
321
|
)
|
|
246
322
|
from .jobs_api_routes_fine_tuning_create_fine_tuning_jobop import (
|
|
247
323
|
JobsAPIRoutesFineTuningCreateFineTuningJobResponse,
|
|
248
324
|
JobsAPIRoutesFineTuningCreateFineTuningJobResponseTypedDict,
|
|
325
|
+
Response1,
|
|
326
|
+
Response1TypedDict,
|
|
249
327
|
)
|
|
250
328
|
from .jobs_api_routes_fine_tuning_get_fine_tuning_jobop import (
|
|
251
329
|
JobsAPIRoutesFineTuningGetFineTuningJobRequest,
|
|
252
330
|
JobsAPIRoutesFineTuningGetFineTuningJobRequestTypedDict,
|
|
331
|
+
JobsAPIRoutesFineTuningGetFineTuningJobResponse,
|
|
332
|
+
JobsAPIRoutesFineTuningGetFineTuningJobResponseTypedDict,
|
|
253
333
|
)
|
|
254
334
|
from .jobs_api_routes_fine_tuning_get_fine_tuning_jobsop import (
|
|
255
335
|
JobsAPIRoutesFineTuningGetFineTuningJobsRequest,
|
|
@@ -259,6 +339,8 @@ from .jobs_api_routes_fine_tuning_get_fine_tuning_jobsop import (
|
|
|
259
339
|
from .jobs_api_routes_fine_tuning_start_fine_tuning_jobop import (
|
|
260
340
|
JobsAPIRoutesFineTuningStartFineTuningJobRequest,
|
|
261
341
|
JobsAPIRoutesFineTuningStartFineTuningJobRequestTypedDict,
|
|
342
|
+
JobsAPIRoutesFineTuningStartFineTuningJobResponse,
|
|
343
|
+
JobsAPIRoutesFineTuningStartFineTuningJobResponseTypedDict,
|
|
262
344
|
)
|
|
263
345
|
from .jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop import (
|
|
264
346
|
JobsAPIRoutesFineTuningUnarchiveFineTunedModelRequest,
|
|
@@ -267,8 +349,16 @@ from .jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop import (
|
|
|
267
349
|
from .jobs_api_routes_fine_tuning_update_fine_tuned_modelop import (
|
|
268
350
|
JobsAPIRoutesFineTuningUpdateFineTunedModelRequest,
|
|
269
351
|
JobsAPIRoutesFineTuningUpdateFineTunedModelRequestTypedDict,
|
|
352
|
+
JobsAPIRoutesFineTuningUpdateFineTunedModelResponse,
|
|
353
|
+
JobsAPIRoutesFineTuningUpdateFineTunedModelResponseTypedDict,
|
|
354
|
+
)
|
|
355
|
+
from .jobsout import (
|
|
356
|
+
JobsOut,
|
|
357
|
+
JobsOutData,
|
|
358
|
+
JobsOutDataTypedDict,
|
|
359
|
+
JobsOutObject,
|
|
360
|
+
JobsOutTypedDict,
|
|
270
361
|
)
|
|
271
|
-
from .jobsout import JobsOut, JobsOutObject, JobsOutTypedDict
|
|
272
362
|
from .jsonschema import JSONSchema, JSONSchemaTypedDict
|
|
273
363
|
from .legacyjobmetadataout import (
|
|
274
364
|
LegacyJobMetadataOut,
|
|
@@ -279,6 +369,8 @@ from .listfilesout import ListFilesOut, ListFilesOutTypedDict
|
|
|
279
369
|
from .metricout import MetricOut, MetricOutTypedDict
|
|
280
370
|
from .modelcapabilities import ModelCapabilities, ModelCapabilitiesTypedDict
|
|
281
371
|
from .modellist import Data, DataTypedDict, ModelList, ModelListTypedDict
|
|
372
|
+
from .moderationobject import ModerationObject, ModerationObjectTypedDict
|
|
373
|
+
from .moderationresponse import ModerationResponse, ModerationResponseTypedDict
|
|
282
374
|
from .ocrimageobject import OCRImageObject, OCRImageObjectTypedDict
|
|
283
375
|
from .ocrpagedimensions import OCRPageDimensions, OCRPageDimensionsTypedDict
|
|
284
376
|
from .ocrpageobject import OCRPageObject, OCRPageObjectTypedDict
|
|
@@ -321,8 +413,6 @@ from .toolmessage import (
|
|
|
321
413
|
)
|
|
322
414
|
from .tooltypes import ToolTypes
|
|
323
415
|
from .trainingfile import TrainingFile, TrainingFileTypedDict
|
|
324
|
-
from .trainingparameters import TrainingParameters, TrainingParametersTypedDict
|
|
325
|
-
from .trainingparametersin import TrainingParametersIn, TrainingParametersInTypedDict
|
|
326
416
|
from .unarchiveftmodelout import (
|
|
327
417
|
UnarchiveFTModelOut,
|
|
328
418
|
UnarchiveFTModelOutObject,
|
|
@@ -397,6 +487,8 @@ __all__ = [
|
|
|
397
487
|
"BatchJobsOut",
|
|
398
488
|
"BatchJobsOutObject",
|
|
399
489
|
"BatchJobsOutTypedDict",
|
|
490
|
+
"ChatClassificationRequest",
|
|
491
|
+
"ChatClassificationRequestTypedDict",
|
|
400
492
|
"ChatCompletionChoice",
|
|
401
493
|
"ChatCompletionChoiceTypedDict",
|
|
402
494
|
"ChatCompletionRequest",
|
|
@@ -419,21 +511,65 @@ __all__ = [
|
|
|
419
511
|
"ChatModerationRequestTypedDict",
|
|
420
512
|
"CheckpointOut",
|
|
421
513
|
"CheckpointOutTypedDict",
|
|
422
|
-
"ClassificationObject",
|
|
423
|
-
"ClassificationObjectTypedDict",
|
|
424
514
|
"ClassificationRequest",
|
|
425
515
|
"ClassificationRequestInputs",
|
|
426
516
|
"ClassificationRequestInputsTypedDict",
|
|
427
517
|
"ClassificationRequestTypedDict",
|
|
428
518
|
"ClassificationResponse",
|
|
429
519
|
"ClassificationResponseTypedDict",
|
|
520
|
+
"ClassificationTargetResult",
|
|
521
|
+
"ClassificationTargetResultTypedDict",
|
|
522
|
+
"ClassifierDetailedJobOut",
|
|
523
|
+
"ClassifierDetailedJobOutIntegrations",
|
|
524
|
+
"ClassifierDetailedJobOutIntegrationsTypedDict",
|
|
525
|
+
"ClassifierDetailedJobOutJobType",
|
|
526
|
+
"ClassifierDetailedJobOutObject",
|
|
527
|
+
"ClassifierDetailedJobOutStatus",
|
|
528
|
+
"ClassifierDetailedJobOutTypedDict",
|
|
529
|
+
"ClassifierFTModelOut",
|
|
530
|
+
"ClassifierFTModelOutModelType",
|
|
531
|
+
"ClassifierFTModelOutObject",
|
|
532
|
+
"ClassifierFTModelOutTypedDict",
|
|
533
|
+
"ClassifierJobOut",
|
|
534
|
+
"ClassifierJobOutIntegrations",
|
|
535
|
+
"ClassifierJobOutIntegrationsTypedDict",
|
|
536
|
+
"ClassifierJobOutJobType",
|
|
537
|
+
"ClassifierJobOutObject",
|
|
538
|
+
"ClassifierJobOutStatus",
|
|
539
|
+
"ClassifierJobOutTypedDict",
|
|
540
|
+
"ClassifierTargetIn",
|
|
541
|
+
"ClassifierTargetInTypedDict",
|
|
542
|
+
"ClassifierTargetOut",
|
|
543
|
+
"ClassifierTargetOutTypedDict",
|
|
544
|
+
"ClassifierTrainingParameters",
|
|
545
|
+
"ClassifierTrainingParametersIn",
|
|
546
|
+
"ClassifierTrainingParametersInTypedDict",
|
|
547
|
+
"ClassifierTrainingParametersTypedDict",
|
|
430
548
|
"CompletionChunk",
|
|
431
549
|
"CompletionChunkTypedDict",
|
|
550
|
+
"CompletionDetailedJobOut",
|
|
551
|
+
"CompletionDetailedJobOutIntegrations",
|
|
552
|
+
"CompletionDetailedJobOutIntegrationsTypedDict",
|
|
553
|
+
"CompletionDetailedJobOutJobType",
|
|
554
|
+
"CompletionDetailedJobOutObject",
|
|
555
|
+
"CompletionDetailedJobOutRepositories",
|
|
556
|
+
"CompletionDetailedJobOutRepositoriesTypedDict",
|
|
557
|
+
"CompletionDetailedJobOutStatus",
|
|
558
|
+
"CompletionDetailedJobOutTypedDict",
|
|
432
559
|
"CompletionEvent",
|
|
433
560
|
"CompletionEventTypedDict",
|
|
561
|
+
"CompletionFTModelOut",
|
|
562
|
+
"CompletionFTModelOutObject",
|
|
563
|
+
"CompletionFTModelOutTypedDict",
|
|
564
|
+
"CompletionJobOut",
|
|
565
|
+
"CompletionJobOutTypedDict",
|
|
434
566
|
"CompletionResponseStreamChoice",
|
|
435
567
|
"CompletionResponseStreamChoiceFinishReason",
|
|
436
568
|
"CompletionResponseStreamChoiceTypedDict",
|
|
569
|
+
"CompletionTrainingParameters",
|
|
570
|
+
"CompletionTrainingParametersIn",
|
|
571
|
+
"CompletionTrainingParametersInTypedDict",
|
|
572
|
+
"CompletionTrainingParametersTypedDict",
|
|
437
573
|
"Content",
|
|
438
574
|
"ContentChunk",
|
|
439
575
|
"ContentChunkTypedDict",
|
|
@@ -448,20 +584,14 @@ __all__ = [
|
|
|
448
584
|
"DeleteModelV1ModelsModelIDDeleteRequestTypedDict",
|
|
449
585
|
"DeltaMessage",
|
|
450
586
|
"DeltaMessageTypedDict",
|
|
451
|
-
"DetailedJobOut",
|
|
452
|
-
"DetailedJobOutIntegrations",
|
|
453
|
-
"DetailedJobOutIntegrationsTypedDict",
|
|
454
|
-
"DetailedJobOutObject",
|
|
455
|
-
"DetailedJobOutRepositories",
|
|
456
|
-
"DetailedJobOutRepositoriesTypedDict",
|
|
457
|
-
"DetailedJobOutStatus",
|
|
458
|
-
"DetailedJobOutTypedDict",
|
|
459
587
|
"Document",
|
|
460
588
|
"DocumentTypedDict",
|
|
461
589
|
"DocumentURLChunk",
|
|
462
590
|
"DocumentURLChunkType",
|
|
463
591
|
"DocumentURLChunkTypedDict",
|
|
464
592
|
"EmbeddingRequest",
|
|
593
|
+
"EmbeddingRequestInputs",
|
|
594
|
+
"EmbeddingRequestInputsTypedDict",
|
|
465
595
|
"EmbeddingRequestTypedDict",
|
|
466
596
|
"EmbeddingResponse",
|
|
467
597
|
"EmbeddingResponseData",
|
|
@@ -479,14 +609,12 @@ __all__ = [
|
|
|
479
609
|
"FIMCompletionStreamRequestStop",
|
|
480
610
|
"FIMCompletionStreamRequestStopTypedDict",
|
|
481
611
|
"FIMCompletionStreamRequestTypedDict",
|
|
612
|
+
"FTClassifierLossFunction",
|
|
482
613
|
"FTModelCapabilitiesOut",
|
|
483
614
|
"FTModelCapabilitiesOutTypedDict",
|
|
484
615
|
"FTModelCard",
|
|
485
616
|
"FTModelCardType",
|
|
486
617
|
"FTModelCardTypedDict",
|
|
487
|
-
"FTModelOut",
|
|
488
|
-
"FTModelOutObject",
|
|
489
|
-
"FTModelOutTypedDict",
|
|
490
618
|
"File",
|
|
491
619
|
"FilePurpose",
|
|
492
620
|
"FileSchema",
|
|
@@ -506,6 +634,7 @@ __all__ = [
|
|
|
506
634
|
"FilesAPIRoutesRetrieveFileRequestTypedDict",
|
|
507
635
|
"FilesAPIRoutesUploadFileMultiPartBodyParams",
|
|
508
636
|
"FilesAPIRoutesUploadFileMultiPartBodyParamsTypedDict",
|
|
637
|
+
"FineTuneableModelType",
|
|
509
638
|
"FinishReason",
|
|
510
639
|
"Function",
|
|
511
640
|
"FunctionCall",
|
|
@@ -521,6 +650,8 @@ __all__ = [
|
|
|
521
650
|
"GithubRepositoryOutTypedDict",
|
|
522
651
|
"HTTPValidationError",
|
|
523
652
|
"HTTPValidationErrorData",
|
|
653
|
+
"Hyperparameters",
|
|
654
|
+
"HyperparametersTypedDict",
|
|
524
655
|
"ImageURL",
|
|
525
656
|
"ImageURLChunk",
|
|
526
657
|
"ImageURLChunkImageURL",
|
|
@@ -530,6 +661,14 @@ __all__ = [
|
|
|
530
661
|
"ImageURLTypedDict",
|
|
531
662
|
"Inputs",
|
|
532
663
|
"InputsTypedDict",
|
|
664
|
+
"InstructRequest",
|
|
665
|
+
"InstructRequestInputs",
|
|
666
|
+
"InstructRequestInputsMessages",
|
|
667
|
+
"InstructRequestInputsMessagesTypedDict",
|
|
668
|
+
"InstructRequestInputsTypedDict",
|
|
669
|
+
"InstructRequestMessages",
|
|
670
|
+
"InstructRequestMessagesTypedDict",
|
|
671
|
+
"InstructRequestTypedDict",
|
|
533
672
|
"Integrations",
|
|
534
673
|
"IntegrationsTypedDict",
|
|
535
674
|
"JSONSchema",
|
|
@@ -542,8 +681,7 @@ __all__ = [
|
|
|
542
681
|
"JobInTypedDict",
|
|
543
682
|
"JobMetadataOut",
|
|
544
683
|
"JobMetadataOutTypedDict",
|
|
545
|
-
"
|
|
546
|
-
"JobOutTypedDict",
|
|
684
|
+
"JobType",
|
|
547
685
|
"JobsAPIRoutesBatchCancelBatchJobRequest",
|
|
548
686
|
"JobsAPIRoutesBatchCancelBatchJobRequestTypedDict",
|
|
549
687
|
"JobsAPIRoutesBatchGetBatchJobRequest",
|
|
@@ -554,19 +692,29 @@ __all__ = [
|
|
|
554
692
|
"JobsAPIRoutesFineTuningArchiveFineTunedModelRequestTypedDict",
|
|
555
693
|
"JobsAPIRoutesFineTuningCancelFineTuningJobRequest",
|
|
556
694
|
"JobsAPIRoutesFineTuningCancelFineTuningJobRequestTypedDict",
|
|
695
|
+
"JobsAPIRoutesFineTuningCancelFineTuningJobResponse",
|
|
696
|
+
"JobsAPIRoutesFineTuningCancelFineTuningJobResponseTypedDict",
|
|
557
697
|
"JobsAPIRoutesFineTuningCreateFineTuningJobResponse",
|
|
558
698
|
"JobsAPIRoutesFineTuningCreateFineTuningJobResponseTypedDict",
|
|
559
699
|
"JobsAPIRoutesFineTuningGetFineTuningJobRequest",
|
|
560
700
|
"JobsAPIRoutesFineTuningGetFineTuningJobRequestTypedDict",
|
|
701
|
+
"JobsAPIRoutesFineTuningGetFineTuningJobResponse",
|
|
702
|
+
"JobsAPIRoutesFineTuningGetFineTuningJobResponseTypedDict",
|
|
561
703
|
"JobsAPIRoutesFineTuningGetFineTuningJobsRequest",
|
|
562
704
|
"JobsAPIRoutesFineTuningGetFineTuningJobsRequestTypedDict",
|
|
563
705
|
"JobsAPIRoutesFineTuningStartFineTuningJobRequest",
|
|
564
706
|
"JobsAPIRoutesFineTuningStartFineTuningJobRequestTypedDict",
|
|
707
|
+
"JobsAPIRoutesFineTuningStartFineTuningJobResponse",
|
|
708
|
+
"JobsAPIRoutesFineTuningStartFineTuningJobResponseTypedDict",
|
|
565
709
|
"JobsAPIRoutesFineTuningUnarchiveFineTunedModelRequest",
|
|
566
710
|
"JobsAPIRoutesFineTuningUnarchiveFineTunedModelRequestTypedDict",
|
|
567
711
|
"JobsAPIRoutesFineTuningUpdateFineTunedModelRequest",
|
|
568
712
|
"JobsAPIRoutesFineTuningUpdateFineTunedModelRequestTypedDict",
|
|
713
|
+
"JobsAPIRoutesFineTuningUpdateFineTunedModelResponse",
|
|
714
|
+
"JobsAPIRoutesFineTuningUpdateFineTunedModelResponseTypedDict",
|
|
569
715
|
"JobsOut",
|
|
716
|
+
"JobsOutData",
|
|
717
|
+
"JobsOutDataTypedDict",
|
|
570
718
|
"JobsOutObject",
|
|
571
719
|
"JobsOutTypedDict",
|
|
572
720
|
"LegacyJobMetadataOut",
|
|
@@ -584,6 +732,11 @@ __all__ = [
|
|
|
584
732
|
"ModelCapabilitiesTypedDict",
|
|
585
733
|
"ModelList",
|
|
586
734
|
"ModelListTypedDict",
|
|
735
|
+
"ModelType",
|
|
736
|
+
"ModerationObject",
|
|
737
|
+
"ModerationObjectTypedDict",
|
|
738
|
+
"ModerationResponse",
|
|
739
|
+
"ModerationResponseTypedDict",
|
|
587
740
|
"OCRImageObject",
|
|
588
741
|
"OCRImageObjectTypedDict",
|
|
589
742
|
"OCRPageDimensions",
|
|
@@ -607,6 +760,8 @@ __all__ = [
|
|
|
607
760
|
"ReferenceChunkTypedDict",
|
|
608
761
|
"Repositories",
|
|
609
762
|
"RepositoriesTypedDict",
|
|
763
|
+
"Response1",
|
|
764
|
+
"Response1TypedDict",
|
|
610
765
|
"ResponseFormat",
|
|
611
766
|
"ResponseFormatTypedDict",
|
|
612
767
|
"ResponseFormats",
|
|
@@ -647,10 +802,6 @@ __all__ = [
|
|
|
647
802
|
"ToolTypes",
|
|
648
803
|
"TrainingFile",
|
|
649
804
|
"TrainingFileTypedDict",
|
|
650
|
-
"TrainingParameters",
|
|
651
|
-
"TrainingParametersIn",
|
|
652
|
-
"TrainingParametersInTypedDict",
|
|
653
|
-
"TrainingParametersTypedDict",
|
|
654
805
|
"Two",
|
|
655
806
|
"TwoTypedDict",
|
|
656
807
|
"Type",
|
|
@@ -85,6 +85,7 @@ class AgentsCompletionRequestTypedDict(TypedDict):
|
|
|
85
85
|
n: NotRequired[Nullable[int]]
|
|
86
86
|
r"""Number of completions to return for each request, input tokens are only billed once."""
|
|
87
87
|
prediction: NotRequired[PredictionTypedDict]
|
|
88
|
+
parallel_tool_calls: NotRequired[bool]
|
|
88
89
|
|
|
89
90
|
|
|
90
91
|
class AgentsCompletionRequest(BaseModel):
|
|
@@ -123,6 +124,8 @@ class AgentsCompletionRequest(BaseModel):
|
|
|
123
124
|
|
|
124
125
|
prediction: Optional[Prediction] = None
|
|
125
126
|
|
|
127
|
+
parallel_tool_calls: Optional[bool] = None
|
|
128
|
+
|
|
126
129
|
@model_serializer(mode="wrap")
|
|
127
130
|
def serialize_model(self, handler):
|
|
128
131
|
optional_fields = [
|
|
@@ -137,6 +140,7 @@ class AgentsCompletionRequest(BaseModel):
|
|
|
137
140
|
"frequency_penalty",
|
|
138
141
|
"n",
|
|
139
142
|
"prediction",
|
|
143
|
+
"parallel_tool_calls",
|
|
140
144
|
]
|
|
141
145
|
nullable_fields = ["max_tokens", "random_seed", "tools", "n"]
|
|
142
146
|
null_default_fields = []
|
|
@@ -84,6 +84,7 @@ class AgentsCompletionStreamRequestTypedDict(TypedDict):
|
|
|
84
84
|
n: NotRequired[Nullable[int]]
|
|
85
85
|
r"""Number of completions to return for each request, input tokens are only billed once."""
|
|
86
86
|
prediction: NotRequired[PredictionTypedDict]
|
|
87
|
+
parallel_tool_calls: NotRequired[bool]
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
class AgentsCompletionStreamRequest(BaseModel):
|
|
@@ -121,6 +122,8 @@ class AgentsCompletionStreamRequest(BaseModel):
|
|
|
121
122
|
|
|
122
123
|
prediction: Optional[Prediction] = None
|
|
123
124
|
|
|
125
|
+
parallel_tool_calls: Optional[bool] = None
|
|
126
|
+
|
|
124
127
|
@model_serializer(mode="wrap")
|
|
125
128
|
def serialize_model(self, handler):
|
|
126
129
|
optional_fields = [
|
|
@@ -135,6 +138,7 @@ class AgentsCompletionStreamRequest(BaseModel):
|
|
|
135
138
|
"frequency_penalty",
|
|
136
139
|
"n",
|
|
137
140
|
"prediction",
|
|
141
|
+
"parallel_tool_calls",
|
|
138
142
|
]
|
|
139
143
|
nullable_fields = ["max_tokens", "random_seed", "tools", "n"]
|
|
140
144
|
null_default_fields = []
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from mistralai.types import BaseModel
|
|
5
|
-
from mistralai.utils import validate_const
|
|
6
|
-
import pydantic
|
|
7
|
-
from pydantic.functional_validators import AfterValidator
|
|
8
5
|
from typing import Literal, Optional
|
|
9
|
-
from typing_extensions import
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
10
7
|
|
|
11
8
|
|
|
12
9
|
ArchiveFTModelOutObject = Literal["model"]
|
|
@@ -14,18 +11,13 @@ ArchiveFTModelOutObject = Literal["model"]
|
|
|
14
11
|
|
|
15
12
|
class ArchiveFTModelOutTypedDict(TypedDict):
|
|
16
13
|
id: str
|
|
17
|
-
object: ArchiveFTModelOutObject
|
|
14
|
+
object: NotRequired[ArchiveFTModelOutObject]
|
|
18
15
|
archived: NotRequired[bool]
|
|
19
16
|
|
|
20
17
|
|
|
21
18
|
class ArchiveFTModelOut(BaseModel):
|
|
22
19
|
id: str
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
Annotated[
|
|
26
|
-
Optional[ArchiveFTModelOutObject], AfterValidator(validate_const("model"))
|
|
27
|
-
],
|
|
28
|
-
pydantic.Field(alias="object"),
|
|
29
|
-
] = "model"
|
|
21
|
+
object: Optional[ArchiveFTModelOutObject] = "model"
|
|
30
22
|
|
|
31
23
|
archived: Optional[bool] = True
|
mistralai/models/batchjobout.py
CHANGED
|
@@ -4,12 +4,9 @@ from __future__ import annotations
|
|
|
4
4
|
from .batcherror import BatchError, BatchErrorTypedDict
|
|
5
5
|
from .batchjobstatus import BatchJobStatus
|
|
6
6
|
from mistralai.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
7
|
-
from mistralai.utils import validate_const
|
|
8
|
-
import pydantic
|
|
9
7
|
from pydantic import model_serializer
|
|
10
|
-
from pydantic.functional_validators import AfterValidator
|
|
11
8
|
from typing import Any, Dict, List, Literal, Optional
|
|
12
|
-
from typing_extensions import
|
|
9
|
+
from typing_extensions import NotRequired, TypedDict
|
|
13
10
|
|
|
14
11
|
|
|
15
12
|
BatchJobOutObject = Literal["batch"]
|
|
@@ -27,7 +24,7 @@ class BatchJobOutTypedDict(TypedDict):
|
|
|
27
24
|
completed_requests: int
|
|
28
25
|
succeeded_requests: int
|
|
29
26
|
failed_requests: int
|
|
30
|
-
object: BatchJobOutObject
|
|
27
|
+
object: NotRequired[BatchJobOutObject]
|
|
31
28
|
metadata: NotRequired[Nullable[Dict[str, Any]]]
|
|
32
29
|
output_file: NotRequired[Nullable[str]]
|
|
33
30
|
error_file: NotRequired[Nullable[str]]
|
|
@@ -58,10 +55,7 @@ class BatchJobOut(BaseModel):
|
|
|
58
55
|
|
|
59
56
|
failed_requests: int
|
|
60
57
|
|
|
61
|
-
|
|
62
|
-
Annotated[Optional[BatchJobOutObject], AfterValidator(validate_const("batch"))],
|
|
63
|
-
pydantic.Field(alias="object"),
|
|
64
|
-
] = "batch"
|
|
58
|
+
object: Optional[BatchJobOutObject] = "batch"
|
|
65
59
|
|
|
66
60
|
metadata: OptionalNullable[Dict[str, Any]] = UNSET
|
|
67
61
|
|
mistralai/models/batchjobsout.py
CHANGED
|
@@ -3,11 +3,8 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .batchjobout import BatchJobOut, BatchJobOutTypedDict
|
|
5
5
|
from mistralai.types import BaseModel
|
|
6
|
-
from mistralai.utils import validate_const
|
|
7
|
-
import pydantic
|
|
8
|
-
from pydantic.functional_validators import AfterValidator
|
|
9
6
|
from typing import List, Literal, Optional
|
|
10
|
-
from typing_extensions import
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
11
8
|
|
|
12
9
|
|
|
13
10
|
BatchJobsOutObject = Literal["list"]
|
|
@@ -16,7 +13,7 @@ BatchJobsOutObject = Literal["list"]
|
|
|
16
13
|
class BatchJobsOutTypedDict(TypedDict):
|
|
17
14
|
total: int
|
|
18
15
|
data: NotRequired[List[BatchJobOutTypedDict]]
|
|
19
|
-
object: BatchJobsOutObject
|
|
16
|
+
object: NotRequired[BatchJobsOutObject]
|
|
20
17
|
|
|
21
18
|
|
|
22
19
|
class BatchJobsOut(BaseModel):
|
|
@@ -24,7 +21,4 @@ class BatchJobsOut(BaseModel):
|
|
|
24
21
|
|
|
25
22
|
data: Optional[List[BatchJobOut]] = None
|
|
26
23
|
|
|
27
|
-
|
|
28
|
-
Annotated[Optional[BatchJobsOutObject], AfterValidator(validate_const("list"))],
|
|
29
|
-
pydantic.Field(alias="object"),
|
|
30
|
-
] = "list"
|
|
24
|
+
object: Optional[BatchJobsOutObject] = "list"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .inputs import Inputs, InputsTypedDict
|
|
5
|
+
from mistralai.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ChatClassificationRequestTypedDict(TypedDict):
|
|
11
|
+
model: str
|
|
12
|
+
inputs: InputsTypedDict
|
|
13
|
+
r"""Chat to classify"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class ChatClassificationRequest(BaseModel):
|
|
17
|
+
model: str
|
|
18
|
+
|
|
19
|
+
inputs: Annotated[Inputs, pydantic.Field(alias="input")]
|
|
20
|
+
r"""Chat to classify"""
|
|
@@ -85,6 +85,7 @@ class ChatCompletionRequestTypedDict(TypedDict):
|
|
|
85
85
|
n: NotRequired[Nullable[int]]
|
|
86
86
|
r"""Number of completions to return for each request, input tokens are only billed once."""
|
|
87
87
|
prediction: NotRequired[PredictionTypedDict]
|
|
88
|
+
parallel_tool_calls: NotRequired[bool]
|
|
88
89
|
safe_prompt: NotRequired[bool]
|
|
89
90
|
r"""Whether to inject a safety prompt before all conversations."""
|
|
90
91
|
|
|
@@ -131,6 +132,8 @@ class ChatCompletionRequest(BaseModel):
|
|
|
131
132
|
|
|
132
133
|
prediction: Optional[Prediction] = None
|
|
133
134
|
|
|
135
|
+
parallel_tool_calls: Optional[bool] = None
|
|
136
|
+
|
|
134
137
|
safe_prompt: Optional[bool] = None
|
|
135
138
|
r"""Whether to inject a safety prompt before all conversations."""
|
|
136
139
|
|
|
@@ -150,6 +153,7 @@ class ChatCompletionRequest(BaseModel):
|
|
|
150
153
|
"frequency_penalty",
|
|
151
154
|
"n",
|
|
152
155
|
"prediction",
|
|
156
|
+
"parallel_tool_calls",
|
|
153
157
|
"safe_prompt",
|
|
154
158
|
]
|
|
155
159
|
nullable_fields = ["temperature", "max_tokens", "random_seed", "tools", "n"]
|
|
@@ -88,6 +88,7 @@ class ChatCompletionStreamRequestTypedDict(TypedDict):
|
|
|
88
88
|
n: NotRequired[Nullable[int]]
|
|
89
89
|
r"""Number of completions to return for each request, input tokens are only billed once."""
|
|
90
90
|
prediction: NotRequired[PredictionTypedDict]
|
|
91
|
+
parallel_tool_calls: NotRequired[bool]
|
|
91
92
|
safe_prompt: NotRequired[bool]
|
|
92
93
|
r"""Whether to inject a safety prompt before all conversations."""
|
|
93
94
|
|
|
@@ -133,6 +134,8 @@ class ChatCompletionStreamRequest(BaseModel):
|
|
|
133
134
|
|
|
134
135
|
prediction: Optional[Prediction] = None
|
|
135
136
|
|
|
137
|
+
parallel_tool_calls: Optional[bool] = None
|
|
138
|
+
|
|
136
139
|
safe_prompt: Optional[bool] = None
|
|
137
140
|
r"""Whether to inject a safety prompt before all conversations."""
|
|
138
141
|
|
|
@@ -152,6 +155,7 @@ class ChatCompletionStreamRequest(BaseModel):
|
|
|
152
155
|
"frequency_penalty",
|
|
153
156
|
"n",
|
|
154
157
|
"prediction",
|
|
158
|
+
"parallel_tool_calls",
|
|
155
159
|
"safe_prompt",
|
|
156
160
|
]
|
|
157
161
|
nullable_fields = ["temperature", "max_tokens", "random_seed", "tools", "n"]
|