diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs new file mode 100644 index 0000000..bb452f4 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace Cohere +{ + public partial class CohereApi + { + partial void PrepareEmbedv2Arguments( + global::System.Net.Http.HttpClient httpClient, + ref string? xClientName, + global::Cohere.V2EmbedRequest request); + partial void PrepareEmbedv2Request( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? xClientName, + global::Cohere.V2EmbedRequest request); + partial void ProcessEmbedv2Response( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessEmbedv2ResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Embed
+ /// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.
+ /// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.
+ /// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search). + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task Embedv2Async( + global::Cohere.V2EmbedRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareEmbedv2Arguments( + httpClient: _httpClient, + xClientName: ref xClientName, + request: request); + + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + "/v2/embed", global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, request.GetType(), JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareEmbedv2Request( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + xClientName: xClientName, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessEmbedv2Response( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessEmbedv2ResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, typeof(global::Cohere.EmbedByTypeResponse), JsonSerializerContext) as global::Cohere.EmbedByTypeResponse ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Embed
+ /// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.
+ /// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.
+ /// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search). + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task Embedv2Async( + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::Cohere.V2EmbedRequest + { + }; + + return await Embedv2Async( + xClientName: xClientName, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.ICohereApi.Embedv2.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereApi.Embedv2.g.cs new file mode 100644 index 0000000..9373362 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.ICohereApi.Embedv2.g.cs @@ -0,0 +1,35 @@ +#nullable enable + +namespace Cohere +{ + public partial interface ICohereApi + { + /// + /// Embed
+ /// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.
+ /// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.
+ /// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search). + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Embedv2Async( + global::Cohere.V2EmbedRequest request, + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Embed
+ /// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.
+ /// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.
+ /// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search). + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task Embedv2Async( + string? xClientName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response.g.cs new file mode 100644 index 0000000..4559bd2 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response10.g.cs new file mode 100644 index 0000000..a8afee0 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response10.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response10 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response11.g.cs new file mode 100644 index 0000000..65361e3 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response11.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response11 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response12.g.cs new file mode 100644 index 0000000..14b4318 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response12.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response12 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response2.g.cs new file mode 100644 index 0000000..f8aaabc --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response2.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response3.g.cs new file mode 100644 index 0000000..a24f180 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response3.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response4.g.cs new file mode 100644 index 0000000..9d97aa4 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response4.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response5.g.cs new file mode 100644 index 0000000..22f60ac --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response5.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response5 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response6.g.cs new file mode 100644 index 0000000..6a1143a --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response6.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response6 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response7.g.cs new file mode 100644 index 0000000..7042625 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response7.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response7 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response8.g.cs new file mode 100644 index 0000000..6c1539b --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response8.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response8 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response9.g.cs new file mode 100644 index 0000000..c9e0344 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response9.g.cs @@ -0,0 +1,23 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Embedv2Response9 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + public string? Data { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Images.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Images.g.cs new file mode 100644 index 0000000..3ab6bff --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Images.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Images + { + /// + /// Defaults to embed-english-v2.0
+ /// The identifier of the model. Smaller "light" models are faster, while larger models will perform better. [Custom models](/docs/training-custom-models) can also be supplied with their full ID.
+ /// Available models and corresponding embedding dimensions:
+ /// * `embed-english-v3.0` 1024
+ /// * `embed-multilingual-v3.0` 1024
+ /// * `embed-english-light-v3.0` 384
+ /// * `embed-multilingual-light-v3.0` 384
+ /// * `embed-english-v2.0` 4096
+ /// * `embed-english-light-v2.0` 1024
+ /// * `embed-multilingual-v2.0` 768 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("model")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Model { get; set; } + + /// + /// Specifies the type of input passed to the model. Required for embedding models v3 and higher.
+ /// - `"search_document"`: Used for embeddings stored in a vector database for search use-cases.
+ /// - `"search_query"`: Used for embeddings of search queries run against a vector DB to find relevant documents.
+ /// - `"classification"`: Used for embeddings passed through a text classifier.
+ /// - `"clustering"`: Used for the embeddings run through a clustering algorithm.
+ /// - `"image"`: Used for embeddings with image input. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("input_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Cohere.JsonConverters.EmbedInputTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Cohere.EmbedInputType InputType { get; set; } + + /// + /// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.
+ /// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.
+ /// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.
+ /// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.
+ /// * `"binary"`: Use this when you want to get back signed binary embeddings. Valid for only v3 models.
+ /// * `"ubinary"`: Use this when you want to get back unsigned binary embeddings. Valid for only v3 models. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("embedding_types")] + public global::System.Collections.Generic.IList? EmbeddingTypes { 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Texts.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Texts.g.cs new file mode 100644 index 0000000..4915680 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.Texts.g.cs @@ -0,0 +1,74 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public sealed partial class Texts + { + /// + /// 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. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("texts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Texts1 { 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](/docs/training-custom-models) can also be supplied with their full ID.
+ /// Available models and corresponding embedding dimensions:
+ /// * `embed-english-v3.0` 1024
+ /// * `embed-multilingual-v3.0` 1024
+ /// * `embed-english-light-v3.0` 384
+ /// * `embed-multilingual-light-v3.0` 384
+ /// * `embed-english-v2.0` 4096
+ /// * `embed-english-light-v2.0` 1024
+ /// * `embed-multilingual-v2.0` 768 + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("model")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Model { get; set; } + + /// + /// Specifies the type of input passed to the model. Required for embedding models v3 and higher.
+ /// - `"search_document"`: Used for embeddings stored in a vector database for search use-cases.
+ /// - `"search_query"`: Used for embeddings of search queries run against a vector DB to find relevant documents.
+ /// - `"classification"`: Used for embeddings passed through a text classifier.
+ /// - `"clustering"`: Used for the embeddings run through a clustering algorithm.
+ /// - `"image"`: Used for embeddings with image input. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("input_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Cohere.JsonConverters.EmbedInputTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::Cohere.EmbedInputType InputType { get; set; } + + /// + /// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.
+ /// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.
+ /// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.
+ /// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.
+ /// * `"binary"`: Use this when you want to get back signed binary embeddings. Valid for only v3 models.
+ /// * `"ubinary"`: Use this when you want to get back unsigned binary embeddings. Valid for only v3 models. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("embedding_types")] + public global::System.Collections.Generic.IList? EmbeddingTypes { get; set; } + + /// + /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// If `NONE` is selected, when the input exceeds the maximum input token length an error will be returned.
+ /// Default Value: END + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("truncate")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Cohere.JsonConverters.TextsTruncateJsonConverter))] + public global::Cohere.TextsTruncate? Truncate { get; set; } = global::Cohere.TextsTruncate.END; + + /// + /// 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(); + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.TextsTruncate.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TextsTruncate.g.cs new file mode 100644 index 0000000..3e97c29 --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.TextsTruncate.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace Cohere +{ + /// + /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
+ /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
+ /// If `NONE` is selected, when the input exceeds the maximum input token length an error will be returned.
+ /// Default Value: END + ///
+ public enum TextsTruncate + { + /// + /// + /// + NONE, + /// + /// + /// + START, + /// + /// + /// + END, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TextsTruncateExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this TextsTruncate value) + { + return value switch + { + TextsTruncate.NONE => "NONE", + TextsTruncate.START => "START", + TextsTruncate.END => "END", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static TextsTruncate? ToEnum(string value) + { + return value switch + { + "NONE" => TextsTruncate.NONE, + "START" => TextsTruncate.START, + "END" => TextsTruncate.END, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.V2EmbedRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.V2EmbedRequest.g.cs new file mode 100644 index 0000000..bd37f4b --- /dev/null +++ b/src/libs/Cohere/Generated/Cohere.Models.V2EmbedRequest.g.cs @@ -0,0 +1,166 @@ +using System.Linq; +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Cohere +{ + /// + /// + /// + public readonly partial struct V2EmbedRequest : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Cohere.Texts? Texts { get; init; } +#else + public global::Cohere.Texts? Texts { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Texts))] +#endif + public bool IsTexts => Texts != null; + + /// + /// + /// + public static implicit operator V2EmbedRequest(global::Cohere.Texts value) => new V2EmbedRequest(value); + + /// + /// + /// + public static implicit operator global::Cohere.Texts?(V2EmbedRequest @this) => @this.Texts; + + /// + /// + /// + public V2EmbedRequest(global::Cohere.Texts? value) + { + Texts = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Cohere.Images? Images { get; init; } +#else + public global::Cohere.Images? Images { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Images))] +#endif + public bool IsImages => Images != null; + + /// + /// + /// + public static implicit operator V2EmbedRequest(global::Cohere.Images value) => new V2EmbedRequest(value); + + /// + /// + /// + public static implicit operator global::Cohere.Images?(V2EmbedRequest @this) => @this.Images; + + /// + /// + /// + public V2EmbedRequest(global::Cohere.Images? value) + { + Images = value; + } + + /// + /// + /// + public V2EmbedRequest( + global::Cohere.Texts? texts, + global::Cohere.Images? images + ) + { + Texts = texts; + Images = images; + } + + /// + /// + /// + public object? Object => + Images as object ?? + Texts as object + ; + + /// + /// + /// + public bool Validate() + { + return IsTexts && !IsImages || !IsTexts && IsImages; + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + Texts, + typeof(global::Cohere.Texts), + Images, + typeof(global::Cohere.Images), + }; + 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 fields.Aggregate(offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(V2EmbedRequest other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(Texts, other.Texts) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(Images, other.Images) + ; + } + + /// + /// + /// + public static bool operator ==(V2EmbedRequest obj1, V2EmbedRequest obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(V2EmbedRequest obj1, V2EmbedRequest obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is V2EmbedRequest o && Equals(o); + } + } +} diff --git a/src/libs/Cohere/Generated/JsonConverters.TextsTruncate.g.cs b/src/libs/Cohere/Generated/JsonConverters.TextsTruncate.g.cs new file mode 100644 index 0000000..217a8e3 --- /dev/null +++ b/src/libs/Cohere/Generated/JsonConverters.TextsTruncate.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace Cohere.JsonConverters +{ + /// + public sealed class TextsTruncateJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Cohere.TextsTruncate 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.TextsTruncateExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Cohere.TextsTruncate)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Cohere.TextsTruncate value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Cohere.TextsTruncateExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Cohere/Generated/JsonConverters.TextsTruncateNullable.g.cs b/src/libs/Cohere/Generated/JsonConverters.TextsTruncateNullable.g.cs new file mode 100644 index 0000000..b550376 --- /dev/null +++ b/src/libs/Cohere/Generated/JsonConverters.TextsTruncateNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace Cohere.JsonConverters +{ + /// + public sealed class TextsTruncateNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Cohere.TextsTruncate? 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.TextsTruncateExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Cohere.TextsTruncate)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Cohere.TextsTruncate? 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.TextsTruncateExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Cohere/Generated/JsonConverters.V2EmbedRequest.g.cs b/src/libs/Cohere/Generated/JsonConverters.V2EmbedRequest.g.cs new file mode 100644 index 0000000..d77d9f5 --- /dev/null +++ b/src/libs/Cohere/Generated/JsonConverters.V2EmbedRequest.g.cs @@ -0,0 +1,87 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace Cohere.JsonConverters +{ + /// + public class V2EmbedRequestJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Cohere.V2EmbedRequest 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; + global::Cohere.Texts? texts = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.Texts), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Cohere.Texts).Name}"); + texts = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + global::Cohere.Images? images = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.Images), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Cohere.Images).Name}"); + images = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + var result = new global::Cohere.V2EmbedRequest( + texts, + images + ); + + if (texts != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.Texts), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Cohere.Texts).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (images != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.Images), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Cohere.Images).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + return result; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Cohere.V2EmbedRequest 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.IsTexts) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.Texts), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Cohere.Texts).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Texts, typeInfo); + } + else if (value.IsImages) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Cohere.Images), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Cohere.Images).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Images, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Cohere/Generated/JsonSerializerContext.g.cs b/src/libs/Cohere/Generated/JsonSerializerContext.g.cs index f5fa409..3352188 100644 --- a/src/libs/Cohere/Generated/JsonSerializerContext.g.cs +++ b/src/libs/Cohere/Generated/JsonSerializerContext.g.cs @@ -65,6 +65,8 @@ namespace Cohere typeof(global::Cohere.JsonConverters.EmbedFloatsResponseResponseTypeNullableJsonConverter), typeof(global::Cohere.JsonConverters.EmbedByTypeResponseResponseTypeJsonConverter), typeof(global::Cohere.JsonConverters.EmbedByTypeResponseResponseTypeNullableJsonConverter), + typeof(global::Cohere.JsonConverters.TextsTruncateJsonConverter), + typeof(global::Cohere.JsonConverters.TextsTruncateNullableJsonConverter), typeof(global::Cohere.JsonConverters.EmbedJobStatusJsonConverter), typeof(global::Cohere.JsonConverters.EmbedJobStatusNullableJsonConverter), typeof(global::Cohere.JsonConverters.EmbedJobTruncateJsonConverter), @@ -151,6 +153,7 @@ namespace Cohere typeof(global::Cohere.JsonConverters.GenerateStreamEndJsonConverter), typeof(global::Cohere.JsonConverters.GenerateStreamErrorJsonConverter), typeof(global::Cohere.JsonConverters.GenerateStreamedResponseJsonConverter), + typeof(global::Cohere.JsonConverters.V2EmbedRequestJsonConverter), })] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Cohere.JsonSerializerContextTypes))] diff --git a/src/libs/Cohere/Generated/JsonSerializerContextTypes.g.cs b/src/libs/Cohere/Generated/JsonSerializerContextTypes.g.cs index bb17d93..14449c7 100644 --- a/src/libs/Cohere/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/Cohere/Generated/JsonSerializerContextTypes.g.cs @@ -781,1866 +781,1930 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Cohere.EmbedJob? Type192 { get; set; } + public global::Cohere.Texts? Type192 { get; set; } /// /// /// - public global::Cohere.EmbedJobStatus? Type193 { get; set; } + public global::System.Collections.Generic.IList? Type193 { get; set; } /// /// /// - public global::System.DateTime? Type194 { get; set; } + public global::Cohere.TextsTruncate? Type194 { get; set; } /// /// /// - public global::Cohere.EmbedJobTruncate? Type195 { get; set; } + public global::Cohere.Images? Type195 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobResponse? Type196 { get; set; } + public global::Cohere.V2EmbedRequest? Type196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type197 { get; set; } + public global::Cohere.EmbedJob? Type197 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobRequest? Type198 { get; set; } + public global::Cohere.EmbedJobStatus? Type198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type199 { get; set; } + public global::System.DateTime? Type199 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobRequestTruncate? Type200 { get; set; } + public global::Cohere.EmbedJobTruncate? Type200 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse? Type201 { get; set; } + public global::Cohere.ListEmbedJobResponse? Type201 { get; set; } /// /// /// - public global::Cohere.RerankDocument? Type202 { get; set; } + public global::System.Collections.Generic.IList? Type202 { get; set; } /// /// /// - public global::Cohere.ClassifyExample? Type203 { get; set; } + public global::Cohere.CreateEmbedJobRequest? Type203 { get; set; } /// /// /// - public global::Cohere.DatasetValidationStatus? Type204 { get; set; } + public global::Cohere.CreateEmbedJobRequestTruncate? Type204 { get; set; } /// /// /// - public global::Cohere.DatasetType? Type205 { get; set; } + public global::Cohere.CreateEmbedJobResponse? Type205 { get; set; } /// /// /// - public global::Cohere.DatasetPart? Type206 { get; set; } + public global::Cohere.RerankDocument? Type206 { get; set; } /// /// /// - public global::Cohere.ParseInfo? Type207 { get; set; } + public global::Cohere.ClassifyExample? Type207 { get; set; } /// /// /// - public global::Cohere.RerankerDataMetrics? Type208 { get; set; } + public global::Cohere.DatasetValidationStatus? Type208 { get; set; } /// /// /// - public global::Cohere.ChatDataMetrics? Type209 { get; set; } + public global::Cohere.DatasetType? Type209 { get; set; } /// /// /// - public global::Cohere.LabelMetric? Type210 { get; set; } + public global::Cohere.DatasetPart? Type210 { get; set; } /// /// /// - public global::Cohere.ClassifyDataMetrics? Type211 { get; set; } + public global::Cohere.ParseInfo? Type211 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type212 { get; set; } + public global::Cohere.RerankerDataMetrics? Type212 { get; set; } /// /// /// - public global::Cohere.FinetuneDatasetMetrics? Type213 { get; set; } + public global::Cohere.ChatDataMetrics? Type213 { get; set; } /// /// /// - public global::Cohere.Metrics? Type214 { get; set; } + public global::Cohere.LabelMetric? Type214 { get; set; } /// /// /// - public global::Cohere.Dataset? Type215 { get; set; } + public global::Cohere.ClassifyDataMetrics? Type215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type216 { get; set; } + public global::System.Collections.Generic.IList? Type216 { get; set; } /// /// /// - public global::Cohere.ConnectorOAuth? Type217 { get; set; } + public global::Cohere.FinetuneDatasetMetrics? Type217 { get; set; } /// /// /// - public global::Cohere.Connector? Type218 { get; set; } + public global::Cohere.Metrics? Type218 { get; set; } /// /// /// - public global::Cohere.ConnectorAuthStatus? Type219 { get; set; } + public global::Cohere.Dataset? Type219 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type221 { get; set; } + public global::Cohere.ConnectorOAuth? Type221 { get; set; } /// /// /// - public global::Cohere.CreateConnectorOAuth? Type222 { get; set; } + public global::Cohere.Connector? Type222 { get; set; } /// /// /// - public global::Cohere.AuthTokenType? Type223 { get; set; } + public global::Cohere.ConnectorAuthStatus? Type223 { get; set; } /// /// /// - public global::Cohere.CreateConnectorServiceAuth? Type224 { get; set; } + public global::Cohere.ListConnectorsResponse? Type224 { get; set; } /// /// /// - public global::Cohere.CreateConnectorRequest? Type225 { get; set; } + public global::System.Collections.Generic.IList? Type225 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse? Type226 { get; set; } + public global::Cohere.CreateConnectorOAuth? Type226 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse? Type227 { get; set; } + public global::Cohere.AuthTokenType? Type227 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse? Type228 { get; set; } + public global::Cohere.CreateConnectorServiceAuth? Type228 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorRequest? Type229 { get; set; } + public global::Cohere.CreateConnectorRequest? Type229 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse? Type230 { get; set; } + public global::Cohere.CreateConnectorResponse? Type230 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeResponse? Type231 { get; set; } + public global::Cohere.GetConnectorResponse? Type231 { get; set; } /// /// /// - public global::Cohere.ConnectorLog? Type232 { get; set; } + public global::Cohere.DeleteConnectorResponse? Type232 { get; set; } /// /// /// - public global::Cohere.GetConnectorsLogsResponse? Type233 { get; set; } + public global::Cohere.UpdateConnectorRequest? Type233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type234 { get; set; } + public global::Cohere.UpdateConnectorResponse? Type234 { get; set; } /// /// /// - public global::Cohere.TokenLikelihood? Type235 { get; set; } + public global::Cohere.OAuthAuthorizeResponse? Type235 { get; set; } /// /// /// - public global::Cohere.LogLikelihoodResponse? Type236 { get; set; } + public global::Cohere.ConnectorLog? Type236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type237 { get; set; } + public global::Cohere.GetConnectorsLogsResponse? Type237 { get; set; } /// /// /// - public global::Cohere.Cluster? Type238 { get; set; } + public global::System.Collections.Generic.IList? Type238 { get; set; } /// /// /// - public global::Cohere.GetClusterJobResponse? Type239 { get; set; } + public global::Cohere.TokenLikelihood? Type239 { get; set; } /// /// /// - public global::Cohere.GetClusterJobResponseStatus? Type240 { get; set; } + public global::Cohere.LogLikelihoodResponse? Type240 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type241 { get; set; } + public global::System.Collections.Generic.IList? Type241 { get; set; } /// /// /// - public global::Cohere.ListClusterJobsResponse? Type242 { get; set; } + public global::Cohere.Cluster? Type242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type243 { get; set; } + public global::Cohere.GetClusterJobResponse? Type243 { get; set; } /// /// /// - public global::Cohere.CreateClusterJobRequest? Type244 { get; set; } + public global::Cohere.GetClusterJobResponseStatus? Type244 { get; set; } /// /// /// - public global::Cohere.CreateClusterJobResponse? Type245 { get; set; } + public global::System.Collections.Generic.IList? Type245 { get; set; } /// /// /// - public global::Cohere.UpdateClusterJobRequest? Type246 { get; set; } + public global::Cohere.ListClusterJobsResponse? Type246 { get; set; } /// /// /// - public global::Cohere.UpdateClusterJobRequestStatus? Type247 { get; set; } + public global::System.Collections.Generic.IList? Type247 { get; set; } /// /// /// - public global::Cohere.UpdateClusterJobRequestInputTrackingMetrics? Type248 { get; set; } + public global::Cohere.CreateClusterJobRequest? Type248 { get; set; } /// /// /// - public global::Cohere.UpdateClusterJobRequestOutputTrackingMetrics? Type249 { get; set; } + public global::Cohere.CreateClusterJobResponse? Type249 { get; set; } /// /// /// - public global::Cohere.UpdateClusterJobResponse? Type250 { get; set; } + public global::Cohere.UpdateClusterJobRequest? Type250 { get; set; } /// /// /// - public global::Cohere.CompatibleEndpoint? Type251 { get; set; } + public global::Cohere.UpdateClusterJobRequestStatus? Type251 { get; set; } /// /// /// - public global::Cohere.GetModelResponse? Type252 { get; set; } + public global::Cohere.UpdateClusterJobRequestInputTrackingMetrics? Type252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type253 { get; set; } + public global::Cohere.UpdateClusterJobRequestOutputTrackingMetrics? Type253 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse? Type254 { get; set; } + public global::Cohere.UpdateClusterJobResponse? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::Cohere.CompatibleEndpoint? Type255 { get; set; } /// /// /// - public global::Cohere.BaseType? Type256 { get; set; } + public global::Cohere.GetModelResponse? Type256 { get; set; } /// /// /// - public global::Cohere.Strategy? Type257 { get; set; } + public global::System.Collections.Generic.IList? Type257 { get; set; } /// /// /// - public global::Cohere.BaseModel? Type258 { get; set; } + public global::Cohere.ListModelsResponse? Type258 { get; set; } /// /// /// - public global::Cohere.Hyperparameters? Type259 { get; set; } + public global::System.Collections.Generic.IList? Type259 { get; set; } /// /// /// - public global::Cohere.WandbConfig? Type260 { get; set; } + public global::Cohere.BaseType? Type260 { get; set; } /// /// /// - public global::Cohere.Settings? Type261 { get; set; } + public global::Cohere.Strategy? Type261 { get; set; } /// /// /// - public global::Cohere.Status? Type262 { get; set; } + public global::Cohere.BaseModel? Type262 { get; set; } /// /// /// - public global::Cohere.FinetunedModel? Type263 { get; set; } + public global::Cohere.Hyperparameters? Type263 { get; set; } /// /// /// - public global::Cohere.ListFinetunedModelsResponse? Type264 { get; set; } + public global::Cohere.WandbConfig? Type264 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type265 { get; set; } + public global::Cohere.Settings? Type265 { get; set; } /// /// /// - public global::Cohere.Error? Type266 { get; set; } + public global::Cohere.Status? Type266 { get; set; } /// /// /// - public global::Cohere.CreateFinetunedModelResponse? Type267 { get; set; } + public global::Cohere.FinetunedModel? Type267 { get; set; } /// /// /// - public global::Cohere.GetFinetunedModelResponse? Type268 { get; set; } + public global::Cohere.ListFinetunedModelsResponse? Type268 { get; set; } /// /// /// - public global::Cohere.DeleteFinetunedModelResponse? Type269 { get; set; } + public global::System.Collections.Generic.IList? Type269 { get; set; } /// /// /// - public global::Cohere.UpdateFinetunedModelResponse? Type270 { get; set; } + public global::Cohere.Error? Type270 { get; set; } /// /// /// - public global::Cohere.Event? Type271 { get; set; } + public global::Cohere.CreateFinetunedModelResponse? Type271 { get; set; } /// /// /// - public global::Cohere.ListEventsResponse? Type272 { get; set; } + public global::Cohere.GetFinetunedModelResponse? Type272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type273 { get; set; } + public global::Cohere.DeleteFinetunedModelResponse? Type273 { get; set; } /// /// /// - public global::Cohere.TrainingStepMetrics? Type274 { get; set; } + public global::Cohere.UpdateFinetunedModelResponse? Type274 { get; set; } /// /// /// - public global::Cohere.TrainingStepMetricsMetrics? Type275 { get; set; } + public global::Cohere.Event? Type275 { get; set; } /// /// /// - public global::Cohere.ListTrainingStepMetricsResponse? Type276 { get; set; } + public global::Cohere.ListEventsResponse? Type276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::Cohere.ChatRequest? Type278 { get; set; } + public global::Cohere.TrainingStepMetrics? Type278 { get; set; } /// /// /// - public global::Cohere.ChatRequestPromptTruncation? Type279 { get; set; } + public global::Cohere.TrainingStepMetricsMetrics? Type279 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type280 { get; set; } + public global::Cohere.ListTrainingStepMetricsResponse? Type280 { get; set; } /// /// /// - public global::Cohere.ChatRequestCitationQuality? Type281 { get; set; } + public global::System.Collections.Generic.IList? Type281 { get; set; } /// /// /// - public float? Type282 { get; set; } + public global::Cohere.ChatRequest? Type282 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type283 { get; set; } + public global::Cohere.ChatRequestPromptTruncation? Type283 { get; set; } /// /// /// - public global::Cohere.ChatRequestSafetyMode? Type284 { get; set; } + public global::System.Collections.Generic.IList? Type284 { get; set; } /// /// /// - public global::Cohere.Chatv2Request? Type285 { get; set; } + public global::Cohere.ChatRequestCitationQuality? Type285 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type286 { get; set; } + public float? Type286 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type287 { get; set; } + public global::System.Collections.Generic.IList? Type287 { get; set; } /// /// /// - public global::Cohere.OneOf? Type288 { get; set; } + public global::Cohere.ChatRequestSafetyMode? Type288 { get; set; } /// /// /// - public global::Cohere.Chatv2RequestSafetyMode? Type289 { get; set; } + public global::Cohere.Chatv2Request? Type289 { get; set; } /// /// /// - public global::Cohere.GenerateRequest? Type290 { get; set; } + public global::System.Collections.Generic.IList? Type290 { get; set; } /// /// /// - public global::Cohere.GenerateRequestTruncate? Type291 { get; set; } + public global::System.Collections.Generic.IList>? Type291 { get; set; } /// /// /// - public global::Cohere.GenerateRequestReturnLikelihoods? Type292 { get; set; } + public global::Cohere.OneOf? Type292 { get; set; } /// /// /// - public global::Cohere.EmbedRequest? Type293 { get; set; } + public global::Cohere.Chatv2RequestSafetyMode? Type293 { get; set; } /// /// /// - public global::Cohere.EmbedRequestTruncate? Type294 { get; set; } + public global::Cohere.GenerateRequest? Type294 { get; set; } /// /// /// - public global::Cohere.RerankRequest? Type295 { get; set; } + public global::Cohere.GenerateRequestTruncate? Type295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type296 { get; set; } + public global::Cohere.GenerateRequestReturnLikelihoods? Type296 { get; set; } /// /// /// - public global::Cohere.OneOf? Type297 { get; set; } + public global::Cohere.EmbedRequest? Type297 { get; set; } /// /// /// - public global::Cohere.ClassifyRequest? Type298 { get; set; } + public global::Cohere.EmbedRequestTruncate? Type298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type299 { get; set; } + public global::Cohere.RerankRequest? Type299 { get; set; } /// /// /// - public global::Cohere.ClassifyRequestTruncate? Type300 { get; set; } + public global::System.Collections.Generic.IList>? Type300 { get; set; } /// /// /// - public global::Cohere.CreateDatasetRequest? Type301 { get; set; } + public global::Cohere.OneOf? Type301 { get; set; } /// /// /// - public byte[]? Type302 { get; set; } + public global::Cohere.ClassifyRequest? Type302 { get; set; } /// /// /// - public global::Cohere.SummarizeRequest? Type303 { get; set; } + public global::System.Collections.Generic.IList? Type303 { get; set; } /// /// /// - public global::Cohere.SummarizeRequestLength? Type304 { get; set; } + public global::Cohere.ClassifyRequestTruncate? Type304 { get; set; } /// /// /// - public global::Cohere.SummarizeRequestFormat? Type305 { get; set; } + public global::Cohere.CreateDatasetRequest? Type305 { get; set; } /// /// /// - public global::Cohere.SummarizeRequestExtractiveness? Type306 { get; set; } + public byte[]? Type306 { get; set; } /// /// /// - public global::Cohere.TokenizeRequest? Type307 { get; set; } + public global::Cohere.SummarizeRequest? Type307 { get; set; } /// /// /// - public global::Cohere.DetokenizeRequest? Type308 { get; set; } + public global::Cohere.SummarizeRequestLength? Type308 { get; set; } /// /// /// - public global::Cohere.UpdateFinetunedModelRequest? Type309 { get; set; } + public global::Cohere.SummarizeRequestFormat? Type309 { get; set; } /// /// /// - public global::Cohere.ChatAccepts? Type310 { get; set; } + public global::Cohere.SummarizeRequestExtractiveness? Type310 { get; set; } /// /// /// - public global::Cohere.OneOf? Type311 { get; set; } + public global::Cohere.TokenizeRequest? Type311 { get; set; } /// /// /// - public global::Cohere.ChatResponse2? Type312 { get; set; } + public global::Cohere.DetokenizeRequest? Type312 { get; set; } /// /// /// - public global::Cohere.ChatResponse3? Type313 { get; set; } + public global::Cohere.UpdateFinetunedModelRequest? Type313 { get; set; } /// /// /// - public global::Cohere.ChatResponse4? Type314 { get; set; } + public global::Cohere.ChatAccepts? Type314 { get; set; } /// /// /// - public global::Cohere.ChatResponse5? Type315 { get; set; } + public global::Cohere.OneOf? Type315 { get; set; } /// /// /// - public global::Cohere.ChatResponse6? Type316 { get; set; } + public global::Cohere.ChatResponse2? Type316 { get; set; } /// /// /// - public global::Cohere.ChatResponse7? Type317 { get; set; } + public global::Cohere.ChatResponse3? Type317 { get; set; } /// /// /// - public global::Cohere.ChatResponse8? Type318 { get; set; } + public global::Cohere.ChatResponse4? Type318 { get; set; } /// /// /// - public global::Cohere.ChatResponse9? Type319 { get; set; } + public global::Cohere.ChatResponse5? Type319 { get; set; } /// /// /// - public global::Cohere.ChatResponse10? Type320 { get; set; } + public global::Cohere.ChatResponse6? Type320 { get; set; } /// /// /// - public global::Cohere.ChatResponse11? Type321 { get; set; } + public global::Cohere.ChatResponse7? Type321 { get; set; } /// /// /// - public global::Cohere.ChatResponse12? Type322 { get; set; } + public global::Cohere.ChatResponse8? Type322 { get; set; } /// /// /// - public global::Cohere.ChatResponse13? Type323 { get; set; } + public global::Cohere.ChatResponse9? Type323 { get; set; } /// /// /// - public global::Cohere.OneOf? Type324 { get; set; } + public global::Cohere.ChatResponse10? Type324 { get; set; } /// /// /// - public global::Cohere.Chatv2Response2? Type325 { get; set; } + public global::Cohere.ChatResponse11? Type325 { get; set; } /// /// /// - public global::Cohere.Chatv2Response3? Type326 { get; set; } + public global::Cohere.ChatResponse12? Type326 { get; set; } /// /// /// - public global::Cohere.Chatv2Response4? Type327 { get; set; } + public global::Cohere.ChatResponse13? Type327 { get; set; } /// /// /// - public global::Cohere.Chatv2Response5? Type328 { get; set; } + public global::Cohere.OneOf? Type328 { get; set; } /// /// /// - public global::Cohere.Chatv2Response6? Type329 { get; set; } + public global::Cohere.Chatv2Response2? Type329 { get; set; } /// /// /// - public global::Cohere.Chatv2Response7? Type330 { get; set; } + public global::Cohere.Chatv2Response3? Type330 { get; set; } /// /// /// - public global::Cohere.Chatv2Response8? Type331 { get; set; } + public global::Cohere.Chatv2Response4? Type331 { get; set; } /// /// /// - public global::Cohere.Chatv2Response9? Type332 { get; set; } + public global::Cohere.Chatv2Response5? Type332 { get; set; } /// /// /// - public global::Cohere.Chatv2Response10? Type333 { get; set; } + public global::Cohere.Chatv2Response6? Type333 { get; set; } /// /// /// - public global::Cohere.Chatv2Response11? Type334 { get; set; } + public global::Cohere.Chatv2Response7? Type334 { get; set; } /// /// /// - public global::Cohere.Chatv2Response12? Type335 { get; set; } + public global::Cohere.Chatv2Response8? Type335 { get; set; } /// /// /// - public global::Cohere.Chatv2Response13? Type336 { get; set; } + public global::Cohere.Chatv2Response9? Type336 { get; set; } /// /// /// - public global::Cohere.GenerateResponse? Type337 { get; set; } + public global::Cohere.Chatv2Response10? Type337 { get; set; } /// /// /// - public global::Cohere.GenerateResponse2? Type338 { get; set; } + public global::Cohere.Chatv2Response11? Type338 { get; set; } /// /// /// - public global::Cohere.GenerateResponse3? Type339 { get; set; } + public global::Cohere.Chatv2Response12? Type339 { get; set; } /// /// /// - public global::Cohere.GenerateResponse4? Type340 { get; set; } + public global::Cohere.Chatv2Response13? Type340 { get; set; } /// /// /// - public global::Cohere.GenerateResponse5? Type341 { get; set; } + public global::Cohere.GenerateResponse? Type341 { get; set; } /// /// /// - public global::Cohere.GenerateResponse6? Type342 { get; set; } + public global::Cohere.GenerateResponse2? Type342 { get; set; } /// /// /// - public global::Cohere.GenerateResponse7? Type343 { get; set; } + public global::Cohere.GenerateResponse3? Type343 { get; set; } /// /// /// - public global::Cohere.GenerateResponse8? Type344 { get; set; } + public global::Cohere.GenerateResponse4? Type344 { get; set; } /// /// /// - public global::Cohere.GenerateResponse9? Type345 { get; set; } + public global::Cohere.GenerateResponse5? Type345 { get; set; } /// /// /// - public global::Cohere.GenerateResponse10? Type346 { get; set; } + public global::Cohere.GenerateResponse6? Type346 { get; set; } /// /// /// - public global::Cohere.GenerateResponse11? Type347 { get; set; } + public global::Cohere.GenerateResponse7? Type347 { get; set; } /// /// /// - public global::Cohere.GenerateResponse12? Type348 { get; set; } + public global::Cohere.GenerateResponse8? Type348 { get; set; } /// /// /// - public global::Cohere.OneOf? Type349 { get; set; } + public global::Cohere.GenerateResponse9? Type349 { get; set; } /// /// /// - public global::Cohere.EmbedResponse2? Type350 { get; set; } + public global::Cohere.GenerateResponse10? Type350 { get; set; } /// /// /// - public global::Cohere.EmbedResponse3? Type351 { get; set; } + public global::Cohere.GenerateResponse11? Type351 { get; set; } /// /// /// - public global::Cohere.EmbedResponse4? Type352 { get; set; } + public global::Cohere.GenerateResponse12? Type352 { get; set; } /// /// /// - public global::Cohere.EmbedResponse5? Type353 { get; set; } + public global::Cohere.OneOf? Type353 { get; set; } /// /// /// - public global::Cohere.EmbedResponse6? Type354 { get; set; } + public global::Cohere.EmbedResponse2? Type354 { get; set; } /// /// /// - public global::Cohere.EmbedResponse7? Type355 { get; set; } + public global::Cohere.EmbedResponse3? Type355 { get; set; } /// /// /// - public global::Cohere.EmbedResponse8? Type356 { get; set; } + public global::Cohere.EmbedResponse4? Type356 { get; set; } /// /// /// - public global::Cohere.EmbedResponse9? Type357 { get; set; } + public global::Cohere.EmbedResponse5? Type357 { get; set; } /// /// /// - public global::Cohere.EmbedResponse10? Type358 { get; set; } + public global::Cohere.EmbedResponse6? Type358 { get; set; } /// /// /// - public global::Cohere.EmbedResponse11? Type359 { get; set; } + public global::Cohere.EmbedResponse7? Type359 { get; set; } /// /// /// - public global::Cohere.EmbedResponse12? Type360 { get; set; } + public global::Cohere.EmbedResponse8? Type360 { get; set; } /// /// /// - public global::Cohere.EmbedResponse13? Type361 { get; set; } + public global::Cohere.EmbedResponse9? Type361 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse2? Type362 { get; set; } + public global::Cohere.EmbedResponse10? Type362 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse3? Type363 { get; set; } + public global::Cohere.EmbedResponse11? Type363 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse4? Type364 { get; set; } + public global::Cohere.EmbedResponse12? Type364 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse5? Type365 { get; set; } + public global::Cohere.EmbedResponse13? Type365 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse6? Type366 { get; set; } + public global::Cohere.Embedv2Response? Type366 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse7? Type367 { get; set; } + public global::Cohere.Embedv2Response2? Type367 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse8? Type368 { get; set; } + public global::Cohere.Embedv2Response3? Type368 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse9? Type369 { get; set; } + public global::Cohere.Embedv2Response4? Type369 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse10? Type370 { get; set; } + public global::Cohere.Embedv2Response5? Type370 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse11? Type371 { get; set; } + public global::Cohere.Embedv2Response6? Type371 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse12? Type372 { get; set; } + public global::Cohere.Embedv2Response7? Type372 { get; set; } /// /// /// - public global::Cohere.CreateEmbedJobResponse13? Type373 { get; set; } + public global::Cohere.Embedv2Response8? Type373 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse? Type374 { get; set; } + public global::Cohere.Embedv2Response9? Type374 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse2? Type375 { get; set; } + public global::Cohere.Embedv2Response10? Type375 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse3? Type376 { get; set; } + public global::Cohere.Embedv2Response11? Type376 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse4? Type377 { get; set; } + public global::Cohere.Embedv2Response12? Type377 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse5? Type378 { get; set; } + public global::Cohere.CreateEmbedJobResponse2? Type378 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse6? Type379 { get; set; } + public global::Cohere.CreateEmbedJobResponse3? Type379 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse7? Type380 { get; set; } + public global::Cohere.CreateEmbedJobResponse4? Type380 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse8? Type381 { get; set; } + public global::Cohere.CreateEmbedJobResponse5? Type381 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse9? Type382 { get; set; } + public global::Cohere.CreateEmbedJobResponse6? Type382 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse10? Type383 { get; set; } + public global::Cohere.CreateEmbedJobResponse7? Type383 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse11? Type384 { get; set; } + public global::Cohere.CreateEmbedJobResponse8? Type384 { get; set; } /// /// /// - public global::Cohere.ListEmbedJobsResponse12? Type385 { get; set; } + public global::Cohere.CreateEmbedJobResponse9? Type385 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse? Type386 { get; set; } + public global::Cohere.CreateEmbedJobResponse10? Type386 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse2? Type387 { get; set; } + public global::Cohere.CreateEmbedJobResponse11? Type387 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse3? Type388 { get; set; } + public global::Cohere.CreateEmbedJobResponse12? Type388 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse4? Type389 { get; set; } + public global::Cohere.CreateEmbedJobResponse13? Type389 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse5? Type390 { get; set; } + public global::Cohere.ListEmbedJobsResponse? Type390 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse6? Type391 { get; set; } + public global::Cohere.ListEmbedJobsResponse2? Type391 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse7? Type392 { get; set; } + public global::Cohere.ListEmbedJobsResponse3? Type392 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse8? Type393 { get; set; } + public global::Cohere.ListEmbedJobsResponse4? Type393 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse9? Type394 { get; set; } + public global::Cohere.ListEmbedJobsResponse5? Type394 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse10? Type395 { get; set; } + public global::Cohere.ListEmbedJobsResponse6? Type395 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse11? Type396 { get; set; } + public global::Cohere.ListEmbedJobsResponse7? Type396 { get; set; } /// /// /// - public global::Cohere.GetEmbedJobResponse12? Type397 { get; set; } + public global::Cohere.ListEmbedJobsResponse8? Type397 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse? Type398 { get; set; } + public global::Cohere.ListEmbedJobsResponse9? Type398 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse2? Type399 { get; set; } + public global::Cohere.ListEmbedJobsResponse10? Type399 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse3? Type400 { get; set; } + public global::Cohere.ListEmbedJobsResponse11? Type400 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse4? Type401 { get; set; } + public global::Cohere.ListEmbedJobsResponse12? Type401 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse5? Type402 { get; set; } + public global::Cohere.GetEmbedJobResponse? Type402 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse6? Type403 { get; set; } + public global::Cohere.GetEmbedJobResponse2? Type403 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse7? Type404 { get; set; } + public global::Cohere.GetEmbedJobResponse3? Type404 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse8? Type405 { get; set; } + public global::Cohere.GetEmbedJobResponse4? Type405 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse9? Type406 { get; set; } + public global::Cohere.GetEmbedJobResponse5? Type406 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse10? Type407 { get; set; } + public global::Cohere.GetEmbedJobResponse6? Type407 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse11? Type408 { get; set; } + public global::Cohere.GetEmbedJobResponse7? Type408 { get; set; } /// /// /// - public global::Cohere.CancelEmbedJobResponse12? Type409 { get; set; } + public global::Cohere.GetEmbedJobResponse8? Type409 { get; set; } /// /// /// - public global::Cohere.RerankResponse? Type410 { get; set; } + public global::Cohere.GetEmbedJobResponse9? Type410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type411 { get; set; } + public global::Cohere.GetEmbedJobResponse10? Type411 { get; set; } /// /// /// - public global::Cohere.RerankResponseResult? Type412 { get; set; } + public global::Cohere.GetEmbedJobResponse11? Type412 { get; set; } /// /// /// - public global::Cohere.RerankResponseResultDocument? Type413 { get; set; } + public global::Cohere.GetEmbedJobResponse12? Type413 { get; set; } /// /// /// - public global::Cohere.RerankResponse2? Type414 { get; set; } + public global::Cohere.CancelEmbedJobResponse? Type414 { get; set; } /// /// /// - public global::Cohere.RerankResponse3? Type415 { get; set; } + public global::Cohere.CancelEmbedJobResponse2? Type415 { get; set; } /// /// /// - public global::Cohere.RerankResponse4? Type416 { get; set; } + public global::Cohere.CancelEmbedJobResponse3? Type416 { get; set; } /// /// /// - public global::Cohere.RerankResponse5? Type417 { get; set; } + public global::Cohere.CancelEmbedJobResponse4? Type417 { get; set; } /// /// /// - public global::Cohere.RerankResponse6? Type418 { get; set; } + public global::Cohere.CancelEmbedJobResponse5? Type418 { get; set; } /// /// /// - public global::Cohere.RerankResponse7? Type419 { get; set; } + public global::Cohere.CancelEmbedJobResponse6? Type419 { get; set; } /// /// /// - public global::Cohere.RerankResponse8? Type420 { get; set; } + public global::Cohere.CancelEmbedJobResponse7? Type420 { get; set; } /// /// /// - public global::Cohere.RerankResponse9? Type421 { get; set; } + public global::Cohere.CancelEmbedJobResponse8? Type421 { get; set; } /// /// /// - public global::Cohere.RerankResponse10? Type422 { get; set; } + public global::Cohere.CancelEmbedJobResponse9? Type422 { get; set; } /// /// /// - public global::Cohere.RerankResponse11? Type423 { get; set; } + public global::Cohere.CancelEmbedJobResponse10? Type423 { get; set; } /// /// /// - public global::Cohere.RerankResponse12? Type424 { get; set; } + public global::Cohere.CancelEmbedJobResponse11? Type424 { get; set; } /// /// /// - public global::Cohere.RerankResponse13? Type425 { get; set; } + public global::Cohere.CancelEmbedJobResponse12? Type425 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse? Type426 { get; set; } + public global::Cohere.RerankResponse? Type426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type427 { get; set; } + public global::System.Collections.Generic.IList? Type427 { get; set; } /// /// /// - public global::Cohere.ClassifyResponseClassification? Type428 { get; set; } + public global::Cohere.RerankResponseResult? Type428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type429 { get; set; } + public global::Cohere.RerankResponseResultDocument? Type429 { get; set; } /// /// /// - public global::Cohere.ClassifyResponseClassificationLabels? Type430 { get; set; } + public global::Cohere.RerankResponse2? Type430 { get; set; } /// /// /// - public global::Cohere.ClassifyResponseClassificationClassificationType? Type431 { get; set; } + public global::Cohere.RerankResponse3? Type431 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse2? Type432 { get; set; } + public global::Cohere.RerankResponse4? Type432 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse3? Type433 { get; set; } + public global::Cohere.RerankResponse5? Type433 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse4? Type434 { get; set; } + public global::Cohere.RerankResponse6? Type434 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse5? Type435 { get; set; } + public global::Cohere.RerankResponse7? Type435 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse6? Type436 { get; set; } + public global::Cohere.RerankResponse8? Type436 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse7? Type437 { get; set; } + public global::Cohere.RerankResponse9? Type437 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse8? Type438 { get; set; } + public global::Cohere.RerankResponse10? Type438 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse9? Type439 { get; set; } + public global::Cohere.RerankResponse11? Type439 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse10? Type440 { get; set; } + public global::Cohere.RerankResponse12? Type440 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse11? Type441 { get; set; } + public global::Cohere.RerankResponse13? Type441 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse12? Type442 { get; set; } + public global::Cohere.ClassifyResponse? Type442 { get; set; } /// /// /// - public global::Cohere.ClassifyResponse13? Type443 { get; set; } + public global::System.Collections.Generic.IList? Type443 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse? Type444 { get; set; } + public global::Cohere.ClassifyResponseClassification? Type444 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse2? Type445 { get; set; } + public global::System.Collections.Generic.IList? Type445 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse3? Type446 { get; set; } + public global::Cohere.ClassifyResponseClassificationLabels? Type446 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse4? Type447 { get; set; } + public global::Cohere.ClassifyResponseClassificationClassificationType? Type447 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse5? Type448 { get; set; } + public global::Cohere.ClassifyResponse2? Type448 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse6? Type449 { get; set; } + public global::Cohere.ClassifyResponse3? Type449 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse7? Type450 { get; set; } + public global::Cohere.ClassifyResponse4? Type450 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse8? Type451 { get; set; } + public global::Cohere.ClassifyResponse5? Type451 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse9? Type452 { get; set; } + public global::Cohere.ClassifyResponse6? Type452 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse10? Type453 { get; set; } + public global::Cohere.ClassifyResponse7? Type453 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse11? Type454 { get; set; } + public global::Cohere.ClassifyResponse8? Type454 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse12? Type455 { get; set; } + public global::Cohere.ClassifyResponse9? Type455 { get; set; } /// /// /// - public global::Cohere.CreateDatasetResponse13? Type456 { get; set; } + public global::Cohere.ClassifyResponse10? Type456 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse? Type457 { get; set; } + public global::Cohere.ClassifyResponse11? Type457 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type458 { get; set; } + public global::Cohere.ClassifyResponse12? Type458 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse2? Type459 { get; set; } + public global::Cohere.ClassifyResponse13? Type459 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse3? Type460 { get; set; } + public global::Cohere.CreateDatasetResponse? Type460 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse4? Type461 { get; set; } + public global::Cohere.CreateDatasetResponse2? Type461 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse5? Type462 { get; set; } + public global::Cohere.CreateDatasetResponse3? Type462 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse6? Type463 { get; set; } + public global::Cohere.CreateDatasetResponse4? Type463 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse7? Type464 { get; set; } + public global::Cohere.CreateDatasetResponse5? Type464 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse8? Type465 { get; set; } + public global::Cohere.CreateDatasetResponse6? Type465 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse9? Type466 { get; set; } + public global::Cohere.CreateDatasetResponse7? Type466 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse10? Type467 { get; set; } + public global::Cohere.CreateDatasetResponse8? Type467 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse11? Type468 { get; set; } + public global::Cohere.CreateDatasetResponse9? Type468 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse12? Type469 { get; set; } + public global::Cohere.CreateDatasetResponse10? Type469 { get; set; } /// /// /// - public global::Cohere.ListDatasetsResponse13? Type470 { get; set; } + public global::Cohere.CreateDatasetResponse11? Type470 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse? Type471 { get; set; } + public global::Cohere.CreateDatasetResponse12? Type471 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse2? Type472 { get; set; } + public global::Cohere.CreateDatasetResponse13? Type472 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse3? Type473 { get; set; } + public global::Cohere.ListDatasetsResponse? Type473 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse4? Type474 { get; set; } + public global::System.Collections.Generic.IList? Type474 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse5? Type475 { get; set; } + public global::Cohere.ListDatasetsResponse2? Type475 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse6? Type476 { get; set; } + public global::Cohere.ListDatasetsResponse3? Type476 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse7? Type477 { get; set; } + public global::Cohere.ListDatasetsResponse4? Type477 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse8? Type478 { get; set; } + public global::Cohere.ListDatasetsResponse5? Type478 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse9? Type479 { get; set; } + public global::Cohere.ListDatasetsResponse6? Type479 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse10? Type480 { get; set; } + public global::Cohere.ListDatasetsResponse7? Type480 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse11? Type481 { get; set; } + public global::Cohere.ListDatasetsResponse8? Type481 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse12? Type482 { get; set; } + public global::Cohere.ListDatasetsResponse9? Type482 { get; set; } /// /// /// - public global::Cohere.GetDatasetUsageResponse13? Type483 { get; set; } + public global::Cohere.ListDatasetsResponse10? Type483 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse? Type484 { get; set; } + public global::Cohere.ListDatasetsResponse11? Type484 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse2? Type485 { get; set; } + public global::Cohere.ListDatasetsResponse12? Type485 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse3? Type486 { get; set; } + public global::Cohere.ListDatasetsResponse13? Type486 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse4? Type487 { get; set; } + public global::Cohere.GetDatasetUsageResponse? Type487 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse5? Type488 { get; set; } + public global::Cohere.GetDatasetUsageResponse2? Type488 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse6? Type489 { get; set; } + public global::Cohere.GetDatasetUsageResponse3? Type489 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse7? Type490 { get; set; } + public global::Cohere.GetDatasetUsageResponse4? Type490 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse8? Type491 { get; set; } + public global::Cohere.GetDatasetUsageResponse5? Type491 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse9? Type492 { get; set; } + public global::Cohere.GetDatasetUsageResponse6? Type492 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse10? Type493 { get; set; } + public global::Cohere.GetDatasetUsageResponse7? Type493 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse11? Type494 { get; set; } + public global::Cohere.GetDatasetUsageResponse8? Type494 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse12? Type495 { get; set; } + public global::Cohere.GetDatasetUsageResponse9? Type495 { get; set; } /// /// /// - public global::Cohere.GetDatasetResponse13? Type496 { get; set; } + public global::Cohere.GetDatasetUsageResponse10? Type496 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse? Type497 { get; set; } + public global::Cohere.GetDatasetUsageResponse11? Type497 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse2? Type498 { get; set; } + public global::Cohere.GetDatasetUsageResponse12? Type498 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse3? Type499 { get; set; } + public global::Cohere.GetDatasetUsageResponse13? Type499 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse4? Type500 { get; set; } + public global::Cohere.GetDatasetResponse? Type500 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse5? Type501 { get; set; } + public global::Cohere.GetDatasetResponse2? Type501 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse6? Type502 { get; set; } + public global::Cohere.GetDatasetResponse3? Type502 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse7? Type503 { get; set; } + public global::Cohere.GetDatasetResponse4? Type503 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse8? Type504 { get; set; } + public global::Cohere.GetDatasetResponse5? Type504 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse9? Type505 { get; set; } + public global::Cohere.GetDatasetResponse6? Type505 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse10? Type506 { get; set; } + public global::Cohere.GetDatasetResponse7? Type506 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse11? Type507 { get; set; } + public global::Cohere.GetDatasetResponse8? Type507 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse12? Type508 { get; set; } + public global::Cohere.GetDatasetResponse9? Type508 { get; set; } /// /// /// - public global::Cohere.DeleteDatasetResponse13? Type509 { get; set; } + public global::Cohere.GetDatasetResponse10? Type509 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse? Type510 { get; set; } + public global::Cohere.GetDatasetResponse11? Type510 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse2? Type511 { get; set; } + public global::Cohere.GetDatasetResponse12? Type511 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse3? Type512 { get; set; } + public global::Cohere.GetDatasetResponse13? Type512 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse4? Type513 { get; set; } + public global::Cohere.DeleteDatasetResponse? Type513 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse5? Type514 { get; set; } + public global::Cohere.DeleteDatasetResponse2? Type514 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse6? Type515 { get; set; } + public global::Cohere.DeleteDatasetResponse3? Type515 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse7? Type516 { get; set; } + public global::Cohere.DeleteDatasetResponse4? Type516 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse8? Type517 { get; set; } + public global::Cohere.DeleteDatasetResponse5? Type517 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse9? Type518 { get; set; } + public global::Cohere.DeleteDatasetResponse6? Type518 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse10? Type519 { get; set; } + public global::Cohere.DeleteDatasetResponse7? Type519 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse11? Type520 { get; set; } + public global::Cohere.DeleteDatasetResponse8? Type520 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse12? Type521 { get; set; } + public global::Cohere.DeleteDatasetResponse9? Type521 { get; set; } /// /// /// - public global::Cohere.SummarizeResponse13? Type522 { get; set; } + public global::Cohere.DeleteDatasetResponse10? Type522 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse? Type523 { get; set; } + public global::Cohere.DeleteDatasetResponse11? Type523 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse2? Type524 { get; set; } + public global::Cohere.DeleteDatasetResponse12? Type524 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse3? Type525 { get; set; } + public global::Cohere.DeleteDatasetResponse13? Type525 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse4? Type526 { get; set; } + public global::Cohere.SummarizeResponse? Type526 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse5? Type527 { get; set; } + public global::Cohere.SummarizeResponse2? Type527 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse6? Type528 { get; set; } + public global::Cohere.SummarizeResponse3? Type528 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse7? Type529 { get; set; } + public global::Cohere.SummarizeResponse4? Type529 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse8? Type530 { get; set; } + public global::Cohere.SummarizeResponse5? Type530 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse9? Type531 { get; set; } + public global::Cohere.SummarizeResponse6? Type531 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse10? Type532 { get; set; } + public global::Cohere.SummarizeResponse7? Type532 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse11? Type533 { get; set; } + public global::Cohere.SummarizeResponse8? Type533 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse12? Type534 { get; set; } + public global::Cohere.SummarizeResponse9? Type534 { get; set; } /// /// /// - public global::Cohere.TokenizeResponse13? Type535 { get; set; } + public global::Cohere.SummarizeResponse10? Type535 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse? Type536 { get; set; } + public global::Cohere.SummarizeResponse11? Type536 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse2? Type537 { get; set; } + public global::Cohere.SummarizeResponse12? Type537 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse3? Type538 { get; set; } + public global::Cohere.SummarizeResponse13? Type538 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse4? Type539 { get; set; } + public global::Cohere.TokenizeResponse? Type539 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse5? Type540 { get; set; } + public global::Cohere.TokenizeResponse2? Type540 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse6? Type541 { get; set; } + public global::Cohere.TokenizeResponse3? Type541 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse7? Type542 { get; set; } + public global::Cohere.TokenizeResponse4? Type542 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse8? Type543 { get; set; } + public global::Cohere.TokenizeResponse5? Type543 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse9? Type544 { get; set; } + public global::Cohere.TokenizeResponse6? Type544 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse10? Type545 { get; set; } + public global::Cohere.TokenizeResponse7? Type545 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse11? Type546 { get; set; } + public global::Cohere.TokenizeResponse8? Type546 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse12? Type547 { get; set; } + public global::Cohere.TokenizeResponse9? Type547 { get; set; } /// /// /// - public global::Cohere.DetokenizeResponse13? Type548 { get; set; } + public global::Cohere.TokenizeResponse10? Type548 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse2? Type549 { get; set; } + public global::Cohere.TokenizeResponse11? Type549 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse3? Type550 { get; set; } + public global::Cohere.TokenizeResponse12? Type550 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse4? Type551 { get; set; } + public global::Cohere.TokenizeResponse13? Type551 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse5? Type552 { get; set; } + public global::Cohere.DetokenizeResponse? Type552 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse6? Type553 { get; set; } + public global::Cohere.DetokenizeResponse2? Type553 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse7? Type554 { get; set; } + public global::Cohere.DetokenizeResponse3? Type554 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse8? Type555 { get; set; } + public global::Cohere.DetokenizeResponse4? Type555 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse9? Type556 { get; set; } + public global::Cohere.DetokenizeResponse5? Type556 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse10? Type557 { get; set; } + public global::Cohere.DetokenizeResponse6? Type557 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse11? Type558 { get; set; } + public global::Cohere.DetokenizeResponse7? Type558 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse12? Type559 { get; set; } + public global::Cohere.DetokenizeResponse8? Type559 { get; set; } /// /// /// - public global::Cohere.ListConnectorsResponse13? Type560 { get; set; } + public global::Cohere.DetokenizeResponse9? Type560 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse2? Type561 { get; set; } + public global::Cohere.DetokenizeResponse10? Type561 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse3? Type562 { get; set; } + public global::Cohere.DetokenizeResponse11? Type562 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse4? Type563 { get; set; } + public global::Cohere.DetokenizeResponse12? Type563 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse5? Type564 { get; set; } + public global::Cohere.DetokenizeResponse13? Type564 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse6? Type565 { get; set; } + public global::Cohere.ListConnectorsResponse2? Type565 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse7? Type566 { get; set; } + public global::Cohere.ListConnectorsResponse3? Type566 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse8? Type567 { get; set; } + public global::Cohere.ListConnectorsResponse4? Type567 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse9? Type568 { get; set; } + public global::Cohere.ListConnectorsResponse5? Type568 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse10? Type569 { get; set; } + public global::Cohere.ListConnectorsResponse6? Type569 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse11? Type570 { get; set; } + public global::Cohere.ListConnectorsResponse7? Type570 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse12? Type571 { get; set; } + public global::Cohere.ListConnectorsResponse8? Type571 { get; set; } /// /// /// - public global::Cohere.CreateConnectorResponse13? Type572 { get; set; } + public global::Cohere.ListConnectorsResponse9? Type572 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse2? Type573 { get; set; } + public global::Cohere.ListConnectorsResponse10? Type573 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse3? Type574 { get; set; } + public global::Cohere.ListConnectorsResponse11? Type574 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse4? Type575 { get; set; } + public global::Cohere.ListConnectorsResponse12? Type575 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse5? Type576 { get; set; } + public global::Cohere.ListConnectorsResponse13? Type576 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse6? Type577 { get; set; } + public global::Cohere.CreateConnectorResponse2? Type577 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse7? Type578 { get; set; } + public global::Cohere.CreateConnectorResponse3? Type578 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse8? Type579 { get; set; } + public global::Cohere.CreateConnectorResponse4? Type579 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse9? Type580 { get; set; } + public global::Cohere.CreateConnectorResponse5? Type580 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse10? Type581 { get; set; } + public global::Cohere.CreateConnectorResponse6? Type581 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse11? Type582 { get; set; } + public global::Cohere.CreateConnectorResponse7? Type582 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse12? Type583 { get; set; } + public global::Cohere.CreateConnectorResponse8? Type583 { get; set; } /// /// /// - public global::Cohere.GetConnectorResponse13? Type584 { get; set; } + public global::Cohere.CreateConnectorResponse9? Type584 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse2? Type585 { get; set; } + public global::Cohere.CreateConnectorResponse10? Type585 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse3? Type586 { get; set; } + public global::Cohere.CreateConnectorResponse11? Type586 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse4? Type587 { get; set; } + public global::Cohere.CreateConnectorResponse12? Type587 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse5? Type588 { get; set; } + public global::Cohere.CreateConnectorResponse13? Type588 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse6? Type589 { get; set; } + public global::Cohere.GetConnectorResponse2? Type589 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse7? Type590 { get; set; } + public global::Cohere.GetConnectorResponse3? Type590 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse8? Type591 { get; set; } + public global::Cohere.GetConnectorResponse4? Type591 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse9? Type592 { get; set; } + public global::Cohere.GetConnectorResponse5? Type592 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse10? Type593 { get; set; } + public global::Cohere.GetConnectorResponse6? Type593 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse11? Type594 { get; set; } + public global::Cohere.GetConnectorResponse7? Type594 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse12? Type595 { get; set; } + public global::Cohere.GetConnectorResponse8? Type595 { get; set; } /// /// /// - public global::Cohere.UpdateConnectorResponse13? Type596 { get; set; } + public global::Cohere.GetConnectorResponse9? Type596 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse2? Type597 { get; set; } + public global::Cohere.GetConnectorResponse10? Type597 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse3? Type598 { get; set; } + public global::Cohere.GetConnectorResponse11? Type598 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse4? Type599 { get; set; } + public global::Cohere.GetConnectorResponse12? Type599 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse5? Type600 { get; set; } + public global::Cohere.GetConnectorResponse13? Type600 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse6? Type601 { get; set; } + public global::Cohere.UpdateConnectorResponse2? Type601 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse7? Type602 { get; set; } + public global::Cohere.UpdateConnectorResponse3? Type602 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse8? Type603 { get; set; } + public global::Cohere.UpdateConnectorResponse4? Type603 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse9? Type604 { get; set; } + public global::Cohere.UpdateConnectorResponse5? Type604 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse10? Type605 { get; set; } + public global::Cohere.UpdateConnectorResponse6? Type605 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse11? Type606 { get; set; } + public global::Cohere.UpdateConnectorResponse7? Type606 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse12? Type607 { get; set; } + public global::Cohere.UpdateConnectorResponse8? Type607 { get; set; } /// /// /// - public global::Cohere.DeleteConnectorResponse13? Type608 { get; set; } + public global::Cohere.UpdateConnectorResponse9? Type608 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse? Type609 { get; set; } + public global::Cohere.UpdateConnectorResponse10? Type609 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse2? Type610 { get; set; } + public global::Cohere.UpdateConnectorResponse11? Type610 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse3? Type611 { get; set; } + public global::Cohere.UpdateConnectorResponse12? Type611 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse4? Type612 { get; set; } + public global::Cohere.UpdateConnectorResponse13? Type612 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse5? Type613 { get; set; } + public global::Cohere.DeleteConnectorResponse2? Type613 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse6? Type614 { get; set; } + public global::Cohere.DeleteConnectorResponse3? Type614 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse7? Type615 { get; set; } + public global::Cohere.DeleteConnectorResponse4? Type615 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse8? Type616 { get; set; } + public global::Cohere.DeleteConnectorResponse5? Type616 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse9? Type617 { get; set; } + public global::Cohere.DeleteConnectorResponse6? Type617 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse10? Type618 { get; set; } + public global::Cohere.DeleteConnectorResponse7? Type618 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse11? Type619 { get; set; } + public global::Cohere.DeleteConnectorResponse8? Type619 { get; set; } /// /// /// - public global::Cohere.OAuthAuthorizeConnectorResponse12? Type620 { get; set; } + public global::Cohere.DeleteConnectorResponse9? Type620 { get; set; } /// /// /// - public global::Cohere.GetModelResponse2? Type621 { get; set; } + public global::Cohere.DeleteConnectorResponse10? Type621 { get; set; } /// /// /// - public global::Cohere.GetModelResponse3? Type622 { get; set; } + public global::Cohere.DeleteConnectorResponse11? Type622 { get; set; } /// /// /// - public global::Cohere.GetModelResponse4? Type623 { get; set; } + public global::Cohere.DeleteConnectorResponse12? Type623 { get; set; } /// /// /// - public global::Cohere.GetModelResponse5? Type624 { get; set; } + public global::Cohere.DeleteConnectorResponse13? Type624 { get; set; } /// /// /// - public global::Cohere.GetModelResponse6? Type625 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse? Type625 { get; set; } /// /// /// - public global::Cohere.GetModelResponse7? Type626 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse2? Type626 { get; set; } /// /// /// - public global::Cohere.GetModelResponse8? Type627 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse3? Type627 { get; set; } /// /// /// - public global::Cohere.GetModelResponse9? Type628 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse4? Type628 { get; set; } /// /// /// - public global::Cohere.GetModelResponse10? Type629 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse5? Type629 { get; set; } /// /// /// - public global::Cohere.GetModelResponse11? Type630 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse6? Type630 { get; set; } /// /// /// - public global::Cohere.GetModelResponse12? Type631 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse7? Type631 { get; set; } /// /// /// - public global::Cohere.GetModelResponse13? Type632 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse8? Type632 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse2? Type633 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse9? Type633 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse3? Type634 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse10? Type634 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse4? Type635 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse11? Type635 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse5? Type636 { get; set; } + public global::Cohere.OAuthAuthorizeConnectorResponse12? Type636 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse6? Type637 { get; set; } + public global::Cohere.GetModelResponse2? Type637 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse7? Type638 { get; set; } + public global::Cohere.GetModelResponse3? Type638 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse8? Type639 { get; set; } + public global::Cohere.GetModelResponse4? Type639 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse9? Type640 { get; set; } + public global::Cohere.GetModelResponse5? Type640 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse10? Type641 { get; set; } + public global::Cohere.GetModelResponse6? Type641 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse11? Type642 { get; set; } + public global::Cohere.GetModelResponse7? Type642 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse12? Type643 { get; set; } + public global::Cohere.GetModelResponse8? Type643 { get; set; } /// /// /// - public global::Cohere.ListModelsResponse13? Type644 { get; set; } + public global::Cohere.GetModelResponse9? Type644 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse? Type645 { get; set; } + public global::Cohere.GetModelResponse10? Type645 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse2? Type646 { get; set; } + public global::Cohere.GetModelResponse11? Type646 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse3? Type647 { get; set; } + public global::Cohere.GetModelResponse12? Type647 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse4? Type648 { get; set; } + public global::Cohere.GetModelResponse13? Type648 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse5? Type649 { get; set; } + public global::Cohere.ListModelsResponse2? Type649 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse6? Type650 { get; set; } + public global::Cohere.ListModelsResponse3? Type650 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse7? Type651 { get; set; } + public global::Cohere.ListModelsResponse4? Type651 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse8? Type652 { get; set; } + public global::Cohere.ListModelsResponse5? Type652 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse9? Type653 { get; set; } + public global::Cohere.ListModelsResponse6? Type653 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse10? Type654 { get; set; } + public global::Cohere.ListModelsResponse7? Type654 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse11? Type655 { get; set; } + public global::Cohere.ListModelsResponse8? Type655 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse12? Type656 { get; set; } + public global::Cohere.ListModelsResponse9? Type656 { get; set; } /// /// /// - public global::Cohere.CheckAPIKeyResponse13? Type657 { get; set; } + public global::Cohere.ListModelsResponse10? Type657 { get; set; } + /// + /// + /// + public global::Cohere.ListModelsResponse11? Type658 { get; set; } + /// + /// + /// + public global::Cohere.ListModelsResponse12? Type659 { get; set; } + /// + /// + /// + public global::Cohere.ListModelsResponse13? Type660 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse? Type661 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse2? Type662 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse3? Type663 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse4? Type664 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse5? Type665 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse6? Type666 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse7? Type667 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse8? Type668 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse9? Type669 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse10? Type670 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse11? Type671 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse12? Type672 { get; set; } + /// + /// + /// + public global::Cohere.CheckAPIKeyResponse13? Type673 { get; set; } } } \ No newline at end of file diff --git a/src/libs/Cohere/openapi.yaml b/src/libs/Cohere/openapi.yaml index f1e883f..5c934a5 100644 --- a/src/libs/Cohere/openapi.yaml +++ b/src/libs/Cohere/openapi.yaml @@ -3677,6 +3677,61 @@ paths: billed_units: input_tokens: 2 response_type: embeddings_floats + /v2/embed: + post: + summary: Embed + description: "This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.\n\nEmbeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.\n\nIf you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](/docs/semantic-search)." + operationId: embedv2 + parameters: + - $ref: '#/components/parameters/RequestSource' + requestBody: + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/V2EmbedRequest' + responses: + '200': + description: OK + headers: + X-API-Warning: + description: Warning description for incorrect usage of the API + schema: + type: string + x-fern-audiences: + - public + content: + application/json: + schema: + $ref: '#/components/schemas/EmbedByTypeResponse' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '429': + $ref: '#/components/responses/RateLimit' + '498': + $ref: '#/components/responses/InvalidToken' + '499': + $ref: '#/components/responses/RequestCancelled' + '500': + $ref: '#/components/responses/InternalServerError' + '501': + $ref: '#/components/responses/NotImplemented' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '504': + $ref: '#/components/responses/GatewayTimeout' + x-fern-audiences: + - v2-beta + x-fern-sdk-group-name: v2 + x-fern-sdk-method-name: embed /v1/embed-jobs: post: tags: @@ -10576,6 +10631,95 @@ components: api_version: version: '1' api_version: v2 + Texts: + required: + - texts + - model + - input_type + type: object + properties: + texts: + maxItems: 96 + minItems: 1 + type: array + items: + type: string + writeOnly: true + x-fern-audiences: + - public + description: 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. + writeOnly: true + 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](/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 + input_type: + $ref: '#/components/schemas/EmbedInputType' + embedding_types: + type: array + items: + $ref: '#/components/schemas/EmbeddingType' + description: "Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.\n\n* `\"float\"`: Use this when you want to get back the default float embeddings. Valid for all models.\n* `\"int8\"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.\n* `\"uint8\"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.\n* `\"binary\"`: Use this when you want to get back signed binary embeddings. Valid for only v3 models.\n* `\"ubinary\"`: Use this when you want to get back unsigned binary embeddings. Valid for only v3 models." + writeOnly: true + x-fern-audiences: + - public + truncate: + enum: + - NONE + - START + - END + type: string + description: "One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.\n\nPassing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.\n\nIf `NONE` is selected, when the input exceeds the maximum input token length an error will be returned." + default: END + writeOnly: true + x-fern-audiences: + - public + x-fern-sdk-group-name: v2 + x-fern-audiences: + - public + Images: + required: + - images + - model + - input_type + type: object + properties: + model: + type: string + description: "Defaults to embed-english-v2.0\nThe identifier of the model. Smaller \"light\" models are faster, while larger models will perform better. [Custom models](/docs/training-custom-models) can also be supplied with their full ID.\nAvailable models and corresponding embedding dimensions:\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* `embed-english-v2.0` 4096\n* `embed-english-light-v2.0` 1024\n* `embed-multilingual-v2.0` 768" + writeOnly: true + x-fern-audiences: + - public + input_type: + $ref: '#/components/schemas/EmbedInputType' + embedding_types: + type: array + items: + $ref: '#/components/schemas/EmbeddingType' + description: "Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.\n* `\"float\"`: Use this when you want to get back the default float embeddings. Valid for all models.\n* `\"int8\"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.\n* `\"uint8\"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.\n* `\"binary\"`: Use this when you want to get back signed binary embeddings. Valid for only v3 models.\n* `\"ubinary\"`: Use this when you want to get back unsigned binary embeddings. Valid for only v3 models." + writeOnly: true + x-fern-audiences: + - public + x-fern-sdk-group-name: v2 + x-fern-audiences: + - public + V2EmbedRequest: + oneOf: + - $ref: '#/components/schemas/Texts' + - $ref: '#/components/schemas/Images' + discriminator: + propertyName: input_type + mapping: + search_document: '#/components/schemas/Texts' + search_query: '#/components/schemas/Texts' + classification: '#/components/schemas/Texts' + clustering: '#/components/schemas/Texts' + image: '#/components/schemas/Images' + x-fern-sdk-group-name: v2 EmbedJob: required: - job_id