You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
Mistral AI provides the ability to stream responses back to a client in order to allow partial results for certain requests. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
@@ -96,8 +95,6 @@ if res is not None:
96
95
97
96
```
98
97
99
-
100
-
101
98
### Parameters
102
99
103
100
| Parameter | Type | Required | Description | Example |
|`retries`|[Optional[utils.RetryConfig]](../../models/utils/retryconfig.md)|:heavy_minus_sign:| Configuration to override the default retry behavior of the client. ||
Copy file name to clipboardexpand all lines: docs/sdks/chat/README.md
+3-6
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,6 @@ if res is not None:
38
38
39
39
```
40
40
41
-
42
-
43
41
### Parameters
44
42
45
43
| Parameter | Type | Required | Description | Example |
@@ -59,17 +57,18 @@ if res is not None:
59
57
| `safe_prompt` | *Optional[bool]* | :heavy_minus_sign: | Whether to inject a safety prompt before all conversations. | |
60
58
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
Mistral AI provides the ability to stream responses back to a client in order to allow partial results for certain requests. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
@@ -99,8 +98,6 @@ if res is not None:
99
98
100
99
```
101
100
102
-
103
-
104
101
### Parameters
105
102
106
103
| Parameter | Type | Required | Description | Example |
@@ -120,10 +117,10 @@ if res is not None:
120
117
| `safe_prompt` | *Optional[bool]* | :heavy_minus_sign: | Whether to inject a safety prompt before all conversations. | |
121
118
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
0 commit comments