diff --git a/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs index ab000be7..bf99cf22 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs @@ -589,8 +589,7 @@ partial void ProcessChatv2ResponseContent( /// /// Defaults to `false`.
/// When `true`, the response will be a SSE stream of events. The final event will contain the complete response, and will have an `event_type` of `"stream-end"`.
- /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
- /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated. /// /// /// When set to `true`, tool calls in the Assistant message will be forced to follow the tool definition strictly. Learn more in the [Structured Outputs (Tools) guide](https://docs.cohere.com/docs/structured-outputs-json#structured-outputs-tools).
diff --git a/src/libs/Cohere/Generated/Cohere.CohereClient.Embedv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereClient.Embedv2.g.cs index 96153b08..97305f8f 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereClient.Embedv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereClient.Embedv2.g.cs @@ -544,6 +544,7 @@ partial void ProcessEmbedv2ResponseContent( /// - `"clustering"`: Used for the embeddings run through a clustering algorithm.
/// - `"image"`: Used for embeddings with image input. /// + /// /// /// Defaults to embed-english-v2.0
/// The identifier of the model. Smaller "light" models are faster, while larger models will perform better. [Custom models](https://docs.cohere.com/docs/training-custom-models) can also be supplied with their full ID.
@@ -557,6 +558,7 @@ partial void ProcessEmbedv2ResponseContent( /// * `embed-multilingual-v2.0` 768
/// Included only in requests /// + /// /// /// An array of strings for the model to embed. Maximum number of texts per call is `96`. We recommend reducing the length of each text to be under `512` tokens for optimal quality.
/// Included only in requests @@ -578,6 +580,8 @@ partial void ProcessEmbedv2ResponseContent( global::Cohere.Embedv2RequestTruncate truncate, string? xClientName = default, global::System.Collections.Generic.IList? images = default, + global::System.Collections.Generic.IList? inputs = default, + int? outputDimension = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::Cohere.Embedv2Request @@ -585,7 +589,9 @@ partial void ProcessEmbedv2ResponseContent( EmbeddingTypes = embeddingTypes, Images = images, InputType = inputType, + Inputs = inputs, Model = model, + OutputDimension = outputDimension, Texts = texts, Truncate = truncate, }; diff --git a/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs index 427ab9e9..b89bf954 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs @@ -92,8 +92,7 @@ public partial interface ICohereClient /// /// Defaults to `false`.
/// When `true`, the response will be a SSE stream of events. The final event will contain the complete response, and will have an `event_type` of `"stream-end"`.
- /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
- /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated. /// /// /// When set to `true`, tool calls in the Assistant message will be forced to follow the tool definition strictly. Learn more in the [Structured Outputs (Tools) guide](https://docs.cohere.com/docs/structured-outputs-json#structured-outputs-tools).
diff --git a/src/libs/Cohere/Generated/Cohere.ICohereClient.Embedv2.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereClient.Embedv2.g.cs index 4158b2ef..3157108e 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereClient.Embedv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereClient.Embedv2.g.cs @@ -47,6 +47,7 @@ public partial interface ICohereClient /// - `"clustering"`: Used for the embeddings run through a clustering algorithm.
/// - `"image"`: Used for embeddings with image input. /// + /// /// /// Defaults to embed-english-v2.0
/// The identifier of the model. Smaller "light" models are faster, while larger models will perform better. [Custom models](https://docs.cohere.com/docs/training-custom-models) can also be supplied with their full ID.
@@ -60,6 +61,7 @@ public partial interface ICohereClient /// * `embed-multilingual-v2.0` 768
/// Included only in requests /// + /// /// /// An array of strings for the model to embed. Maximum number of texts per call is `96`. We recommend reducing the length of each text to be under `512` tokens for optimal quality.
/// Included only in requests @@ -81,6 +83,8 @@ public partial interface ICohereClient global::Cohere.Embedv2RequestTruncate truncate, string? xClientName = default, global::System.Collections.Generic.IList? images = default, + global::System.Collections.Generic.IList? inputs = default, + int? outputDimension = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs index ae90d2a7..5e5a233b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs @@ -128,8 +128,7 @@ public sealed partial class Chatv2Request /// /// Defaults to `false`.
/// When `true`, the response will be a SSE stream of events. The final event will contain the complete response, and will have an `event_type` of `"stream-end"`.
- /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
- /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated. ///
[global::System.Text.Json.Serialization.JsonPropertyName("stream")] public bool? Stream { get; set; } @@ -244,8 +243,7 @@ public sealed partial class Chatv2Request /// /// Defaults to `false`.
/// When `true`, the response will be a SSE stream of events. The final event will contain the complete response, and will have an `event_type` of `"stream-end"`.
- /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
- /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments + /// Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated. /// /// /// When set to `true`, tool calls in the Assistant message will be forced to follow the tool definition strictly. Learn more in the [Structured Outputs (Tools) guide](https://docs.cohere.com/docs/structured-outputs-json#structured-outputs-tools).
diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponse.g.cs index a6a7e437..1a6a9a18 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponse.g.cs @@ -46,8 +46,7 @@ public sealed partial class EmbedByTypeResponse /// The text entries for which embeddings were returned. /// [global::System.Text.Json.Serialization.JsonPropertyName("texts")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Texts { get; set; } + public global::System.Collections.Generic.IList? Texts { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -76,18 +75,18 @@ public sealed partial class EmbedByTypeResponse #endif public EmbedByTypeResponse( string id, - global::System.Collections.Generic.IList texts, global::System.Collections.Generic.IList? images, global::Cohere.ApiMeta? meta, global::Cohere.EmbedByTypeResponseResponseType? responseType, + global::System.Collections.Generic.IList? texts, global::Cohere.EmbedByTypeResponseEmbeddings embeddings = default!) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Texts = texts ?? throw new global::System.ArgumentNullException(nameof(texts)); this.Embeddings = embeddings; this.Images = images; this.Meta = meta; this.ResponseType = responseType; + this.Texts = texts; } /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.Json.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.Json.g.cs new file mode 100644 index 00000000..ae1e7e78 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Cohere +{ + public readonly partial struct EmbedContent + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Cohere.EmbedContent? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Cohere.EmbedContent), + jsonSerializerContext) as global::Cohere.EmbedContent?; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Cohere.EmbedContent? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Cohere.EmbedContent), + jsonSerializerContext).ConfigureAwait(false)) as global::Cohere.EmbedContent?; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.g.cs new file mode 100644 index 00000000..1f71a7b5 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedContent.g.cs @@ -0,0 +1,230 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public readonly partial struct EmbedContent : global::System.IEquatable + { + /// + /// + /// + public global::Cohere.EmbedContentDiscriminatorType? Type { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Cohere.EmbedImage? ImageUrl { get; init; } +#else + public global::Cohere.EmbedImage? ImageUrl { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ImageUrl))] +#endif + public bool IsImageUrl => ImageUrl != null; + + /// + /// + /// + public static implicit operator EmbedContent(global::Cohere.EmbedImage value) => new EmbedContent(value); + + /// + /// + /// + public static implicit operator global::Cohere.EmbedImage?(EmbedContent @this) => @this.ImageUrl; + + /// + /// + /// + public EmbedContent(global::Cohere.EmbedImage? value) + { + ImageUrl = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Cohere.EmbedText? Text { get; init; } +#else + public global::Cohere.EmbedText? Text { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Text))] +#endif + public bool IsText => Text != null; + + /// + /// + /// + public static implicit operator EmbedContent(global::Cohere.EmbedText value) => new EmbedContent(value); + + /// + /// + /// + public static implicit operator global::Cohere.EmbedText?(EmbedContent @this) => @this.Text; + + /// + /// + /// + public EmbedContent(global::Cohere.EmbedText? value) + { + Text = value; + } + + /// + /// + /// + public EmbedContent( + global::Cohere.EmbedContentDiscriminatorType? type, + global::Cohere.EmbedImage? imageUrl, + global::Cohere.EmbedText? text + ) + { + Type = type; + + ImageUrl = imageUrl; + Text = text; + } + + /// + /// + /// + public object? Object => + Text as object ?? + ImageUrl as object + ; + + /// + /// + /// + public override string? ToString() => + ImageUrl?.ToString() ?? + Text?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsImageUrl && !IsText || !IsImageUrl && IsText; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? imageUrl = null, + global::System.Func? text = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsImageUrl && imageUrl != null) + { + return imageUrl(ImageUrl!); + } + else if (IsText && text != null) + { + return text(Text!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? imageUrl = null, + global::System.Action? text = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsImageUrl) + { + imageUrl?.Invoke(ImageUrl!); + } + else if (IsText) + { + text?.Invoke(Text!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + ImageUrl, + typeof(global::Cohere.EmbedImage), + Text, + typeof(global::Cohere.EmbedText), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(EmbedContent other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(ImageUrl, other.ImageUrl) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Text, other.Text) + ; + } + + /// + /// + /// + public static bool operator ==(EmbedContent obj1, EmbedContent obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(EmbedContent obj1, EmbedContent obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is EmbedContent o && Equals(o); + } + } +} diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminator.Json.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminator.Json.g.cs new file mode 100644 index 00000000..6b83a9c0 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminator.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Cohere +{ + public sealed partial class EmbedContentDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Cohere.EmbedContentDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Cohere.EmbedContentDiscriminator), + jsonSerializerContext) as global::Cohere.EmbedContentDiscriminator; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Cohere.EmbedContentDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Cohere.EmbedContentDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::Cohere.EmbedContentDiscriminator; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminator.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminator.g.cs new file mode 100644 index 00000000..7db446f3 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminator.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class EmbedContentDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Cohere.JsonConverters.EmbedContentDiscriminatorTypeJsonConverter))] + public global::Cohere.EmbedContentDiscriminatorType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EmbedContentDiscriminator( + global::Cohere.EmbedContentDiscriminatorType? type) + { + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public EmbedContentDiscriminator() + { + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminatorType.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminatorType.g.cs new file mode 100644 index 00000000..fe938a1e --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedContentDiscriminatorType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public enum EmbedContentDiscriminatorType + { + /// + /// + /// + ImageUrl, + /// + /// + /// + Text, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class EmbedContentDiscriminatorTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this EmbedContentDiscriminatorType value) + { + return value switch + { + EmbedContentDiscriminatorType.ImageUrl => "image_url", + EmbedContentDiscriminatorType.Text => "text", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static EmbedContentDiscriminatorType? ToEnum(string value) + { + return value switch + { + "image_url" => EmbedContentDiscriminatorType.ImageUrl, + "text" => EmbedContentDiscriminatorType.Text, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedContentType.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedContentType.g.cs new file mode 100644 index 00000000..34362ea2 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedContentType.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// Included only in requests + /// + public enum EmbedContentType + { + /// + /// + /// + Text, + /// + /// + /// + ImageUrl, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class EmbedContentTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this EmbedContentType value) + { + return value switch + { + EmbedContentType.Text => "text", + EmbedContentType.ImageUrl => "image_url", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static EmbedContentType? ToEnum(string value) + { + return value switch + { + "text" => EmbedContentType.Text, + "image_url" => EmbedContentType.ImageUrl, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedImage.Json.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedImage.Json.g.cs new file mode 100644 index 00000000..813ab859 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedImage.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Cohere +{ + public sealed partial class EmbedImage + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Cohere.EmbedImage? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Cohere.EmbedImage), + jsonSerializerContext) as global::Cohere.EmbedImage; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Cohere.EmbedImage? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Cohere.EmbedImage), + jsonSerializerContext).ConfigureAwait(false)) as global::Cohere.EmbedImage; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedImage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedImage.g.cs new file mode 100644 index 00000000..c8a8a7f6 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedImage.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class EmbedImage + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("image")] + public global::Cohere.EmbedImageProperties? Image { get; set; } + + /// + /// Included only in requests + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Cohere.JsonConverters.EmbedContentTypeJsonConverter))] + public global::Cohere.EmbedContentType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Included only in requests + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EmbedImage( + global::Cohere.EmbedImageProperties? image, + global::Cohere.EmbedContentType? type) + { + this.Image = image; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public EmbedImage() + { + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedImageProperties.Json.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedImageProperties.Json.g.cs new file mode 100644 index 00000000..b1189880 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedImageProperties.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Cohere +{ + public sealed partial class EmbedImageProperties + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Cohere.EmbedImageProperties? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Cohere.EmbedImageProperties), + jsonSerializerContext) as global::Cohere.EmbedImageProperties; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Cohere.EmbedImageProperties? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Cohere.EmbedImageProperties), + jsonSerializerContext).ConfigureAwait(false)) as global::Cohere.EmbedImageProperties; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedImageProperties.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedImageProperties.g.cs new file mode 100644 index 00000000..b61ef73a --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedImageProperties.g.cs @@ -0,0 +1,78 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class EmbedImageProperties + { + /// + /// Bit depth of the image + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bit_depth")] + public double? BitDepth { get; set; } + + /// + /// Format of the image + /// + [global::System.Text.Json.Serialization.JsonPropertyName("format")] + public string? Format { get; set; } + + /// + /// Height of the image in pixels + /// + [global::System.Text.Json.Serialization.JsonPropertyName("height")] + public double? Height { get; set; } + + /// + /// Width of the image in pixels + /// + [global::System.Text.Json.Serialization.JsonPropertyName("width")] + public double? Width { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Bit depth of the image + /// + /// + /// Format of the image + /// + /// + /// Height of the image in pixels + /// + /// + /// Width of the image in pixels + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EmbedImageProperties( + double? bitDepth, + string? format, + double? height, + double? width) + { + this.BitDepth = bitDepth; + this.Format = format; + this.Height = height; + this.Width = width; + } + + /// + /// Initializes a new instance of the class. + /// + public EmbedImageProperties() + { + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedInput.Json.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedInput.Json.g.cs new file mode 100644 index 00000000..c02c92d1 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedInput.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Cohere +{ + public sealed partial class EmbedInput + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Cohere.EmbedInput? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Cohere.EmbedInput), + jsonSerializerContext) as global::Cohere.EmbedInput; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Cohere.EmbedInput? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Cohere.EmbedInput), + jsonSerializerContext).ConfigureAwait(false)) as global::Cohere.EmbedInput; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedInput.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedInput.g.cs new file mode 100644 index 00000000..363f8da4 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedInput.g.cs @@ -0,0 +1,44 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class EmbedInput + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Content { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EmbedInput( + global::System.Collections.Generic.IList content) + { + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); + } + + /// + /// Initializes a new instance of the class. + /// + public EmbedInput() + { + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedText.Json.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedText.Json.g.cs new file mode 100644 index 00000000..bf39f35a --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedText.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace Cohere +{ + public sealed partial class EmbedText + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Cohere.EmbedText? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Cohere.EmbedText), + jsonSerializerContext) as global::Cohere.EmbedText; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::Cohere.EmbedText? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::Cohere.EmbedText), + jsonSerializerContext).ConfigureAwait(false)) as global::Cohere.EmbedText; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedText.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedText.g.cs new file mode 100644 index 00000000..e6ab8fc7 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedText.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class EmbedText + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("text")] + public string? Text { get; set; } + + /// + /// Included only in requests + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Cohere.JsonConverters.EmbedContentTypeJsonConverter))] + public global::Cohere.EmbedContentType? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Included only in requests + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EmbedText( + string? text, + global::Cohere.EmbedContentType? type) + { + this.Text = text; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public EmbedText() + { + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs index 7e014276..ce841c7d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs @@ -40,6 +40,12 @@ public sealed partial class Embedv2Request [global::System.Text.Json.Serialization.JsonRequired] public required global::Cohere.EmbedInputType InputType { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inputs")] + public global::System.Collections.Generic.IList? Inputs { get; set; } + /// /// Defaults to embed-english-v2.0
/// The identifier of the model. Smaller "light" models are faster, while larger models will perform better. [Custom models](https://docs.cohere.com/docs/training-custom-models) can also be supplied with their full ID.
@@ -56,6 +62,12 @@ public sealed partial class Embedv2Request [global::System.Text.Json.Serialization.JsonPropertyName("model")] public string? Model { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output_dimension")] + public int? OutputDimension { get; set; } + /// /// An array of strings for the model to embed. Maximum number of texts per call is `96`. We recommend reducing the length of each text to be under `512` tokens for optimal quality.
/// Included only in requests @@ -104,6 +116,7 @@ public sealed partial class Embedv2Request /// - `"clustering"`: Used for the embeddings run through a clustering algorithm.
/// - `"image"`: Used for embeddings with image input. /// + /// /// /// Defaults to embed-english-v2.0
/// The identifier of the model. Smaller "light" models are faster, while larger models will perform better. [Custom models](https://docs.cohere.com/docs/training-custom-models) can also be supplied with their full ID.
@@ -117,6 +130,7 @@ public sealed partial class Embedv2Request /// * `embed-multilingual-v2.0` 768
/// Included only in requests /// + /// /// /// An array of strings for the model to embed. Maximum number of texts per call is `96`. We recommend reducing the length of each text to be under `512` tokens for optimal quality.
/// Included only in requests @@ -135,14 +149,18 @@ public Embedv2Request( global::Cohere.EmbedInputType inputType, global::System.Collections.Generic.IList? embeddingTypes, global::System.Collections.Generic.IList? images, + global::System.Collections.Generic.IList? inputs, string? model, + int? outputDimension, global::System.Collections.Generic.IList? texts, global::Cohere.Embedv2RequestTruncate? truncate) { this.InputType = inputType; this.EmbeddingTypes = embeddingTypes; this.Images = images; + this.Inputs = inputs; this.Model = model; + this.OutputDimension = outputDimension; this.Texts = texts; this.Truncate = truncate; } diff --git a/src/libs/Cohere/Generated/JsonConverters.EmbedContent.g.cs b/src/libs/Cohere/Generated/JsonConverters.EmbedContent.g.cs new file mode 100644 index 00000000..c04d7460 --- /dev/null +++ b/src/libs/Cohere/Generated/JsonConverters.EmbedContent.g.cs @@ -0,0 +1,71 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace Cohere.JsonConverters +{ + /// + public class EmbedContentJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Cohere.EmbedContent Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.EmbedContentDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Cohere.EmbedContentDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::Cohere.EmbedImage? imageUrl = default; + if (discriminator?.Type == global::Cohere.EmbedContentDiscriminatorType.ImageUrl) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.EmbedImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Cohere.EmbedImage)}"); + imageUrl = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + global::Cohere.EmbedText? text = default; + if (discriminator?.Type == global::Cohere.EmbedContentDiscriminatorType.Text) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.EmbedText), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Cohere.EmbedText)}"); + text = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var result = new global::Cohere.EmbedContent( + discriminator?.Type, + imageUrl, + text + ); + + return result; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Cohere.EmbedContent value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsImageUrl) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.EmbedImage), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Cohere.EmbedImage).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.ImageUrl, typeInfo); + } + else if (value.IsText) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.EmbedText), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Cohere.EmbedText).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Text, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/JsonConverters.EmbedContentDiscriminatorType.g.cs b/src/libs/Cohere/Generated/JsonConverters.EmbedContentDiscriminatorType.g.cs new file mode 100644 index 00000000..4f1256de --- /dev/null +++ b/src/libs/Cohere/Generated/JsonConverters.EmbedContentDiscriminatorType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Cohere.JsonConverters +{ + /// + public sealed class EmbedContentDiscriminatorTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Cohere.EmbedContentDiscriminatorType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Cohere.EmbedContentDiscriminatorTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Cohere.EmbedContentDiscriminatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Cohere.EmbedContentDiscriminatorType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Cohere.EmbedContentDiscriminatorTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Cohere/Generated/JsonConverters.EmbedContentDiscriminatorTypeNullable.g.cs b/src/libs/Cohere/Generated/JsonConverters.EmbedContentDiscriminatorTypeNullable.g.cs new file mode 100644 index 00000000..c4a03530 --- /dev/null +++ b/src/libs/Cohere/Generated/JsonConverters.EmbedContentDiscriminatorTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Cohere.JsonConverters +{ + /// + public sealed class EmbedContentDiscriminatorTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Cohere.EmbedContentDiscriminatorType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Cohere.EmbedContentDiscriminatorTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Cohere.EmbedContentDiscriminatorType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Cohere.EmbedContentDiscriminatorType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Cohere.EmbedContentDiscriminatorTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Cohere/Generated/JsonConverters.EmbedContentType.g.cs b/src/libs/Cohere/Generated/JsonConverters.EmbedContentType.g.cs new file mode 100644 index 00000000..4088fc76 --- /dev/null +++ b/src/libs/Cohere/Generated/JsonConverters.EmbedContentType.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Cohere.JsonConverters +{ + /// + public sealed class EmbedContentTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Cohere.EmbedContentType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Cohere.EmbedContentTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Cohere.EmbedContentType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Cohere.EmbedContentType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Cohere.EmbedContentTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Cohere/Generated/JsonConverters.EmbedContentTypeNullable.g.cs b/src/libs/Cohere/Generated/JsonConverters.EmbedContentTypeNullable.g.cs new file mode 100644 index 00000000..7b7e2ccc --- /dev/null +++ b/src/libs/Cohere/Generated/JsonConverters.EmbedContentTypeNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Cohere.JsonConverters +{ + /// + public sealed class EmbedContentTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Cohere.EmbedContentType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Cohere.EmbedContentTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Cohere.EmbedContentType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Cohere.EmbedContentType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Cohere.EmbedContentTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Cohere/Generated/JsonSerializerContext.g.cs b/src/libs/Cohere/Generated/JsonSerializerContext.g.cs index d6559ce1..1c37ba4a 100644 --- a/src/libs/Cohere/Generated/JsonSerializerContext.g.cs +++ b/src/libs/Cohere/Generated/JsonSerializerContext.g.cs @@ -93,6 +93,10 @@ namespace Cohere typeof(global::Cohere.JsonConverters.DatasetValidationStatusNullableJsonConverter), typeof(global::Cohere.JsonConverters.EmbedByTypeResponseResponseTypeJsonConverter), typeof(global::Cohere.JsonConverters.EmbedByTypeResponseResponseTypeNullableJsonConverter), + typeof(global::Cohere.JsonConverters.EmbedContentTypeJsonConverter), + typeof(global::Cohere.JsonConverters.EmbedContentTypeNullableJsonConverter), + typeof(global::Cohere.JsonConverters.EmbedContentDiscriminatorTypeJsonConverter), + typeof(global::Cohere.JsonConverters.EmbedContentDiscriminatorTypeNullableJsonConverter), typeof(global::Cohere.JsonConverters.EmbedFloatsResponseResponseTypeJsonConverter), typeof(global::Cohere.JsonConverters.EmbedFloatsResponseResponseTypeNullableJsonConverter), typeof(global::Cohere.JsonConverters.EmbedJobStatusJsonConverter), @@ -183,6 +187,7 @@ namespace Cohere typeof(global::Cohere.JsonConverters.ChatToolPlanDeltaEventJsonConverter), typeof(global::Cohere.JsonConverters.CitationEndEventJsonConverter), typeof(global::Cohere.JsonConverters.CitationStartEventJsonConverter), + typeof(global::Cohere.JsonConverters.EmbedContentJsonConverter), typeof(global::Cohere.JsonConverters.GenerateStreamEndJsonConverter), typeof(global::Cohere.JsonConverters.GenerateStreamErrorJsonConverter), typeof(global::Cohere.JsonConverters.GenerateStreamTextJsonConverter), diff --git a/src/libs/Cohere/Generated/JsonSerializerContextTypes.g.cs b/src/libs/Cohere/Generated/JsonSerializerContextTypes.g.cs index 34d9e6f2..e5a961fe 100644 --- a/src/libs/Cohere/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/Cohere/Generated/JsonSerializerContextTypes.g.cs @@ -922,1994 +922,2034 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Cohere.EmbedFloatsResponse? Type224 { get; set; } + public global::Cohere.EmbedContent? Type224 { get; set; } /// /// /// - public global::Cohere.EmbedFloatsResponseResponseType? Type225 { get; set; } + public global::Cohere.EmbedImage? Type225 { get; set; } /// /// /// - public global::Cohere.EmbedJob? Type226 { get; set; } + public global::Cohere.EmbedImageProperties? Type226 { get; set; } /// /// /// - public global::Cohere.EmbedJobStatus? Type227 { get; set; } + public global::Cohere.EmbedContentType? Type227 { get; set; } /// /// /// - public global::Cohere.EmbedJobTruncate? Type228 { get; set; } + public global::Cohere.EmbedText? Type228 { get; set; } /// /// /// - public global::Cohere.Error? Type229 { get; set; } + public global::Cohere.EmbedContentDiscriminator? Type229 { get; set; } /// /// /// - public global::Cohere.Event? Type230 { get; set; } + public global::Cohere.EmbedContentDiscriminatorType? Type230 { get; set; } /// /// /// - public global::Cohere.GenerateStreamEnd? Type231 { get; set; } + public global::Cohere.EmbedFloatsResponse? Type231 { get; set; } /// /// /// - public global::Cohere.GenerateStreamEvent? Type232 { get; set; } + public global::Cohere.EmbedFloatsResponseResponseType? Type232 { get; set; } /// /// /// - public global::Cohere.GenerateStreamEventEventType? Type233 { get; set; } + public global::Cohere.EmbedInput? Type233 { get; set; } /// /// /// - public global::Cohere.GenerateStreamEndVariant2? Type234 { get; set; } + public global::System.Collections.Generic.IList? Type234 { get; set; } /// /// /// - public global::Cohere.GenerateStreamEndVariant2Response? Type235 { get; set; } + public global::Cohere.EmbedJob? Type235 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type236 { get; set; } + public global::Cohere.EmbedJobStatus? Type236 { get; set; } /// /// /// - public global::Cohere.SingleGenerationInStream? Type237 { get; set; } + public global::Cohere.EmbedJobTruncate? Type237 { get; set; } /// /// /// - public global::Cohere.GenerateStreamError? Type238 { get; set; } + public global::Cohere.Error? Type238 { get; set; } /// /// /// - public global::Cohere.GenerateStreamErrorVariant2? Type239 { get; set; } + public global::Cohere.Event? Type239 { get; set; } /// /// /// - public global::Cohere.GenerateStreamText? Type240 { get; set; } + public global::Cohere.GenerateStreamEnd? Type240 { get; set; } /// /// /// - public global::Cohere.GenerateStreamTextVariant2? Type241 { get; set; } + public global::Cohere.GenerateStreamEvent? Type241 { get; set; } /// /// /// - public global::Cohere.GenerateStreamedResponse? Type242 { get; set; } + public global::Cohere.GenerateStreamEventEventType? Type242 { get; set; } /// /// /// - public global::Cohere.GenerateStreamedResponseDiscriminator? Type243 { get; set; } + public global::Cohere.GenerateStreamEndVariant2? Type243 { get; set; } /// /// /// - public global::Cohere.GenerateStreamedResponseDiscriminatorEventType? Type244 { get; set; } + public global::Cohere.GenerateStreamEndVariant2Response? Type244 { get; set; } /// /// /// - public global::Cohere.Generation? Type245 { get; set; } + public global::System.Collections.Generic.IList? Type245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type246 { get; set; } + public global::Cohere.SingleGenerationInStream? Type246 { get; set; } /// /// /// - public global::Cohere.SingleGeneration? Type247 { get; set; } + public global::Cohere.GenerateStreamError? Type247 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type248 { get; set; } + public global::Cohere.GenerateStreamErrorVariant2? Type248 { get; set; } /// /// /// - public global::Cohere.SingleGenerationTokenLikelihood? Type249 { get; set; } + public global::Cohere.GenerateStreamText? Type249 { get; set; } /// /// /// - public global::Cohere.GetClusterJobResponse? Type250 { get; set; } + public global::Cohere.GenerateStreamTextVariant2? Type250 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type251 { get; set; } + public global::Cohere.GenerateStreamedResponse? Type251 { get; set; } /// /// /// - public global::Cohere.GetClusterJobResponseStatus? Type252 { get; set; } + public global::Cohere.GenerateStreamedResponseDiscriminator? Type252 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse? Type253 { get; set; } + public global::Cohere.GenerateStreamedResponseDiscriminatorEventType? Type253 { get; set; } /// /// /// - public global::Cohere.GetConnectorsLogsResponse? Type254 { get; set; } + public global::Cohere.Generation? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::System.Collections.Generic.IList? Type255 { get; set; } /// /// /// - public global::Cohere.GetFinetunedModelResponse? Type256 { get; set; } + public global::Cohere.SingleGeneration? Type256 { get; set; } /// /// /// - public global::Cohere.GetModelResponse? Type257 { get; set; } + public global::System.Collections.Generic.IList? Type257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type258 { get; set; } + public global::Cohere.SingleGenerationTokenLikelihood? Type258 { get; set; } /// /// /// - public global::Cohere.JSONResponseFormat? Type259 { get; set; } + public global::Cohere.GetClusterJobResponse? Type259 { get; set; } /// /// /// - public global::Cohere.ResponseFormatType? Type260 { get; set; } + public global::System.Collections.Generic.IList? Type260 { get; set; } /// /// /// - public global::Cohere.JsonResponseFormatV2? Type261 { get; set; } + public global::Cohere.GetClusterJobResponseStatus? Type261 { get; set; } /// /// /// - public global::Cohere.ResponseFormatTypeV2? Type262 { get; set; } + public global::Cohere.GetConnectorResponse? Type262 { get; set; } /// /// /// - public global::Cohere.ListClusterJobsResponse? Type263 { get; set; } + public global::Cohere.GetConnectorsLogsResponse? Type263 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type264 { get; set; } + public global::System.Collections.Generic.IList? Type264 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse? Type265 { get; set; } + public global::Cohere.GetFinetunedModelResponse? Type265 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type266 { get; set; } + public global::Cohere.GetModelResponse? Type266 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobResponse? Type267 { get; set; } + public global::System.Collections.Generic.IList? Type267 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type268 { get; set; } + public global::Cohere.JSONResponseFormat? Type268 { get; set; } /// /// /// - public global::Cohere.ListEventsResponse? Type269 { get; set; } + public global::Cohere.ResponseFormatType? Type269 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type270 { get; set; } + public global::Cohere.JsonResponseFormatV2? Type270 { get; set; } /// /// /// - public global::Cohere.ListFinetunedModelsResponse? Type271 { get; set; } + public global::Cohere.ResponseFormatTypeV2? Type271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type272 { get; set; } + public global::Cohere.ListClusterJobsResponse? Type272 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse? Type273 { get; set; } + public global::System.Collections.Generic.IList? Type273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type274 { get; set; } + public global::Cohere.ListConnectorsResponse? Type274 { get; set; } /// /// /// - public global::Cohere.ListTrainingStepMetricsResponse? Type275 { get; set; } + public global::System.Collections.Generic.IList? Type275 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type276 { get; set; } + public global::Cohere.ListEmbedJobResponse? Type276 { get; set; } /// /// /// - public global::Cohere.TrainingStepMetrics? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type278 { get; set; } + public global::Cohere.ListEventsResponse? Type278 { get; set; } /// /// /// - public global::Cohere.LogLikelihoodResponse? Type279 { get; set; } + public global::System.Collections.Generic.IList? Type279 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type280 { get; set; } + public global::Cohere.ListFinetunedModelsResponse? Type280 { get; set; } /// /// /// - public global::Cohere.TokenLikelihood? Type281 { get; set; } + public global::System.Collections.Generic.IList? Type281 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeResponse? Type282 { get; set; } + public global::Cohere.ListModelsResponse? Type282 { get; set; } /// /// /// - public global::Cohere.ReasoningEffort? Type283 { get; set; } + public global::System.Collections.Generic.IList? Type283 { get; set; } /// /// /// - public global::Cohere.RerankDocument? Type284 { get; set; } + public global::Cohere.ListTrainingStepMetricsResponse? Type284 { get; set; } /// /// /// - public global::Cohere.ResponseFormat? Type285 { get; set; } + public global::System.Collections.Generic.IList? Type285 { get; set; } /// /// /// - public global::Cohere.TextResponseFormat? Type286 { get; set; } + public global::Cohere.TrainingStepMetrics? Type286 { get; set; } /// /// /// - public global::Cohere.ResponseFormatDiscriminator? Type287 { get; set; } + public global::System.Collections.Generic.Dictionary? Type287 { get; set; } /// /// /// - public global::Cohere.ResponseFormatDiscriminatorType? Type288 { get; set; } + public global::Cohere.LogLikelihoodResponse? Type288 { get; set; } /// /// /// - public global::Cohere.ResponseFormatV2? Type289 { get; set; } + public global::System.Collections.Generic.IList? Type289 { get; set; } /// /// /// - public global::Cohere.TextResponseFormatV2? Type290 { get; set; } + public global::Cohere.TokenLikelihood? Type290 { get; set; } /// /// /// - public global::Cohere.ResponseFormatV2Discriminator? Type291 { get; set; } + public global::Cohere.OAuthAuthorizeResponse? Type291 { get; set; } /// /// /// - public global::Cohere.ResponseFormatV2DiscriminatorType? Type292 { get; set; } + public global::Cohere.ReasoningEffort? Type292 { get; set; } /// /// /// - public global::Cohere.StreamedChatResponse? Type293 { get; set; } + public global::Cohere.RerankDocument? Type293 { get; set; } /// /// /// - public global::Cohere.StreamedChatResponseDiscriminator? Type294 { get; set; } + public global::Cohere.ResponseFormat? Type294 { get; set; } /// /// /// - public global::Cohere.StreamedChatResponseDiscriminatorEventType? Type295 { get; set; } + public global::Cohere.TextResponseFormat? Type295 { get; set; } /// /// /// - public global::Cohere.StreamedChatResponseV2? Type296 { get; set; } + public global::Cohere.ResponseFormatDiscriminator? Type296 { get; set; } /// /// /// - public global::Cohere.StreamedChatResponseV2Discriminator? Type297 { get; set; } + public global::Cohere.ResponseFormatDiscriminatorType? Type297 { get; set; } /// /// /// - public global::Cohere.StreamedChatResponseV2DiscriminatorType? Type298 { get; set; } + public global::Cohere.ResponseFormatV2? Type298 { get; set; } /// /// /// - public global::Cohere.Tool? Type299 { get; set; } + public global::Cohere.TextResponseFormatV2? Type299 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type300 { get; set; } + public global::Cohere.ResponseFormatV2Discriminator? Type300 { get; set; } /// /// /// - public global::Cohere.ToolParameterDefinitions2? Type301 { get; set; } + public global::Cohere.ResponseFormatV2DiscriminatorType? Type301 { get; set; } /// /// /// - public global::Cohere.ToolV2? Type302 { get; set; } + public global::Cohere.StreamedChatResponse? Type302 { get; set; } /// /// /// - public global::Cohere.ToolV2Function? Type303 { get; set; } + public global::Cohere.StreamedChatResponseDiscriminator? Type303 { get; set; } /// /// /// - public global::Cohere.ToolV2Type? Type304 { get; set; } + public global::Cohere.StreamedChatResponseDiscriminatorEventType? Type304 { get; set; } /// /// /// - public global::Cohere.UpdateClusterJobRequest? Type305 { get; set; } + public global::Cohere.StreamedChatResponseV2? Type305 { get; set; } /// /// /// - public global::Cohere.UpdateClusterJobRequestStatus? Type306 { get; set; } + public global::Cohere.StreamedChatResponseV2Discriminator? Type306 { get; set; } /// /// /// - public global::Cohere.UpdateClusterJobResponse? Type307 { get; set; } + public global::Cohere.StreamedChatResponseV2DiscriminatorType? Type307 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorRequest? Type308 { get; set; } + public global::Cohere.Tool? Type308 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse? Type309 { get; set; } + public global::System.Collections.Generic.Dictionary? Type309 { get; set; } /// /// /// - public global::Cohere.UpdateFinetunedModelResponse? Type310 { get; set; } + public global::Cohere.ToolParameterDefinitions2? Type310 { get; set; } /// /// /// - public global::Cohere.ChatRequest? Type311 { get; set; } + public global::Cohere.ToolV2? Type311 { get; set; } /// /// /// - public global::Cohere.ChatRequestCitationQuality? Type312 { get; set; } + public global::Cohere.ToolV2Function? Type312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type313 { get; set; } + public global::Cohere.ToolV2Type? Type313 { get; set; } /// /// /// - public global::Cohere.ChatRequestPromptTruncation? Type314 { get; set; } + public global::Cohere.UpdateClusterJobRequest? Type314 { get; set; } /// /// /// - public global::Cohere.ChatRequestSafetyMode? Type315 { get; set; } + public global::Cohere.UpdateClusterJobRequestStatus? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type316 { get; set; } + public global::Cohere.UpdateClusterJobResponse? Type316 { get; set; } /// /// /// - public global::Cohere.ClassifyRequest? Type317 { get; set; } + public global::Cohere.UpdateConnectorRequest? Type317 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type318 { get; set; } + public global::Cohere.UpdateConnectorResponse? Type318 { get; set; } /// /// /// - public global::Cohere.ClassifyRequestTruncate? Type319 { get; set; } + public global::Cohere.UpdateFinetunedModelResponse? Type319 { get; set; } /// /// /// - public global::Cohere.CreateDatasetRequest? Type320 { get; set; } + public global::Cohere.ChatRequest? Type320 { get; set; } /// /// /// - public byte[]? Type321 { get; set; } + public global::Cohere.ChatRequestCitationQuality? Type321 { get; set; } /// /// /// - public global::Cohere.DetokenizeRequest? Type322 { get; set; } + public global::System.Collections.Generic.IList? Type322 { get; set; } /// /// /// - public global::Cohere.EmbedRequest? Type323 { get; set; } + public global::Cohere.ChatRequestPromptTruncation? Type323 { get; set; } /// /// /// - public global::Cohere.EmbedRequestTruncate? Type324 { get; set; } + public global::Cohere.ChatRequestSafetyMode? Type324 { get; set; } /// /// /// - public global::Cohere.UpdateFinetunedModelRequest? Type325 { get; set; } + public global::System.Collections.Generic.IList? Type325 { get; set; } /// /// /// - public global::Cohere.GenerateRequest? Type326 { get; set; } + public global::Cohere.ClassifyRequest? Type326 { get; set; } /// /// /// - public global::Cohere.GenerateRequestReturnLikelihoods? Type327 { get; set; } + public global::System.Collections.Generic.IList? Type327 { get; set; } /// /// /// - public global::Cohere.GenerateRequestTruncate? Type328 { get; set; } + public global::Cohere.ClassifyRequestTruncate? Type328 { get; set; } /// /// /// - public global::Cohere.RerankRequest? Type329 { get; set; } + public global::Cohere.CreateDatasetRequest? Type329 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type330 { get; set; } + public byte[]? Type330 { get; set; } /// /// /// - public global::Cohere.OneOf? Type331 { get; set; } + public global::Cohere.DetokenizeRequest? Type331 { get; set; } /// /// /// - public global::Cohere.SummarizeRequest? Type332 { get; set; } + public global::Cohere.EmbedRequest? Type332 { get; set; } /// /// /// - public global::Cohere.SummarizeRequestExtractiveness? Type333 { get; set; } + public global::Cohere.EmbedRequestTruncate? Type333 { get; set; } /// /// /// - public global::Cohere.SummarizeRequestFormat? Type334 { get; set; } + public global::Cohere.UpdateFinetunedModelRequest? Type334 { get; set; } /// /// /// - public global::Cohere.SummarizeRequestLength? Type335 { get; set; } + public global::Cohere.GenerateRequest? Type335 { get; set; } /// /// /// - public global::Cohere.TokenizeRequest? Type336 { get; set; } + public global::Cohere.GenerateRequestReturnLikelihoods? Type336 { get; set; } /// /// /// - public global::Cohere.Chatv2Request? Type337 { get; set; } + public global::Cohere.GenerateRequestTruncate? Type337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type338 { get; set; } + public global::Cohere.RerankRequest? Type338 { get; set; } /// /// /// - public global::Cohere.OneOf? Type339 { get; set; } + public global::System.Collections.Generic.IList>? Type339 { get; set; } /// /// /// - public global::Cohere.Chatv2RequestSafetyMode? Type340 { get; set; } + public global::Cohere.OneOf? Type340 { get; set; } /// /// /// - public global::Cohere.Chatv2RequestToolChoice? Type341 { get; set; } + public global::Cohere.SummarizeRequest? Type341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type342 { get; set; } + public global::Cohere.SummarizeRequestExtractiveness? Type342 { get; set; } /// /// /// - public global::Cohere.Embedv2Request? Type343 { get; set; } + public global::Cohere.SummarizeRequestFormat? Type343 { get; set; } /// /// /// - public global::Cohere.Embedv2RequestTruncate? Type344 { get; set; } + public global::Cohere.SummarizeRequestLength? Type344 { get; set; } /// /// /// - public global::Cohere.Rerankv2Request? Type345 { get; set; } + public global::Cohere.TokenizeRequest? Type345 { get; set; } /// /// /// - public global::Cohere.ChatAccepts? Type346 { get; set; } + public global::Cohere.Chatv2Request? Type346 { get; set; } /// /// /// - public global::Cohere.OneOf? Type347 { get; set; } + public global::System.Collections.Generic.IList>? Type347 { get; set; } /// /// /// - public global::Cohere.ChatResponse3? Type348 { get; set; } + public global::Cohere.OneOf? Type348 { get; set; } /// /// /// - public global::Cohere.ChatResponse4? Type349 { get; set; } + public global::Cohere.Chatv2RequestSafetyMode? Type349 { get; set; } /// /// /// - public global::Cohere.ChatResponse5? Type350 { get; set; } + public global::Cohere.Chatv2RequestToolChoice? Type350 { get; set; } /// /// /// - public global::Cohere.ChatResponse6? Type351 { get; set; } + public global::System.Collections.Generic.IList? Type351 { get; set; } /// /// /// - public global::Cohere.ChatResponse7? Type352 { get; set; } + public global::Cohere.Embedv2Request? Type352 { get; set; } /// /// /// - public global::Cohere.ChatResponse8? Type353 { get; set; } + public global::System.Collections.Generic.IList? Type353 { get; set; } /// /// /// - public global::Cohere.ChatResponse9? Type354 { get; set; } + public global::Cohere.Embedv2RequestTruncate? Type354 { get; set; } /// /// /// - public global::Cohere.ChatResponse10? Type355 { get; set; } + public global::Cohere.Rerankv2Request? Type355 { get; set; } /// /// /// - public global::Cohere.ChatResponse11? Type356 { get; set; } + public global::Cohere.ChatAccepts? Type356 { get; set; } /// /// /// - public global::Cohere.ChatResponse12? Type357 { get; set; } + public global::Cohere.OneOf? Type357 { get; set; } /// /// /// - public global::Cohere.ChatResponse13? Type358 { get; set; } + public global::Cohere.ChatResponse3? Type358 { get; set; } /// /// /// - public global::Cohere.ChatResponse14? Type359 { get; set; } + public global::Cohere.ChatResponse4? Type359 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse? Type360 { get; set; } + public global::Cohere.ChatResponse5? Type360 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse2? Type361 { get; set; } + public global::Cohere.ChatResponse6? Type361 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse3? Type362 { get; set; } + public global::Cohere.ChatResponse7? Type362 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse4? Type363 { get; set; } + public global::Cohere.ChatResponse8? Type363 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse5? Type364 { get; set; } + public global::Cohere.ChatResponse9? Type364 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse6? Type365 { get; set; } + public global::Cohere.ChatResponse10? Type365 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse7? Type366 { get; set; } + public global::Cohere.ChatResponse11? Type366 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse8? Type367 { get; set; } + public global::Cohere.ChatResponse12? Type367 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse9? Type368 { get; set; } + public global::Cohere.ChatResponse13? Type368 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse10? Type369 { get; set; } + public global::Cohere.ChatResponse14? Type369 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse11? Type370 { get; set; } + public global::Cohere.CheckAPIKeyResponse? Type370 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse12? Type371 { get; set; } + public global::Cohere.CheckAPIKeyResponse2? Type371 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse13? Type372 { get; set; } + public global::Cohere.CheckAPIKeyResponse3? Type372 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse? Type373 { get; set; } + public global::Cohere.CheckAPIKeyResponse4? Type373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type374 { get; set; } + public global::Cohere.CheckAPIKeyResponse5? Type374 { get; set; } /// /// /// - public global::Cohere.ClassifyResponseClassification? Type375 { get; set; } + public global::Cohere.CheckAPIKeyResponse6? Type375 { get; set; } /// /// /// - public global::Cohere.ClassifyResponseClassificationClassificationType? Type376 { get; set; } + public global::Cohere.CheckAPIKeyResponse7? Type376 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type377 { get; set; } + public global::Cohere.CheckAPIKeyResponse8? Type377 { get; set; } /// /// /// - public global::Cohere.ClassifyResponseClassificationLabels2? Type378 { get; set; } + public global::Cohere.CheckAPIKeyResponse9? Type378 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse2? Type379 { get; set; } + public global::Cohere.CheckAPIKeyResponse10? Type379 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse3? Type380 { get; set; } + public global::Cohere.CheckAPIKeyResponse11? Type380 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse4? Type381 { get; set; } + public global::Cohere.CheckAPIKeyResponse12? Type381 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse5? Type382 { get; set; } + public global::Cohere.CheckAPIKeyResponse13? Type382 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse6? Type383 { get; set; } + public global::Cohere.ClassifyResponse? Type383 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse7? Type384 { get; set; } + public global::System.Collections.Generic.IList? Type384 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse8? Type385 { get; set; } + public global::Cohere.ClassifyResponseClassification? Type385 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse9? Type386 { get; set; } + public global::Cohere.ClassifyResponseClassificationClassificationType? Type386 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse10? Type387 { get; set; } + public global::System.Collections.Generic.Dictionary? Type387 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse11? Type388 { get; set; } + public global::Cohere.ClassifyResponseClassificationLabels2? Type388 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse12? Type389 { get; set; } + public global::Cohere.ClassifyResponse2? Type389 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse13? Type390 { get; set; } + public global::Cohere.ClassifyResponse3? Type390 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse2? Type391 { get; set; } + public global::Cohere.ClassifyResponse4? Type391 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse3? Type392 { get; set; } + public global::Cohere.ClassifyResponse5? Type392 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse4? Type393 { get; set; } + public global::Cohere.ClassifyResponse6? Type393 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse5? Type394 { get; set; } + public global::Cohere.ClassifyResponse7? Type394 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse6? Type395 { get; set; } + public global::Cohere.ClassifyResponse8? Type395 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse7? Type396 { get; set; } + public global::Cohere.ClassifyResponse9? Type396 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse8? Type397 { get; set; } + public global::Cohere.ClassifyResponse10? Type397 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse9? Type398 { get; set; } + public global::Cohere.ClassifyResponse11? Type398 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse10? Type399 { get; set; } + public global::Cohere.ClassifyResponse12? Type399 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse11? Type400 { get; set; } + public global::Cohere.ClassifyResponse13? Type400 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse12? Type401 { get; set; } + public global::Cohere.ListConnectorsResponse2? Type401 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse13? Type402 { get; set; } + public global::Cohere.ListConnectorsResponse3? Type402 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse2? Type403 { get; set; } + public global::Cohere.ListConnectorsResponse4? Type403 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse3? Type404 { get; set; } + public global::Cohere.ListConnectorsResponse5? Type404 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse4? Type405 { get; set; } + public global::Cohere.ListConnectorsResponse6? Type405 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse5? Type406 { get; set; } + public global::Cohere.ListConnectorsResponse7? Type406 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse6? Type407 { get; set; } + public global::Cohere.ListConnectorsResponse8? Type407 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse7? Type408 { get; set; } + public global::Cohere.ListConnectorsResponse9? Type408 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse8? Type409 { get; set; } + public global::Cohere.ListConnectorsResponse10? Type409 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse9? Type410 { get; set; } + public global::Cohere.ListConnectorsResponse11? Type410 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse10? Type411 { get; set; } + public global::Cohere.ListConnectorsResponse12? Type411 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse11? Type412 { get; set; } + public global::Cohere.ListConnectorsResponse13? Type412 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse12? Type413 { get; set; } + public global::Cohere.CreateConnectorResponse2? Type413 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse13? Type414 { get; set; } + public global::Cohere.CreateConnectorResponse3? Type414 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse2? Type415 { get; set; } + public global::Cohere.CreateConnectorResponse4? Type415 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse3? Type416 { get; set; } + public global::Cohere.CreateConnectorResponse5? Type416 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse4? Type417 { get; set; } + public global::Cohere.CreateConnectorResponse6? Type417 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse5? Type418 { get; set; } + public global::Cohere.CreateConnectorResponse7? Type418 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse6? Type419 { get; set; } + public global::Cohere.CreateConnectorResponse8? Type419 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse7? Type420 { get; set; } + public global::Cohere.CreateConnectorResponse9? Type420 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse8? Type421 { get; set; } + public global::Cohere.CreateConnectorResponse10? Type421 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse9? Type422 { get; set; } + public global::Cohere.CreateConnectorResponse11? Type422 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse10? Type423 { get; set; } + public global::Cohere.CreateConnectorResponse12? Type423 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse11? Type424 { get; set; } + public global::Cohere.CreateConnectorResponse13? Type424 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse12? Type425 { get; set; } + public global::Cohere.DeleteConnectorResponse2? Type425 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse13? Type426 { get; set; } + public global::Cohere.DeleteConnectorResponse3? Type426 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse2? Type427 { get; set; } + public global::Cohere.DeleteConnectorResponse4? Type427 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse3? Type428 { get; set; } + public global::Cohere.DeleteConnectorResponse5? Type428 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse4? Type429 { get; set; } + public global::Cohere.DeleteConnectorResponse6? Type429 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse5? Type430 { get; set; } + public global::Cohere.DeleteConnectorResponse7? Type430 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse6? Type431 { get; set; } + public global::Cohere.DeleteConnectorResponse8? Type431 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse7? Type432 { get; set; } + public global::Cohere.DeleteConnectorResponse9? Type432 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse8? Type433 { get; set; } + public global::Cohere.DeleteConnectorResponse10? Type433 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse9? Type434 { get; set; } + public global::Cohere.DeleteConnectorResponse11? Type434 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse10? Type435 { get; set; } + public global::Cohere.DeleteConnectorResponse12? Type435 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse11? Type436 { get; set; } + public global::Cohere.DeleteConnectorResponse13? Type436 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse12? Type437 { get; set; } + public global::Cohere.GetConnectorResponse2? Type437 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse13? Type438 { get; set; } + public global::Cohere.GetConnectorResponse3? Type438 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse2? Type439 { get; set; } + public global::Cohere.GetConnectorResponse4? Type439 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse3? Type440 { get; set; } + public global::Cohere.GetConnectorResponse5? Type440 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse4? Type441 { get; set; } + public global::Cohere.GetConnectorResponse6? Type441 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse5? Type442 { get; set; } + public global::Cohere.GetConnectorResponse7? Type442 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse6? Type443 { get; set; } + public global::Cohere.GetConnectorResponse8? Type443 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse7? Type444 { get; set; } + public global::Cohere.GetConnectorResponse9? Type444 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse8? Type445 { get; set; } + public global::Cohere.GetConnectorResponse10? Type445 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse9? Type446 { get; set; } + public global::Cohere.GetConnectorResponse11? Type446 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse10? Type447 { get; set; } + public global::Cohere.GetConnectorResponse12? Type447 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse11? Type448 { get; set; } + public global::Cohere.GetConnectorResponse13? Type448 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse12? Type449 { get; set; } + public global::Cohere.UpdateConnectorResponse2? Type449 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse13? Type450 { get; set; } + public global::Cohere.UpdateConnectorResponse3? Type450 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse? Type451 { get; set; } + public global::Cohere.UpdateConnectorResponse4? Type451 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse2? Type452 { get; set; } + public global::Cohere.UpdateConnectorResponse5? Type452 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse3? Type453 { get; set; } + public global::Cohere.UpdateConnectorResponse6? Type453 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse4? Type454 { get; set; } + public global::Cohere.UpdateConnectorResponse7? Type454 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse5? Type455 { get; set; } + public global::Cohere.UpdateConnectorResponse8? Type455 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse6? Type456 { get; set; } + public global::Cohere.UpdateConnectorResponse9? Type456 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse7? Type457 { get; set; } + public global::Cohere.UpdateConnectorResponse10? Type457 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse8? Type458 { get; set; } + public global::Cohere.UpdateConnectorResponse11? Type458 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse9? Type459 { get; set; } + public global::Cohere.UpdateConnectorResponse12? Type459 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse10? Type460 { get; set; } + public global::Cohere.UpdateConnectorResponse13? Type460 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse11? Type461 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse? Type461 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse12? Type462 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse2? Type462 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse? Type463 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse3? Type463 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type464 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse4? Type464 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse2? Type465 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse5? Type465 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse3? Type466 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse6? Type466 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse4? Type467 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse7? Type467 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse5? Type468 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse8? Type468 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse6? Type469 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse9? Type469 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse7? Type470 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse10? Type470 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse8? Type471 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse11? Type471 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse9? Type472 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse12? Type472 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse10? Type473 { get; set; } + public global::Cohere.ListDatasetsResponse? Type473 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse11? Type474 { get; set; } + public global::System.Collections.Generic.IList? Type474 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse12? Type475 { get; set; } + public global::Cohere.ListDatasetsResponse2? Type475 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse13? Type476 { get; set; } + public global::Cohere.ListDatasetsResponse3? Type476 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse? Type477 { get; set; } + public global::Cohere.ListDatasetsResponse4? Type477 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse2? Type478 { get; set; } + public global::Cohere.ListDatasetsResponse5? Type478 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse3? Type479 { get; set; } + public global::Cohere.ListDatasetsResponse6? Type479 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse4? Type480 { get; set; } + public global::Cohere.ListDatasetsResponse7? Type480 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse5? Type481 { get; set; } + public global::Cohere.ListDatasetsResponse8? Type481 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse6? Type482 { get; set; } + public global::Cohere.ListDatasetsResponse9? Type482 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse7? Type483 { get; set; } + public global::Cohere.ListDatasetsResponse10? Type483 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse8? Type484 { get; set; } + public global::Cohere.ListDatasetsResponse11? Type484 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse9? Type485 { get; set; } + public global::Cohere.ListDatasetsResponse12? Type485 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse10? Type486 { get; set; } + public global::Cohere.ListDatasetsResponse13? Type486 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse11? Type487 { get; set; } + public global::Cohere.CreateDatasetResponse? Type487 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse12? Type488 { get; set; } + public global::Cohere.CreateDatasetResponse2? Type488 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse13? Type489 { get; set; } + public global::Cohere.CreateDatasetResponse3? Type489 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse? Type490 { get; set; } + public global::Cohere.CreateDatasetResponse4? Type490 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse2? Type491 { get; set; } + public global::Cohere.CreateDatasetResponse5? Type491 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse3? Type492 { get; set; } + public global::Cohere.CreateDatasetResponse6? Type492 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse4? Type493 { get; set; } + public global::Cohere.CreateDatasetResponse7? Type493 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse5? Type494 { get; set; } + public global::Cohere.CreateDatasetResponse8? Type494 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse6? Type495 { get; set; } + public global::Cohere.CreateDatasetResponse9? Type495 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse7? Type496 { get; set; } + public global::Cohere.CreateDatasetResponse10? Type496 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse8? Type497 { get; set; } + public global::Cohere.CreateDatasetResponse11? Type497 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse9? Type498 { get; set; } + public global::Cohere.CreateDatasetResponse12? Type498 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse10? Type499 { get; set; } + public global::Cohere.CreateDatasetResponse13? Type499 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse11? Type500 { get; set; } + public global::Cohere.GetDatasetUsageResponse? Type500 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse12? Type501 { get; set; } + public global::Cohere.GetDatasetUsageResponse2? Type501 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse13? Type502 { get; set; } + public global::Cohere.GetDatasetUsageResponse3? Type502 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse2? Type503 { get; set; } + public global::Cohere.GetDatasetUsageResponse4? Type503 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse3? Type504 { get; set; } + public global::Cohere.GetDatasetUsageResponse5? Type504 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse4? Type505 { get; set; } + public global::Cohere.GetDatasetUsageResponse6? Type505 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse5? Type506 { get; set; } + public global::Cohere.GetDatasetUsageResponse7? Type506 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse6? Type507 { get; set; } + public global::Cohere.GetDatasetUsageResponse8? Type507 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse7? Type508 { get; set; } + public global::Cohere.GetDatasetUsageResponse9? Type508 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse8? Type509 { get; set; } + public global::Cohere.GetDatasetUsageResponse10? Type509 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse9? Type510 { get; set; } + public global::Cohere.GetDatasetUsageResponse11? Type510 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse10? Type511 { get; set; } + public global::Cohere.GetDatasetUsageResponse12? Type511 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse11? Type512 { get; set; } + public global::Cohere.GetDatasetUsageResponse13? Type512 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse12? Type513 { get; set; } + public global::Cohere.DeleteDatasetResponse2? Type513 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse13? Type514 { get; set; } + public global::Cohere.DeleteDatasetResponse3? Type514 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse? Type515 { get; set; } + public global::Cohere.DeleteDatasetResponse4? Type515 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse2? Type516 { get; set; } + public global::Cohere.DeleteDatasetResponse5? Type516 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse3? Type517 { get; set; } + public global::Cohere.DeleteDatasetResponse6? Type517 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse4? Type518 { get; set; } + public global::Cohere.DeleteDatasetResponse7? Type518 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse5? Type519 { get; set; } + public global::Cohere.DeleteDatasetResponse8? Type519 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse6? Type520 { get; set; } + public global::Cohere.DeleteDatasetResponse9? Type520 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse7? Type521 { get; set; } + public global::Cohere.DeleteDatasetResponse10? Type521 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse8? Type522 { get; set; } + public global::Cohere.DeleteDatasetResponse11? Type522 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse9? Type523 { get; set; } + public global::Cohere.DeleteDatasetResponse12? Type523 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse10? Type524 { get; set; } + public global::Cohere.DeleteDatasetResponse13? Type524 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse11? Type525 { get; set; } + public global::Cohere.GetDatasetResponse? Type525 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse12? Type526 { get; set; } + public global::Cohere.GetDatasetResponse2? Type526 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse13? Type527 { get; set; } + public global::Cohere.GetDatasetResponse3? Type527 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse? Type528 { get; set; } + public global::Cohere.GetDatasetResponse4? Type528 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse2? Type529 { get; set; } + public global::Cohere.GetDatasetResponse5? Type529 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse3? Type530 { get; set; } + public global::Cohere.GetDatasetResponse6? Type530 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse4? Type531 { get; set; } + public global::Cohere.GetDatasetResponse7? Type531 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse5? Type532 { get; set; } + public global::Cohere.GetDatasetResponse8? Type532 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse6? Type533 { get; set; } + public global::Cohere.GetDatasetResponse9? Type533 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse7? Type534 { get; set; } + public global::Cohere.GetDatasetResponse10? Type534 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse8? Type535 { get; set; } + public global::Cohere.GetDatasetResponse11? Type535 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse9? Type536 { get; set; } + public global::Cohere.GetDatasetResponse12? Type536 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse10? Type537 { get; set; } + public global::Cohere.GetDatasetResponse13? Type537 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse11? Type538 { get; set; } + public global::Cohere.DetokenizeResponse? Type538 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse12? Type539 { get; set; } + public global::Cohere.DetokenizeResponse2? Type539 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse13? Type540 { get; set; } + public global::Cohere.DetokenizeResponse3? Type540 { get; set; } /// /// /// - public global::Cohere.EmbedResponse? Type541 { get; set; } + public global::Cohere.DetokenizeResponse4? Type541 { get; set; } /// /// /// - public global::Cohere.EmbedResponseDiscriminator? Type542 { get; set; } + public global::Cohere.DetokenizeResponse5? Type542 { get; set; } /// /// /// - public global::Cohere.EmbedResponseDiscriminatorResponseType? Type543 { get; set; } + public global::Cohere.DetokenizeResponse6? Type543 { get; set; } /// /// /// - public global::Cohere.EmbedResponse2? Type544 { get; set; } + public global::Cohere.DetokenizeResponse7? Type544 { get; set; } /// /// /// - public global::Cohere.EmbedResponse3? Type545 { get; set; } + public global::Cohere.DetokenizeResponse8? Type545 { get; set; } /// /// /// - public global::Cohere.EmbedResponse4? Type546 { get; set; } + public global::Cohere.DetokenizeResponse9? Type546 { get; set; } /// /// /// - public global::Cohere.EmbedResponse5? Type547 { get; set; } + public global::Cohere.DetokenizeResponse10? Type547 { get; set; } /// /// /// - public global::Cohere.EmbedResponse6? Type548 { get; set; } + public global::Cohere.DetokenizeResponse11? Type548 { get; set; } /// /// /// - public global::Cohere.EmbedResponse7? Type549 { get; set; } + public global::Cohere.DetokenizeResponse12? Type549 { get; set; } /// /// /// - public global::Cohere.EmbedResponse8? Type550 { get; set; } + public global::Cohere.DetokenizeResponse13? Type550 { get; set; } /// /// /// - public global::Cohere.EmbedResponse9? Type551 { get; set; } + public global::Cohere.EmbedResponse? Type551 { get; set; } /// /// /// - public global::Cohere.EmbedResponse10? Type552 { get; set; } + public global::Cohere.EmbedResponseDiscriminator? Type552 { get; set; } /// /// /// - public global::Cohere.EmbedResponse11? Type553 { get; set; } + public global::Cohere.EmbedResponseDiscriminatorResponseType? Type553 { get; set; } /// /// /// - public global::Cohere.EmbedResponse12? Type554 { get; set; } + public global::Cohere.EmbedResponse2? Type554 { get; set; } /// /// /// - public global::Cohere.EmbedResponse13? Type555 { get; set; } + public global::Cohere.EmbedResponse3? Type555 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse? Type556 { get; set; } + public global::Cohere.EmbedResponse4? Type556 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse2? Type557 { get; set; } + public global::Cohere.EmbedResponse5? Type557 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse3? Type558 { get; set; } + public global::Cohere.EmbedResponse6? Type558 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse4? Type559 { get; set; } + public global::Cohere.EmbedResponse7? Type559 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse5? Type560 { get; set; } + public global::Cohere.EmbedResponse8? Type560 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse6? Type561 { get; set; } + public global::Cohere.EmbedResponse9? Type561 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse7? Type562 { get; set; } + public global::Cohere.EmbedResponse10? Type562 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse8? Type563 { get; set; } + public global::Cohere.EmbedResponse11? Type563 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse9? Type564 { get; set; } + public global::Cohere.EmbedResponse12? Type564 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse10? Type565 { get; set; } + public global::Cohere.EmbedResponse13? Type565 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse11? Type566 { get; set; } + public global::Cohere.ListEmbedJobsResponse? Type566 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse12? Type567 { get; set; } + public global::Cohere.ListEmbedJobsResponse2? Type567 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse2? Type568 { get; set; } + public global::Cohere.ListEmbedJobsResponse3? Type568 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse3? Type569 { get; set; } + public global::Cohere.ListEmbedJobsResponse4? Type569 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse4? Type570 { get; set; } + public global::Cohere.ListEmbedJobsResponse5? Type570 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse5? Type571 { get; set; } + public global::Cohere.ListEmbedJobsResponse6? Type571 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse6? Type572 { get; set; } + public global::Cohere.ListEmbedJobsResponse7? Type572 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse7? Type573 { get; set; } + public global::Cohere.ListEmbedJobsResponse8? Type573 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse8? Type574 { get; set; } + public global::Cohere.ListEmbedJobsResponse9? Type574 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse9? Type575 { get; set; } + public global::Cohere.ListEmbedJobsResponse10? Type575 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse10? Type576 { get; set; } + public global::Cohere.ListEmbedJobsResponse11? Type576 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse11? Type577 { get; set; } + public global::Cohere.ListEmbedJobsResponse12? Type577 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse12? Type578 { get; set; } + public global::Cohere.CreateEmbedJobResponse2? Type578 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse13? Type579 { get; set; } + public global::Cohere.CreateEmbedJobResponse3? Type579 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse? Type580 { get; set; } + public global::Cohere.CreateEmbedJobResponse4? Type580 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse2? Type581 { get; set; } + public global::Cohere.CreateEmbedJobResponse5? Type581 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse3? Type582 { get; set; } + public global::Cohere.CreateEmbedJobResponse6? Type582 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse4? Type583 { get; set; } + public global::Cohere.CreateEmbedJobResponse7? Type583 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse5? Type584 { get; set; } + public global::Cohere.CreateEmbedJobResponse8? Type584 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse6? Type585 { get; set; } + public global::Cohere.CreateEmbedJobResponse9? Type585 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse7? Type586 { get; set; } + public global::Cohere.CreateEmbedJobResponse10? Type586 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse8? Type587 { get; set; } + public global::Cohere.CreateEmbedJobResponse11? Type587 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse9? Type588 { get; set; } + public global::Cohere.CreateEmbedJobResponse12? Type588 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse10? Type589 { get; set; } + public global::Cohere.CreateEmbedJobResponse13? Type589 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse11? Type590 { get; set; } + public global::Cohere.GetEmbedJobResponse? Type590 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse12? Type591 { get; set; } + public global::Cohere.GetEmbedJobResponse2? Type591 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse? Type592 { get; set; } + public global::Cohere.GetEmbedJobResponse3? Type592 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse2? Type593 { get; set; } + public global::Cohere.GetEmbedJobResponse4? Type593 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse3? Type594 { get; set; } + public global::Cohere.GetEmbedJobResponse5? Type594 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse4? Type595 { get; set; } + public global::Cohere.GetEmbedJobResponse6? Type595 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse5? Type596 { get; set; } + public global::Cohere.GetEmbedJobResponse7? Type596 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse6? Type597 { get; set; } + public global::Cohere.GetEmbedJobResponse8? Type597 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse7? Type598 { get; set; } + public global::Cohere.GetEmbedJobResponse9? Type598 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse8? Type599 { get; set; } + public global::Cohere.GetEmbedJobResponse10? Type599 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse9? Type600 { get; set; } + public global::Cohere.GetEmbedJobResponse11? Type600 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse10? Type601 { get; set; } + public global::Cohere.GetEmbedJobResponse12? Type601 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse11? Type602 { get; set; } + public global::Cohere.CancelEmbedJobResponse? Type602 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse12? Type603 { get; set; } + public global::Cohere.CancelEmbedJobResponse2? Type603 { get; set; } /// /// /// - public global::Cohere.GenerateResponse? Type604 { get; set; } + public global::Cohere.CancelEmbedJobResponse3? Type604 { get; set; } /// /// /// - public global::Cohere.GenerateResponse2? Type605 { get; set; } + public global::Cohere.CancelEmbedJobResponse4? Type605 { get; set; } /// /// /// - public global::Cohere.GenerateResponse3? Type606 { get; set; } + public global::Cohere.CancelEmbedJobResponse5? Type606 { get; set; } /// /// /// - public global::Cohere.GenerateResponse4? Type607 { get; set; } + public global::Cohere.CancelEmbedJobResponse6? Type607 { get; set; } /// /// /// - public global::Cohere.GenerateResponse5? Type608 { get; set; } + public global::Cohere.CancelEmbedJobResponse7? Type608 { get; set; } /// /// /// - public global::Cohere.GenerateResponse6? Type609 { get; set; } + public global::Cohere.CancelEmbedJobResponse8? Type609 { get; set; } /// /// /// - public global::Cohere.GenerateResponse7? Type610 { get; set; } + public global::Cohere.CancelEmbedJobResponse9? Type610 { get; set; } /// /// /// - public global::Cohere.GenerateResponse8? Type611 { get; set; } + public global::Cohere.CancelEmbedJobResponse10? Type611 { get; set; } /// /// /// - public global::Cohere.GenerateResponse9? Type612 { get; set; } + public global::Cohere.CancelEmbedJobResponse11? Type612 { get; set; } /// /// /// - public global::Cohere.GenerateResponse10? Type613 { get; set; } + public global::Cohere.CancelEmbedJobResponse12? Type613 { get; set; } /// /// /// - public global::Cohere.GenerateResponse11? Type614 { get; set; } + public global::Cohere.GenerateResponse? Type614 { get; set; } /// /// /// - public global::Cohere.GenerateResponse12? Type615 { get; set; } + public global::Cohere.GenerateResponse2? Type615 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse2? Type616 { get; set; } + public global::Cohere.GenerateResponse3? Type616 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse3? Type617 { get; set; } + public global::Cohere.GenerateResponse4? Type617 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse4? Type618 { get; set; } + public global::Cohere.GenerateResponse5? Type618 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse5? Type619 { get; set; } + public global::Cohere.GenerateResponse6? Type619 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse6? Type620 { get; set; } + public global::Cohere.GenerateResponse7? Type620 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse7? Type621 { get; set; } + public global::Cohere.GenerateResponse8? Type621 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse8? Type622 { get; set; } + public global::Cohere.GenerateResponse9? Type622 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse9? Type623 { get; set; } + public global::Cohere.GenerateResponse10? Type623 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse10? Type624 { get; set; } + public global::Cohere.GenerateResponse11? Type624 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse11? Type625 { get; set; } + public global::Cohere.GenerateResponse12? Type625 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse12? Type626 { get; set; } + public global::Cohere.ListModelsResponse2? Type626 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse13? Type627 { get; set; } + public global::Cohere.ListModelsResponse3? Type627 { get; set; } /// /// /// - public global::Cohere.GetModelResponse2? Type628 { get; set; } + public global::Cohere.ListModelsResponse4? Type628 { get; set; } /// /// /// - public global::Cohere.GetModelResponse3? Type629 { get; set; } + public global::Cohere.ListModelsResponse5? Type629 { get; set; } /// /// /// - public global::Cohere.GetModelResponse4? Type630 { get; set; } + public global::Cohere.ListModelsResponse6? Type630 { get; set; } /// /// /// - public global::Cohere.GetModelResponse5? Type631 { get; set; } + public global::Cohere.ListModelsResponse7? Type631 { get; set; } /// /// /// - public global::Cohere.GetModelResponse6? Type632 { get; set; } + public global::Cohere.ListModelsResponse8? Type632 { get; set; } /// /// /// - public global::Cohere.GetModelResponse7? Type633 { get; set; } + public global::Cohere.ListModelsResponse9? Type633 { get; set; } /// /// /// - public global::Cohere.GetModelResponse8? Type634 { get; set; } + public global::Cohere.ListModelsResponse10? Type634 { get; set; } /// /// /// - public global::Cohere.GetModelResponse9? Type635 { get; set; } + public global::Cohere.ListModelsResponse11? Type635 { get; set; } /// /// /// - public global::Cohere.GetModelResponse10? Type636 { get; set; } + public global::Cohere.ListModelsResponse12? Type636 { get; set; } /// /// /// - public global::Cohere.GetModelResponse11? Type637 { get; set; } + public global::Cohere.ListModelsResponse13? Type637 { get; set; } /// /// /// - public global::Cohere.GetModelResponse12? Type638 { get; set; } + public global::Cohere.GetModelResponse2? Type638 { get; set; } /// /// /// - public global::Cohere.GetModelResponse13? Type639 { get; set; } + public global::Cohere.GetModelResponse3? Type639 { get; set; } /// /// /// - public global::Cohere.RerankResponse? Type640 { get; set; } + public global::Cohere.GetModelResponse4? Type640 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type641 { get; set; } + public global::Cohere.GetModelResponse5? Type641 { get; set; } /// /// /// - public global::Cohere.RerankResponseResult? Type642 { get; set; } + public global::Cohere.GetModelResponse6? Type642 { get; set; } /// /// /// - public global::Cohere.RerankResponseResultDocument? Type643 { get; set; } + public global::Cohere.GetModelResponse7? Type643 { get; set; } /// /// /// - public global::Cohere.RerankResponse2? Type644 { get; set; } + public global::Cohere.GetModelResponse8? Type644 { get; set; } /// /// /// - public global::Cohere.RerankResponse3? Type645 { get; set; } + public global::Cohere.GetModelResponse9? Type645 { get; set; } /// /// /// - public global::Cohere.RerankResponse4? Type646 { get; set; } + public global::Cohere.GetModelResponse10? Type646 { get; set; } /// /// /// - public global::Cohere.RerankResponse5? Type647 { get; set; } + public global::Cohere.GetModelResponse11? Type647 { get; set; } /// /// /// - public global::Cohere.RerankResponse6? Type648 { get; set; } + public global::Cohere.GetModelResponse12? Type648 { get; set; } /// /// /// - public global::Cohere.RerankResponse7? Type649 { get; set; } + public global::Cohere.GetModelResponse13? Type649 { get; set; } /// /// /// - public global::Cohere.RerankResponse8? Type650 { get; set; } + public global::Cohere.RerankResponse? Type650 { get; set; } /// /// /// - public global::Cohere.RerankResponse9? Type651 { get; set; } + public global::System.Collections.Generic.IList? Type651 { get; set; } /// /// /// - public global::Cohere.RerankResponse10? Type652 { get; set; } + public global::Cohere.RerankResponseResult? Type652 { get; set; } /// /// /// - public global::Cohere.RerankResponse11? Type653 { get; set; } + public global::Cohere.RerankResponseResultDocument? Type653 { get; set; } /// /// /// - public global::Cohere.RerankResponse12? Type654 { get; set; } + public global::Cohere.RerankResponse2? Type654 { get; set; } /// /// /// - public global::Cohere.RerankResponse13? Type655 { get; set; } + public global::Cohere.RerankResponse3? Type655 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse? Type656 { get; set; } + public global::Cohere.RerankResponse4? Type656 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse2? Type657 { get; set; } + public global::Cohere.RerankResponse5? Type657 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse3? Type658 { get; set; } + public global::Cohere.RerankResponse6? Type658 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse4? Type659 { get; set; } + public global::Cohere.RerankResponse7? Type659 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse5? Type660 { get; set; } + public global::Cohere.RerankResponse8? Type660 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse6? Type661 { get; set; } + public global::Cohere.RerankResponse9? Type661 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse7? Type662 { get; set; } + public global::Cohere.RerankResponse10? Type662 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse8? Type663 { get; set; } + public global::Cohere.RerankResponse11? Type663 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse9? Type664 { get; set; } + public global::Cohere.RerankResponse12? Type664 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse10? Type665 { get; set; } + public global::Cohere.RerankResponse13? Type665 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse11? Type666 { get; set; } + public global::Cohere.SummarizeResponse? Type666 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse12? Type667 { get; set; } + public global::Cohere.SummarizeResponse2? Type667 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse13? Type668 { get; set; } + public global::Cohere.SummarizeResponse3? Type668 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse? Type669 { get; set; } + public global::Cohere.SummarizeResponse4? Type669 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse2? Type670 { get; set; } + public global::Cohere.SummarizeResponse5? Type670 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse3? Type671 { get; set; } + public global::Cohere.SummarizeResponse6? Type671 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse4? Type672 { get; set; } + public global::Cohere.SummarizeResponse7? Type672 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse5? Type673 { get; set; } + public global::Cohere.SummarizeResponse8? Type673 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse6? Type674 { get; set; } + public global::Cohere.SummarizeResponse9? Type674 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse7? Type675 { get; set; } + public global::Cohere.SummarizeResponse10? Type675 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse8? Type676 { get; set; } + public global::Cohere.SummarizeResponse11? Type676 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse9? Type677 { get; set; } + public global::Cohere.SummarizeResponse12? Type677 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse10? Type678 { get; set; } + public global::Cohere.SummarizeResponse13? Type678 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse11? Type679 { get; set; } + public global::Cohere.TokenizeResponse? Type679 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse12? Type680 { get; set; } + public global::Cohere.TokenizeResponse2? Type680 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse13? Type681 { get; set; } + public global::Cohere.TokenizeResponse3? Type681 { get; set; } /// /// /// - public global::Cohere.OneOf? Type682 { get; set; } + public global::Cohere.TokenizeResponse4? Type682 { get; set; } /// /// /// - public global::Cohere.Chatv2Response2? Type683 { get; set; } + public global::Cohere.TokenizeResponse5? Type683 { get; set; } /// /// /// - public global::Cohere.Chatv2Response3? Type684 { get; set; } + public global::Cohere.TokenizeResponse6? Type684 { get; set; } /// /// /// - public global::Cohere.Chatv2Response4? Type685 { get; set; } + public global::Cohere.TokenizeResponse7? Type685 { get; set; } /// /// /// - public global::Cohere.Chatv2Response5? Type686 { get; set; } + public global::Cohere.TokenizeResponse8? Type686 { get; set; } /// /// /// - public global::Cohere.Chatv2Response6? Type687 { get; set; } + public global::Cohere.TokenizeResponse9? Type687 { get; set; } /// /// /// - public global::Cohere.Chatv2Response7? Type688 { get; set; } + public global::Cohere.TokenizeResponse10? Type688 { get; set; } /// /// /// - public global::Cohere.Chatv2Response8? Type689 { get; set; } + public global::Cohere.TokenizeResponse11? Type689 { get; set; } /// /// /// - public global::Cohere.Chatv2Response9? Type690 { get; set; } + public global::Cohere.TokenizeResponse12? Type690 { get; set; } /// /// /// - public global::Cohere.Chatv2Response10? Type691 { get; set; } + public global::Cohere.TokenizeResponse13? Type691 { get; set; } /// /// /// - public global::Cohere.Chatv2Response11? Type692 { get; set; } + public global::Cohere.OneOf? Type692 { get; set; } /// /// /// - public global::Cohere.Chatv2Response12? Type693 { get; set; } + public global::Cohere.Chatv2Response2? Type693 { get; set; } /// /// /// - public global::Cohere.Chatv2Response13? Type694 { get; set; } + public global::Cohere.Chatv2Response3? Type694 { get; set; } /// /// /// - public global::Cohere.Embedv2Response? Type695 { get; set; } + public global::Cohere.Chatv2Response4? Type695 { get; set; } /// /// /// - public global::Cohere.Embedv2Response2? Type696 { get; set; } + public global::Cohere.Chatv2Response5? Type696 { get; set; } /// /// /// - public global::Cohere.Embedv2Response3? Type697 { get; set; } + public global::Cohere.Chatv2Response6? Type697 { get; set; } /// /// /// - public global::Cohere.Embedv2Response4? Type698 { get; set; } + public global::Cohere.Chatv2Response7? Type698 { get; set; } /// /// /// - public global::Cohere.Embedv2Response5? Type699 { get; set; } + public global::Cohere.Chatv2Response8? Type699 { get; set; } /// /// /// - public global::Cohere.Embedv2Response6? Type700 { get; set; } + public global::Cohere.Chatv2Response9? Type700 { get; set; } /// /// /// - public global::Cohere.Embedv2Response7? Type701 { get; set; } + public global::Cohere.Chatv2Response10? Type701 { get; set; } /// /// /// - public global::Cohere.Embedv2Response8? Type702 { get; set; } + public global::Cohere.Chatv2Response11? Type702 { get; set; } /// /// /// - public global::Cohere.Embedv2Response9? Type703 { get; set; } + public global::Cohere.Chatv2Response12? Type703 { get; set; } /// /// /// - public global::Cohere.Embedv2Response10? Type704 { get; set; } + public global::Cohere.Chatv2Response13? Type704 { get; set; } /// /// /// - public global::Cohere.Embedv2Response11? Type705 { get; set; } + public global::Cohere.Embedv2Response? Type705 { get; set; } /// /// /// - public global::Cohere.Embedv2Response12? Type706 { get; set; } + public global::Cohere.Embedv2Response2? Type706 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response? Type707 { get; set; } + public global::Cohere.Embedv2Response3? Type707 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type708 { get; set; } + public global::Cohere.Embedv2Response4? Type708 { get; set; } /// /// /// - public global::Cohere.Rerankv2ResponseResult? Type709 { get; set; } + public global::Cohere.Embedv2Response5? Type709 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response2? Type710 { get; set; } + public global::Cohere.Embedv2Response6? Type710 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response3? Type711 { get; set; } + public global::Cohere.Embedv2Response7? Type711 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response4? Type712 { get; set; } + public global::Cohere.Embedv2Response8? Type712 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response5? Type713 { get; set; } + public global::Cohere.Embedv2Response9? Type713 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response6? Type714 { get; set; } + public global::Cohere.Embedv2Response10? Type714 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response7? Type715 { get; set; } + public global::Cohere.Embedv2Response11? Type715 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response8? Type716 { get; set; } + public global::Cohere.Embedv2Response12? Type716 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response9? Type717 { get; set; } + public global::Cohere.Rerankv2Response? Type717 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response10? Type718 { get; set; } + public global::System.Collections.Generic.IList? Type718 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response11? Type719 { get; set; } + public global::Cohere.Rerankv2ResponseResult? Type719 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response12? Type720 { get; set; } + public global::Cohere.Rerankv2Response2? Type720 { get; set; } /// /// /// - public global::Cohere.Rerankv2Response13? Type721 { get; set; } + public global::Cohere.Rerankv2Response3? Type721 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response4? Type722 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response5? Type723 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response6? Type724 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response7? Type725 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response8? Type726 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response9? Type727 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response10? Type728 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response11? Type729 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response12? Type730 { get; set; } + /// + /// + /// + public global::Cohere.Rerankv2Response13? Type731 { get; set; } } } \ No newline at end of file diff --git a/src/libs/Cohere/openapi.yaml b/src/libs/Cohere/openapi.yaml index 6ee41c77..75b4f92a 100644 --- a/src/libs/Cohere/openapi.yaml +++ b/src/libs/Cohere/openapi.yaml @@ -7451,7 +7451,7 @@ paths: - public stream: type: boolean - description: "Defaults to `false`.\n\nWhen `true`, the response will be a SSE stream of events. The final event will contain the complete response, and will have an `event_type` of `\"stream-end\"`.\n\nStreaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.\n\nCompatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments\n" + description: "Defaults to `false`.\n\nWhen `true`, the response will be a SSE stream of events. The final event will contain the complete response, and will have an `event_type` of `\"stream-end\"`.\n\nStreaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.\n" x-fern-audiences: - public strict_tools: @@ -7994,12 +7994,22 @@ paths: - public input_type: $ref: '#/components/schemas/EmbedInputType' + inputs: + type: array + items: + $ref: '#/components/schemas/EmbedInput' + x-fern-audiences: + - public model: type: string description: "Defaults to embed-english-v2.0\n\nThe identifier of the model. Smaller \"light\" models are faster, while larger models will perform better. [Custom models](https://docs.cohere.com/docs/training-custom-models) can also be supplied with their full ID.\n\nAvailable models and corresponding embedding dimensions:\n\n* `embed-english-v3.0` 1024\n* `embed-multilingual-v3.0` 1024\n* `embed-english-light-v3.0` 384\n* `embed-multilingual-light-v3.0` 384\n\n* `embed-english-v2.0` 4096\n* `embed-english-light-v2.0` 1024\n* `embed-multilingual-v2.0` 768" writeOnly: true x-fern-audiences: - public + output_dimension: + type: integer + x-fern-audiences: + - public texts: maxItems: 96 minItems: 1 @@ -12833,7 +12843,6 @@ components: required: - id - embeddings - - texts - api_version type: object properties: @@ -14123,6 +14132,23 @@ components: version: '1' texts: - hello world + EmbedContent: + oneOf: + - $ref: '#/components/schemas/EmbedImage' + - $ref: '#/components/schemas/EmbedText' + discriminator: + propertyName: type + mapping: + image_url: '#/components/schemas/EmbedImage' + text: '#/components/schemas/EmbedText' + EmbedContentType: + enum: + - text + - image_url + type: string + writeOnly: true + x-fern-audiences: + - public EmbedFloatsResponse: required: - id @@ -15211,6 +15237,56 @@ components: version: '1' texts: - hello world + EmbedImage: + type: object + properties: + image: + $ref: '#/components/schemas/EmbedImageProperties' + type: + $ref: '#/components/schemas/EmbedContentType' + x-fern-audiences: + - public + EmbedImageProperties: + type: object + properties: + bit_depth: + type: number + description: Bit depth of the image + format: int64 + x-fern-audiences: + - public + format: + type: string + description: Format of the image + x-fern-audiences: + - public + height: + type: number + description: Height of the image in pixels + format: int64 + x-fern-audiences: + - public + width: + type: number + description: Width of the image in pixels + format: int64 + x-fern-audiences: + - public + x-fern-audiences: + - public + EmbedInput: + required: + - content + type: object + properties: + content: + type: array + items: + $ref: '#/components/schemas/EmbedContent' + x-fern-audiences: + - public + x-fern-audiences: + - public EmbedInputType: enum: - search_document @@ -15282,6 +15358,17 @@ components: description: The truncation option used x-fern-audiences: - public + EmbedText: + type: object + properties: + text: + type: string + x-fern-audiences: + - public + type: + $ref: '#/components/schemas/EmbedContentType' + x-fern-audiences: + - public EmbeddingType: enum: - float