Skip to content

Commit

Permalink
Merge pull request #63 from tryAGI/bot/update-openapi_202409270920
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 27, 2024
2 parents a921288 + 215062c commit 8ff5b57
Show file tree
Hide file tree
Showing 6 changed files with 525 additions and 498 deletions.
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ partial void ProcessEmbedv2ResponseContent(
public async global::System.Threading.Tasks.Task<global::Cohere.EmbedByTypeResponse> Embedv2Async(
global::System.Collections.Generic.IList<string> texts,
string model,
global::Cohere.EmbedInputType inputType,
global::System.Collections.Generic.IList<global::Cohere.EmbeddingType> embeddingTypes,
global::Cohere.Embedv2RequestTruncate truncate,
string? xClientName = default,
global::Cohere.EmbedInputType? inputType = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::Cohere.Embedv2Request
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.ICohereApi.Embedv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ public partial interface ICohereApi
global::System.Threading.Tasks.Task<global::Cohere.EmbedByTypeResponse> Embedv2Async(
global::System.Collections.Generic.IList<string> texts,
string model,
global::Cohere.EmbedInputType inputType,
global::System.Collections.Generic.IList<global::Cohere.EmbeddingType> embeddingTypes,
global::Cohere.Embedv2RequestTruncate truncate,
string? xClientName = default,
global::Cohere.EmbedInputType? inputType = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
3 changes: 2 additions & 1 deletion src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public sealed partial class Embedv2Request
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("input_type")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Cohere.JsonConverters.EmbedInputTypeJsonConverter))]
public global::Cohere.EmbedInputType? InputType { get; set; }
[global::System.Text.Json.Serialization.JsonRequired]
public required global::Cohere.EmbedInputType InputType { get; set; }

/// <summary>
/// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.<br/>
Expand Down
18 changes: 18 additions & 0 deletions src/libs/Cohere/Generated/Cohere.Models.FeedbackResponse.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

#nullable enable

namespace Cohere
{
/// <summary>
///
/// </summary>
public sealed partial class FeedbackResponse
{

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
[global::System.Text.Json.Serialization.JsonExtensionData]
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();
}
}
Loading

0 comments on commit 8ff5b57

Please sign in to comment.