Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.434.7 (#44)
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 8, 2024
1 parent e023488 commit 5b905fb
Show file tree
Hide file tree
Showing 54 changed files with 645 additions and 440 deletions.
12 changes: 7 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.434.4
speakeasyVersion: 1.434.7
sources:
mistral-azure-source:
sourceNamespace: mistral-openapi-azure
sourceRevisionDigest: sha256:4e9539e6903e630aa69e48af190a24d3702f6038c7b7a92472c7942597c2a6f5
sourceBlobDigest: sha256:3ace0709471c04a040c9763097fef0081d6c21a1be0b694dfe5991c045b76d18
sourceRevisionDigest: sha256:8fda8235e30128cc8e1c4e1b828316551d03b584568789f262dc287b81d584ee
sourceBlobDigest: sha256:3c039e1f8a2230a86b0e1acec6224f6b8d6f181fb222b6b3b39d38b52075a8ec
tags:
- latest
- main
Expand All @@ -25,8 +25,10 @@ targets:
mistralai-azure-sdk:
source: mistral-azure-source
sourceNamespace: mistral-openapi-azure
sourceRevisionDigest: sha256:4e9539e6903e630aa69e48af190a24d3702f6038c7b7a92472c7942597c2a6f5
sourceBlobDigest: sha256:3ace0709471c04a040c9763097fef0081d6c21a1be0b694dfe5991c045b76d18
sourceRevisionDigest: sha256:8fda8235e30128cc8e1c4e1b828316551d03b584568789f262dc287b81d584ee
sourceBlobDigest: sha256:3c039e1f8a2230a86b0e1acec6224f6b8d6f181fb222b6b3b39d38b52075a8ec
codeSamplesNamespace: mistral-openapi-azure-code-samples
codeSamplesRevisionDigest: sha256:4a8b99cbb396d2379d09fadfa9e09c3f402bfccbee8bddeaeaa0bbdc822f7414
mistralai-gcp-sdk:
source: mistral-google-cloud-source
sourceNamespace: mistral-openapi-google-cloud
Expand Down
23 changes: 13 additions & 10 deletions packages/mistralai-azure/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 01e8a40b-3df3-4d9a-9501-2eb9e0d26c05
management:
docChecksum: e99cb4d498ede912c81ab20b7828c0e3
docChecksum: 0f195020b1080b5c3b1fc5834d30a929
docVersion: 0.0.2
speakeasyVersion: 1.399.3
generationVersion: 2.420.2
releaseVersion: 1.1.0
configChecksum: 394c4e8111cab57180b9bf30fa72d171
speakeasyVersion: 1.434.7
generationVersion: 2.452.0
releaseVersion: 1.3.0
configChecksum: 55c7ae5ef7c8b3cba4660d8a57efc248
repoURL: https://github.com/mistralai/client-ts.git
repoSubDirectory: packages/mistralai-azure
installationURL: https://gitpkg.now.sh/mistralai/client-ts/packages/mistralai-azure
Expand All @@ -15,10 +15,10 @@ features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.11
core: 3.17.5
core: 3.18.3
defaultEnabledRetries: 0.1.0
enumUnions: 0.1.0
envVarSecurityUsage: 0.1.1
envVarSecurityUsage: 0.1.2
examples: 2.81.4
globalSecurity: 2.82.11
globalSecurityCallbacks: 0.1.0
Expand All @@ -29,11 +29,12 @@ features:
openEnums: 0.1.1
responseFormat: 0.2.3
retries: 2.83.0
sdkHooks: 0.1.0
serverEvents: 0.1.4
sdkHooks: 0.2.0
serverEvents: 0.1.5
serverEventsSentinels: 0.1.0
serverIDs: 2.81.2
unions: 2.85.7
tests: 0.7.0
unions: 2.85.8
generatedFiles:
- .eslintrc.cjs
- .gitattributes
Expand All @@ -43,6 +44,7 @@ generatedFiles:
- docs/lib/utils/retryconfig.md
- docs/models/components/arguments.md
- docs/models/components/assistantmessage.md
- docs/models/components/assistantmessagecontent.md
- docs/models/components/assistantmessagerole.md
- docs/models/components/chatcompletionchoice.md
- docs/models/components/chatcompletionchoicefinishreason.md
Expand Down Expand Up @@ -71,6 +73,7 @@ generatedFiles:
- docs/models/components/security.md
- docs/models/components/stop.md
- docs/models/components/systemmessage.md
- docs/models/components/systemmessagecontent.md
- docs/models/components/textchunk.md
- docs/models/components/tool.md
- docs/models/components/toolcall.md
Expand Down
4 changes: 3 additions & 1 deletion packages/mistralai-azure/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ generation:
requestResponseComponentNamesFeb2024: true
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
typescript:
version: 1.1.0
version: 1.3.0
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand All @@ -23,6 +24,7 @@ typescript:
enumFormat: union
envVarPrefix: MISTRAL
flattenGlobalSecurity: true
flatteningOrder: body-first
imports:
option: openapi
paths:
Expand Down
2 changes: 1 addition & 1 deletion packages/mistralai-azure/FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function run() {
const { value: result } = res;

// Handle the result
console.log(result)
console.log(result);
}

run();
Expand Down
12 changes: 11 additions & 1 deletion packages/mistralai-azure/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,14 @@ Based on:
### Generated
- [typescript v1.1.0] packages/mistralai-azure
### Releases
- [NPM v1.1.0] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.1.0 - packages/mistralai-azure
- [NPM v1.1.0] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.1.0 - packages/mistralai-azure

## 2024-11-08 13:01:44
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.434.7 (2.452.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.3.0] packages/mistralai-azure
### Releases
- [NPM v1.3.0] https://www.npmjs.com/package/@mistralai/mistralai-azure/v/1.3.0 - packages/mistralai-azure
13 changes: 4 additions & 9 deletions packages/mistralai-azure/docs/models/components/arguments.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
# Arguments

## Example Usage

```typescript
import { Arguments } from "@mistralai/mistralai-azure/models/components";

let value: Arguments = "<value>";
```

## Supported Types

### `{ [k: string]: any }`

```typescript
const value: { [k: string]: any } = /* values here */
const value: { [k: string]: any } = {
"key": "<value>",
};
```

### `string`

```typescript
const value: string = /* values here */
const value: string = "<value>";
```

Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ let value: AssistantMessage = {};

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `content` | *string* | :heavy_minus_sign: | N/A |
| `toolCalls` | [components.ToolCall](../../models/components/toolcall.md)[] | :heavy_minus_sign: | N/A |
| `prefix` | *boolean* | :heavy_minus_sign: | Set this to `true` when adding an assistant message as prefix to condition the model response. The role of the prefix message is to force the model to start its answer by the content of the message. |
| `role` | [components.AssistantMessageRole](../../models/components/assistantmessagerole.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `content` | *components.AssistantMessageContent* | :heavy_minus_sign: | N/A |
| `toolCalls` | [components.ToolCall](../../models/components/toolcall.md)[] | :heavy_minus_sign: | N/A |
| `prefix` | *boolean* | :heavy_minus_sign: | N/A |
| `role` | [components.AssistantMessageRole](../../models/components/assistantmessagerole.md) | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# AssistantMessageContent


## Supported Types

### `string`

```typescript
const value: string = "<value>";
```

### `components.ContentChunk[]`

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

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ let value: ChatCompletionChoiceFinishReason = "stop";

## Values

This is an open enum. Unrecognized values will be captured as the `Unrecognized<string>` branded type.

```typescript
"stop" | "length" | "model_length" | "error" | "tool_calls"
"stop" | "length" | "model_length" | "error" | "tool_calls" | Unrecognized<string>
```
Loading

0 comments on commit 5b905fb

Please sign in to comment.