diff --git a/docs/capabilities/agents.md b/docs/capabilities/agents.md index 2b60e394..44504583 100644 --- a/docs/capabilities/agents.md +++ b/docs/capabilities/agents.md @@ -123,7 +123,7 @@ console.log('Chat:', chatResponse.choices[0].message.content); ```bash -curl --location "https://api.mistral.ai/v1/chat/completions" \ +curl --location "https://api.mistral.ai/v1/agents/completions" \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header "Authorization: Bearer $MISTRAL_API_KEY" \ diff --git a/docs/guides/prompting-capabilities.md b/docs/guides/prompting-capabilities.md index 42c3304c..467063e5 100644 --- a/docs/guides/prompting-capabilities.md +++ b/docs/guides/prompting-capabilities.md @@ -221,7 +221,7 @@ You will only respond with a JSON object with the key Summary and Confidence. Do #### Strategies we used: -- **JSON output**: For facilitating downstream tasks, JSON format output is frequently preferred. We can enable the JSON mode by setting the response_format to `{"type": "json_object"}` and specify in the prompt that "You will only respond with a JSON object with the key Summary and Confidence." Specifying these keys within the JSON object is beneficial for clarity and consistency. +- **JSON output**: For facilitating downstream tasks, JSON format output is frequently preferred. We can We can enable the JSON mode by setting the response_format to `{"type": "json_object"}` and specify in the prompt that "You will only respond with a JSON object with the key Summary and Confidence." Specifying these keys within the JSON object is beneficial for clarity and consistency. - **Higher Temperature**: In this example, we increase the temperature score to encourage the model to be more creative and output three generated summaries that are different from each other. ### Introduce an evaluation step diff --git a/openapi.yaml b/openapi.yaml index e5072b8f..585a61fa 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2299,7 +2299,7 @@ components: type: object required: - index - - text + - message - finish_reason properties: index: