diff --git a/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs
index a2bca79b..65dff03b 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs
@@ -534,7 +534,7 @@ partial void ProcessChatv2ResponseContent(
///
/// Ensures that only the top `k` most likely tokens are considered for generation at each step. When `k` is set to `0`, k-sampling is disabled.
/// Defaults to `0`, min value of `0`, max value of `500`.
- /// Default Value: 0F
+ /// Default Value: 0
///
///
/// Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response.
@@ -620,7 +620,7 @@ partial void ProcessChatv2ResponseContent(
global::Cohere.CitationOptions? citationOptions = default,
global::System.Collections.Generic.IList>? documents = default,
float? frequencyPenalty = default,
- float? k = default,
+ int? k = default,
bool? logprobs = default,
int? maxTokens = default,
float? p = default,
diff --git a/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs
index d4fd6b1e..84a86b76 100644
--- a/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs
@@ -37,7 +37,7 @@ public partial interface ICohereClient
///
/// Ensures that only the top `k` most likely tokens are considered for generation at each step. When `k` is set to `0`, k-sampling is disabled.
/// Defaults to `0`, min value of `0`, max value of `500`.
- /// Default Value: 0F
+ /// Default Value: 0
///
///
/// Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response.
@@ -123,7 +123,7 @@ public partial interface ICohereClient
global::Cohere.CitationOptions? citationOptions = default,
global::System.Collections.Generic.IList>? documents = default,
float? frequencyPenalty = default,
- float? k = default,
+ int? k = default,
bool? logprobs = default,
int? maxTokens = default,
float? p = default,
diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs
index 14f08693..6924f027 100644
--- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs
@@ -32,10 +32,10 @@ public sealed partial class Chatv2Request
///
/// Ensures that only the top `k` most likely tokens are considered for generation at each step. When `k` is set to `0`, k-sampling is disabled.
/// Defaults to `0`, min value of `0`, max value of `500`.
- /// Default Value: 0F
+ /// Default Value: 0
///
[global::System.Text.Json.Serialization.JsonPropertyName("k")]
- public float? K { get; set; }
+ public int? K { get; set; }
///
/// Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response.
@@ -188,7 +188,7 @@ public sealed partial class Chatv2Request
///
/// Ensures that only the top `k` most likely tokens are considered for generation at each step. When `k` is set to `0`, k-sampling is disabled.
/// Defaults to `0`, min value of `0`, max value of `500`.
- /// Default Value: 0F
+ /// Default Value: 0
///
///
/// Defaults to `false`. When set to `true`, the log probabilities of the generated tokens will be included in the response.
@@ -274,7 +274,7 @@ public Chatv2Request(
global::Cohere.CitationOptions? citationOptions,
global::System.Collections.Generic.IList>? documents,
float? frequencyPenalty,
- float? k,
+ int? k,
bool? logprobs,
int? maxTokens,
float? p,
diff --git a/src/libs/Cohere/openapi.yaml b/src/libs/Cohere/openapi.yaml
index 361cde2c..a9fc5f38 100644
--- a/src/libs/Cohere/openapi.yaml
+++ b/src/libs/Cohere/openapi.yaml
@@ -7412,9 +7412,8 @@ paths:
k:
maximum: 500
minimum: 0
- type: number
+ type: integer
description: "Ensures that only the top `k` most likely tokens are considered for generation at each step. When `k` is set to `0`, k-sampling is disabled.\nDefaults to `0`, min value of `0`, max value of `500`.\n"
- format: float
default: 0
x-fern-audiences:
- public