Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Update openapi.yaml file in src/libs/Cohere directory #109

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ partial void ProcessChatv2ResponseContent(
/// Default Value: 0.75F
/// </param>
/// <param name="logprobs">
/// 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.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public partial interface ICohereApi
/// Default Value: 0.75F
/// </param>
/// <param name="logprobs">
/// 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.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public sealed partial class Chatv2Request
public float? P { get; set; }

/// <summary>
/// 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.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("logprobs")]
public bool? Logprobs { get; set; }
Expand Down Expand Up @@ -209,7 +209,7 @@ public sealed partial class Chatv2Request
/// Default Value: 0.75F
/// </param>
/// <param name="logprobs">
/// 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.
/// </param>
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
public Chatv2Request(
Expand Down
1 change: 1 addition & 0 deletions src/libs/Cohere/Generated/JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ namespace Cohere
typeof(global::Cohere.JsonConverters.OneOfJsonConverter<global::Cohere.NonStreamedChatResponse, global::Cohere.StreamedChatResponse?>),
typeof(global::Cohere.JsonConverters.OneOfJsonConverter<global::Cohere.ChatResponse, global::Cohere.StreamedChatResponseV2?>),
typeof(global::Cohere.JsonConverters.OneOfJsonConverter<global::Cohere.EmbedFloatsResponse, global::Cohere.EmbedByTypeResponse>),
typeof(global::Cohere.JsonConverters.UnixTimestampJsonConverter),
})]

[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Cohere.JsonSerializerContextTypes))]
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading