Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.438.1 (#50)
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 18, 2024
1 parent bf75d37 commit 1802be9
Show file tree
Hide file tree
Showing 47 changed files with 357 additions and 93 deletions.
12 changes: 8 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: 87f5a2bcfbc64bec79241e2b0de25b9f
docChecksum: d066d98bdd0ef905d4126e0e69940946
docVersion: 0.0.2
speakeasyVersion: 1.438.1
generationVersion: 2.457.2
releaseVersion: 1.3.1
configChecksum: 592c371e12e0bb88cff133b730e6b426
releaseVersion: 1.3.4
configChecksum: 4cee1a313f733ed74b7e454a4b175e31
repoURL: https://github.com/mistralai/client-ts.git
installationURL: https://github.com/mistralai/client-ts
published: true
Expand Down Expand Up @@ -150,6 +150,8 @@ generatedFiles:
- docs/models/components/modellist.md
- docs/models/components/objectt.md
- docs/models/components/one.md
- docs/models/components/referencechunk.md
- docs/models/components/referencechunktype.md
- docs/models/components/repositories.md
- docs/models/components/responseformat.md
- docs/models/components/responseformats.md
Expand All @@ -169,6 +171,7 @@ generatedFiles:
- docs/models/components/toolchoice.md
- docs/models/components/toolchoiceenum.md
- docs/models/components/toolmessage.md
- docs/models/components/toolmessagecontent.md
- docs/models/components/toolmessagerole.md
- docs/models/components/tooltypes.md
- docs/models/components/trainingfile.md
Expand Down Expand Up @@ -334,6 +337,7 @@ generatedFiles:
- src/models/components/metricout.ts
- src/models/components/modelcapabilities.ts
- src/models/components/modellist.ts
- src/models/components/referencechunk.ts
- src/models/components/responseformat.ts
- src/models/components/responseformats.ts
- src/models/components/retrievefileout.ts
Expand Down Expand Up @@ -569,7 +573,7 @@ examples:
moderations_chat_v1_chat_moderations_post:
speakeasy-default-moderations-chat-v1-chat-moderations-post:
requestBody:
application/json: {"input": [[{"content": "<value>"}, {"content": []}, {"content": "<value>"}], []], "model": "V90"}
application/json: {"input": [[{"content": "<value>"}, {"content": "<value>"}, {"content": "<value>"}], [{"content": "<value>"}]], "model": "V90"}
responses:
"200":
application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
Expand Down
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.3.1
version: 1.3.4
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ sources:
- main
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:e44702b93f6a8ac450f1d85b4197f6640f8efb3d5e06be98418ea79acd8f70be
sourceBlobDigest: sha256:94a9891a3bdf3fafea5c41cee226c5e366c206e91e39e734cd2d1163af74f688
sourceRevisionDigest: sha256:9b6ad47076b570f4e23494bf744a7822547d0003e4b10985f26f1c3b5128e631
sourceBlobDigest: sha256:150e3da2a6bfb74e86e2ce864e9a094fc796f3a08df91f6a6e8745b54b3e16bc
tags:
- latest
- main
Expand All @@ -39,10 +39,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:e44702b93f6a8ac450f1d85b4197f6640f8efb3d5e06be98418ea79acd8f70be
sourceBlobDigest: sha256:94a9891a3bdf3fafea5c41cee226c5e366c206e91e39e734cd2d1163af74f688
sourceRevisionDigest: sha256:9b6ad47076b570f4e23494bf744a7822547d0003e4b10985f26f1c3b5128e631
sourceBlobDigest: sha256:150e3da2a6bfb74e86e2ce864e9a094fc796f3a08df91f6a6e8745b54b3e16bc
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:e11c906b44a1097fb47e0ced237d00da922a4a69c0a86283f18d391814915d42
codeSamplesRevisionDigest: sha256:261925abf2036898c032e021086d2a1d6cb2241c9063bf5202adb256144836b2
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,14 @@ Based on:
### Generated
- [typescript v1.3.1] .
### Releases
- [NPM v1.3.1] https://www.npmjs.com/package/@mistralai/mistralai/v/1.3.1 - .
- [NPM v1.3.1] https://www.npmjs.com/package/@mistralai/mistralai/v/1.3.1 - .

## 2024-11-15 18:37:02
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.438.1 (2.457.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.3.4] .
### Releases
- [NPM v1.3.4] https://www.npmjs.com/package/@mistralai/mistralai/v/1.3.4 - .
14 changes: 12 additions & 2 deletions docs/models/components/agentscompletionrequestmessages.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,25 @@ const value: components.AssistantMessage = {};

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

### `components.ToolMessage`

```typescript
const value: components.ToolMessage = {
content: "<value>",
content: [
{
imageUrl: {
url: "https://whimsical-impostor.name",
},
},
],
};
```

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 = "none";
const value: components.ToolChoiceEnum = "required";
```

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ const value: components.SystemMessage = {

```typescript
const value: components.ToolMessage = {
content: "<value>",
content: [
{
referenceIds: [
815524,
],
},
],
};
```

Expand Down
10 changes: 4 additions & 6 deletions docs/models/components/chatclassificationrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ import { ChatClassificationRequest } from "@mistralai/mistralai/models/component

let value: ChatClassificationRequest = {
inputs: [
[
{
content: "<value>",
},
],
{
content: "<value>",
},
],
model: "Impala",
model: "Volt",
};
```

Expand Down
4 changes: 3 additions & 1 deletion docs/models/components/chatclassificationrequestinputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ Chat to classify

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

Expand Down
14 changes: 12 additions & 2 deletions docs/models/components/chatcompletionstreamrequestmessages.md
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 All @@ -29,7 +33,13 @@ const value: components.ToolMessage = {

```typescript
const value: components.UserMessage = {
content: "<value>",
content: [
{
referenceIds: [
699622,
],
},
],
};
```

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 = "none";
```

6 changes: 3 additions & 3 deletions docs/models/components/completionchunk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ import { CompletionChunk } from "@mistralai/mistralai/models/components";

let value: CompletionChunk = {
id: "<id>",
model: "A8",
model: "El Camino",
usage: {
promptTokens: 16,
completionTokens: 34,
totalTokens: 50,
},
choices: [
{
index: 518835,
index: 956406,
delta: {},
finishReason: "length",
finishReason: "stop",
},
],
};
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/completionevent.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import { CompletionEvent } from "@mistralai/mistralai/models/components";
let value: CompletionEvent = {
data: {
id: "<id>",
model: "Explorer",
model: "Mercielago",
usage: {
promptTokens: 16,
completionTokens: 34,
totalTokens: 50,
},
choices: [
{
index: 44612,
index: 277596,
delta: {},
finishReason: "tool_calls",
finishReason: "stop",
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/completionresponsestreamchoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import { CompletionResponseStreamChoice } from "@mistralai/mistralai/models/components";

let value: CompletionResponseStreamChoice = {
index: 959434,
index: 543806,
delta: {},
finishReason: "error",
finishReason: "length",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { CompletionResponseStreamChoiceFinishReason } from "@mistralai/mistralai/models/components";

let value: CompletionResponseStreamChoiceFinishReason = "error";
let value: CompletionResponseStreamChoiceFinishReason = "tool_calls";
```

## Values
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const value: string = "<value>";
```typescript
const value: components.ContentChunk[] = [
{
imageUrl: {
url: "https://muted-pleasure.biz",
},
referenceIds: [
458604,
],
},
];
```
Expand Down
10 changes: 10 additions & 0 deletions docs/models/components/contentchunk.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,13 @@ const value: components.TextChunk = {
};
```

### `components.ReferenceChunk`

```typescript
const value: components.ReferenceChunk = {
referenceIds: [
245367,
],
};
```

2 changes: 1 addition & 1 deletion docs/models/components/imageurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { ImageURL } from "@mistralai/mistralai/models/components";

let value: ImageURL = {
url: "https://lasting-plugin.net/",
url: "https://rich-porter.biz/",
};
```

Expand Down
4 changes: 3 additions & 1 deletion docs/models/components/imageurlchunk.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
import { ImageURLChunk } from "@mistralai/mistralai/models/components";

let value: ImageURLChunk = {
imageUrl: "https://competent-awareness.biz/",
imageUrl: {
url: "https://babyish-ethyl.biz/",
},
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/imageurlchunkimageurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

```typescript
const value: components.ImageURL = {
url: "https://innocent-masterpiece.org/",
url: "https://nocturnal-strategy.net/",
};
```

Expand Down
14 changes: 12 additions & 2 deletions docs/models/components/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,25 @@ const value: components.SystemMessage = {

```typescript
const value: components.ToolMessage = {
content: "<value>",
content: [
{
imageUrl: "https://sour-disposer.info",
},
],
};
```

### `components.UserMessage`

```typescript
const value: components.UserMessage = {
content: "<value>",
content: [
{
imageUrl: {
url: "https://lawful-apricot.net/",
},
},
],
};
```

6 changes: 5 additions & 1 deletion docs/models/components/one.md
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
20 changes: 20 additions & 0 deletions docs/models/components/referencechunk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ReferenceChunk

## Example Usage

```typescript
import { ReferenceChunk } from "@mistralai/mistralai/models/components";

let value: ReferenceChunk = {
referenceIds: [
379927,
],
};
```

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `type` | [components.ReferenceChunkType](../../models/components/referencechunktype.md) | :heavy_minus_sign: | N/A |
| `referenceIds` | *number*[] | :heavy_check_mark: | N/A |
Loading

0 comments on commit 1802be9

Please sign in to comment.