Skip to content
Merged
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
129 changes: 99 additions & 30 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
11 changes: 5 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ sources:
- latest
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:15e39124d61c30c69260e298a909e60996ac6e8623c202d1745b88fc3e67cb2f
sourceBlobDigest: sha256:d16b98efd9214ceb1c89beedc40e67dd09349d5122076f6e16d1a552ee5b3e63
sourceRevisionDigest: sha256:e7953d0c99d1c036d6bfe223052f231a89626f7007a105a96258dad2eedab39e
sourceBlobDigest: sha256:66ed2d18b563f3350de4ab16c9e2ca6ce425c6376feb5fcf1511d5d074908091
tags:
- latest
- speakeasy-sdk-regen-1742466858
targets:
mistralai-azure-sdk:
source: mistral-azure-source
Expand All @@ -37,10 +36,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:15e39124d61c30c69260e298a909e60996ac6e8623c202d1745b88fc3e67cb2f
sourceBlobDigest: sha256:d16b98efd9214ceb1c89beedc40e67dd09349d5122076f6e16d1a552ee5b3e63
sourceRevisionDigest: sha256:e7953d0c99d1c036d6bfe223052f231a89626f7007a105a96258dad2eedab39e
sourceBlobDigest: sha256:66ed2d18b563f3350de4ab16c9e2ca6ce425c6376feb5fcf1511d5d074908091
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:4de7cac024939b19dfba3601531280e278d2d8188dc063827694bda3992666fc
codeSamplesRevisionDigest: sha256:7c657301f482932fca0a3e914d3c25820ebb7e535e1887daea3cd9240eca0444
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 18:35:19
### 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 - .
9 changes: 9 additions & 0 deletions docs/models/chatclassificationrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ChatClassificationRequest


## Fields

| Field | Type | Required | Description |
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
| `model` | *str* | :heavy_check_mark: | N/A |
| `inputs` | [models.Inputs](../models/inputs.md) | :heavy_check_mark: | Chat to classify |
3 changes: 1 addition & 2 deletions docs/models/chatmoderationrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `model` | *str* | :heavy_check_mark: | N/A |
| `inputs` | [models.ChatModerationRequestInputs](../models/chatmoderationrequestinputs.md) | :heavy_check_mark: | Chat to classify |
| `truncate_for_context_length` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| `model` | *str* | :heavy_check_mark: | N/A |
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