Skip to content

Commit

Permalink
Merge pull request #131 from tryAGI/bot/update-openapi_202412201825
Browse files Browse the repository at this point in the history
feat:No changes made in the pull request.
  • Loading branch information
github-actions[bot] authored Dec 20, 2024
2 parents c45152f + 4871065 commit 96f5559
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -601,9 +601,9 @@ partial void ProcessGenerateResponseContent(
/// Included only in requests
/// </param>
/// <param name="returnLikelihoods">
/// One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// One of `GENERATION|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// If `GENERATION` is selected, the token likelihoods will only be provided for generated text.<br/>
/// If `ALL` is selected, the token likelihoods will be provided both for the prompt and the generated text.<br/>
/// WARNING: `ALL` is deprecated, and will be removed in a future release.<br/>
/// Default Value: NONE
/// </param>
/// <param name="rawPrompting">
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Cohere/Generated/Cohere.ICohereApi.Generate.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ public partial interface ICohereApi
/// Included only in requests
/// </param>
/// <param name="returnLikelihoods">
/// One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// One of `GENERATION|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// If `GENERATION` is selected, the token likelihoods will only be provided for generated text.<br/>
/// If `ALL` is selected, the token likelihoods will be provided both for the prompt and the generated text.<br/>
/// WARNING: `ALL` is deprecated, and will be removed in a future release.<br/>
/// Default Value: NONE
/// </param>
/// <param name="rawPrompting">
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ public sealed partial class GenerateRequest
public double? PresencePenalty { get; set; }

/// <summary>
/// One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// One of `GENERATION|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// If `GENERATION` is selected, the token likelihoods will only be provided for generated text.<br/>
/// If `ALL` is selected, the token likelihoods will be provided both for the prompt and the generated text.<br/>
/// WARNING: `ALL` is deprecated, and will be removed in a future release.<br/>
/// Default Value: NONE
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("return_likelihoods")]
Expand Down Expand Up @@ -248,9 +248,9 @@ public sealed partial class GenerateRequest
/// Included only in requests
/// </param>
/// <param name="returnLikelihoods">
/// One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// One of `GENERATION|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// If `GENERATION` is selected, the token likelihoods will only be provided for generated text.<br/>
/// If `ALL` is selected, the token likelihoods will be provided both for the prompt and the generated text.<br/>
/// WARNING: `ALL` is deprecated, and will be removed in a future release.<br/>
/// Default Value: NONE
/// </param>
/// <param name="rawPrompting">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
namespace Cohere
{
/// <summary>
/// One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// One of `GENERATION|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.<br/>
/// If `GENERATION` is selected, the token likelihoods will only be provided for generated text.<br/>
/// If `ALL` is selected, the token likelihoods will be provided both for the prompt and the generated text.<br/>
/// WARNING: `ALL` is deprecated, and will be removed in a future release.<br/>
/// Default Value: NONE
/// </summary>
public enum GenerateRequestReturnLikelihoods
Expand All @@ -16,7 +16,7 @@ public enum GenerateRequestReturnLikelihoods
/// </summary>
GENERATION,
/// <summary>
///
/// `ALL` is deprecated, and will be removed in a future release.
/// </summary>
ALL,
/// <summary>
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 @@ -1440,7 +1440,7 @@ paths:
- ALL
- NONE
type: string
description: "One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.\n\nIf `GENERATION` is selected, the token likelihoods will only be provided for generated text.\n\nIf `ALL` is selected, the token likelihoods will be provided both for the prompt and the generated text."
description: "One of `GENERATION|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.\n\nIf `GENERATION` is selected, the token likelihoods will only be provided for generated text.\n\nWARNING: `ALL` is deprecated, and will be removed in a future release."
default: NONE
x-fern-audiences:
- public
Expand Down

0 comments on commit 96f5559

Please sign in to comment.