From af6ff02c114912740d75c2ecb793c411afba9da2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 12 Aug 2024 13:26:57 +0000 Subject: [PATCH 1/2] Bump version file --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index c8fe2be4..c87d2ea9 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v0.0.15 +v0.0.74 From 78bd6486a3a43349b46f249e29b4c96bcecb580f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 12 Aug 2024 13:26:57 +0000 Subject: [PATCH 2/2] Update version to v0.0.74 --- docs/capabilities/agents.md | 2 +- docs/guides/prompting-capabilities.md | 2 +- openapi.yaml | 2 +- version.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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: diff --git a/version.txt b/version.txt index c87d2ea9..c8fe2be4 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v0.0.74 +v0.0.15