diff --git a/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs index a01fc381..11d87b0b 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs @@ -573,7 +573,7 @@ partial void ProcessChatv2ResponseContent( /// /// Used to select the [safety instruction](https://docs.cohere.com/v2/docs/safety-modes) inserted into the prompt. Defaults to `CONTEXTUAL`.
/// When `OFF` is specified, the safety instruction will be omitted.
- /// Safety modes are not yet configurable in combination with `tools`, `tool_results` and `documents` parameters.
+ /// Safety modes are not yet configurable in combination with `tools` and `documents` parameters.
/// **Note**: This parameter is only compatible newer Cohere models, starting with [Command R 08-2024](https://docs.cohere.com/docs/command-r#august-2024-release) and [Command R+ 08-2024](https://docs.cohere.com/docs/command-r-plus#august-2024-release).
/// **Note**: `command-r7b-12-2024` and newer models only support `"CONTEXTUAL"` and `"STRICT"` modes. /// @@ -609,7 +609,7 @@ partial void ProcessChatv2ResponseContent( /// /// /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
- /// When `tools` is passed (without `tool_results`), the `text` content in the response will be empty and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty. + /// The tool definition follows the [JSON Schema](https://json-schema.org/) with the following fields: `name`, `parameters`, and `description`. /// /// The token to cancel the operation with /// diff --git a/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs index 0818b885..8af44218 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs @@ -76,7 +76,7 @@ public partial interface ICohereClient /// /// Used to select the [safety instruction](https://docs.cohere.com/v2/docs/safety-modes) inserted into the prompt. Defaults to `CONTEXTUAL`.
/// When `OFF` is specified, the safety instruction will be omitted.
- /// Safety modes are not yet configurable in combination with `tools`, `tool_results` and `documents` parameters.
+ /// Safety modes are not yet configurable in combination with `tools` and `documents` parameters.
/// **Note**: This parameter is only compatible newer Cohere models, starting with [Command R 08-2024](https://docs.cohere.com/docs/command-r#august-2024-release) and [Command R+ 08-2024](https://docs.cohere.com/docs/command-r-plus#august-2024-release).
/// **Note**: `command-r7b-12-2024` and newer models only support `"CONTEXTUAL"` and `"STRICT"` modes. /// @@ -112,7 +112,7 @@ public partial interface ICohereClient /// /// /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
- /// When `tools` is passed (without `tool_results`), the `text` content in the response will be empty and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty. + /// The tool definition follows the [JSON Schema](https://json-schema.org/) with the following fields: `name`, `parameters`, and `description`. /// /// The token to cancel the operation with /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs index 6924f027..9f5fb16d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs @@ -102,7 +102,7 @@ public sealed partial class Chatv2Request /// /// Used to select the [safety instruction](https://docs.cohere.com/v2/docs/safety-modes) inserted into the prompt. Defaults to `CONTEXTUAL`.
/// When `OFF` is specified, the safety instruction will be omitted.
- /// Safety modes are not yet configurable in combination with `tools`, `tool_results` and `documents` parameters.
+ /// Safety modes are not yet configurable in combination with `tools` and `documents` parameters.
/// **Note**: This parameter is only compatible newer Cohere models, starting with [Command R 08-2024](https://docs.cohere.com/docs/command-r#august-2024-release) and [Command R+ 08-2024](https://docs.cohere.com/docs/command-r-plus#august-2024-release).
/// **Note**: `command-r7b-12-2024` and newer models only support `"CONTEXTUAL"` and `"STRICT"` modes. ///
@@ -161,7 +161,7 @@ public sealed partial class Chatv2Request /// /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
- /// When `tools` is passed (without `tool_results`), the `text` content in the response will be empty and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty. + /// The tool definition follows the [JSON Schema](https://json-schema.org/) with the following fields: `name`, `parameters`, and `description`. ///
[global::System.Text.Json.Serialization.JsonPropertyName("tools")] public global::System.Collections.Generic.IList? Tools { get; set; } @@ -227,7 +227,7 @@ public sealed partial class Chatv2Request /// /// Used to select the [safety instruction](https://docs.cohere.com/v2/docs/safety-modes) inserted into the prompt. Defaults to `CONTEXTUAL`.
/// When `OFF` is specified, the safety instruction will be omitted.
- /// Safety modes are not yet configurable in combination with `tools`, `tool_results` and `documents` parameters.
+ /// Safety modes are not yet configurable in combination with `tools` and `documents` parameters.
/// **Note**: This parameter is only compatible newer Cohere models, starting with [Command R 08-2024](https://docs.cohere.com/docs/command-r#august-2024-release) and [Command R+ 08-2024](https://docs.cohere.com/docs/command-r-plus#august-2024-release).
/// **Note**: `command-r7b-12-2024` and newer models only support `"CONTEXTUAL"` and `"STRICT"` modes. /// @@ -263,7 +263,7 @@ public sealed partial class Chatv2Request /// /// /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
- /// When `tools` is passed (without `tool_results`), the `text` content in the response will be empty and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty. + /// The tool definition follows the [JSON Schema](https://json-schema.org/) with the following fields: `name`, `parameters`, and `description`. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2RequestSafetyMode.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2RequestSafetyMode.g.cs index 70dc96dc..ac6583db 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2RequestSafetyMode.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2RequestSafetyMode.g.cs @@ -6,7 +6,7 @@ namespace Cohere /// /// Used to select the [safety instruction](https://docs.cohere.com/v2/docs/safety-modes) inserted into the prompt. Defaults to `CONTEXTUAL`.
/// When `OFF` is specified, the safety instruction will be omitted.
- /// Safety modes are not yet configurable in combination with `tools`, `tool_results` and `documents` parameters.
+ /// Safety modes are not yet configurable in combination with `tools` and `documents` parameters.
/// **Note**: This parameter is only compatible newer Cohere models, starting with [Command R 08-2024](https://docs.cohere.com/docs/command-r#august-2024-release) and [Command R+ 08-2024](https://docs.cohere.com/docs/command-r-plus#august-2024-release).
/// **Note**: `command-r7b-12-2024` and newer models only support `"CONTEXTUAL"` and `"STRICT"` modes. ///
diff --git a/src/libs/Cohere/openapi.yaml b/src/libs/Cohere/openapi.yaml index a789ca2d..d2eab6cb 100644 --- a/src/libs/Cohere/openapi.yaml +++ b/src/libs/Cohere/openapi.yaml @@ -7459,7 +7459,7 @@ paths: - CONTEXTUAL - STRICT - OFF - description: "Used to select the [safety instruction](https://docs.cohere.com/v2/docs/safety-modes) inserted into the prompt. Defaults to `CONTEXTUAL`.\nWhen `OFF` is specified, the safety instruction will be omitted.\n\nSafety modes are not yet configurable in combination with `tools`, `tool_results` and `documents` parameters.\n\n**Note**: This parameter is only compatible newer Cohere models, starting with [Command R 08-2024](https://docs.cohere.com/docs/command-r#august-2024-release) and [Command R+ 08-2024](https://docs.cohere.com/docs/command-r-plus#august-2024-release).\n\n**Note**: `command-r7b-12-2024` and newer models only support `\"CONTEXTUAL\"` and `\"STRICT\"` modes.\n" + description: "Used to select the [safety instruction](https://docs.cohere.com/v2/docs/safety-modes) inserted into the prompt. Defaults to `CONTEXTUAL`.\nWhen `OFF` is specified, the safety instruction will be omitted.\n\nSafety modes are not yet configurable in combination with `tools` and `documents` parameters.\n\n**Note**: This parameter is only compatible newer Cohere models, starting with [Command R 08-2024](https://docs.cohere.com/docs/command-r#august-2024-release) and [Command R+ 08-2024](https://docs.cohere.com/docs/command-r-plus#august-2024-release).\n\n**Note**: `command-r7b-12-2024` and newer models only support `\"CONTEXTUAL\"` and `\"STRICT\"` modes.\n" x-fern-audiences: - public seed: @@ -7506,7 +7506,7 @@ paths: type: array items: $ref: '#/components/schemas/ToolV2' - description: "A list of available tools (functions) that the model may suggest invoking before producing a text response.\n\nWhen `tools` is passed (without `tool_results`), the `text` content in the response will be empty and the `tool_calls` field in the response will be populated with a list of tool calls that need to be made. If no calls need to be made, the `tool_calls` array will be empty.\n" + description: "A list of available tools (functions) that the model may suggest invoking before producing a text response.\n\nThe tool definition follows the [JSON Schema](https://json-schema.org/) with the following fields: `name`, `parameters`, and `description`.\n" x-fern-audiences: - public responses: