diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs
index 57146c4..1bcde18 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs
@@ -33,8 +33,8 @@ partial void ProcessChatResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> ChatAsync(
- string? xClientName,
global::Cohere.ChatRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.CheckAPIKey.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.CheckAPIKey.g.cs
index bf5ef62..f92be8e 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.CheckAPIKey.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.CheckAPIKey.g.cs
@@ -29,7 +29,7 @@ partial void ProcessCheckAPIKeyResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CheckAPIKeyAsync(
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Classify.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Classify.g.cs
index a26fba1..51cee9a 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Classify.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Classify.g.cs
@@ -33,8 +33,8 @@ partial void ProcessClassifyResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ClassifyAsync(
- string? xClientName,
global::Cohere.ClassifyRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Detokenize.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Detokenize.g.cs
index 386440d..c63a6d6 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Detokenize.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Detokenize.g.cs
@@ -32,8 +32,8 @@ partial void ProcessDetokenizeResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task DetokenizeAsync(
- string? xClientName,
global::Cohere.DetokenizeRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Embed.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Embed.g.cs
index 061fc4f..32537e8 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Embed.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Embed.g.cs
@@ -34,8 +34,8 @@ partial void ProcessEmbedResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task> EmbedAsync(
- string? xClientName,
global::Cohere.EmbedRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs
index d96f71e..eacb056 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs
@@ -35,8 +35,8 @@ partial void ProcessGenerateResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GenerateAsync(
- string? xClientName,
global::Cohere.GenerateRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs
index 43c7bbc..68a1851 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs
@@ -32,8 +32,8 @@ partial void ProcessRerankResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task RerankAsync(
- string? xClientName,
global::Cohere.RerankRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs
index 2f84113..856c2dc 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs
@@ -35,8 +35,8 @@ partial void ProcessSummarizeResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task SummarizeAsync(
- string? xClientName,
global::Cohere.SummarizeRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs
index 1fea606..7fbd183 100644
--- a/src/libs/Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs
@@ -32,8 +32,8 @@ partial void ProcessTokenizeResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task TokenizeAsync(
- string? xClientName,
global::Cohere.TokenizeRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs
index fa96480..6120f27 100644
--- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs
@@ -32,8 +32,8 @@ partial void ProcessCreateConnectorResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CreateConnectorAsync(
- string? xClientName,
global::Cohere.CreateConnectorRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.DeleteConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.DeleteConnector.g.cs
index 27c83ac..d37677d 100644
--- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.DeleteConnector.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.DeleteConnector.g.cs
@@ -33,7 +33,7 @@ partial void ProcessDeleteConnectorResponseContent(
///
public async global::System.Threading.Tasks.Task DeleteConnectorAsync(
string id,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.GetConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.GetConnector.g.cs
index b56ffe5..91959ed 100644
--- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.GetConnector.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.GetConnector.g.cs
@@ -33,7 +33,7 @@ partial void ProcessGetConnectorResponseContent(
///
public async global::System.Threading.Tasks.Task GetConnectorAsync(
string id,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs
index 05c44fa..a04e775 100644
--- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs
@@ -39,9 +39,9 @@ partial void ProcessListConnectorsResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ListConnectorsAsync(
- double limit,
- double offset,
- string? xClientName,
+ double limit = 30,
+ double offset = 0,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.OAuthAuthorizeConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.OAuthAuthorizeConnector.g.cs
index f6f69c1..343e9cb 100644
--- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.OAuthAuthorizeConnector.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.OAuthAuthorizeConnector.g.cs
@@ -36,8 +36,8 @@ partial void ProcessOAuthAuthorizeConnectorResponseContent(
///
public async global::System.Threading.Tasks.Task OAuthAuthorizeConnectorAsync(
string id,
- string? afterTokenRedirect,
- string? xClientName,
+ string? afterTokenRedirect = default,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs
index e932452..5325307 100644
--- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs
@@ -36,8 +36,8 @@ partial void ProcessUpdateConnectorResponseContent(
///
public async global::System.Threading.Tasks.Task UpdateConnectorAsync(
string id,
- string? xClientName,
global::Cohere.UpdateConnectorRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs
index 289875f..7286536 100644
--- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs
@@ -61,14 +61,14 @@ partial void ProcessCreateDatasetResponseContent(
public async global::System.Threading.Tasks.Task CreateDatasetAsync(
string name,
global::Cohere.DatasetType type,
- bool keepOriginalFile,
- bool skipMalformedInput,
- global::System.Collections.Generic.IList? keepFields,
- global::System.Collections.Generic.IList? optionalFields,
- string? textSeparator,
- string? csvDelimiter,
- string? xClientName,
global::Cohere.CreateDatasetRequest request,
+ bool keepOriginalFile = default,
+ bool skipMalformedInput = default,
+ global::System.Collections.Generic.IList? keepFields = default,
+ global::System.Collections.Generic.IList? optionalFields = default,
+ string? textSeparator = default,
+ string? csvDelimiter = default,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
@@ -90,7 +90,7 @@ partial void ProcessCreateDatasetResponseContent(
using var httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
- requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/datasets?name={name}&type={type}&keep_original_file={keepOriginalFile}&skip_malformed_input={skipMalformedInput}&{string.Join("&", keepFields?.Select(static x => $"keepFields={x}") ?? global::System.Array.Empty())}&{string.Join("&", optionalFields?.Select(static x => $"optionalFields={x}") ?? global::System.Array.Empty())}&text_separator={textSeparator}&csv_delimiter={csvDelimiter}", global::System.UriKind.RelativeOrAbsolute));
+ requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/datasets?name={name}&type={(global::System.Uri.EscapeDataString(type.ToValueString() ?? string.Empty))}&keep_original_file={keepOriginalFile}&skip_malformed_input={skipMalformedInput}&{string.Join("&", keepFields?.Select(static x => $"keepFields={x}") ?? global::System.Array.Empty())}&{string.Join("&", optionalFields?.Select(static x => $"optionalFields={x}") ?? global::System.Array.Empty())}&text_separator={textSeparator}&csv_delimiter={csvDelimiter}", global::System.UriKind.RelativeOrAbsolute));
using var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent();
__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent($"{name}"),
diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.DeleteDataset.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.DeleteDataset.g.cs
index f95c6fb..96b21bc 100644
--- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.DeleteDataset.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.DeleteDataset.g.cs
@@ -33,7 +33,7 @@ partial void ProcessDeleteDatasetResponseContent(
///
public async global::System.Threading.Tasks.Task DeleteDatasetAsync(
string id,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDataset.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDataset.g.cs
index 1ce34a0..274d8c9 100644
--- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDataset.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDataset.g.cs
@@ -33,7 +33,7 @@ partial void ProcessGetDatasetResponseContent(
///
public async global::System.Threading.Tasks.Task GetDatasetAsync(
string id,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDatasetUsage.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDatasetUsage.g.cs
index c8f7dab..f169bad 100644
--- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDatasetUsage.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDatasetUsage.g.cs
@@ -29,7 +29,7 @@ partial void ProcessGetDatasetUsageResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task GetDatasetUsageAsync(
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs
index 3694d3b..848fad6 100644
--- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs
@@ -49,13 +49,13 @@ partial void ProcessListDatasetsResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ListDatasetsAsync(
- string? datasetType,
- global::System.DateTime before,
- global::System.DateTime after,
- double limit,
- double offset,
- global::Cohere.DatasetValidationStatus? validationStatus,
- string? xClientName,
+ string? datasetType = default,
+ global::System.DateTime before = default,
+ global::System.DateTime after = default,
+ double limit = default,
+ double offset = default,
+ global::Cohere.DatasetValidationStatus? validationStatus = default,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
@@ -72,7 +72,7 @@ partial void ProcessListDatasetsResponseContent(
using var httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
- requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/datasets?datasetType={datasetType}&before={before:yyyy-MM-ddTHH:mm:ssZ}&after={after:yyyy-MM-ddTHH:mm:ssZ}&limit={limit}&offset={offset}&validationStatus={validationStatus}", global::System.UriKind.RelativeOrAbsolute));
+ requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/datasets?datasetType={datasetType}&before={before:yyyy-MM-ddTHH:mm:ssZ}&after={after:yyyy-MM-ddTHH:mm:ssZ}&limit={limit}&offset={offset}&validationStatus={(global::System.Uri.EscapeDataString(validationStatus?.ToValueString() ?? string.Empty))}", global::System.UriKind.RelativeOrAbsolute));
PrepareRequest(
client: _httpClient,
diff --git a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CancelEmbedJob.g.cs b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CancelEmbedJob.g.cs
index 11b6cd2..13b3eb5 100644
--- a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CancelEmbedJob.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CancelEmbedJob.g.cs
@@ -33,7 +33,7 @@ partial void ProcessCancelEmbedJobResponseContent(
///
public async global::System.Threading.Tasks.Task CancelEmbedJobAsync(
string id,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CreateEmbedJob.g.cs b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CreateEmbedJob.g.cs
index d8ca487..58d2d97 100644
--- a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CreateEmbedJob.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CreateEmbedJob.g.cs
@@ -32,8 +32,8 @@ partial void ProcessCreateEmbedJobResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CreateEmbedJobAsync(
- string? xClientName,
global::Cohere.CreateEmbedJobRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.GetEmbedJob.g.cs b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.GetEmbedJob.g.cs
index ee046c9..1124a40 100644
--- a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.GetEmbedJob.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.GetEmbedJob.g.cs
@@ -33,7 +33,7 @@ partial void ProcessGetEmbedJobResponseContent(
///
public async global::System.Threading.Tasks.Task GetEmbedJobAsync(
string id,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.ListEmbedJobs.g.cs b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.ListEmbedJobs.g.cs
index bb28632..3c9fa13 100644
--- a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.ListEmbedJobs.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.ListEmbedJobs.g.cs
@@ -29,7 +29,7 @@ partial void ProcessListEmbedJobsResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ListEmbedJobsAsync(
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs
index beae66c..13cd39e 100644
--- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs
@@ -31,8 +31,8 @@ partial void ProcessCreateFinetunedModelResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CreateFinetunedModelAsync(
- string? xClientName,
global::Cohere.FinetunedModel request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.DeleteFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.DeleteFinetunedModel.g.cs
index 01324a6..412dc7f 100644
--- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.DeleteFinetunedModel.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.DeleteFinetunedModel.g.cs
@@ -32,7 +32,7 @@ partial void ProcessDeleteFinetunedModelResponseContent(
///
public async global::System.Threading.Tasks.Task DeleteFinetunedModelAsync(
string id,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.GetFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.GetFinetunedModel.g.cs
index 57f40b3..9383dca 100644
--- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.GetFinetunedModel.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.GetFinetunedModel.g.cs
@@ -32,7 +32,7 @@ partial void ProcessGetFinetunedModelResponseContent(
///
public async global::System.Threading.Tasks.Task GetFinetunedModelAsync(
string id,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs
index 88b85d1..5d1ff4a 100644
--- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs
@@ -41,10 +41,10 @@ partial void ProcessListEventsResponseContent(
///
public async global::System.Threading.Tasks.Task ListEventsAsync(
string finetunedModelId,
- int pageSize,
- string? pageToken,
- string? orderBy,
- string? xClientName,
+ int pageSize = default,
+ string? pageToken = default,
+ string? orderBy = default,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs
index d9002ef..31a394d 100644
--- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs
@@ -37,10 +37,10 @@ partial void ProcessListFinetunedModelsResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ListFinetunedModelsAsync(
- int pageSize,
- string? pageToken,
- string? orderBy,
- string? xClientName,
+ int pageSize = default,
+ string? pageToken = default,
+ string? orderBy = default,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs
index 9f738c3..d8fa405 100644
--- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs
@@ -38,9 +38,9 @@ partial void ProcessListTrainingStepMetricsResponseContent(
///
public async global::System.Threading.Tasks.Task ListTrainingStepMetricsAsync(
string finetunedModelId,
- int pageSize,
- string? pageToken,
- string? xClientName,
+ int pageSize = default,
+ string? pageToken = default,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs
index 7408fdc..222fb9d 100644
--- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs
@@ -35,8 +35,8 @@ partial void ProcessUpdateFinetunedModelResponseContent(
///
public async global::System.Threading.Tasks.Task UpdateFinetunedModelAsync(
string id,
- string? xClientName,
global::Cohere.UpdateFinetunedModelRequest request,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
request = request ?? throw new global::System.ArgumentNullException(nameof(request));
diff --git a/src/libs/Cohere/Generated/Cohere.ModelsClient.GetModel.g.cs b/src/libs/Cohere/Generated/Cohere.ModelsClient.GetModel.g.cs
index 7ad06e8..c9a76b6 100644
--- a/src/libs/Cohere/Generated/Cohere.ModelsClient.GetModel.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ModelsClient.GetModel.g.cs
@@ -35,7 +35,7 @@ partial void ProcessGetModelResponseContent(
///
public async global::System.Threading.Tasks.Task GetModelAsync(
string model,
- string? xClientName,
+ string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
diff --git a/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs b/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs
index c08e99f..19e2828 100644
--- a/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs
+++ b/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs
@@ -40,10 +40,10 @@ partial void ProcessListModelsResponseContent(
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ListModelsAsync(
- double pageSize,
- string? pageToken,
- global::Cohere.CompatibleEndpoint? endpoint,
- bool defaultOnly,
+ double pageSize = default,
+ string? pageToken = default,
+ global::Cohere.CompatibleEndpoint? endpoint = default,
+ bool defaultOnly = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
@@ -57,7 +57,7 @@ partial void ProcessListModelsResponseContent(
using var httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
- requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/models?page_size={pageSize}&page_token={pageToken}&endpoint={endpoint}&default_only={defaultOnly}", global::System.UriKind.RelativeOrAbsolute));
+ requestUri: new global::System.Uri(_httpClient.BaseAddress?.AbsoluteUri.TrimEnd('/') + $"/v1/models?page_size={pageSize}&page_token={pageToken}&endpoint={(global::System.Uri.EscapeDataString(endpoint?.ToValueString() ?? string.Empty))}&default_only={defaultOnly}", global::System.UriKind.RelativeOrAbsolute));
PrepareRequest(
client: _httpClient,