Skip to content

Commit

Permalink
Merge pull request #25 from tryAGI/bot/update-openapi_202408282118
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 28, 2024
2 parents d46085a + 1744a5f commit 43babd8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ partial void ProcessChatv2ResponseContent(
/// <param name="k">
/// Ensures only the top `k` most likely tokens are considered for generation at each step.<br/>
/// Defaults to `0`, min value of `0`, max value of `500`.<br/>
/// Default Value: 0
/// Default Value: 0F
/// </param>
/// <param name="p">
/// 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`.<br/>
/// Defaults to `0.75`. min value of `0.01`, max value of `0.99`.<br/>
/// Default Value: 0.75
/// Default Value: 0.75F
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,18 @@ public sealed partial class Chatv2Request
/// <summary>
/// Ensures only the top `k` most likely tokens are considered for generation at each step.<br/>
/// Defaults to `0`, min value of `0`, max value of `500`.<br/>
/// Default Value: 0
/// Default Value: 0F
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("k")]
public float K { get; set; } = 0;
public float K { get; set; } = 0F;

/// <summary>
/// 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`.<br/>
/// Defaults to `0.75`. min value of `0.01`, max value of `0.99`.<br/>
/// Default Value: 0.75
/// Default Value: 0.75F
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("p")]
public float P { get; set; } = 0.75;
public float P { get; set; } = 0.75F;

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down

0 comments on commit 43babd8

Please sign in to comment.