Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.434.4 (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Nov 7, 2024
1 parent 4f6c1ae commit e023488
Show file tree
Hide file tree
Showing 77 changed files with 2,316 additions and 105 deletions.
73 changes: 69 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 81b65c50-f2e3-40a3-bd65-346524007b3d
management:
docChecksum: 8dbd12dc531838bb25980ce33654c8bf
docChecksum: ee15d853ecc28d415d6b33191893a6ff
docVersion: 0.0.2
speakeasyVersion: 1.434.2
speakeasyVersion: 1.434.4
generationVersion: 2.452.0
releaseVersion: 1.2.0
configChecksum: 0f0d4b73e436e4fc46a2b3b9856dcfa3
releaseVersion: 1.3.0
configChecksum: d6bf2d23bd8b094865db557c870ba6fc
repoURL: https://github.com/mistralai/client-ts.git
installationURL: https://github.com/mistralai/client-ts
published: true
Expand All @@ -17,6 +17,7 @@ features:
core: 3.18.3
defaultEnabledRetries: 0.1.0
devContainers: 2.90.0
downloadStreams: 0.1.1
enumUnions: 0.1.0
envVarSecurityUsage: 0.1.2
examples: 2.81.4
Expand Down Expand Up @@ -56,13 +57,21 @@ generatedFiles:
- docs/models/components/agentscompletionstreamrequestmessages.md
- docs/models/components/agentscompletionstreamrequeststop.md
- docs/models/components/agentscompletionstreamrequesttoolchoice.md
- docs/models/components/apiendpoint.md
- docs/models/components/archiveftmodelout.md
- docs/models/components/archiveftmodeloutobject.md
- docs/models/components/arguments.md
- docs/models/components/assistantmessage.md
- docs/models/components/assistantmessagecontent.md
- docs/models/components/assistantmessagerole.md
- docs/models/components/basemodelcard.md
- docs/models/components/batcherror.md
- docs/models/components/batchjobin.md
- docs/models/components/batchjobout.md
- docs/models/components/batchjoboutobject.md
- docs/models/components/batchjobsout.md
- docs/models/components/batchjobsoutobject.md
- docs/models/components/batchjobstatus.md
- docs/models/components/chatclassificationrequest.md
- docs/models/components/chatclassificationrequestinputs.md
- docs/models/components/chatcompletionchoice.md
Expand Down Expand Up @@ -183,10 +192,14 @@ generatedFiles:
- docs/models/errors/httpvalidationerror.md
- docs/models/operations/deletemodelv1modelsmodeliddeleterequest.md
- docs/models/operations/filesapiroutesdeletefilerequest.md
- docs/models/operations/filesapiroutesdownloadfilerequest.md
- docs/models/operations/filesapirouteslistfilesrequest.md
- docs/models/operations/filesapiroutesretrievefilerequest.md
- docs/models/operations/filesapiroutesuploadfilemultipartbodyparams.md
- docs/models/operations/filet.md
- docs/models/operations/jobsapiroutesbatchcancelbatchjobrequest.md
- docs/models/operations/jobsapiroutesbatchgetbatchjobrequest.md
- docs/models/operations/jobsapiroutesbatchgetbatchjobsrequest.md
- docs/models/operations/jobsapiroutesfinetuningarchivefinetunedmodelrequest.md
- docs/models/operations/jobsapiroutesfinetuningcancelfinetuningjobrequest.md
- docs/models/operations/jobsapiroutesfinetuningcreatefinetuningjobresponse.md
Expand All @@ -199,6 +212,7 @@ generatedFiles:
- docs/models/operations/retrievemodelv1modelsmodelidgetresponseretrievemodelv1modelsmodelidget.md
- docs/models/operations/status.md
- docs/sdks/agents/README.md
- docs/sdks/batch/README.md
- docs/sdks/chat/README.md
- docs/sdks/classifiers/README.md
- docs/sdks/embeddings/README.md
Expand All @@ -207,18 +221,24 @@ generatedFiles:
- docs/sdks/finetuning/README.md
- docs/sdks/jobs/README.md
- docs/sdks/mistral/README.md
- docs/sdks/mistraljobs/README.md
- docs/sdks/models/README.md
- jsr.json
- package.json
- src/core.ts
- src/funcs/agentsComplete.ts
- src/funcs/agentsStream.ts
- src/funcs/batchJobsCancel.ts
- src/funcs/batchJobsCreate.ts
- src/funcs/batchJobsGet.ts
- src/funcs/batchJobsList.ts
- src/funcs/chatComplete.ts
- src/funcs/chatStream.ts
- src/funcs/classifiersModerate.ts
- src/funcs/classifiersModerateChat.ts
- src/funcs/embeddingsCreate.ts
- src/funcs/filesDelete.ts
- src/funcs/filesDownload.ts
- src/funcs/filesList.ts
- src/funcs/filesRetrieve.ts
- src/funcs/filesUpload.ts
Expand Down Expand Up @@ -258,9 +278,15 @@ generatedFiles:
- src/lib/url.ts
- src/models/components/agentscompletionrequest.ts
- src/models/components/agentscompletionstreamrequest.ts
- src/models/components/apiendpoint.ts
- src/models/components/archiveftmodelout.ts
- src/models/components/assistantmessage.ts
- src/models/components/basemodelcard.ts
- src/models/components/batcherror.ts
- src/models/components/batchjobin.ts
- src/models/components/batchjobout.ts
- src/models/components/batchjobsout.ts
- src/models/components/batchjobstatus.ts
- src/models/components/chatclassificationrequest.ts
- src/models/components/chatcompletionchoice.ts
- src/models/components/chatcompletionrequest.ts
Expand Down Expand Up @@ -340,10 +366,14 @@ generatedFiles:
- src/models/errors/sdkvalidationerror.ts
- src/models/operations/deletemodelv1modelsmodeliddelete.ts
- src/models/operations/filesapiroutesdeletefile.ts
- src/models/operations/filesapiroutesdownloadfile.ts
- src/models/operations/filesapirouteslistfiles.ts
- src/models/operations/filesapiroutesretrievefile.ts
- src/models/operations/filesapiroutesuploadfile.ts
- src/models/operations/index.ts
- src/models/operations/jobsapiroutesbatchcancelbatchjob.ts
- src/models/operations/jobsapiroutesbatchgetbatchjob.ts
- src/models/operations/jobsapiroutesbatchgetbatchjobs.ts
- src/models/operations/jobsapiroutesfinetuningarchivefinetunedmodel.ts
- src/models/operations/jobsapiroutesfinetuningcancelfinetuningjob.ts
- src/models/operations/jobsapiroutesfinetuningcreatefinetuningjob.ts
Expand All @@ -354,6 +384,7 @@ generatedFiles:
- src/models/operations/jobsapiroutesfinetuningupdatefinetunedmodel.ts
- src/models/operations/retrievemodelv1modelsmodelidget.ts
- src/sdk/agents.ts
- src/sdk/batch.ts
- src/sdk/chat.ts
- src/sdk/classifiers.ts
- src/sdk/embeddings.ts
Expand All @@ -362,6 +393,7 @@ generatedFiles:
- src/sdk/finetuning.ts
- src/sdk/index.ts
- src/sdk/jobs.ts
- src/sdk/mistraljobs.ts
- src/sdk/models.ts
- src/sdk/sdk.ts
- src/types/blobs.ts
Expand Down Expand Up @@ -542,3 +574,36 @@ examples:
"200":
application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
"422": {}
files_api_routes_download_file:
speakeasy-default-files-api-routes-download-file:
parameters:
path:
file_id: "<id>"
jobs_api_routes_batch_get_batch_jobs:
speakeasy-default-jobs-api-routes-batch-get-batch-jobs:
responses:
"200":
application/json: {"total": 768578}
jobs_api_routes_batch_create_batch_job:
speakeasy-default-jobs-api-routes-batch-create-batch-job:
requestBody:
application/json: {"input_files": ["a621cf02-1cd9-4cf5-8403-315211a509a3"], "endpoint": "/v1/fim/completions", "model": "2"}
responses:
"200":
application/json: {"id": "<id>", "input_files": ["8e774c2b-ecc3-4769-b177-5e024985613d", "0ee803d5-6a1d-4f94-836b-fd39494798bc"], "endpoint": "<value>", "model": "Impala", "errors": [{"message": "<value>"}, {"message": "<value>"}, {"message": "<value>"}], "status": "RUNNING", "created_at": 770370, "total_requests": 350586, "completed_requests": 95214, "succeeded_requests": 930830, "failed_requests": 617761}
jobs_api_routes_batch_get_batch_job:
speakeasy-default-jobs-api-routes-batch-get-batch-job:
parameters:
path:
job_id: "b888f774-3e7c-4135-a18c-6b985523c4bc"
responses:
"200":
application/json: {"id": "<id>", "input_files": ["50f76228-1da8-44bc-b661-c8a99c6b71b6", "cd62b8f7-112a-4af0-bab4-e43b4cca3716", "620807aa-1f8c-4f05-ad89-d58ee381f6b4"], "endpoint": "<value>", "model": "Golf", "errors": [{"message": "<value>"}, {"message": "<value>"}], "status": "SUCCESS", "created_at": 790898, "total_requests": 55097, "completed_requests": 578320, "succeeded_requests": 856562, "failed_requests": 328633}
jobs_api_routes_batch_cancel_batch_job:
speakeasy-default-jobs-api-routes-batch-cancel-batch-job:
parameters:
path:
job_id: "0f713502-9233-41c6-9ebd-c570b7edb496"
responses:
"200":
application/json: {"id": "<id>", "input_files": ["50fbe4e3-e326-4135-8744-d82f3fd6b3c1", "eb45e247-ac10-4cdc-8311-2f7cc9241230", "4afaa0f8-4bd4-4945-9116-89d07a64aa72"], "endpoint": "<value>", "model": "Alpine", "errors": [{"message": "<value>"}, {"message": "<value>"}], "status": "QUEUED", "created_at": 709109, "total_requests": 275794, "completed_requests": 158938, "succeeded_requests": 12381, "failed_requests": 11864}
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
typescript:
version: 1.2.0
version: 1.3.0
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
20 changes: 10 additions & 10 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.434.2
speakeasyVersion: 1.434.4
sources:
mistral-azure-source:
sourceNamespace: mistral-openapi-azure
Expand All @@ -16,8 +16,8 @@ sources:
- main
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:32a9827b9fab491a738a995ecc3121a91e368750dea9c9232cd506d787505305
sourceBlobDigest: sha256:4d0e31797809ba3ebec9a32308e2828b0605a3865efd64c4338d13d98427e02d
sourceRevisionDigest: sha256:e658442ebfc83351cbb7873fb17b03f07ff9edebd8eddfce5577e2c5c7bfafce
sourceBlobDigest: sha256:559403eaaa97c021eaf0022adddb1066694d879a946c87057e942806d5a2a2a2
tags:
- latest
- main
Expand All @@ -35,10 +35,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:32a9827b9fab491a738a995ecc3121a91e368750dea9c9232cd506d787505305
sourceBlobDigest: sha256:4d0e31797809ba3ebec9a32308e2828b0605a3865efd64c4338d13d98427e02d
codeSamplesNamespace: mistral-openapi
codeSamplesRevisionDigest: sha256:cd68cb25021eab25cd6125ed9e7b67c80b406bc84fb5423efb6554bf954d56de
sourceRevisionDigest: sha256:e658442ebfc83351cbb7873fb17b03f07ff9edebd8eddfce5577e2c5c7bfafce
sourceBlobDigest: sha256:559403eaaa97c021eaf0022adddb1066694d879a946c87057e942806d5a2a2a2
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:040e9e9020d7edd595d15e2879b2bc64e21dc00bea1952375373fef9e132f2fe
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down Expand Up @@ -68,7 +68,7 @@ workflow:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-azure:main-code-samples
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-azure-code-samples
blocking: false
mistralai-gcp-sdk:
target: typescript
Expand All @@ -79,7 +79,7 @@ workflow:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-google-cloud:main-code-samples
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-google-cloud-code-samples
blocking: false
mistralai-sdk:
target: typescript
Expand All @@ -89,5 +89,5 @@ workflow:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi:main-code-samples
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-code-samples
blocking: false
6 changes: 3 additions & 3 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ targets:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-azure:main-code-samples
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-azure-code-samples
blocking: false
mistralai-gcp-sdk:
target: typescript
Expand All @@ -37,7 +37,7 @@ targets:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-google-cloud:main-code-samples
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-google-cloud-code-samples
blocking: false
mistralai-sdk:
target: typescript
Expand All @@ -47,5 +47,5 @@ targets:
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi:main-code-samples
location: registry.speakeasyapi.dev/mistral-dev/mistral-dev/mistral-openapi-code-samples
blocking: false
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,16 @@ We have dedicated SDKs for the following providers:
* [complete](docs/sdks/agents/README.md#complete) - Agents Completion
* [stream](docs/sdks/agents/README.md#stream) - Stream Agents completion

### [batch](docs/sdks/batch/README.md)


#### [batch.jobs](docs/sdks/mistraljobs/README.md)

* [list](docs/sdks/mistraljobs/README.md#list) - Get Batch Jobs
* [create](docs/sdks/mistraljobs/README.md#create) - Create Batch Job
* [get](docs/sdks/mistraljobs/README.md#get) - Get Batch Job
* [cancel](docs/sdks/mistraljobs/README.md#cancel) - Cancel Batch Job

### [chat](docs/sdks/chat/README.md)

* [complete](docs/sdks/chat/README.md#complete) - Chat Completion
Expand All @@ -235,6 +245,7 @@ We have dedicated SDKs for the following providers:
* [list](docs/sdks/files/README.md#list) - List Files
* [retrieve](docs/sdks/files/README.md#retrieve) - Retrieve File
* [delete](docs/sdks/files/README.md#delete) - Delete File
* [download](docs/sdks/files/README.md#download) - Download File

### [fim](docs/sdks/fim/README.md)

Expand Down Expand Up @@ -635,12 +646,17 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).

- [`agentsComplete`](docs/sdks/agents/README.md#complete) - Agents Completion
- [`agentsStream`](docs/sdks/agents/README.md#stream) - Stream Agents completion
- [`batchJobsCancel`](docs/sdks/mistraljobs/README.md#cancel) - Cancel Batch Job
- [`batchJobsCreate`](docs/sdks/mistraljobs/README.md#create) - Create Batch Job
- [`batchJobsGet`](docs/sdks/mistraljobs/README.md#get) - Get Batch Job
- [`batchJobsList`](docs/sdks/mistraljobs/README.md#list) - Get Batch Jobs
- [`chatComplete`](docs/sdks/chat/README.md#complete) - Chat Completion
- [`chatStream`](docs/sdks/chat/README.md#stream) - Stream chat completion
- [`classifiersModerate`](docs/sdks/classifiers/README.md#moderate) - Moderations
- [`classifiersModerateChat`](docs/sdks/classifiers/README.md#moderatechat) - Moderations Chat
- [`embeddingsCreate`](docs/sdks/embeddings/README.md#create) - Embeddings
- [`filesDelete`](docs/sdks/files/README.md#delete) - Delete File
- [`filesDownload`](docs/sdks/files/README.md#download) - Download File
- [`filesList`](docs/sdks/files/README.md#list) - List Files
- [`filesRetrieve`](docs/sdks/files/README.md#retrieve) - Retrieve File
- [`filesUpload`](docs/sdks/files/README.md#upload) - Upload File
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ Based on:
### Generated
- [typescript v1.2.0] .
### Releases
- [NPM v1.2.0] https://www.npmjs.com/package/@mistralai/mistralai/v/1.2.0 - .
- [NPM v1.2.0] https://www.npmjs.com/package/@mistralai/mistralai/v/1.2.0 - .

## 2024-11-07 20:58:48
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.434.4 (2.452.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.3.0] .
### Releases
- [NPM v1.3.0] https://www.npmjs.com/package/@mistralai/mistralai/v/1.3.0 - .
10 changes: 2 additions & 8 deletions docs/models/components/agentscompletionrequestmessages.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ const value: components.AssistantMessage = {};

```typescript
const value: components.SystemMessage = {
content: [
{
text: "<value>",
},
],
content: "<value>",
};
```

Expand All @@ -35,9 +31,7 @@ const value: components.ToolMessage = {
const value: components.UserMessage = {
content: [
{
imageUrl: {
url: "https://worse-interviewer.info/",
},
text: "<value>",
},
],
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const value: components.ToolChoice = {
### `components.ToolChoiceEnum`

```typescript
const value: components.ToolChoiceEnum = "any";
const value: components.ToolChoiceEnum = "none";
```

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ const value: components.AssistantMessage = {};

```typescript
const value: components.SystemMessage = {
content: "<value>",
content: [
{
text: "<value>",
},
],
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ const value: components.ToolChoice = {
### `components.ToolChoiceEnum`

```typescript
const value: components.ToolChoiceEnum = "required";
const value: components.ToolChoiceEnum = "any";
```

Loading

0 comments on commit e023488

Please sign in to comment.