From 1744a5ff722413aceb65a30cf79f72e56a64609b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 28 Aug 2024 21:19:01 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs | 8 ++++---- .../Cohere/Generated/Cohere.Models.Chatv2Request.g.cs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs index 28dcfc3..5bf8e7f 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs @@ -149,12 +149,12 @@ partial void ProcessChatv2ResponseContent( /// /// Ensures only the top `k` most likely tokens are considered for generation at each step.
/// Defaults to `0`, min value of `0`, max value of `500`.
- /// Default Value: 0 + /// Default Value: 0F /// /// /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
/// Defaults to `0.75`. min value of `0.01`, max value of `0.99`.
- /// Default Value: 0.75 + /// Default Value: 0.75F /// /// The token to cancel the operation with /// @@ -170,8 +170,8 @@ partial void ProcessChatv2ResponseContent( int seed = default, float frequencyPenalty = default, float presencePenalty = default, - float k = 0, - float p = 0.75, + float k = 0F, + float p = 0.75F, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::Cohere.Chatv2Request diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs index 416f9ae..e11bea8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs @@ -95,18 +95,18 @@ public sealed partial class Chatv2Request /// /// Ensures only the top `k` most likely tokens are considered for generation at each step.
/// Defaults to `0`, min value of `0`, max value of `500`.
- /// Default Value: 0 + /// Default Value: 0F ///
[global::System.Text.Json.Serialization.JsonPropertyName("k")] - public float K { get; set; } = 0; + public float K { get; set; } = 0F; /// /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
/// Defaults to `0.75`. min value of `0.01`, max value of `0.99`.
- /// Default Value: 0.75 + /// Default Value: 0.75F ///
[global::System.Text.Json.Serialization.JsonPropertyName("p")] - public float P { get; set; } = 0.75; + public float P { get; set; } = 0.75F; /// /// Additional properties that are not explicitly defined in the schema