Skip to content

feat:Update OpenAPI spec to revise model property description for tokenize endpoint #183

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

Merged
merged 1 commit into from
May 1, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ partial void ProcessTokenizeResponseContent(
/// </summary>
/// <param name="xClientName"></param>
/// <param name="model">
/// An optional parameter to provide the model name. This will ensure that the tokenization uses the tokenizer used by that model.
/// The input will be tokenized by the tokenizer that is used by this model.
/// </param>
/// <param name="text">
/// The string to be tokenized, the minimum text length is 1 character, and the maximum text length is 65536 characters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial interface ICohereClient
/// </summary>
/// <param name="xClientName"></param>
/// <param name="model">
/// An optional parameter to provide the model name. This will ensure that the tokenization uses the tokenizer used by that model.
/// The input will be tokenized by the tokenizer that is used by this model.
/// </param>
/// <param name="text">
/// The string to be tokenized, the minimum text length is 1 character, and the maximum text length is 65536 characters.
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Cohere/Generated/Cohere.Models.TokenizeRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Cohere
public sealed partial class TokenizeRequest
{
/// <summary>
/// An optional parameter to provide the model name. This will ensure that the tokenization uses the tokenizer used by that model.
/// The input will be tokenized by the tokenizer that is used by this model.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
[global::System.Text.Json.Serialization.JsonRequired]
Expand All @@ -32,7 +32,7 @@ public sealed partial class TokenizeRequest
/// Initializes a new instance of the <see cref="TokenizeRequest" /> class.
/// </summary>
/// <param name="model">
/// An optional parameter to provide the model name. This will ensure that the tokenization uses the tokenizer used by that model.
/// The input will be tokenized by the tokenizer that is used by this model.
/// </param>
/// <param name="text">
/// The string to be tokenized, the minimum text length is 1 character, and the maximum text length is 65536 characters.
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 @@ -7212,7 +7212,7 @@ paths:
properties:
model:
type: string
description: An optional parameter to provide the model name. This will ensure that the tokenization uses the tokenizer used by that model.
description: The input will be tokenized by the tokenizer that is used by this model.
x-fern-audiences:
- public
text:
Expand Down
Loading