Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ partial void ProcessEmbedv2ResponseContent(
/// - `"image"`: Used for embeddings with image input.
/// </param>
/// <param name="embeddingTypes">
/// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.<br/>
/// Specifies the types of embeddings you want to get back. Can be one or more of the following types.<br/>
/// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.<br/>
/// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.<br/>
/// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.<br/>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.ICohereApi.Embedv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public partial interface ICohereApi
/// - `"image"`: Used for embeddings with image input.
/// </param>
/// <param name="embeddingTypes">
/// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.<br/>
/// Specifies the types of embeddings you want to get back. Can be one or more of the following types.<br/>
/// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.<br/>
/// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.<br/>
/// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.<br/>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public sealed partial class Embedv2Request
public required global::Cohere.EmbedInputType InputType { get; set; }

/// <summary>
/// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.<br/>
/// Specifies the types of embeddings you want to get back. Can be one or more of the following types.<br/>
/// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.<br/>
/// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.<br/>
/// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.<br/>
Expand Down Expand Up @@ -113,7 +113,7 @@ public sealed partial class Embedv2Request
/// - `"image"`: Used for embeddings with image input.
/// </param>
/// <param name="embeddingTypes">
/// Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types.<br/>
/// Specifies the types of embeddings you want to get back. Can be one or more of the following types.<br/>
/// * `"float"`: Use this when you want to get back the default float embeddings. Valid for all models.<br/>
/// * `"int8"`: Use this when you want to get back signed int8 embeddings. Valid for only v3 models.<br/>
/// * `"uint8"`: Use this when you want to get back unsigned int8 embeddings. Valid for only v3 models.<br/>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4889,7 +4889,7 @@ paths:
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."
description: "Specifies the types of embeddings you want to get back. 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
Expand Down
Loading