Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:@coderabbitai #49

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<global::Cohere.Message>? chatHistory = default,
string? conversationId = default,
global::Cohere.ChatRequestPromptTruncation? promptTruncation = default,
global::System.Collections.Generic.IList<global::Cohere.ChatConnector>? connectors = default,
bool searchQueriesOnly = default,
bool? searchQueriesOnly = default,
global::System.Collections.Generic.IList<global::Cohere.ChatDocument>? 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<string>? stopSequences = default,
double frequencyPenalty = default,
double presencePenalty = default,
double? frequencyPenalty = default,
double? presencePenalty = default,
global::System.Collections.Generic.IList<global::Cohere.Tool>? tools = default,
global::System.Collections.Generic.IList<global::Cohere.ToolResult>? toolResults = default,
bool forceSingleStep = default,
bool? forceSingleStep = default,
global::Cohere.ResponseFormat? responseFormat = default,
global::Cohere.ChatRequestSafetyMode? safetyMode = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
14 changes: 7 additions & 7 deletions src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>? 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
Expand Down
20 changes: 10 additions & 10 deletions src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>? endSequences = default,
global::System.Collections.Generic.IList<string>? 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
Expand Down
6 changes: 3 additions & 3 deletions src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ partial void ProcessRerankResponseContent(
global::System.Collections.Generic.IList<global::Cohere.OneOf<string, global::Cohere.RerankDocument>> documents,
string? xClientName = default,
string? model = default,
int topN = default,
int? topN = default,
global::System.Collections.Generic.IList<string>? 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
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ partial void ProcessCreateConnectorResponseContent(
string? description = default,
global::System.Collections.Generic.IList<string>? 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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -39,8 +39,8 @@ partial void ProcessListConnectorsResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Cohere.ListConnectorsResponse> ListConnectorsAsync(
double limit = 30,
double offset = 0,
double? limit = 30,
double? offset = 0,
string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ partial void ProcessUpdateConnectorResponseContent(
string? url = default,
global::System.Collections.Generic.IList<string>? 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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>? keepFields,
global::System.Collections.Generic.IList<string>? optionalFields,
ref string? textSeparator,
Expand All @@ -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<string>? keepFields,
global::System.Collections.Generic.IList<string>? optionalFields,
string? textSeparator,
Expand Down Expand Up @@ -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<string>? keepFields = default,
global::System.Collections.Generic.IList<string>? optionalFields = default,
string? textSeparator = default,
Expand Down Expand Up @@ -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<string>? keepFields = default,
global::System.Collections.Generic.IList<string>? optionalFields = default,
string? textSeparator = default,
Expand Down
24 changes: 12 additions & 12 deletions src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -50,10 +50,10 @@ partial void ProcessListDatasetsResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Cohere.ListDatasetsResponse> 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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ 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);
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);
Expand All @@ -41,7 +41,7 @@ partial void ProcessListEventsResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Cohere.ListEventsResponse> ListEventsAsync(
string finetunedModelId,
int pageSize = default,
int? pageSize = default,
string? pageToken = default,
string? orderBy = default,
string? xClientName = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -37,7 +37,7 @@ partial void ProcessListFinetunedModelsResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Cohere.ListFinetunedModelsResponse> ListFinetunedModelsAsync(
int pageSize = default,
int? pageSize = default,
string? pageToken = default,
string? orderBy = default,
string? xClientName = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -38,7 +38,7 @@ partial void ProcessListTrainingStepMetricsResponseContent(
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::Cohere.ListTrainingStepMetricsResponse> ListTrainingStepMetricsAsync(
string finetunedModelId,
int pageSize = default,
int? pageSize = default,
string? pageToken = default,
string? xClientName = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading
Loading