Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 100 additions & 27 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
python:
version: 1.6.0
version: 1.7.0
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ sources:
- latest
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:15e39124d61c30c69260e298a909e60996ac6e8623c202d1745b88fc3e67cb2f
sourceBlobDigest: sha256:d16b98efd9214ceb1c89beedc40e67dd09349d5122076f6e16d1a552ee5b3e63
sourceRevisionDigest: sha256:078497e6b54f234c9db0868e4c17dfc5321b739986dafeb1ec3f9a9d2e5f1c2c
sourceBlobDigest: sha256:2f7c78f321efe607451de46234c43417f5c9c3e777f26a88192e32fbede6ac5c
tags:
- latest
- speakeasy-sdk-regen-1742466858
- speakeasy-sdk-regen-1744804492
targets:
mistralai-azure-sdk:
source: mistral-azure-source
Expand All @@ -37,10 +37,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:15e39124d61c30c69260e298a909e60996ac6e8623c202d1745b88fc3e67cb2f
sourceBlobDigest: sha256:d16b98efd9214ceb1c89beedc40e67dd09349d5122076f6e16d1a552ee5b3e63
sourceRevisionDigest: sha256:078497e6b54f234c9db0868e4c17dfc5321b739986dafeb1ec3f9a9d2e5f1c2c
sourceBlobDigest: sha256:2f7c78f321efe607451de46234c43417f5c9c3e777f26a88192e32fbede6ac5c
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:4de7cac024939b19dfba3601531280e278d2d8188dc063827694bda3992666fc
codeSamplesRevisionDigest: sha256:4adef94c33c9b841797ad427773e4d78b28aeb9778333a979d0febe5581ed84e
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.517.3
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA

* [moderate](docs/sdks/classifiers/README.md#moderate) - Moderations
* [moderate_chat](docs/sdks/classifiers/README.md#moderate_chat) - Chat Moderations
* [classify](docs/sdks/classifiers/README.md#classify) - Classifications
* [classify_chat](docs/sdks/classifiers/README.md#classify_chat) - Chat Classifications

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

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,14 @@ Based on:
### Generated
- [python v1.6.0] .
### Releases
- [PyPI v1.6.0] https://pypi.org/project/mistralai/1.6.0 - .
- [PyPI v1.6.0] https://pypi.org/project/mistralai/1.6.0 - .

## 2025-04-16 15:40:28
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.7.0] .
### Releases
- [PyPI v1.7.0] https://pypi.org/project/mistralai/1.7.0 - .
10 changes: 10 additions & 0 deletions docs/models/chatclassificationrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ChatClassificationRequest


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `model` | *str* | :heavy_check_mark: | N/A |
| `inputs` | [models.ChatClassificationRequestInputs](../models/chatclassificationrequestinputs.md) | :heavy_check_mark: | Chat to classify |
| `truncate_for_context_length` | *Optional[bool]* | :heavy_minus_sign: | N/A |
19 changes: 19 additions & 0 deletions docs/models/chatclassificationrequestinputs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# ChatClassificationRequestInputs

Chat to classify


## Supported Types

### `models.InputsInputs`

```python
value: models.InputsInputs = /* values here */
```

### `List[models.InstructRequestAnnotatedUnionSystemMessageUserMessageAssistantMessageToolMessageFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorRoleTool]`

```python
value: List[models.InstructRequestAnnotatedUnionSystemMessageUserMessageAssistantMessageToolMessageFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorRoleTool] = /* values here */
```

9 changes: 0 additions & 9 deletions docs/models/classificationobject.md

This file was deleted.

10 changes: 5 additions & 5 deletions docs/models/classificationresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | mod-e5cc70bb28c444948073e77776eb30ef |
| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | |
| `results` | List[[models.ClassificationObject](../models/classificationobject.md)] | :heavy_minus_sign: | N/A | |
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| `id` | *str* | :heavy_check_mark: | N/A | mod-e5cc70bb28c444948073e77776eb30ef |
| `model` | *str* | :heavy_check_mark: | N/A | |
| `results` | List[Dict[str, [models.ClassificationTargetResult](../models/classificationtargetresult.md)]] | :heavy_check_mark: | N/A | |
8 changes: 8 additions & 0 deletions docs/models/classificationtargetresult.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ClassificationTargetResult


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `scores` | Dict[str, *float*] | :heavy_check_mark: | N/A |
Loading
Loading