diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs index c0db6b0..ae27dc5 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs @@ -287,27 +287,27 @@ partial void ProcessChatResponseContent( string? xClientName = default, global::Cohere.ChatAccepts? accepts = default, string? model = default, - bool stream = default, + bool? stream = default, string? preamble = default, global::System.Collections.Generic.IList? chatHistory = default, string? conversationId = default, global::Cohere.ChatRequestPromptTruncation? promptTruncation = default, global::System.Collections.Generic.IList? connectors = default, - bool searchQueriesOnly = default, + bool? searchQueriesOnly = default, global::System.Collections.Generic.IList? documents = default, global::Cohere.ChatRequestCitationQuality? citationQuality = default, - float temperature = default, - int maxTokens = default, - int maxInputTokens = default, - int k = 0, - double p = 0.75, - int seed = default, + float? temperature = default, + int? maxTokens = default, + int? maxInputTokens = default, + int? k = 0, + double? p = 0.75, + int? seed = default, global::System.Collections.Generic.IList? stopSequences = default, - double frequencyPenalty = default, - double presencePenalty = default, + double? frequencyPenalty = default, + double? presencePenalty = default, global::System.Collections.Generic.IList? tools = default, global::System.Collections.Generic.IList? toolResults = default, - bool forceSingleStep = default, + bool? forceSingleStep = default, global::Cohere.ResponseFormat? responseFormat = default, global::Cohere.ChatRequestSafetyMode? safetyMode = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs index e1b37f6..902a93b 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs @@ -172,14 +172,14 @@ partial void ProcessChatv2ResponseContent( global::Cohere.Chatv2RequestCitationMode? citationMode = default, global::Cohere.ResponseFormat2? responseFormat = default, global::Cohere.Chatv2RequestSafetyMode? safetyMode = default, - int maxTokens = default, + int? maxTokens = default, global::System.Collections.Generic.IList? stopSequences = default, - float temperature = default, - int seed = default, - float frequencyPenalty = default, - float presencePenalty = default, - float k = 0F, - float p = 0.75F, + float? temperature = default, + int? seed = default, + float? frequencyPenalty = default, + float? presencePenalty = default, + float? k = 0F, + float? p = 0.75F, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::Cohere.Chatv2Request diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs index 3ef32e3..9ea1d67 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs @@ -197,21 +197,21 @@ partial void ProcessGenerateResponseContent( string prompt, string? xClientName = default, string? model = default, - int numGenerations = default, - bool stream = default, - int maxTokens = default, + int? numGenerations = default, + bool? stream = default, + int? maxTokens = default, global::Cohere.GenerateRequestTruncate? truncate = global::Cohere.GenerateRequestTruncate.END, - double temperature = default, - int seed = default, + double? temperature = default, + int? seed = default, string? preset = default, global::System.Collections.Generic.IList? endSequences = default, global::System.Collections.Generic.IList? stopSequences = default, - int k = default, - double p = default, - double frequencyPenalty = default, - double presencePenalty = default, + int? k = default, + double? p = default, + double? frequencyPenalty = default, + double? presencePenalty = default, global::Cohere.GenerateRequestReturnLikelihoods? returnLikelihoods = global::Cohere.GenerateRequestReturnLikelihoods.NONE, - bool rawPrompting = default, + bool? rawPrompting = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::Cohere.GenerateRequest diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs index 828e16f..281b43c 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs @@ -140,10 +140,10 @@ partial void ProcessRerankResponseContent( global::System.Collections.Generic.IList> documents, string? xClientName = default, string? model = default, - int topN = default, + int? topN = default, global::System.Collections.Generic.IList? rankFields = default, - bool returnDocuments = false, - int maxChunksPerDoc = 10, + bool? returnDocuments = false, + int? maxChunksPerDoc = 10, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::Cohere.RerankRequest diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs index aadfa12..911fa62 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs @@ -146,7 +146,7 @@ partial void ProcessSummarizeResponseContent( global::Cohere.SummarizeRequestFormat? format = global::Cohere.SummarizeRequestFormat.Paragraph, string? model = default, global::Cohere.SummarizeRequestExtractiveness? extractiveness = global::Cohere.SummarizeRequestExtractiveness.Low, - double temperature = 0.3, + double? temperature = 0.3, string? additionalCommand = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs index ac9869d..3f6459b 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs @@ -137,8 +137,8 @@ partial void ProcessCreateConnectorResponseContent( string? description = default, global::System.Collections.Generic.IList? excludes = default, global::Cohere.CreateConnectorOAuth? oauth = default, - bool active = true, - bool continueOnFailure = false, + bool? active = true, + bool? continueOnFailure = false, global::Cohere.CreateConnectorServiceAuth? serviceAuth = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs index 2759b46..c6981a7 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs @@ -7,14 +7,14 @@ public partial class ConnectorsClient { partial void PrepareListConnectorsArguments( global::System.Net.Http.HttpClient httpClient, - ref double limit, - ref double offset, + ref double? limit, + ref double? offset, ref string? xClientName); partial void PrepareListConnectorsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - double limit, - double offset, + double? limit, + double? offset, string? xClientName); partial void ProcessListConnectorsResponse( global::System.Net.Http.HttpClient httpClient, @@ -39,8 +39,8 @@ partial void ProcessListConnectorsResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListConnectorsAsync( - double limit = 30, - double offset = 0, + double? limit = 30, + double? offset = 0, string? xClientName = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs index 44a30aa..06a664e 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs @@ -139,8 +139,8 @@ partial void ProcessUpdateConnectorResponseContent( string? url = default, global::System.Collections.Generic.IList? excludes = default, global::Cohere.CreateConnectorOAuth? oauth = default, - bool active = true, - bool continueOnFailure = false, + bool? active = true, + bool? continueOnFailure = false, global::Cohere.CreateConnectorServiceAuth? serviceAuth = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs index 8cd4bae..675c266 100644 --- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs +++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs @@ -10,8 +10,8 @@ partial void PrepareCreateDatasetArguments( global::System.Net.Http.HttpClient httpClient, ref string name, ref global::Cohere.DatasetType type, - ref bool keepOriginalFile, - ref bool skipMalformedInput, + ref bool? keepOriginalFile, + ref bool? skipMalformedInput, global::System.Collections.Generic.IList? keepFields, global::System.Collections.Generic.IList? optionalFields, ref string? textSeparator, @@ -23,8 +23,8 @@ partial void PrepareCreateDatasetRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string name, global::Cohere.DatasetType type, - bool keepOriginalFile, - bool skipMalformedInput, + bool? keepOriginalFile, + bool? skipMalformedInput, global::System.Collections.Generic.IList? keepFields, global::System.Collections.Generic.IList? optionalFields, string? textSeparator, @@ -62,8 +62,8 @@ partial void ProcessCreateDatasetResponseContent( string name, global::Cohere.DatasetType type, global::Cohere.CreateDatasetRequest request, - bool keepOriginalFile = default, - bool skipMalformedInput = default, + bool? keepOriginalFile = default, + bool? skipMalformedInput = default, global::System.Collections.Generic.IList? keepFields = default, global::System.Collections.Generic.IList? optionalFields = default, string? textSeparator = default, @@ -253,8 +253,8 @@ partial void ProcessCreateDatasetResponseContent( global::Cohere.DatasetType type, byte[] data, string dataname, - bool keepOriginalFile = default, - bool skipMalformedInput = default, + bool? keepOriginalFile = default, + bool? skipMalformedInput = default, global::System.Collections.Generic.IList? keepFields = default, global::System.Collections.Generic.IList? optionalFields = default, string? textSeparator = default, diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs index 1b46557..341ad2f 100644 --- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs +++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs @@ -8,20 +8,20 @@ public partial class DatasetsClient partial void PrepareListDatasetsArguments( global::System.Net.Http.HttpClient httpClient, ref string? datasetType, - ref global::System.DateTime before, - ref global::System.DateTime after, - ref double limit, - ref double offset, + ref global::System.DateTime? before, + ref global::System.DateTime? after, + ref double? limit, + ref double? offset, ref global::Cohere.DatasetValidationStatus? validationStatus, ref string? xClientName); partial void PrepareListDatasetsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string? datasetType, - global::System.DateTime before, - global::System.DateTime after, - double limit, - double offset, + global::System.DateTime? before, + global::System.DateTime? after, + double? limit, + double? offset, global::Cohere.DatasetValidationStatus? validationStatus, string? xClientName); partial void ProcessListDatasetsResponse( @@ -50,10 +50,10 @@ partial void ProcessListDatasetsResponseContent( /// public async global::System.Threading.Tasks.Task ListDatasetsAsync( string? datasetType = default, - global::System.DateTime before = default, - global::System.DateTime after = default, - double limit = default, - double offset = 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) diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs index 92b786a..845ad24 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs @@ -154,10 +154,10 @@ partial void ProcessCreateFinetunedModelResponseContent( string? creatorId = default, string? organizationId = default, global::Cohere.Status? status = global::Cohere.Status.STATUSUNSPECIFIED, - global::System.DateTime createdAt = default, - global::System.DateTime updatedAt = default, - global::System.DateTime completedAt = default, - global::System.DateTime lastUsed = default, + global::System.DateTime? createdAt = default, + global::System.DateTime? updatedAt = default, + global::System.DateTime? completedAt = default, + global::System.DateTime? lastUsed = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::Cohere.FinetunedModel diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs index abb5c2c..d7a8e54 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs @@ -8,7 +8,7 @@ public partial class FinetuningClient partial void PrepareListEventsArguments( global::System.Net.Http.HttpClient httpClient, ref string finetunedModelId, - ref int pageSize, + ref int? pageSize, ref string? pageToken, ref string? orderBy, ref string? xClientName); @@ -16,7 +16,7 @@ partial void PrepareListEventsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string finetunedModelId, - int pageSize, + int? pageSize, string? pageToken, string? orderBy, string? xClientName); @@ -41,7 +41,7 @@ partial void ProcessListEventsResponseContent( /// public async global::System.Threading.Tasks.Task ListEventsAsync( string finetunedModelId, - int pageSize = default, + int? pageSize = default, string? pageToken = default, string? orderBy = default, string? xClientName = default, diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs index 69d658f..1a0f98e 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs @@ -7,14 +7,14 @@ public partial class FinetuningClient { partial void PrepareListFinetunedModelsArguments( global::System.Net.Http.HttpClient httpClient, - ref int pageSize, + ref int? pageSize, ref string? pageToken, ref string? orderBy, ref string? xClientName); partial void PrepareListFinetunedModelsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - int pageSize, + int? pageSize, string? pageToken, string? orderBy, string? xClientName); @@ -37,7 +37,7 @@ partial void ProcessListFinetunedModelsResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListFinetunedModelsAsync( - int pageSize = default, + int? pageSize = default, string? pageToken = default, string? orderBy = default, string? xClientName = default, diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs index d2548a3..9f0596c 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs @@ -8,14 +8,14 @@ public partial class FinetuningClient partial void PrepareListTrainingStepMetricsArguments( global::System.Net.Http.HttpClient httpClient, ref string finetunedModelId, - ref int pageSize, + ref int? pageSize, ref string? pageToken, ref string? xClientName); partial void PrepareListTrainingStepMetricsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string finetunedModelId, - int pageSize, + int? pageSize, string? pageToken, string? xClientName); partial void ProcessListTrainingStepMetricsResponse( @@ -38,7 +38,7 @@ partial void ProcessListTrainingStepMetricsResponseContent( /// public async global::System.Threading.Tasks.Task ListTrainingStepMetricsAsync( string finetunedModelId, - int pageSize = default, + int? pageSize = default, string? pageToken = default, string? xClientName = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs index 7ec58af..b705c02 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs @@ -158,10 +158,10 @@ partial void ProcessUpdateFinetunedModelResponseContent( string? creatorId = default, string? organizationId = default, global::Cohere.Status? status = global::Cohere.Status.STATUSUNSPECIFIED, - global::System.DateTime createdAt = default, - global::System.DateTime updatedAt = default, - global::System.DateTime completedAt = default, - global::System.DateTime lastUsed = default, + global::System.DateTime? createdAt = default, + global::System.DateTime? updatedAt = default, + global::System.DateTime? completedAt = default, + global::System.DateTime? lastUsed = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::Cohere.UpdateFinetunedModelRequest diff --git a/src/libs/Cohere/Generated/Cohere.ICohereApi.Chat.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereApi.Chat.g.cs index 953bca9..c83fc6b 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereApi.Chat.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereApi.Chat.g.cs @@ -199,27 +199,27 @@ public partial interface ICohereApi string? xClientName = default, global::Cohere.ChatAccepts? accepts = default, string? model = default, - bool stream = default, + bool? stream = default, string? preamble = default, global::System.Collections.Generic.IList? chatHistory = default, string? conversationId = default, global::Cohere.ChatRequestPromptTruncation? promptTruncation = default, global::System.Collections.Generic.IList? connectors = default, - bool searchQueriesOnly = default, + bool? searchQueriesOnly = default, global::System.Collections.Generic.IList? documents = default, global::Cohere.ChatRequestCitationQuality? citationQuality = default, - float temperature = default, - int maxTokens = default, - int maxInputTokens = default, - int k = 0, - double p = 0.75, - int seed = default, + float? temperature = default, + int? maxTokens = default, + int? maxInputTokens = default, + int? k = 0, + double? p = 0.75, + int? seed = default, global::System.Collections.Generic.IList? stopSequences = default, - double frequencyPenalty = default, - double presencePenalty = default, + double? frequencyPenalty = default, + double? presencePenalty = default, global::System.Collections.Generic.IList? tools = default, global::System.Collections.Generic.IList? toolResults = default, - bool forceSingleStep = default, + bool? forceSingleStep = default, global::Cohere.ResponseFormat? responseFormat = default, global::Cohere.ChatRequestSafetyMode? safetyMode = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs index f54af08..56f822b 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereApi.Chatv2.g.cs @@ -92,14 +92,14 @@ public partial interface ICohereApi global::Cohere.Chatv2RequestCitationMode? citationMode = default, global::Cohere.ResponseFormat2? responseFormat = default, global::Cohere.Chatv2RequestSafetyMode? safetyMode = default, - int maxTokens = default, + int? maxTokens = default, global::System.Collections.Generic.IList? stopSequences = default, - float temperature = default, - int seed = default, - float frequencyPenalty = default, - float presencePenalty = default, - float k = 0F, - float p = 0.75F, + float? temperature = default, + int? seed = default, + float? frequencyPenalty = default, + float? presencePenalty = default, + float? k = 0F, + float? p = 0.75F, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.ICohereApi.Generate.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereApi.Generate.g.cs index f93e1c8..51a11cc 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereApi.Generate.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereApi.Generate.g.cs @@ -113,21 +113,21 @@ public partial interface ICohereApi string prompt, string? xClientName = default, string? model = default, - int numGenerations = default, - bool stream = default, - int maxTokens = default, + int? numGenerations = default, + bool? stream = default, + int? maxTokens = default, global::Cohere.GenerateRequestTruncate? truncate = global::Cohere.GenerateRequestTruncate.END, - double temperature = default, - int seed = default, + double? temperature = default, + int? seed = default, string? preset = default, global::System.Collections.Generic.IList? endSequences = default, global::System.Collections.Generic.IList? stopSequences = default, - int k = default, - double p = default, - double frequencyPenalty = default, - double presencePenalty = default, + int? k = default, + double? p = default, + double? frequencyPenalty = default, + double? presencePenalty = default, global::Cohere.GenerateRequestReturnLikelihoods? returnLikelihoods = global::Cohere.GenerateRequestReturnLikelihoods.NONE, - bool rawPrompting = default, + bool? rawPrompting = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.ICohereApi.Rerank.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereApi.Rerank.g.cs index 6b022e0..ad128fe 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereApi.Rerank.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereApi.Rerank.g.cs @@ -56,10 +56,10 @@ public partial interface ICohereApi global::System.Collections.Generic.IList> documents, string? xClientName = default, string? model = default, - int topN = default, + int? topN = default, global::System.Collections.Generic.IList? rankFields = default, - bool returnDocuments = false, - int maxChunksPerDoc = 10, + bool? returnDocuments = false, + int? maxChunksPerDoc = 10, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.ICohereApi.Summarize.g.cs b/src/libs/Cohere/Generated/Cohere.ICohereApi.Summarize.g.cs index 3d67932..cc72a07 100644 --- a/src/libs/Cohere/Generated/Cohere.ICohereApi.Summarize.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ICohereApi.Summarize.g.cs @@ -62,7 +62,7 @@ public partial interface ICohereApi global::Cohere.SummarizeRequestFormat? format = global::Cohere.SummarizeRequestFormat.Paragraph, string? model = default, global::Cohere.SummarizeRequestExtractiveness? extractiveness = global::Cohere.SummarizeRequestExtractiveness.Low, - double temperature = 0.3, + double? temperature = 0.3, string? additionalCommand = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Cohere/Generated/Cohere.IConnectorsClient.CreateConnector.g.cs b/src/libs/Cohere/Generated/Cohere.IConnectorsClient.CreateConnector.g.cs index ac8cd17..8b61279 100644 --- a/src/libs/Cohere/Generated/Cohere.IConnectorsClient.CreateConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IConnectorsClient.CreateConnector.g.cs @@ -53,8 +53,8 @@ public partial interface IConnectorsClient string? description = default, global::System.Collections.Generic.IList? excludes = default, global::Cohere.CreateConnectorOAuth? oauth = default, - bool active = true, - bool continueOnFailure = false, + bool? active = true, + bool? continueOnFailure = false, global::Cohere.CreateConnectorServiceAuth? serviceAuth = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Cohere/Generated/Cohere.IConnectorsClient.ListConnectors.g.cs b/src/libs/Cohere/Generated/Cohere.IConnectorsClient.ListConnectors.g.cs index 4cb4f78..4aef14b 100644 --- a/src/libs/Cohere/Generated/Cohere.IConnectorsClient.ListConnectors.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IConnectorsClient.ListConnectors.g.cs @@ -18,8 +18,8 @@ public partial interface IConnectorsClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListConnectorsAsync( - double limit = 30, - double offset = 0, + double? limit = 30, + double? offset = 0, string? xClientName = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Cohere/Generated/Cohere.IConnectorsClient.UpdateConnector.g.cs b/src/libs/Cohere/Generated/Cohere.IConnectorsClient.UpdateConnector.g.cs index 814f4d2..d074159 100644 --- a/src/libs/Cohere/Generated/Cohere.IConnectorsClient.UpdateConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IConnectorsClient.UpdateConnector.g.cs @@ -51,8 +51,8 @@ public partial interface IConnectorsClient string? url = default, global::System.Collections.Generic.IList? excludes = default, global::Cohere.CreateConnectorOAuth? oauth = default, - bool active = true, - bool continueOnFailure = false, + bool? active = true, + bool? continueOnFailure = false, global::Cohere.CreateConnectorServiceAuth? serviceAuth = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Cohere/Generated/Cohere.IDatasetsClient.CreateDataset.g.cs b/src/libs/Cohere/Generated/Cohere.IDatasetsClient.CreateDataset.g.cs index bf779fd..bdd6b9d 100644 --- a/src/libs/Cohere/Generated/Cohere.IDatasetsClient.CreateDataset.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IDatasetsClient.CreateDataset.g.cs @@ -26,8 +26,8 @@ public partial interface IDatasetsClient string name, global::Cohere.DatasetType type, global::Cohere.CreateDatasetRequest request, - bool keepOriginalFile = default, - bool skipMalformedInput = default, + bool? keepOriginalFile = default, + bool? skipMalformedInput = default, global::System.Collections.Generic.IList? keepFields = default, global::System.Collections.Generic.IList? optionalFields = default, string? textSeparator = default, @@ -69,8 +69,8 @@ public partial interface IDatasetsClient global::Cohere.DatasetType type, byte[] data, string dataname, - bool keepOriginalFile = default, - bool skipMalformedInput = default, + bool? keepOriginalFile = default, + bool? skipMalformedInput = default, global::System.Collections.Generic.IList? keepFields = default, global::System.Collections.Generic.IList? optionalFields = default, string? textSeparator = default, diff --git a/src/libs/Cohere/Generated/Cohere.IDatasetsClient.ListDatasets.g.cs b/src/libs/Cohere/Generated/Cohere.IDatasetsClient.ListDatasets.g.cs index 079df54..c40cffc 100644 --- a/src/libs/Cohere/Generated/Cohere.IDatasetsClient.ListDatasets.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IDatasetsClient.ListDatasets.g.cs @@ -21,10 +21,10 @@ public partial interface IDatasetsClient /// global::System.Threading.Tasks.Task ListDatasetsAsync( string? datasetType = default, - global::System.DateTime before = default, - global::System.DateTime after = default, - double limit = default, - double offset = 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); diff --git a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.CreateFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.CreateFinetunedModel.g.cs index 8a0ae17..d487c43 100644 --- a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.CreateFinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.CreateFinetunedModel.g.cs @@ -70,10 +70,10 @@ public partial interface IFinetuningClient string? creatorId = default, string? organizationId = default, global::Cohere.Status? status = global::Cohere.Status.STATUSUNSPECIFIED, - global::System.DateTime createdAt = default, - global::System.DateTime updatedAt = default, - global::System.DateTime completedAt = default, - global::System.DateTime lastUsed = default, + global::System.DateTime? createdAt = default, + global::System.DateTime? updatedAt = default, + global::System.DateTime? completedAt = default, + global::System.DateTime? lastUsed = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListEvents.g.cs b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListEvents.g.cs index d976851..2224dbc 100644 --- a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListEvents.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListEvents.g.cs @@ -16,7 +16,7 @@ public partial interface IFinetuningClient /// global::System.Threading.Tasks.Task ListEventsAsync( string finetunedModelId, - int pageSize = default, + int? pageSize = default, string? pageToken = default, string? orderBy = default, string? xClientName = default, diff --git a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListFinetunedModels.g.cs b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListFinetunedModels.g.cs index 3f4c09c..c682157 100644 --- a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListFinetunedModels.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListFinetunedModels.g.cs @@ -14,7 +14,7 @@ public partial interface IFinetuningClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListFinetunedModelsAsync( - int pageSize = default, + int? pageSize = default, string? pageToken = default, string? orderBy = default, string? xClientName = default, diff --git a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListTrainingStepMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListTrainingStepMetrics.g.cs index 06a294b..e9eb475 100644 --- a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListTrainingStepMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.ListTrainingStepMetrics.g.cs @@ -15,7 +15,7 @@ public partial interface IFinetuningClient /// global::System.Threading.Tasks.Task ListTrainingStepMetricsAsync( string finetunedModelId, - int pageSize = default, + int? pageSize = default, string? pageToken = default, string? xClientName = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.UpdateFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.UpdateFinetunedModel.g.cs index 5fc1d6a..79df9a5 100644 --- a/src/libs/Cohere/Generated/Cohere.IFinetuningClient.UpdateFinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IFinetuningClient.UpdateFinetunedModel.g.cs @@ -70,10 +70,10 @@ public partial interface IFinetuningClient string? creatorId = default, string? organizationId = default, global::Cohere.Status? status = global::Cohere.Status.STATUSUNSPECIFIED, - global::System.DateTime createdAt = default, - global::System.DateTime updatedAt = default, - global::System.DateTime completedAt = default, - global::System.DateTime lastUsed = default, + global::System.DateTime? createdAt = default, + global::System.DateTime? updatedAt = default, + global::System.DateTime? completedAt = default, + global::System.DateTime? lastUsed = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.IModelsClient.ListModels.g.cs b/src/libs/Cohere/Generated/Cohere.IModelsClient.ListModels.g.cs index d88dee2..a461cee 100644 --- a/src/libs/Cohere/Generated/Cohere.IModelsClient.ListModels.g.cs +++ b/src/libs/Cohere/Generated/Cohere.IModelsClient.ListModels.g.cs @@ -17,10 +17,10 @@ public partial interface IModelsClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListModelsAsync( - double pageSize = default, + double? pageSize = default, string? pageToken = default, global::Cohere.CompatibleEndpoint? endpoint = default, - bool defaultOnly = default, + bool? defaultOnly = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaApiVersion.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaApiVersion.g.cs index c443df5..844459c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaApiVersion.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaApiVersion.g.cs @@ -19,13 +19,13 @@ public sealed partial class ApiMetaApiVersion /// /// [global::System.Text.Json.Serialization.JsonPropertyName("is_deprecated")] - public bool IsDeprecated { get; set; } + public bool? IsDeprecated { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("is_experimental")] - public bool IsExperimental { get; set; } + public bool? IsExperimental { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaBilledUnits.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaBilledUnits.g.cs index ecc5628..aad377e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaBilledUnits.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaBilledUnits.g.cs @@ -12,25 +12,25 @@ public sealed partial class ApiMetaBilledUnits /// The number of billed input tokens. /// [global::System.Text.Json.Serialization.JsonPropertyName("input_tokens")] - public double InputTokens { get; set; } + public double? InputTokens { get; set; } /// /// The number of billed output tokens. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_tokens")] - public double OutputTokens { get; set; } + public double? OutputTokens { get; set; } /// /// The number of billed search units. /// [global::System.Text.Json.Serialization.JsonPropertyName("search_units")] - public double SearchUnits { get; set; } + public double? SearchUnits { get; set; } /// /// The number of billed classifications units. /// [global::System.Text.Json.Serialization.JsonPropertyName("classifications")] - public double Classifications { get; set; } + public double? Classifications { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs index f2fe37a..eb47539 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs @@ -12,13 +12,13 @@ public sealed partial class ApiMetaTokens /// The number of tokens used as input to the model. /// [global::System.Text.Json.Serialization.JsonPropertyName("input_tokens")] - public double InputTokens { get; set; } + public double? InputTokens { get; set; } /// /// The number of tokens produced by the model. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_tokens")] - public double OutputTokens { get; set; } + public double? OutputTokens { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatConnector.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatConnector.g.cs index a14835a..c04b9e3 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatConnector.g.cs @@ -26,7 +26,7 @@ public sealed partial class ChatConnector /// When `true`, the request will continue if this connector returned an error. /// [global::System.Text.Json.Serialization.JsonPropertyName("continue_on_failure")] - public bool ContinueOnFailure { get; set; } + public bool? ContinueOnFailure { get; set; } /// /// Provides the connector with different settings at request time. The key/value pairs of this object are specific to each connector.
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2.g.cs index 18248b5..96e7913 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class ChatContentDeltaEventVariant2 /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEventVariant2.g.cs index f36c05c..94eb80b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEventVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class ChatContentEndEventVariant2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2.g.cs index 78eebca..5c2cdd0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class ChatContentStartEventVariant2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatDataMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatDataMetrics.g.cs index 1f437d7..3a620f7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatDataMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatDataMetrics.g.cs @@ -12,13 +12,13 @@ public sealed partial class ChatDataMetrics /// The sum of all turns of valid train examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_train_turns")] - public double NumTrainTurns { get; set; } + public double? NumTrainTurns { get; set; } /// /// The sum of all turns of valid eval examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_eval_turns")] - public double NumEvalTurns { get; set; } + public double? NumEvalTurns { get; set; } /// /// The preamble of this dataset. diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs index b1e404d..9151e51 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs @@ -31,7 +31,7 @@ public sealed partial class ChatRequest /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments /// [global::System.Text.Json.Serialization.JsonPropertyName("stream")] - public bool Stream { get; set; } + public bool? Stream { get; set; } /// /// When specified, the default Cohere preamble will be replaced with the provided one. Preambles are a part of the prompt used to adjust the model's overall behavior and conversation style, and use the `SYSTEM` role.
@@ -86,7 +86,7 @@ public sealed partial class ChatRequest /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments ///
[global::System.Text.Json.Serialization.JsonPropertyName("search_queries_only")] - public bool SearchQueriesOnly { get; set; } + public bool? SearchQueriesOnly { get; set; } /// /// A list of relevant documents that the model can cite to generate a more accurate reply. Each document is a string-string dictionary.
@@ -123,14 +123,14 @@ public sealed partial class ChatRequest /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments ///
[global::System.Text.Json.Serialization.JsonPropertyName("temperature")] - public float Temperature { get; set; } + public float? Temperature { get; set; } /// /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.
/// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments ///
[global::System.Text.Json.Serialization.JsonPropertyName("max_tokens")] - public int MaxTokens { get; set; } + public int? MaxTokens { get; set; } /// /// The maximum number of input tokens to send to the model. If not specified, `max_input_tokens` is the model's context length limit minus a small buffer.
@@ -138,7 +138,7 @@ public sealed partial class ChatRequest /// Compatible Deployments: Cohere Platform ///
[global::System.Text.Json.Serialization.JsonPropertyName("max_input_tokens")] - public int MaxInputTokens { get; set; } + public int? MaxInputTokens { get; set; } /// /// Ensures only the top `k` most likely tokens are considered for generation at each step.
@@ -147,7 +147,7 @@ public sealed partial class ChatRequest /// Default Value: 0 ///
[global::System.Text.Json.Serialization.JsonPropertyName("k")] - public int K { get; set; } = 0; + public int? K { get; set; } = 0; /// /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
@@ -156,7 +156,7 @@ public sealed partial class ChatRequest /// Default Value: 0.75 ///
[global::System.Text.Json.Serialization.JsonPropertyName("p")] - public double P { get; set; } = 0.75; + public double? P { get; set; } = 0.75; /// /// If specified, the backend will make a best effort to sample tokens
@@ -166,7 +166,7 @@ public sealed partial class ChatRequest /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments ///
[global::System.Text.Json.Serialization.JsonPropertyName("seed")] - public int Seed { get; set; } + public int? Seed { get; set; } /// /// A list of up to 5 strings that the model will use to stop generation. If the model generates a string that matches any of the strings in the list, it will stop generating tokens and return the generated text up to that point not including the stop sequence.
@@ -181,7 +181,7 @@ public sealed partial class ChatRequest /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments ///
[global::System.Text.Json.Serialization.JsonPropertyName("frequency_penalty")] - public double FrequencyPenalty { get; set; } + public double? FrequencyPenalty { get; set; } /// /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
@@ -189,7 +189,7 @@ public sealed partial class ChatRequest /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments ///
[global::System.Text.Json.Serialization.JsonPropertyName("presence_penalty")] - public double PresencePenalty { get; set; } + public double? PresencePenalty { get; set; } /// /// A list of available tools (functions) that the model may suggest invoking before producing a text response.
@@ -229,7 +229,7 @@ public sealed partial class ChatRequest /// Forces the chat to be single step. Defaults to `false`. ///
[global::System.Text.Json.Serialization.JsonPropertyName("force_single_step")] - public bool ForceSingleStep { get; set; } + public bool? ForceSingleStep { get; set; } /// /// Configuration for forcing the model output to adhere to the specified format. Supported on [Command R 03-2024](https://docs.cohere.com/docs/command-r), [Command R+ 04-2024](https://docs.cohere.com/docs/command-r-plus) and newer models.
diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResult.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResult.g.cs index e82269e..f8016f6 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResult.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResult.g.cs @@ -38,7 +38,7 @@ public sealed partial class ChatSearchResult /// Whether a chat request should continue or not if the request to this connector fails. ///
[global::System.Text.Json.Serialization.JsonPropertyName("continue_on_failure")] - public bool ContinueOnFailure { get; set; } + public bool? ContinueOnFailure { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs index e88284d..61e5246 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class ChatToolCallDeltaEventVariant2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEventVariant2.g.cs index 366fdf6..1e1870b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEventVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class ChatToolCallEndEventVariant2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2.g.cs index 28c36c7..8b1231c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class ChatToolCallStartEventVariant2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs index 4851889..af57acc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs @@ -64,7 +64,7 @@ public sealed partial class Chatv2Request /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations. /// [global::System.Text.Json.Serialization.JsonPropertyName("max_tokens")] - public int MaxTokens { get; set; } + public int? MaxTokens { get; set; } /// /// A list of up to 5 strings that the model will use to stop generation. If the model generates a string that matches any of the strings in the list, it will stop generating tokens and return the generated text up to that point not including the stop sequence. @@ -78,7 +78,7 @@ public sealed partial class Chatv2Request /// Randomness can be further maximized by increasing the value of the `p` parameter. /// [global::System.Text.Json.Serialization.JsonPropertyName("temperature")] - public float Temperature { get; set; } + public float? Temperature { get; set; } /// /// If specified, the backend will make a best effort to sample tokens
@@ -87,21 +87,21 @@ public sealed partial class Chatv2Request /// determinism cannot be totally guaranteed. ///
[global::System.Text.Json.Serialization.JsonPropertyName("seed")] - public int Seed { get; set; } + public int? Seed { get; set; } /// /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
/// Used to reduce repetitiveness of generated tokens. The higher the value, the stronger a penalty is applied to previously present tokens, proportional to how many times they have already appeared in the prompt or prior generation. ///
[global::System.Text.Json.Serialization.JsonPropertyName("frequency_penalty")] - public float FrequencyPenalty { get; set; } + public float? FrequencyPenalty { get; set; } /// /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
/// Used to reduce repetitiveness of generated tokens. Similar to `frequency_penalty`, except that this penalty is applied equally to all tokens that have already appeared, regardless of their exact frequencies. ///
[global::System.Text.Json.Serialization.JsonPropertyName("presence_penalty")] - public float PresencePenalty { get; set; } + public float? PresencePenalty { get; set; } /// /// Ensures only the top `k` most likely tokens are considered for generation at each step.
@@ -109,7 +109,7 @@ public sealed partial class Chatv2Request /// Default Value: 0F ///
[global::System.Text.Json.Serialization.JsonPropertyName("k")] - public float K { get; set; } = 0F; + public float? K { get; set; } = 0F; /// /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
@@ -117,7 +117,7 @@ public sealed partial class Chatv2Request /// Default Value: 0.75F ///
[global::System.Text.Json.Serialization.JsonPropertyName("p")] - public float P { get; set; } = 0.75F; + public float? P { get; set; } = 0.75F; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.Citation.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Citation.g.cs index d95270c..c05bdd8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Citation.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Citation.g.cs @@ -12,13 +12,13 @@ public sealed partial class Citation /// /// [global::System.Text.Json.Serialization.JsonPropertyName("start")] - public int Start { get; set; } + public int? Start { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("end")] - public int End { get; set; } + public int? End { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationEndEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationEndEventVariant2.g.cs index e80866e..9f04372 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CitationEndEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CitationEndEventVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class CitationEndEventVariant2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2.g.cs index 2b6fe91..da4abc9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class CitationStartEventVariant2 /// /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassification.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassification.g.cs index 3d75acd..1b3077a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassification.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassification.g.cs @@ -40,7 +40,7 @@ public sealed partial class ClassifyResponseClassification /// [global::System.Text.Json.Serialization.JsonPropertyName("confidence")] [global::System.Obsolete("This property marked as deprecated.")] - public float Confidence { get; set; } + public float? Confidence { get; set; } /// /// An array containing the confidence scores of all the predictions in the same order diff --git a/src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs index e8d799b..6d8ad39 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs @@ -30,7 +30,7 @@ public sealed partial class Cluster /// /// [global::System.Text.Json.Serialization.JsonPropertyName("size")] - public int Size { get; set; } + public int? Size { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.Connector.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Connector.g.cs index 7db9d0b..c902da5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Connector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Connector.g.cs @@ -86,13 +86,13 @@ public sealed partial class Connector /// Whether the connector is active or not. /// [global::System.Text.Json.Serialization.JsonPropertyName("active")] - public bool Active { get; set; } + public bool? Active { get; set; } /// /// Whether a chat request should continue or not if the request to this connector fails. /// [global::System.Text.Json.Serialization.JsonPropertyName("continue_on_failure")] - public bool ContinueOnFailure { get; set; } + public bool? ContinueOnFailure { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobRequest.g.cs index 678a2aa..0028169 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobRequest.g.cs @@ -26,27 +26,27 @@ public sealed partial class CreateClusterJobRequest /// Default Value: 10 /// [global::System.Text.Json.Serialization.JsonPropertyName("min_cluster_size")] - public int MinClusterSize { get; set; } = 10; + public int? MinClusterSize { get; set; } = 10; /// /// Parameter for UMAP. A scalar governing how to balance global vs local structure in the data.
/// Default Value: 15 ///
[global::System.Text.Json.Serialization.JsonPropertyName("n_neighbors")] - public int NNeighbors { get; set; } = 15; + public int? NNeighbors { get; set; } = 15; /// /// Parameter for UMAP. A boolean governing whether the embeddings from UMAP (that will be clustered with HDBSCAN) are deterministic.
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("is_deterministic")] - public bool IsDeterministic { get; set; } = true; + public bool? IsDeterministic { get; set; } = true; /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("generate_descriptions")] - public bool GenerateDescriptions { get; set; } + public bool? GenerateDescriptions { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorRequest.g.cs index c823595..0b58007 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorRequest.g.cs @@ -45,14 +45,14 @@ public sealed partial class CreateConnectorRequest /// Default Value: true /// [global::System.Text.Json.Serialization.JsonPropertyName("active")] - public bool Active { get; set; } = true; + public bool? Active { get; set; } = true; /// /// Whether a chat request should continue or not if the request to this connector fails.
/// Default Value: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("continue_on_failure")] - public bool ContinueOnFailure { get; set; } = false; + public bool? ContinueOnFailure { get; set; } = false; /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.DatasetPart.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DatasetPart.g.cs index 0862f35..dff3785 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DatasetPart.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DatasetPart.g.cs @@ -32,19 +32,19 @@ public sealed partial class DatasetPart /// The index of the file /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// The size of the file in bytes /// [global::System.Text.Json.Serialization.JsonPropertyName("size_bytes")] - public int SizeBytes { get; set; } + public int? SizeBytes { get; set; } /// /// The number of rows in the file /// [global::System.Text.Json.Serialization.JsonPropertyName("num_rows")] - public int NumRows { get; set; } + public int? NumRows { get; set; } /// /// The download url of the original file diff --git a/src/libs/Cohere/Generated/Cohere.Models.Event.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Event.g.cs index 149c9d4..8b07202 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Event.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Event.g.cs @@ -35,7 +35,7 @@ public sealed partial class Event /// Timestamp when the event happened. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime CreatedAt { get; set; } + public global::System.DateTime? CreatedAt { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.FinetuneDatasetMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.FinetuneDatasetMetrics.g.cs index 2b25b02..e1679cb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.FinetuneDatasetMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.FinetuneDatasetMetrics.g.cs @@ -12,37 +12,37 @@ public sealed partial class FinetuneDatasetMetrics /// The number of tokens of valid examples that can be used for training. /// [global::System.Text.Json.Serialization.JsonPropertyName("trainable_token_count")] - public double TrainableTokenCount { get; set; } + public double? TrainableTokenCount { get; set; } /// /// The overall number of examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("total_examples")] - public double TotalExamples { get; set; } + public double? TotalExamples { get; set; } /// /// The number of training examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("train_examples")] - public double TrainExamples { get; set; } + public double? TrainExamples { get; set; } /// /// The size in bytes of all training examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("train_size_bytes")] - public double TrainSizeBytes { get; set; } + public double? TrainSizeBytes { get; set; } /// /// Number of evaluation examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("eval_examples")] - public double EvalExamples { get; set; } + public double? EvalExamples { get; set; } /// /// The size in bytes of all eval examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("eval_size_bytes")] - public double EvalSizeBytes { get; set; } + public double? EvalSizeBytes { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs index d10352a..2d2c6ac 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs @@ -61,25 +61,25 @@ public sealed partial class FinetunedModel /// read-only. Creation timestamp. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime CreatedAt { get; set; } + public global::System.DateTime? CreatedAt { get; set; } /// /// read-only. Latest update timestamp. /// [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public global::System.DateTime UpdatedAt { get; set; } + public global::System.DateTime? UpdatedAt { get; set; } /// /// read-only. Timestamp for the completed fine-tuning. /// [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - public global::System.DateTime CompletedAt { get; set; } + public global::System.DateTime? CompletedAt { get; set; } /// /// read-only. Timestamp for the latest request to this fine-tuned model. /// [global::System.Text.Json.Serialization.JsonPropertyName("last_used")] - public global::System.DateTime LastUsed { get; set; } + public global::System.DateTime? LastUsed { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs index c587089..622f3fc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs @@ -28,7 +28,7 @@ public sealed partial class GenerateRequest /// The maximum number of generations that will be returned. Defaults to `1`, min value of `1`, max value of `5`. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_generations")] - public int NumGenerations { get; set; } + public int? NumGenerations { get; set; } /// /// When `true`, the response will be a JSON stream of events. Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.
@@ -39,7 +39,7 @@ public sealed partial class GenerateRequest /// - `ERROR_TOXIC` - the model generated a reply that was deemed toxic ///
[global::System.Text.Json.Serialization.JsonPropertyName("stream")] - public bool Stream { get; set; } + public bool? Stream { get; set; } /// /// The maximum number of tokens the model will generate as part of the response. Note: Setting a low value may result in incomplete generations.
@@ -47,7 +47,7 @@ public sealed partial class GenerateRequest /// Can only be set to `0` if `return_likelihoods` is set to `ALL` to get the likelihood of the prompt. ///
[global::System.Text.Json.Serialization.JsonPropertyName("max_tokens")] - public int MaxTokens { get; set; } + public int? MaxTokens { get; set; } /// /// One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.
@@ -64,7 +64,7 @@ public sealed partial class GenerateRequest /// Defaults to `0.75`, min value of `0.0`, max value of `5.0`. ///
[global::System.Text.Json.Serialization.JsonPropertyName("temperature")] - public double Temperature { get; set; } + public double? Temperature { get; set; } /// /// If specified, the backend will make a best effort to sample tokens
@@ -74,7 +74,7 @@ public sealed partial class GenerateRequest /// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments ///
[global::System.Text.Json.Serialization.JsonPropertyName("seed")] - public int Seed { get; set; } + public int? Seed { get; set; } /// /// Identifier of a custom preset. A preset is a combination of parameters, such as prompt, temperature etc. You can create presets in the [playground](https://dashboard.cohere.com/playground/generate).
@@ -101,21 +101,21 @@ public sealed partial class GenerateRequest /// Defaults to `0`, min value of `0`, max value of `500`. ///
[global::System.Text.Json.Serialization.JsonPropertyName("k")] - public int K { get; set; } + public int? K { get; set; } /// /// Ensures that only the most likely tokens, with total probability mass of `p`, are considered for generation at each step. If both `k` and `p` are enabled, `p` acts after `k`.
/// Defaults to `0.75`. min value of `0.01`, max value of `0.99`. ///
[global::System.Text.Json.Serialization.JsonPropertyName("p")] - public double P { get; set; } + public double? P { get; set; } /// /// Used to reduce repetitiveness of generated tokens. The higher the value, the stronger a penalty is applied to previously present tokens, proportional to how many times they have already appeared in the prompt or prior generation.
/// Using `frequency_penalty` in combination with `presence_penalty` is not supported on newer models. ///
[global::System.Text.Json.Serialization.JsonPropertyName("frequency_penalty")] - public double FrequencyPenalty { get; set; } + public double? FrequencyPenalty { get; set; } /// /// Defaults to `0.0`, min value of `0.0`, max value of `1.0`.
@@ -123,7 +123,7 @@ public sealed partial class GenerateRequest /// Using `frequency_penalty` in combination with `presence_penalty` is not supported on newer models. ///
[global::System.Text.Json.Serialization.JsonPropertyName("presence_penalty")] - public double PresencePenalty { get; set; } + public double? PresencePenalty { get; set; } /// /// One of `GENERATION|ALL|NONE` to specify how and if the token likelihoods are returned with the response. Defaults to `NONE`.
@@ -139,7 +139,7 @@ public sealed partial class GenerateRequest /// When enabled, the user's prompt will be sent to the model without any pre-processing. ///
[global::System.Text.Json.Serialization.JsonPropertyName("raw_prompting")] - public bool RawPrompting { get; set; } + public bool? RawPrompting { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamErrorVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamErrorVariant2.g.cs index 65b3c97..80cb306 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamErrorVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamErrorVariant2.g.cs @@ -12,7 +12,7 @@ public sealed partial class GenerateStreamErrorVariant2 /// Refers to the nth generation. Only present when `num_generations` is greater than zero. /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamTextVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamTextVariant2.g.cs index 9ab069a..3538d12 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamTextVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamTextVariant2.g.cs @@ -19,7 +19,7 @@ public sealed partial class GenerateStreamTextVariant2 /// Refers to the nth generation. Only present when `num_generations` is greater than zero, and only when text responses are being streamed. /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetClusterJobResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetClusterJobResponse.g.cs index ef46826..777b488 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetClusterJobResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetClusterJobResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class GetClusterJobResponse /// Time of job creation in RFC3339 format /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime CreatedAt { get; set; } + public global::System.DateTime? CreatedAt { get; set; } /// /// The input file URL used for the job @@ -37,19 +37,19 @@ public sealed partial class GetClusterJobResponse /// The parameter used in the job creation. Please refer to the job creation endpoint for more details /// [global::System.Text.Json.Serialization.JsonPropertyName("min_cluster_size")] - public int MinClusterSize { get; set; } + public int? MinClusterSize { get; set; } /// /// The parameter used in the job creation. Please refer to the job creation endpoint for more details /// [global::System.Text.Json.Serialization.JsonPropertyName("n_neighbors")] - public int NNeighbors { get; set; } + public int? NNeighbors { get; set; } /// /// The parameter used in the job creation. Please refer to the job creation endpoint for more details /// [global::System.Text.Json.Serialization.JsonPropertyName("is_deterministic")] - public bool IsDeterministic { get; set; } + public bool? IsDeterministic { get; set; } /// /// @@ -62,7 +62,7 @@ public sealed partial class GetClusterJobResponse /// A boolean indicating whether the job is in a final state, whether completed or failed /// [global::System.Text.Json.Serialization.JsonPropertyName("is_final_state")] - public bool IsFinalState { get; set; } + public bool? IsFinalState { get; set; } /// /// The output file URL for the clusters (signed url that expires) diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse.g.cs index b1ef9f7..e130483 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse.g.cs @@ -12,7 +12,7 @@ public sealed partial class GetDatasetUsageResponse /// The total number of bytes used by the organization. /// [global::System.Text.Json.Serialization.JsonPropertyName("organization_usage")] - public double OrganizationUsage { get; set; } + public double? OrganizationUsage { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse.g.cs index 54a8a31..695076d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse.g.cs @@ -24,13 +24,13 @@ public sealed partial class GetModelResponse /// Whether the model has been fine-tuned or not. /// [global::System.Text.Json.Serialization.JsonPropertyName("finetuned")] - public bool Finetuned { get; set; } + public bool? Finetuned { get; set; } /// /// The maximum number of tokens that the model can process in a single request. Note that not all of these tokens are always available due to special tokens and preambles that Cohere has added by default. /// [global::System.Text.Json.Serialization.JsonPropertyName("context_length")] - public double ContextLength { get; set; } + public double? ContextLength { get; set; } /// /// Public URL to the tokenizer's configuration file. diff --git a/src/libs/Cohere/Generated/Cohere.Models.Hyperparameters.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Hyperparameters.g.cs index 0048db7..f626eea 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Hyperparameters.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Hyperparameters.g.cs @@ -13,32 +13,32 @@ public sealed partial class Hyperparameters /// `early_stopping_threshold` after this many times of evaluation. /// [global::System.Text.Json.Serialization.JsonPropertyName("early_stopping_patience")] - public int EarlyStoppingPatience { get; set; } + public int? EarlyStoppingPatience { get; set; } /// /// How much the loss must improve to prevent early stopping. /// [global::System.Text.Json.Serialization.JsonPropertyName("early_stopping_threshold")] - public double EarlyStoppingThreshold { get; set; } + public double? EarlyStoppingThreshold { get; set; } /// /// The batch size is the number of training examples included in a single
/// training pass. ///
[global::System.Text.Json.Serialization.JsonPropertyName("train_batch_size")] - public int TrainBatchSize { get; set; } + public int? TrainBatchSize { get; set; } /// /// The number of epochs to train for. /// [global::System.Text.Json.Serialization.JsonPropertyName("train_epochs")] - public int TrainEpochs { get; set; } + public int? TrainEpochs { get; set; } /// /// The learning rate to be used during training. /// [global::System.Text.Json.Serialization.JsonPropertyName("learning_rate")] - public double LearningRate { get; set; } + public double? LearningRate { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.LabelMetric.g.cs b/src/libs/Cohere/Generated/Cohere.Models.LabelMetric.g.cs index 0b528d5..32812cc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.LabelMetric.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.LabelMetric.g.cs @@ -12,7 +12,7 @@ public sealed partial class LabelMetric /// Total number of examples for this label /// [global::System.Text.Json.Serialization.JsonPropertyName("total_examples")] - public double TotalExamples { get; set; } + public double? TotalExamples { get; set; } /// /// value of the label diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListClusterJobsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListClusterJobsResponse.g.cs index 129c324..9bc48d7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListClusterJobsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListClusterJobsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class ListClusterJobsResponse /// /// [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] - public int TotalCount { get; set; } + public int? TotalCount { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse.g.cs index 3ada0d6..f5ecd0e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class ListConnectorsResponse /// Total number of connectors. /// [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] - public double TotalCount { get; set; } + public double? TotalCount { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEventsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEventsResponse.g.cs index f3eeb76..8348f4d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEventsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEventsResponse.g.cs @@ -25,7 +25,7 @@ public sealed partial class ListEventsResponse /// Total count of results. /// [global::System.Text.Json.Serialization.JsonPropertyName("total_size")] - public int TotalSize { get; set; } + public int? TotalSize { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListFinetunedModelsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListFinetunedModelsResponse.g.cs index dd68040..e28bbb2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListFinetunedModelsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListFinetunedModelsResponse.g.cs @@ -25,7 +25,7 @@ public sealed partial class ListFinetunedModelsResponse /// Total count of results. /// [global::System.Text.Json.Serialization.JsonPropertyName("total_size")] - public int TotalSize { get; set; } + public int? TotalSize { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.NonStreamedChatResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.NonStreamedChatResponse.g.cs index 511674c..6d8ab33 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.NonStreamedChatResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.NonStreamedChatResponse.g.cs @@ -19,7 +19,7 @@ public sealed partial class NonStreamedChatResponse /// Unique identifier for the generated reply. Useful for submitting feedback. /// [global::System.Text.Json.Serialization.JsonPropertyName("generation_id")] - public global::System.Guid GenerationId { get; set; } + public global::System.Guid? GenerationId { get; set; } /// /// Inline citations for the generated reply. @@ -37,7 +37,7 @@ public sealed partial class NonStreamedChatResponse /// Denotes that a search for documents is required during the RAG flow. /// [global::System.Text.Json.Serialization.JsonPropertyName("is_search_required")] - public bool IsSearchRequired { get; set; } + public bool? IsSearchRequired { get; set; } /// /// Generated search queries, meant to be used as part of the RAG flow. diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankRequest.g.cs index e34ff8e..88cfed0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankRequest.g.cs @@ -37,7 +37,7 @@ public sealed partial class RerankRequest /// The number of most relevant documents or indices to return, defaults to the length of the documents /// [global::System.Text.Json.Serialization.JsonPropertyName("top_n")] - public int TopN { get; set; } + public int? TopN { get; set; } /// /// If a JSON object is provided, you can specify which keys you would like to have considered for reranking. The model will rerank based on order of the fields passed in (i.e. rank_fields=['title','author','text'] will rerank using the values in title, author, text sequentially. If the length of title, author, and text exceeds the context length of the model, the chunking will not re-consider earlier fields). If not provided, the model will use the default text field for ranking. @@ -51,14 +51,14 @@ public sealed partial class RerankRequest /// Default Value: false /// [global::System.Text.Json.Serialization.JsonPropertyName("return_documents")] - public bool ReturnDocuments { get; set; } = false; + public bool? ReturnDocuments { get; set; } = false; /// /// The maximum number of chunks to produce internally from a document
/// Default Value: 10 ///
[global::System.Text.Json.Serialization.JsonPropertyName("max_chunks_per_doc")] - public int MaxChunksPerDoc { get; set; } = 10; + public int? MaxChunksPerDoc { get; set; } = 10; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankerDataMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankerDataMetrics.g.cs index 226e403..9d25ff9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankerDataMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankerDataMetrics.g.cs @@ -12,37 +12,37 @@ public sealed partial class RerankerDataMetrics /// The number of training queries. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_train_queries")] - public double NumTrainQueries { get; set; } + public double? NumTrainQueries { get; set; } /// /// The sum of all relevant passages of valid training examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_train_relevant_passages")] - public double NumTrainRelevantPassages { get; set; } + public double? NumTrainRelevantPassages { get; set; } /// /// The sum of all hard negatives of valid training examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_train_hard_negatives")] - public double NumTrainHardNegatives { get; set; } + public double? NumTrainHardNegatives { get; set; } /// /// The number of evaluation queries. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_eval_queries")] - public double NumEvalQueries { get; set; } + public double? NumEvalQueries { get; set; } /// /// The sum of all relevant passages of valid eval examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_eval_relevant_passages")] - public double NumEvalRelevantPassages { get; set; } + public double? NumEvalRelevantPassages { get; set; } /// /// The sum of all hard negatives of valid eval examples. /// [global::System.Text.Json.Serialization.JsonPropertyName("num_eval_hard_negatives")] - public double NumEvalHardNegatives { get; set; } + public double? NumEvalHardNegatives { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.Settings.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Settings.g.cs index efbbefd..9032312 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Settings.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Settings.g.cs @@ -32,7 +32,7 @@ public sealed partial class Settings /// read-only. Whether the model is single-label or multi-label (only for classification). /// [global::System.Text.Json.Serialization.JsonPropertyName("multi_label")] - public bool MultiLabel { get; set; } + public bool? MultiLabel { get; set; } /// /// The Weights & Biases configuration. diff --git a/src/libs/Cohere/Generated/Cohere.Models.SingleGeneration.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SingleGeneration.g.cs index cd37b89..4ea4723 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SingleGeneration.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SingleGeneration.g.cs @@ -26,13 +26,13 @@ public sealed partial class SingleGeneration /// Refers to the nth generation. Only present when `num_generations` is greater than zero. /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("likelihood")] - public double Likelihood { get; set; } + public double? Likelihood { get; set; } /// /// Only returned if `return_likelihoods` is set to `GENERATION` or `ALL`. The likelihood refers to the average log-likelihood of the entire specified string, which is useful for [evaluating the performance of your model](likelihood-eval), especially if you've created a [custom model](/docs/training-custom-models). Individual token likelihoods provide the log-likelihood of each token. The first token will not have a likelihood. diff --git a/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationInStream.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationInStream.g.cs index 6193e3d..5d8dbdc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationInStream.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationInStream.g.cs @@ -26,7 +26,7 @@ public sealed partial class SingleGenerationInStream /// Refers to the nth generation. Only present when `num_generations` is greater than zero. /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public int Index { get; set; } + public int? Index { get; set; } /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeRequest.g.cs index 47bd1d7..4463774 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeRequest.g.cs @@ -50,7 +50,7 @@ public sealed partial class SummarizeRequest /// Default Value: 0.3 /// [global::System.Text.Json.Serialization.JsonPropertyName("temperature")] - public double Temperature { get; set; } = 0.3; + public double? Temperature { get; set; } = 0.3; /// /// A free-form instruction for modifying how the summaries get generated. Should complete the sentence "Generate a summary _". Eg. "focusing on the next steps" or "written by Yoda" diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenLikelihood.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenLikelihood.g.cs index c60f497..65132e0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenLikelihood.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenLikelihood.g.cs @@ -12,7 +12,7 @@ public sealed partial class TokenLikelihood /// Tokenized text /// [global::System.Text.Json.Serialization.JsonPropertyName("encoded")] - public int Encoded { get; set; } + public int? Encoded { get; set; } /// /// Detokenized text @@ -24,7 +24,7 @@ public sealed partial class TokenLikelihood /// Non normalized probability of the token /// [global::System.Text.Json.Serialization.JsonPropertyName("log_likelihood")] - public double LogLikelihood { get; set; } + public double? LogLikelihood { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolCallDelta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolCallDelta.g.cs index c229c49..3397952 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolCallDelta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolCallDelta.g.cs @@ -18,7 +18,7 @@ public sealed partial class ToolCallDelta /// Index of the tool call generated /// [global::System.Text.Json.Serialization.JsonPropertyName("index")] - public double Index { get; set; } + public double? Index { get; set; } /// /// Chunk of the tool parameters diff --git a/src/libs/Cohere/Generated/Cohere.Models.TrainingStepMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TrainingStepMetrics.g.cs index 5ca350d..813c03f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TrainingStepMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TrainingStepMetrics.g.cs @@ -12,13 +12,13 @@ public sealed partial class TrainingStepMetrics /// Creation timestamp. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime CreatedAt { get; set; } + public global::System.DateTime? CreatedAt { get; set; } /// /// Step number. /// [global::System.Text.Json.Serialization.JsonPropertyName("step_number")] - public int StepNumber { get; set; } + public int? StepNumber { get; set; } /// /// Map of names and values for each evaluation metrics. diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorRequest.g.cs index 9d6e575..d84cf01 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorRequest.g.cs @@ -36,13 +36,13 @@ public sealed partial class UpdateConnectorRequest /// Default Value: true /// [global::System.Text.Json.Serialization.JsonPropertyName("active")] - public bool Active { get; set; } = true; + public bool? Active { get; set; } = true; /// /// Default Value: false /// [global::System.Text.Json.Serialization.JsonPropertyName("continue_on_failure")] - public bool ContinueOnFailure { get; set; } = false; + public bool? ContinueOnFailure { get; set; } = false; /// /// diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs index ec04421..ec367c6 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs @@ -55,25 +55,25 @@ public sealed partial class UpdateFinetunedModelRequest /// Creation timestamp. /// [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] - public global::System.DateTime CreatedAt { get; set; } + public global::System.DateTime? CreatedAt { get; set; } /// /// Latest update timestamp. /// [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] - public global::System.DateTime UpdatedAt { get; set; } + public global::System.DateTime? UpdatedAt { get; set; } /// /// Timestamp for the completed fine-tuning. /// [global::System.Text.Json.Serialization.JsonPropertyName("completed_at")] - public global::System.DateTime CompletedAt { get; set; } + public global::System.DateTime? CompletedAt { get; set; } /// /// Timestamp for the latest request to this fine-tuned model. /// [global::System.Text.Json.Serialization.JsonPropertyName("last_used")] - public global::System.DateTime LastUsed { get; set; } + public global::System.DateTime? LastUsed { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.UsageBilledUnits.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UsageBilledUnits.g.cs index 130577b..fb91f13 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UsageBilledUnits.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UsageBilledUnits.g.cs @@ -12,25 +12,25 @@ public sealed partial class UsageBilledUnits /// The number of billed input tokens. /// [global::System.Text.Json.Serialization.JsonPropertyName("input_tokens")] - public double InputTokens { get; set; } + public double? InputTokens { get; set; } /// /// The number of billed output tokens. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_tokens")] - public double OutputTokens { get; set; } + public double? OutputTokens { get; set; } /// /// The number of billed search units. /// [global::System.Text.Json.Serialization.JsonPropertyName("search_units")] - public double SearchUnits { get; set; } + public double? SearchUnits { get; set; } /// /// The number of billed classifications units. /// [global::System.Text.Json.Serialization.JsonPropertyName("classifications")] - public double Classifications { get; set; } + public double? Classifications { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.Models.UsageTokens.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UsageTokens.g.cs index aa36c7d..6f84d7e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UsageTokens.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UsageTokens.g.cs @@ -12,13 +12,13 @@ public sealed partial class UsageTokens /// The number of tokens used as input to the model. /// [global::System.Text.Json.Serialization.JsonPropertyName("input_tokens")] - public double InputTokens { get; set; } + public double? InputTokens { get; set; } /// /// The number of tokens produced by the model. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_tokens")] - public double OutputTokens { get; set; } + public double? OutputTokens { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs b/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs index d68e508..3b134aa 100644 --- a/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs @@ -7,17 +7,17 @@ public partial class ModelsClient { partial void PrepareListModelsArguments( global::System.Net.Http.HttpClient httpClient, - ref double pageSize, + ref double? pageSize, ref string? pageToken, ref global::Cohere.CompatibleEndpoint? endpoint, - ref bool defaultOnly); + ref bool? defaultOnly); partial void PrepareListModelsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - double pageSize, + double? pageSize, string? pageToken, global::Cohere.CompatibleEndpoint? endpoint, - bool defaultOnly); + bool? defaultOnly); partial void ProcessListModelsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -40,10 +40,10 @@ partial void ProcessListModelsResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListModelsAsync( - double pageSize = default, + double? pageSize = default, string? pageToken = default, global::Cohere.CompatibleEndpoint? endpoint = default, - bool defaultOnly = default, + bool? defaultOnly = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments(