Skip to content

Commit

Permalink
Merge pull request #122 from tryAGI/bot/update-openapi_202412020143
Browse files Browse the repository at this point in the history
feat:No changes made to the codebase.
  • Loading branch information
github-actions[bot] authored Dec 2, 2024
2 parents 2459991 + aceecd8 commit 74e509a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ partial void ProcessChatResponseContent(
/// With `prompt_truncation` set to "AUTO", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be changed and ranked by relevance.<br/>
/// With `prompt_truncation` set to "AUTO_PRESERVE_ORDER", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be preserved as they are inputted into the API.<br/>
/// With `prompt_truncation` set to "OFF", no elements will be dropped. If the sum of the inputs exceeds the model's context length limit, a `TooManyTokens` error will be returned.<br/>
/// Compatible Deployments: <br/>
/// Compatible Deployments:<br/>
/// - AUTO: Cohere Platform Only<br/>
/// - AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments
/// </param>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.CohereApi.Rerankv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ partial void ProcessRerankv2ResponseContent(
/// A list of texts that will be compared to the `query`.<br/>
/// For optimal performance we recommend against sending more than 1,000 documents in a single request.<br/>
/// **Note**: long documents will automatically be truncated to the value of `max_tokens_per_doc`.<br/>
/// **Note**: structured data should be formatted as YAML strings for best performance.
/// **Note**: structured data should be formatted as YAML strings for best performance.
/// </param>
/// <param name="topN">
/// Limits the number of returned rerank results to the specified value. If not passed, all the rerank results will be returned.
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.ICohereApi.Chat.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public partial interface ICohereApi
/// With `prompt_truncation` set to "AUTO", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be changed and ranked by relevance.<br/>
/// With `prompt_truncation` set to "AUTO_PRESERVE_ORDER", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be preserved as they are inputted into the API.<br/>
/// With `prompt_truncation` set to "OFF", no elements will be dropped. If the sum of the inputs exceeds the model's context length limit, a `TooManyTokens` error will be returned.<br/>
/// Compatible Deployments: <br/>
/// Compatible Deployments:<br/>
/// - AUTO: Cohere Platform Only<br/>
/// - AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments
/// </param>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.ICohereApi.Rerankv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public partial interface ICohereApi
/// A list of texts that will be compared to the `query`.<br/>
/// For optimal performance we recommend against sending more than 1,000 documents in a single request.<br/>
/// **Note**: long documents will automatically be truncated to the value of `max_tokens_per_doc`.<br/>
/// **Note**: structured data should be formatted as YAML strings for best performance.
/// **Note**: structured data should be formatted as YAML strings for best performance.
/// </param>
/// <param name="topN">
/// Limits the number of returned rerank results to the specified value. If not passed, all the rerank results will be returned.
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public sealed partial class ChatRequest
/// With `prompt_truncation` set to "AUTO", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be changed and ranked by relevance.<br/>
/// With `prompt_truncation` set to "AUTO_PRESERVE_ORDER", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be preserved as they are inputted into the API.<br/>
/// With `prompt_truncation` set to "OFF", no elements will be dropped. If the sum of the inputs exceeds the model's context length limit, a `TooManyTokens` error will be returned.<br/>
/// Compatible Deployments: <br/>
/// Compatible Deployments:<br/>
/// - AUTO: Cohere Platform Only<br/>
/// - AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments
/// </summary>
Expand Down Expand Up @@ -306,7 +306,7 @@ public sealed partial class ChatRequest
/// With `prompt_truncation` set to "AUTO", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be changed and ranked by relevance.<br/>
/// With `prompt_truncation` set to "AUTO_PRESERVE_ORDER", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be preserved as they are inputted into the API.<br/>
/// With `prompt_truncation` set to "OFF", no elements will be dropped. If the sum of the inputs exceeds the model's context length limit, a `TooManyTokens` error will be returned.<br/>
/// Compatible Deployments: <br/>
/// Compatible Deployments:<br/>
/// - AUTO: Cohere Platform Only<br/>
/// - AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments
/// </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Cohere
/// With `prompt_truncation` set to "AUTO", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be changed and ranked by relevance.<br/>
/// With `prompt_truncation` set to "AUTO_PRESERVE_ORDER", some elements from `chat_history` and `documents` will be dropped in an attempt to construct a prompt that fits within the model's context length limit. During this process the order of the documents and chat history will be preserved as they are inputted into the API.<br/>
/// With `prompt_truncation` set to "OFF", no elements will be dropped. If the sum of the inputs exceeds the model's context length limit, a `TooManyTokens` error will be returned.<br/>
/// Compatible Deployments: <br/>
/// Compatible Deployments:<br/>
/// - AUTO: Cohere Platform Only<br/>
/// - AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Cohere/Generated/Cohere.Models.Rerankv2Request.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public sealed partial class Rerankv2Request
/// A list of texts that will be compared to the `query`.<br/>
/// For optimal performance we recommend against sending more than 1,000 documents in a single request.<br/>
/// **Note**: long documents will automatically be truncated to the value of `max_tokens_per_doc`.<br/>
/// **Note**: structured data should be formatted as YAML strings for best performance.
/// **Note**: structured data should be formatted as YAML strings for best performance.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("documents")]
[global::System.Text.Json.Serialization.JsonRequired]
Expand Down Expand Up @@ -73,7 +73,7 @@ public sealed partial class Rerankv2Request
/// A list of texts that will be compared to the `query`.<br/>
/// For optimal performance we recommend against sending more than 1,000 documents in a single request.<br/>
/// **Note**: long documents will automatically be truncated to the value of `max_tokens_per_doc`.<br/>
/// **Note**: structured data should be formatted as YAML strings for best performance.
/// **Note**: structured data should be formatted as YAML strings for best performance.
/// </param>
/// <param name="topN">
/// Limits the number of returned rerank results to the specified value. If not passed, all the rerank results will be returned.
Expand Down
14 changes: 7 additions & 7 deletions src/libs/Cohere/openapi.yaml

Large diffs are not rendered by default.

0 comments on commit 74e509a

Please sign in to comment.