Skip to content

Commit bee2d5f

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#230)
Co-authored-by: github-actions[bot] <[email protected]>
1 parent 8c81e94 commit bee2d5f

19 files changed

+87
-83
lines changed

src/libs/Cohere/Generated/Cohere.CohereClient.Chat.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ partial void ProcessChatResponseContent(
2626
ref string content);
2727

2828
/// <summary>
29-
/// Chat V1 API<br/>
29+
/// Chat API (v1)<br/>
3030
/// Generates a text response to a user message.<br/>
3131
/// To learn how to use the Chat API and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api).
3232
/// </summary>
@@ -634,7 +634,7 @@ partial void ProcessChatResponseContent(
634634
}
635635

636636
/// <summary>
637-
/// Chat V1 API<br/>
637+
/// Chat API (v1)<br/>
638638
/// Generates a text response to a user message.<br/>
639639
/// To learn how to use the Chat API and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api).
640640
/// </summary>

src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ partial void ProcessChatv2ResponseContent(
2424
ref string content);
2525

2626
/// <summary>
27-
/// Chat V2 API<br/>
27+
/// Chat API (v2)<br/>
2828
/// Generates a text response to a user message and streams it down, token by token. To learn how to use the Chat API with streaming follow our [Text Generation guides](https://docs.cohere.com/v2/docs/chat-api).<br/>
2929
/// Follow the [Migration Guide](https://docs.cohere.com/v2/docs/migrating-v1-to-v2) for instructions on moving from API v1 to API v2.
3030
/// </summary>
@@ -624,7 +624,7 @@ partial void ProcessChatv2ResponseContent(
624624
}
625625

626626
/// <summary>
627-
/// Chat V2 API<br/>
627+
/// Chat API (v2)<br/>
628628
/// Generates a text response to a user message and streams it down, token by token. To learn how to use the Chat API with streaming follow our [Text Generation guides](https://docs.cohere.com/v2/docs/chat-api).<br/>
629629
/// Follow the [Migration Guide](https://docs.cohere.com/v2/docs/migrating-v1-to-v2) for instructions on moving from API v1 to API v2.
630630
/// </summary>

src/libs/Cohere/Generated/Cohere.CohereClient.Embed.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ partial void ProcessEmbedResponseContent(
2424
ref string content);
2525

2626
/// <summary>
27-
/// Embed V1 API<br/>
27+
/// Embed API (v1)<br/>
2828
/// This endpoint returns text and image embeddings. An embedding is a list of floating point numbers that captures semantic information about the content that it represents.<br/>
2929
/// Embeddings can be used to create classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.<br/>
3030
/// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](https://docs.cohere.com/docs/semantic-search).
@@ -625,7 +625,7 @@ partial void ProcessEmbedResponseContent(
625625
}
626626

627627
/// <summary>
628-
/// Embed V1 API<br/>
628+
/// Embed API (v1)<br/>
629629
/// This endpoint returns text and image embeddings. An embedding is a list of floating point numbers that captures semantic information about the content that it represents.<br/>
630630
/// Embeddings can be used to create classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.<br/>
631631
/// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](https://docs.cohere.com/docs/semantic-search).

src/libs/Cohere/Generated/Cohere.CohereClient.Embedv2.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ partial void ProcessEmbedv2ResponseContent(
2424
ref string content);
2525

2626
/// <summary>
27-
/// Embed V2 API<br/>
27+
/// Embed API (v2)<br/>
2828
/// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.<br/>
2929
/// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.<br/>
3030
/// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](https://docs.cohere.com/docs/semantic-search).
@@ -625,7 +625,7 @@ partial void ProcessEmbedv2ResponseContent(
625625
}
626626

627627
/// <summary>
628-
/// Embed V2 API<br/>
628+
/// Embed API (v2)<br/>
629629
/// This endpoint returns text embeddings. An embedding is a list of floating point numbers that captures semantic information about the text that it represents.<br/>
630630
/// Embeddings can be used to create text classifiers as well as empower semantic search. To learn more about embeddings, see the embedding page.<br/>
631631
/// If you want to learn more how to use the embedding model, have a look at the [Semantic Search Guide](https://docs.cohere.com/docs/semantic-search).

