Skip to content

Commit a4366f5

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#197)
Co-authored-by: github-actions[bot] <bot@openai.com>
1 parent ddc2f0c commit a4366f5

File tree

4 files changed

+259
-7
lines changed

4 files changed

+259
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ partial void ProcessRerankv2ResponseContent(
523523
/// A list of texts that will be compared to the `query`.<br/>
524524
/// For optimal performance we recommend against sending more than 1,000 documents in a single request.<br/>
525525
/// **Note**: long documents will automatically be truncated to the value of `max_tokens_per_doc`.<br/>
526-
/// **Note**: structured data should be formatted as YAML strings for best performance.
526+
/// **Note**: structured data should be formatted as YAML strings for best performance.
527527
/// </param>
528528
/// <param name="maxTokensPerDoc">
529529
/// Defaults to `4096`. Long documents will be automatically truncated to the specified number of tokens.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public partial interface ICohereClient
2626
/// A list of texts that will be compared to the `query`.<br/>
2727
/// For optimal performance we recommend against sending more than 1,000 documents in a single request.<br/>
2828
/// **Note**: long documents will automatically be truncated to the value of `max_tokens_per_doc`.<br/>
29-
/// **Note**: structured data should be formatted as YAML strings for best performance.
29+
/// **Note**: structured data should be formatted as YAML strings for best performance.
3030
/// </param>
3131
/// <param name="maxTokensPerDoc">
3232
/// Defaults to `4096`. Long documents will be automatically truncated to the specified number of tokens.

src/libs/Cohere/Generated/Cohere.Models.Rerankv2Request.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public sealed partial class Rerankv2Request
1212
/// A list of texts that will be compared to the `query`.<br/>
1313
/// For optimal performance we recommend against sending more than 1,000 documents in a single request.<br/>
1414
/// **Note**: long documents will automatically be truncated to the value of `max_tokens_per_doc`.<br/>
15-
/// **Note**: structured data should be formatted as YAML strings for best performance.
15+
/// **Note**: structured data should be formatted as YAML strings for best performance.
1616
/// </summary>
1717
[global::System.Text.Json.Serialization.JsonPropertyName("documents")]
1818
[global::System.Text.Json.Serialization.JsonRequired]
@@ -57,7 +57,7 @@ public sealed partial class Rerankv2Request
5757
/// A list of texts that will be compared to the `query`.<br/>
5858
/// For optimal performance we recommend against sending more than 1,000 documents in a single request.<br/>
5959
/// **Note**: long documents will automatically be truncated to the value of `max_tokens_per_doc`.<br/>
60-
/// **Note**: structured data should be formatted as YAML strings for best performance.
60+
/// **Note**: structured data should be formatted as YAML strings for best performance.
6161
/// </param>
6262
/// <param name="maxTokensPerDoc">
6363
/// Defaults to `4096`. Long documents will be automatically truncated to the specified number of tokens.

0 commit comments

Comments
 (0)