From 9f38dc3636dfbffbc4bae0efec4a32fbbbd0e9cf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 19 Nov 2024 18:27:26 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs | 2 +- src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs | 2 +- src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs | 4 ++-- src/libs/Cohere/Generated/JsonSerializerContext.g.cs | 1 + src/libs/Cohere/openapi.yaml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs index 4732660..ca661c6 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs @@ -577,7 +577,7 @@ partial void ProcessChatv2ResponseContent( /// Default Value: 0.75F /// /// - /// Whether to return the log probabilities of the generated tokens. Defaults to false. + /// Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response. /// /// The token to cancel the operation with /// diff --git a/src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs index 785b62d..c348b0b 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs @@ -92,7 +92,7 @@ public partial interface ICohereApi /// Default Value: 0.75F /// /// - /// Whether to return the log probabilities of the generated tokens. Defaults to false. + /// Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response. /// /// 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 0c280ac..0da0079 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs @@ -127,7 +127,7 @@ public sealed partial class Chatv2Request public float? P { get; set; } /// - /// Whether to return the log probabilities of the generated tokens. Defaults to false. + /// Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response. /// [global::System.Text.Json.Serialization.JsonPropertyName("logprobs")] public bool? Logprobs { get; set; } @@ -209,7 +209,7 @@ public sealed partial class Chatv2Request /// Default Value: 0.75F /// /// - /// Whether to return the log probabilities of the generated tokens. Defaults to false. + /// Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public Chatv2Request( diff --git a/src/libs/Cohere/Generated/JsonSerializerContext.g.cs b/src/libs/Cohere/Generated/JsonSerializerContext.g.cs index 32ab455..3563f2f 100644 --- a/src/libs/Cohere/Generated/JsonSerializerContext.g.cs +++ b/src/libs/Cohere/Generated/JsonSerializerContext.g.cs @@ -175,6 +175,7 @@ namespace Cohere typeof(global::Cohere.JsonConverters.OneOfJsonConverter), typeof(global::Cohere.JsonConverters.OneOfJsonConverter), typeof(global::Cohere.JsonConverters.OneOfJsonConverter), + typeof(global::Cohere.JsonConverters.UnixTimestampJsonConverter), })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Cohere.JsonSerializerContextTypes))] diff --git a/src/libs/Cohere/openapi.yaml b/src/libs/Cohere/openapi.yaml index 710452c..28c8d7a 100644 --- a/src/libs/Cohere/openapi.yaml +++ b/src/libs/Cohere/openapi.yaml @@ -829,7 +829,7 @@ paths: default: 0.75 logprobs: type: boolean - description: "Whether to return the log probabilities of the generated tokens. Defaults to false.\n" + description: "Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response.\n" responses: '200': description: OK