src/libs/Cohere/Generated/Cohere.CohereClient.Generate.g.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,8 @@ partial void ProcessGenerateResponseContent(
654654
/// Included only in requests
655655
/// </param>
656656
/// <param name="model">
657-
/// The identifier of the model to generate with.<br/>
657+
/// The identifier of the model to generate with. Currently available models are `command` (default), `command-nightly` (experimental), `command-light`, and `command-light-nightly` (experimental).<br/>
658+
/// Smaller, "light" models are faster, while larger models will perform better. [Custom models](https://docs.cohere.com/docs/training-custom-models) can also be supplied with their full ID.<br/>
658659
/// Included only in requests
659660
/// </param>
660661
/// <param name="numGenerations">

src/libs/Cohere/Generated/Cohere.CohereClient.Rerank.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ partial void ProcessRerankResponseContent(
2424
ref string content);
2525

2626
/// <summary>
27-
/// Rerank V1 API<br/>
27+
/// Rerank API (v1)<br/>
2828
/// This endpoint takes in a query and a list of texts and produces an ordered array with each text assigned a relevance score.
2929
/// </summary>
3030
/// <param name="xClientName"></param>
@@ -623,7 +623,7 @@ partial void ProcessRerankResponseContent(
623623
}
624624

625625
/// <summary>
626-
/// Rerank V1 API<br/>
626+
/// Rerank API (v1)<br/>
627627
/// This endpoint takes in a query and a list of texts and produces an ordered array with each text assigned a relevance score.
628628
/// </summary>
629629
/// <param name="xClientName"></param>

src/libs/Cohere/Generated/Cohere.CohereClient.Rerankv2.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ partial void ProcessRerankv2ResponseContent(
2424
ref string content);
2525

2626
/// <summary>
27-
/// Rerank V2 API<br/>
27+
/// Rerank API (v2)<br/>
2828
/// This endpoint takes in a query and a list of texts and produces an ordered array with each text assigned a relevance score.
2929
/// </summary>
3030
/// <param name="xClientName"></param>
@@ -623,7 +623,7 @@ partial void ProcessRerankv2ResponseContent(
623623
}
624624

625625
/// <summary>
626-
/// Rerank V2 API<br/>
626+
/// Rerank API (v2)<br/>
627627
/// This endpoint takes in a query and a list of texts and produces an ordered array with each text assigned a relevance score.
628628
/// </summary>
629629
/// <param name="xClientName"></param>

src/libs/Cohere/Generated/Cohere.CohereClient.Summarize.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ partial void ProcessSummarizeResponseContent(
653653
/// Included only in requests
654654
/// </param>
655655
/// <param name="model">
656-
/// The identifier of the model to generate the summary with.<br/>
656+
/// The identifier of the model to generate the summary with. Currently available models are `command` (default), `command-nightly` (experimental), `command-light`, and `command-light-nightly` (experimental). Smaller, "light" models are faster, while larger models will perform better.<br/>
657657
/// Included only in requests
658658
/// </param>
659659
/// <param name="temperature">

src/libs/Cohere/Generated/Cohere.ICohereClient.Chat.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Cohere
55
public partial interface ICohereClient
66
{
77
/// <summary>
8-
/// Chat V1 API<br/>
8+
/// Chat API (v1)<br/>
99
/// Generates a text response to a user message.<br/>
1010
/// To learn how to use the Chat API and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api).
1111
/// </summary>
@@ -21,7 +21,7 @@ public partial interface ICohereClient
2121
global::System.Threading.CancellationToken cancellationToken = default);
2222

2323
/// <summary>
24-
/// Chat V1 API<br/>
24+
/// Chat API (v1)<br/>
2525
/// Generates a text response to a user message.<br/>
2626
/// To learn how to use the Chat API and RAG follow our [Text Generation guides](https://docs.cohere.com/docs/chat-api).
2727
/// </summary>

src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Cohere
55
public partial interface ICohereClient
66
{
77
/// <summary>
8-
/// Chat V2 API<br/>
8+
/// Chat API (v2)<br/>
99
/// Generates a text response to a user message and streams it down, token by token. To learn how to use the Chat API with streaming follow our [Text Generation guides](https://docs.cohere.com/v2/docs/chat-api).<br/>
1010
/// Follow the [Migration Guide](https://docs.cohere.com/v2/docs/migrating-v1-to-v2) for instructions on moving from API v1 to API v2.
1111
/// </summary>
@@ -19,7 +19,7 @@ public partial interface ICohereClient
1919
global::System.Threading.CancellationToken cancellationToken = default);
2020

2121
/// <summary>
22-
/// Chat V2 API<br/>
22+
/// Chat API (v2)<br/>
2323
/// Generates a text response to a user message and streams it down, token by token. To learn how to use the Chat API with streaming follow our [Text Generation guides](https://docs.cohere.com/v2/docs/chat-api).<br/>
2424
/// Follow the [Migration Guide](https://docs.cohere.com/v2/docs/migrating-v1-to-v2) for instructions on moving from API v1 to API v2.
2525
/// </summary>

0 commit comments

Comments
 (0)