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:@coderabbitai #124

Merged
merged 1 commit into from
Dec 3, 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.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.Rerank.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ partial void ProcessRerankResponseContent(
/// </summary>
/// <param name="xClientName"></param>
/// <param name="model">
/// The identifier of the model to use, one of : `rerank-english-v3.0`, `rerank-multilingual-v3.0`, `rerank-english-v2.0`, `rerank-multilingual-v2.0`
/// The identifier of the model to use, eg `rerank-v3.5`.
/// </param>
/// <param name="query">
/// The search query
Expand Down
9 changes: 2 additions & 7 deletions src/libs/Cohere/Generated/Cohere.CohereApi.Rerankv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -512,12 +512,7 @@ partial void ProcessRerankv2ResponseContent(
/// </summary>
/// <param name="xClientName"></param>
/// <param name="model">
/// The identifier of the model to use.<br/>
/// Supported models:<br/>
/// - `rerank-english-v3.0`<br/>
/// - `rerank-multilingual-v3.0`<br/>
/// - `rerank-english-v2.0`<br/>
/// - `rerank-multilingual-v2.0`
/// The identifier of the model to use, eg `rerank-v3.5`.
/// </param>
/// <param name="query">
/// The search query
Expand All @@ -526,7 +521,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.Rerank.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial interface ICohereApi
/// </summary>
/// <param name="xClientName"></param>
/// <param name="model">
/// The identifier of the model to use, one of : `rerank-english-v3.0`, `rerank-multilingual-v3.0`, `rerank-english-v2.0`, `rerank-multilingual-v2.0`
/// The identifier of the model to use, eg `rerank-v3.5`.
/// </param>
/// <param name="query">
/// The search query
Expand Down
9 changes: 2 additions & 7 deletions src/libs/Cohere/Generated/Cohere.ICohereApi.Rerankv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ public partial interface ICohereApi
/// </summary>
/// <param name="xClientName"></param>
/// <param name="model">
/// The identifier of the model to use.<br/>
/// Supported models:<br/>
/// - `rerank-english-v3.0`<br/>
/// - `rerank-multilingual-v3.0`<br/>
/// - `rerank-english-v2.0`<br/>
/// - `rerank-multilingual-v2.0`
/// The identifier of the model to use, eg `rerank-v3.5`.
/// </param>
/// <param name="query">
/// The search query
Expand All @@ -37,7 +32,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.RerankRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Cohere
public sealed partial class RerankRequest
{
/// <summary>
/// The identifier of the model to use, one of : `rerank-english-v3.0`, `rerank-multilingual-v3.0`, `rerank-english-v2.0`, `rerank-multilingual-v2.0`
/// The identifier of the model to use, eg `rerank-v3.5`.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
public string? Model { get; set; }
Expand Down Expand Up @@ -70,7 +70,7 @@ public sealed partial class RerankRequest
/// Initializes a new instance of the <see cref="RerankRequest" /> class.
/// </summary>
/// <param name="model">
/// The identifier of the model to use, one of : `rerank-english-v3.0`, `rerank-multilingual-v3.0`, `rerank-english-v2.0`, `rerank-multilingual-v2.0`
/// The identifier of the model to use, eg `rerank-v3.5`.
/// </param>
/// <param name="query">
/// The search query
Expand Down
18 changes: 4 additions & 14 deletions src/libs/Cohere/Generated/Cohere.Models.Rerankv2Request.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ namespace Cohere
public sealed partial class Rerankv2Request
{
/// <summary>
/// The identifier of the model to use.<br/>
/// Supported models:<br/>
/// - `rerank-english-v3.0`<br/>
/// - `rerank-multilingual-v3.0`<br/>
/// - `rerank-english-v2.0`<br/>
/// - `rerank-multilingual-v2.0`
/// The identifier of the model to use, eg `rerank-v3.5`.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
[global::System.Text.Json.Serialization.JsonRequired]
Expand All @@ -31,7 +26,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 @@ -59,12 +54,7 @@ public sealed partial class Rerankv2Request
/// Initializes a new instance of the <see cref="Rerankv2Request" /> class.
/// </summary>
/// <param name="model">
/// The identifier of the model to use.<br/>
/// Supported models:<br/>
/// - `rerank-english-v3.0`<br/>
/// - `rerank-multilingual-v3.0`<br/>
/// - `rerank-english-v2.0`<br/>
/// - `rerank-multilingual-v2.0`
/// The identifier of the model to use, eg `rerank-v3.5`.
/// </param>
/// <param name="query">
/// The search query
Expand All @@ -73,7 +63,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
Loading
Loading