From 2381e0267d8867082e57fa53096c1fab21ffa999 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 7 Feb 2025 18:26:11 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs | 12 ++++++++++-- .../Generated/Cohere.CohereApi.CheckAPIKey.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Classify.g.cs | 12 ++++++++++-- .../Generated/Cohere.CohereApi.Detokenize.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Embed.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Generate.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Rerank.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Rerankv2.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Summarize.g.cs | 12 ++++++++++-- .../Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs | 12 ++++++++++-- .../Cohere.ConnectorsClient.CreateConnector.g.cs | 12 ++++++++++-- .../Cohere.ConnectorsClient.DeleteConnector.g.cs | 12 ++++++++++-- .../Cohere.ConnectorsClient.GetConnector.g.cs | 12 ++++++++++-- .../Cohere.ConnectorsClient.ListConnectors.g.cs | 12 ++++++++++-- ...ere.ConnectorsClient.OAuthAuthorizeConnector.g.cs | 12 ++++++++++-- .../Cohere.ConnectorsClient.UpdateConnector.g.cs | 12 ++++++++++-- .../Cohere.DatasetsClient.CreateDataset.g.cs | 12 ++++++++++-- .../Cohere.DatasetsClient.DeleteDataset.g.cs | 12 ++++++++++-- .../Generated/Cohere.DatasetsClient.GetDataset.g.cs | 12 ++++++++++-- .../Cohere.DatasetsClient.GetDatasetUsage.g.cs | 12 ++++++++++-- .../Cohere.DatasetsClient.ListDatasets.g.cs | 12 ++++++++++-- .../Cohere.EmbedJobsClient.CreateEmbedJob.g.cs | 12 ++++++++++-- .../Cohere.EmbedJobsClient.GetEmbedJob.g.cs | 12 ++++++++++-- .../Cohere.EmbedJobsClient.ListEmbedJobs.g.cs | 12 ++++++++++-- ...Cohere.FinetuningClient.CreateFinetunedModel.g.cs | 12 ++++++++++-- ...Cohere.FinetuningClient.DeleteFinetunedModel.g.cs | 12 ++++++++++-- .../Cohere.FinetuningClient.GetFinetunedModel.g.cs | 12 ++++++++++-- .../Cohere.FinetuningClient.ListEvents.g.cs | 12 ++++++++++-- .../Cohere.FinetuningClient.ListFinetunedModels.g.cs | 12 ++++++++++-- ...ere.FinetuningClient.ListTrainingStepMetrics.g.cs | 12 ++++++++++-- ...Cohere.FinetuningClient.UpdateFinetunedModel.g.cs | 12 ++++++++++-- src/libs/Cohere/Generated/Cohere.Models.ApiMeta.g.cs | 2 ++ .../Generated/Cohere.Models.ApiMetaApiVersion.g.cs | 2 ++ .../Generated/Cohere.Models.ApiMetaBilledUnits.g.cs | 2 ++ .../Generated/Cohere.Models.ApiMetaTokens.g.cs | 2 ++ .../Generated/Cohere.Models.AssistantMessage.g.cs | 2 ++ .../Cohere.Models.AssistantMessageResponse.g.cs | 2 ++ ...stantMessageResponseContentItemDiscriminator.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.BaseModel.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse10.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse11.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse12.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse2.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse3.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse4.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse5.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse6.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse7.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse8.g.cs | 2 ++ .../Cohere.Models.CancelEmbedJobResponse9.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ChatCitation.g.cs | 2 ++ ...e.Models.ChatCitationGenerationEventVariant2.g.cs | 2 ++ .../Generated/Cohere.Models.ChatConnector.g.cs | 2 ++ .../Cohere.Models.ChatContentDeltaEventVariant2.g.cs | 2 ++ ...re.Models.ChatContentDeltaEventVariant2Delta.g.cs | 2 ++ ...ls.ChatContentDeltaEventVariant2DeltaMessage.g.cs | 2 ++ ...ContentDeltaEventVariant2DeltaMessageContent.g.cs | 2 ++ .../Cohere.Models.ChatContentEndEventVariant2.g.cs | 2 ++ .../Cohere.Models.ChatContentStartEventVariant2.g.cs | 2 ++ ...re.Models.ChatContentStartEventVariant2Delta.g.cs | 2 ++ ...ls.ChatContentStartEventVariant2DeltaMessage.g.cs | 2 ++ ...ContentStartEventVariant2DeltaMessageContent.g.cs | 2 ++ .../Generated/Cohere.Models.ChatDataMetrics.g.cs | 2 ++ .../Cohere.Models.ChatDebugEventVariant2.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ChatDocument.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ChatMessage.g.cs | 2 ++ .../Cohere.Models.ChatMessageEndEventVariant2.g.cs | 2 ++ ...here.Models.ChatMessageEndEventVariant2Delta.g.cs | 2 ++ .../Cohere.Models.ChatMessageStartEventVariant2.g.cs | 2 ++ ...re.Models.ChatMessageStartEventVariant2Delta.g.cs | 2 ++ ...ls.ChatMessageStartEventVariant2DeltaMessage.g.cs | 2 ++ .../Cohere.Models.ChatMessageV2Discriminator.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ChatRequest.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ChatResponse.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse10.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse11.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse12.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse14.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.ChatResponse9.g.cs | 2 ++ ...els.ChatSearchQueriesGenerationEventVariant2.g.cs | 2 ++ .../Generated/Cohere.Models.ChatSearchQuery.g.cs | 2 ++ .../Generated/Cohere.Models.ChatSearchResult.g.cs | 2 ++ .../Cohere.Models.ChatSearchResultConnector.g.cs | 2 ++ ...Cohere.Models.ChatSearchResultsEventVariant2.g.cs | 2 ++ .../Cohere.Models.ChatStreamEndEventVariant2.g.cs | 2 ++ .../Generated/Cohere.Models.ChatStreamEvent.g.cs | 2 ++ .../Generated/Cohere.Models.ChatStreamEventType.g.cs | 2 ++ .../Cohere.Models.ChatStreamStartEventVariant2.g.cs | 2 ++ ...ohere.Models.ChatTextGenerationEventVariant2.g.cs | 2 ++ ...Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs | 2 ++ ...e.Models.ChatToolCallDeltaEventVariant2Delta.g.cs | 2 ++ ...s.ChatToolCallDeltaEventVariant2DeltaMessage.g.cs | 2 ++ ...lCallDeltaEventVariant2DeltaMessageToolCalls.g.cs | 2 ++ ...taEventVariant2DeltaMessageToolCallsFunction.g.cs | 2 ++ .../Cohere.Models.ChatToolCallEndEventVariant2.g.cs | 2 ++ ...Cohere.Models.ChatToolCallStartEventVariant2.g.cs | 2 ++ ...e.Models.ChatToolCallStartEventVariant2Delta.g.cs | 2 ++ ...s.ChatToolCallStartEventVariant2DeltaMessage.g.cs | 2 ++ ...ohere.Models.ChatToolCallsChunkEventVariant2.g.cs | 2 ++ ....Models.ChatToolCallsGenerationEventVariant2.g.cs | 2 ++ ...Cohere.Models.ChatToolPlanDeltaEventVariant2.g.cs | 2 ++ ...e.Models.ChatToolPlanDeltaEventVariant2Delta.g.cs | 2 ++ ...s.ChatToolPlanDeltaEventVariant2DeltaMessage.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Request.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response10.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response11.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response12.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response13.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response2.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response3.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response4.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response5.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response6.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response7.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response8.g.cs | 2 ++ .../Generated/Cohere.Models.Chatv2Response9.g.cs | 2 ++ .../Generated/Cohere.Models.CheckAPIKeyResponse.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse10.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse11.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse12.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse13.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse2.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse3.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse4.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse5.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse6.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse7.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse8.g.cs | 2 ++ .../Cohere.Models.CheckAPIKeyResponse9.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.Citation.g.cs | 2 ++ .../Cohere.Models.CitationEndEventVariant2.g.cs | 2 ++ .../Generated/Cohere.Models.CitationOptions.g.cs | 2 ++ .../Cohere.Models.CitationStartEventVariant2.g.cs | 2 ++ ...ohere.Models.CitationStartEventVariant2Delta.g.cs | 2 ++ ...odels.CitationStartEventVariant2DeltaMessage.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyDataMetrics.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyExample.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyRequest.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse10.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse11.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse12.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.ClassifyResponse9.g.cs | 2 ++ ...Cohere.Models.ClassifyResponseClassification.g.cs | 2 ++ ...Models.ClassifyResponseClassificationLabels2.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.Connector.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ConnectorLog.g.cs | 2 ++ .../Generated/Cohere.Models.ConnectorOAuth.g.cs | 2 ++ .../Cohere.Models.CreateClusterJobRequest.g.cs | 2 ++ .../Cohere.Models.CreateClusterJobResponse.g.cs | 2 ++ .../Cohere.Models.CreateConnectorOAuth.g.cs | 2 ++ .../Cohere.Models.CreateConnectorRequest.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse10.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse11.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse12.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse13.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse2.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse3.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse4.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse5.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse6.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse7.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse8.g.cs | 2 ++ .../Cohere.Models.CreateConnectorResponse9.g.cs | 2 ++ .../Cohere.Models.CreateConnectorServiceAuth.g.cs | 2 ++ .../Cohere.Models.CreateDatasetRequest.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse10.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse11.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse12.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse13.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse2.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse3.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse4.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse5.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse6.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse7.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse8.g.cs | 2 ++ .../Cohere.Models.CreateDatasetResponse9.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobRequest.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse10.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse11.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse12.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse13.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse2.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse3.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse4.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse5.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse6.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse7.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse8.g.cs | 2 ++ .../Cohere.Models.CreateEmbedJobResponse9.g.cs | 2 ++ .../Cohere.Models.CreateFinetunedModelResponse.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.Dataset.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.DatasetPart.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse10.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse11.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse12.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse13.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse2.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse3.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse4.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse5.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse6.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse7.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse8.g.cs | 2 ++ .../Cohere.Models.DeleteConnectorResponse9.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse10.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse11.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse12.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse13.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse2.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse3.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse4.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse5.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse6.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse7.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse8.g.cs | 2 ++ .../Cohere.Models.DeleteDatasetResponse9.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeRequest.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse.g.cs | 2 ++ .../Cohere.Models.DetokenizeResponse10.g.cs | 2 ++ .../Cohere.Models.DetokenizeResponse11.g.cs | 2 ++ .../Cohere.Models.DetokenizeResponse12.g.cs | 2 ++ .../Cohere.Models.DetokenizeResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.DetokenizeResponse9.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.Document.g.cs | 2 ++ .../Generated/Cohere.Models.DocumentContent.g.cs | 2 ++ .../Generated/Cohere.Models.DocumentSource.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedByTypeResponse.g.cs | 2 ++ .../Cohere.Models.EmbedByTypeResponseEmbeddings.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedFloatsResponse.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.EmbedJob.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.EmbedRequest.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse10.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse11.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse12.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.EmbedResponse9.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Request.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response10.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response11.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response12.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response2.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response3.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response4.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response5.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response6.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response7.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response8.g.cs | 2 ++ .../Generated/Cohere.Models.Embedv2Response9.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.Error.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.Event.g.cs | 2 ++ .../Cohere.Models.FinetuneDatasetMetrics.g.cs | 2 ++ .../Generated/Cohere.Models.FinetunedModel.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateRequest.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse10.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse11.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse12.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateResponse9.g.cs | 2 ++ .../Cohere.Models.GenerateStreamEndVariant2.g.cs | 2 ++ ...ere.Models.GenerateStreamEndVariant2Response.g.cs | 2 ++ .../Cohere.Models.GenerateStreamErrorVariant2.g.cs | 2 ++ .../Generated/Cohere.Models.GenerateStreamEvent.g.cs | 2 ++ .../Cohere.Models.GenerateStreamTextVariant2.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.Generation.g.cs | 2 ++ .../Cohere.Models.GetClusterJobResponse.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse10.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse11.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse12.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse13.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse2.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse3.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse4.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse5.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse6.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse7.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse8.g.cs | 2 ++ .../Cohere.Models.GetConnectorResponse9.g.cs | 2 ++ .../Cohere.Models.GetConnectorsLogsResponse.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse.g.cs | 2 ++ .../Cohere.Models.GetDatasetResponse10.g.cs | 2 ++ .../Cohere.Models.GetDatasetResponse11.g.cs | 2 ++ .../Cohere.Models.GetDatasetResponse12.g.cs | 2 ++ .../Cohere.Models.GetDatasetResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.GetDatasetResponse9.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse10.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse11.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse12.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse13.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse2.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse3.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse4.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse5.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse6.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse7.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse8.g.cs | 2 ++ .../Cohere.Models.GetDatasetUsageResponse9.g.cs | 2 ++ .../Generated/Cohere.Models.GetEmbedJobResponse.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse10.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse11.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse12.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse2.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse3.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse4.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse5.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse6.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse7.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse8.g.cs | 2 ++ .../Cohere.Models.GetEmbedJobResponse9.g.cs | 2 ++ .../Cohere.Models.GetFinetunedModelResponse.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse10.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse11.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse12.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.GetModelResponse9.g.cs | 2 ++ .../Generated/Cohere.Models.Hyperparameters.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.Image.g.cs | 2 ++ .../Generated/Cohere.Models.JSONResponseFormat.g.cs | 2 ++ .../Cohere.Models.JsonResponseFormatV2.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.LabelMetric.g.cs | 2 ++ .../Cohere.Models.ListClusterJobsResponse.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse10.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse11.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse12.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse13.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse2.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse3.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse4.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse5.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse6.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse7.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse8.g.cs | 2 ++ .../Cohere.Models.ListConnectorsResponse9.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse10.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse11.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse12.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse13.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse2.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse3.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse4.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse5.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse6.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse7.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse8.g.cs | 2 ++ .../Cohere.Models.ListDatasetsResponse9.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobResponse.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse10.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse11.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse12.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse2.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse3.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse4.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse5.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse6.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse7.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse8.g.cs | 2 ++ .../Cohere.Models.ListEmbedJobsResponse9.g.cs | 2 ++ .../Generated/Cohere.Models.ListEventsResponse.g.cs | 2 ++ .../Cohere.Models.ListFinetunedModelsResponse.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse.g.cs | 2 ++ .../Cohere.Models.ListModelsResponse10.g.cs | 2 ++ .../Cohere.Models.ListModelsResponse11.g.cs | 2 ++ .../Cohere.Models.ListModelsResponse12.g.cs | 2 ++ .../Cohere.Models.ListModelsResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.ListModelsResponse9.g.cs | 2 ++ ...ohere.Models.ListTrainingStepMetricsResponse.g.cs | 2 ++ .../Cohere.Models.LogLikelihoodResponse.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.LogprobItem.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.Metrics.g.cs | 2 ++ .../Cohere.Models.NonStreamedChatResponse.g.cs | 2 ++ ...ohere.Models.OAuthAuthorizeConnectorResponse.g.cs | 2 ++ ...ere.Models.OAuthAuthorizeConnectorResponse10.g.cs | 2 ++ ...ere.Models.OAuthAuthorizeConnectorResponse11.g.cs | 2 ++ ...ere.Models.OAuthAuthorizeConnectorResponse12.g.cs | 2 ++ ...here.Models.OAuthAuthorizeConnectorResponse2.g.cs | 2 ++ ...here.Models.OAuthAuthorizeConnectorResponse3.g.cs | 2 ++ ...here.Models.OAuthAuthorizeConnectorResponse4.g.cs | 2 ++ ...here.Models.OAuthAuthorizeConnectorResponse5.g.cs | 2 ++ ...here.Models.OAuthAuthorizeConnectorResponse6.g.cs | 2 ++ ...here.Models.OAuthAuthorizeConnectorResponse7.g.cs | 2 ++ ...here.Models.OAuthAuthorizeConnectorResponse8.g.cs | 2 ++ ...here.Models.OAuthAuthorizeConnectorResponse9.g.cs | 2 ++ .../Cohere.Models.OAuthAuthorizeResponse.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ParseInfo.g.cs | 2 ++ .../Generated/Cohere.Models.RerankDocument.g.cs | 2 ++ .../Generated/Cohere.Models.RerankRequest.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse10.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse11.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse12.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.RerankResponse9.g.cs | 2 ++ .../Cohere.Models.RerankResponseResult.g.cs | 2 ++ .../Cohere.Models.RerankResponseResultDocument.g.cs | 2 ++ .../Generated/Cohere.Models.RerankerDataMetrics.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Request.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response10.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response11.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response12.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response13.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response2.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response3.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response4.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response5.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response6.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response7.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response8.g.cs | 2 ++ .../Generated/Cohere.Models.Rerankv2Response9.g.cs | 2 ++ .../Cohere.Models.Rerankv2ResponseResult.g.cs | 2 ++ .../Cohere.Models.ResponseFormatV2Discriminator.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.Settings.g.cs | 2 ++ .../Generated/Cohere.Models.SingleGeneration.g.cs | 2 ++ .../Cohere.Models.SingleGenerationInStream.g.cs | 2 ++ ...ohere.Models.SingleGenerationTokenLikelihood.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeRequest.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse10.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse11.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse12.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.SummarizeResponse9.g.cs | 2 ++ .../Generated/Cohere.Models.SystemMessage.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.TextContent.g.cs | 2 ++ .../Generated/Cohere.Models.TextResponseFormat.g.cs | 2 ++ .../Cohere.Models.TextResponseFormatV2.g.cs | 2 ++ .../Generated/Cohere.Models.TokenLikelihood.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeRequest.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse10.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse11.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse12.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse13.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse2.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse3.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse4.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse5.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse6.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse7.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse8.g.cs | 2 ++ .../Generated/Cohere.Models.TokenizeResponse9.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.Tool.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ToolCall.g.cs | 2 ++ .../Generated/Cohere.Models.ToolCallDelta.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ToolCallV2.g.cs | 2 ++ .../Generated/Cohere.Models.ToolCallV2Function.g.cs | 2 ++ .../Cohere.Models.ToolContentDiscriminator.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ToolMessage.g.cs | 2 ++ .../Generated/Cohere.Models.ToolMessageV2.g.cs | 2 ++ .../Cohere.Models.ToolParameterDefinitions2.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ToolResult.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.ToolSource.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.ToolV2.g.cs | 2 ++ .../Generated/Cohere.Models.ToolV2Function.g.cs | 2 ++ .../Generated/Cohere.Models.TrainingStepMetrics.g.cs | 2 ++ .../Cohere.Models.UpdateClusterJobRequest.g.cs | 2 ++ .../Cohere.Models.UpdateClusterJobResponse.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorRequest.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse10.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse11.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse12.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse13.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse2.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse3.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse4.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse5.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse6.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse7.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse8.g.cs | 2 ++ .../Cohere.Models.UpdateConnectorResponse9.g.cs | 2 ++ .../Cohere.Models.UpdateFinetunedModelRequest.g.cs | 2 ++ .../Cohere.Models.UpdateFinetunedModelResponse.g.cs | 2 ++ src/libs/Cohere/Generated/Cohere.Models.Usage.g.cs | 2 ++ .../Generated/Cohere.Models.UsageBilledUnits.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.UsageTokens.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.UserMessage.g.cs | 2 ++ .../Cohere/Generated/Cohere.Models.WandbConfig.g.cs | 2 ++ .../Generated/Cohere.ModelsClient.GetModel.g.cs | 12 ++++++++++-- .../Generated/Cohere.ModelsClient.ListModels.g.cs | 12 ++++++++++-- 566 files changed, 1412 insertions(+), 70 deletions(-) diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs index 9bed5d6..f9ab5b9 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Chat.g.cs @@ -455,7 +455,11 @@ partial void ProcessChatResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -509,7 +513,11 @@ partial void ProcessChatResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs index 68b0b65..1c42569 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Chatv2.g.cs @@ -445,7 +445,11 @@ partial void ProcessChatv2ResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -499,7 +503,11 @@ partial void ProcessChatv2ResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.CheckAPIKey.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.CheckAPIKey.g.cs index 53cb51b..14cf389 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.CheckAPIKey.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.CheckAPIKey.g.cs @@ -430,7 +430,11 @@ partial void ProcessCheckAPIKeyResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -484,7 +488,11 @@ partial void ProcessCheckAPIKeyResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.CheckAPIKeyResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Classify.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Classify.g.cs index 5624c6f..347a8c3 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Classify.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Classify.g.cs @@ -445,7 +445,11 @@ partial void ProcessClassifyResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -499,7 +503,11 @@ partial void ProcessClassifyResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.ClassifyResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Detokenize.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Detokenize.g.cs index cdedbd2..8fd440d 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Detokenize.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Detokenize.g.cs @@ -444,7 +444,11 @@ partial void ProcessDetokenizeResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -498,7 +502,11 @@ partial void ProcessDetokenizeResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.DetokenizeResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Embed.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Embed.g.cs index 1be940b..494cdf9 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Embed.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Embed.g.cs @@ -446,7 +446,11 @@ partial void ProcessEmbedResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -500,7 +504,11 @@ partial void ProcessEmbedResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs index dbe9707..afeab3b 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Embedv2.g.cs @@ -446,7 +446,11 @@ partial void ProcessEmbedv2ResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -500,7 +504,11 @@ partial void ProcessEmbedv2ResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.EmbedByTypeResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs index c0ab57b..399afa4 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Generate.g.cs @@ -447,7 +447,11 @@ partial void ProcessGenerateResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -501,7 +505,11 @@ partial void ProcessGenerateResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.Generation.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs index 2edce85..32bcc16 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Rerank.g.cs @@ -444,7 +444,11 @@ partial void ProcessRerankResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -498,7 +502,11 @@ partial void ProcessRerankResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.RerankResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Rerankv2.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Rerankv2.g.cs index 66f5e90..6fb0b1c 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Rerankv2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Rerankv2.g.cs @@ -444,7 +444,11 @@ partial void ProcessRerankv2ResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -498,7 +502,11 @@ partial void ProcessRerankv2ResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.Rerankv2Response.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs index c4b09d7..bfbb764 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Summarize.g.cs @@ -447,7 +447,11 @@ partial void ProcessSummarizeResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -501,7 +505,11 @@ partial void ProcessSummarizeResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.SummarizeResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs b/src/libs/Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs index 4aaee97..0326610 100644 --- a/src/libs/Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs +++ b/src/libs/Cohere/Generated/Cohere.CohereApi.Tokenize.g.cs @@ -444,7 +444,11 @@ partial void ProcessTokenizeResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -498,7 +502,11 @@ partial void ProcessTokenizeResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.TokenizeResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs index 525fbea..60200a9 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.CreateConnector.g.cs @@ -444,7 +444,11 @@ partial void ProcessCreateConnectorResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -498,7 +502,11 @@ partial void ProcessCreateConnectorResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.CreateConnectorResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.DeleteConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.DeleteConnector.g.cs index 6545e7e..33550dc 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.DeleteConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.DeleteConnector.g.cs @@ -436,7 +436,11 @@ partial void ProcessDeleteConnectorResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -488,7 +492,11 @@ partial void ProcessDeleteConnectorResponseContent( }; } - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return __content; } diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.GetConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.GetConnector.g.cs index 8030414..e4e38ca 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.GetConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.GetConnector.g.cs @@ -436,7 +436,11 @@ partial void ProcessGetConnectorResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -490,7 +494,11 @@ partial void ProcessGetConnectorResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.GetConnectorResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs index 88a96d6..4de1b29 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.ListConnectors.g.cs @@ -450,7 +450,11 @@ partial void ProcessListConnectorsResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -504,7 +508,11 @@ partial void ProcessListConnectorsResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.ListConnectorsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.OAuthAuthorizeConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.OAuthAuthorizeConnector.g.cs index 7f8bee3..0bce563 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.OAuthAuthorizeConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.OAuthAuthorizeConnector.g.cs @@ -445,7 +445,11 @@ partial void ProcessOAuthAuthorizeConnectorResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -499,7 +503,11 @@ partial void ProcessOAuthAuthorizeConnectorResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.OAuthAuthorizeResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs index 2545b6e..f6411a9 100644 --- a/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ConnectorsClient.UpdateConnector.g.cs @@ -450,7 +450,11 @@ partial void ProcessUpdateConnectorResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -504,7 +508,11 @@ partial void ProcessUpdateConnectorResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.UpdateConnectorResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs index e6a181b..ecf395f 100644 --- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs +++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.CreateDataset.g.cs @@ -559,7 +559,11 @@ partial void ProcessCreateDatasetResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -613,7 +617,11 @@ partial void ProcessCreateDatasetResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.CreateDatasetResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.DeleteDataset.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.DeleteDataset.g.cs index 07b9366..e6e41f7 100644 --- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.DeleteDataset.g.cs +++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.DeleteDataset.g.cs @@ -436,7 +436,11 @@ partial void ProcessDeleteDatasetResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -488,7 +492,11 @@ partial void ProcessDeleteDatasetResponseContent( }; } - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return __content; } diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDataset.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDataset.g.cs index a499081..4d5fbf6 100644 --- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDataset.g.cs +++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDataset.g.cs @@ -436,7 +436,11 @@ partial void ProcessGetDatasetResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -490,7 +494,11 @@ partial void ProcessGetDatasetResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.GetDatasetResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDatasetUsage.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDatasetUsage.g.cs index 6a5ba95..134676a 100644 --- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDatasetUsage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.GetDatasetUsage.g.cs @@ -430,7 +430,11 @@ partial void ProcessGetDatasetUsageResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -484,7 +488,11 @@ partial void ProcessGetDatasetUsageResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.GetDatasetUsageResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs b/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs index 94192f1..b68b917 100644 --- a/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs +++ b/src/libs/Cohere/Generated/Cohere.DatasetsClient.ListDatasets.g.cs @@ -476,7 +476,11 @@ partial void ProcessListDatasetsResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -530,7 +534,11 @@ partial void ProcessListDatasetsResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.ListDatasetsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CreateEmbedJob.g.cs b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CreateEmbedJob.g.cs index 43adcd8..d9be9ae 100644 --- a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CreateEmbedJob.g.cs +++ b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.CreateEmbedJob.g.cs @@ -444,7 +444,11 @@ partial void ProcessCreateEmbedJobResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -498,7 +502,11 @@ partial void ProcessCreateEmbedJobResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.CreateEmbedJobResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.GetEmbedJob.g.cs b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.GetEmbedJob.g.cs index 98a8c37..98d59be 100644 --- a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.GetEmbedJob.g.cs +++ b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.GetEmbedJob.g.cs @@ -436,7 +436,11 @@ partial void ProcessGetEmbedJobResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -490,7 +494,11 @@ partial void ProcessGetEmbedJobResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.EmbedJob.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.ListEmbedJobs.g.cs b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.ListEmbedJobs.g.cs index 56b90b7..51afbad 100644 --- a/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.ListEmbedJobs.g.cs +++ b/src/libs/Cohere/Generated/Cohere.EmbedJobsClient.ListEmbedJobs.g.cs @@ -430,7 +430,11 @@ partial void ProcessListEmbedJobsResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -484,7 +488,11 @@ partial void ProcessListEmbedJobsResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.ListEmbedJobResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs index 59334f1..b75024f 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.CreateFinetunedModel.g.cs @@ -275,7 +275,11 @@ partial void ProcessCreateFinetunedModelResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -329,7 +333,11 @@ partial void ProcessCreateFinetunedModelResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.CreateFinetunedModelResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.DeleteFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.DeleteFinetunedModel.g.cs index 0172974..b11043a 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.DeleteFinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.DeleteFinetunedModel.g.cs @@ -267,7 +267,11 @@ partial void ProcessDeleteFinetunedModelResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -319,7 +323,11 @@ partial void ProcessDeleteFinetunedModelResponseContent( }; } - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return __content; } diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.GetFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.GetFinetunedModel.g.cs index d610be5..ae9610a 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.GetFinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.GetFinetunedModel.g.cs @@ -267,7 +267,11 @@ partial void ProcessGetFinetunedModelResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -321,7 +325,11 @@ partial void ProcessGetFinetunedModelResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.GetFinetunedModelResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs index 120820f..5ca2d09 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListEvents.g.cs @@ -290,7 +290,11 @@ partial void ProcessListEventsResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -344,7 +348,11 @@ partial void ProcessListEventsResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.ListEventsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs index 4349e63..648328d 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListFinetunedModels.g.cs @@ -284,7 +284,11 @@ partial void ProcessListFinetunedModelsResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -338,7 +342,11 @@ partial void ProcessListFinetunedModelsResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.ListFinetunedModelsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs index 878cec7..6348e8c 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.ListTrainingStepMetrics.g.cs @@ -283,7 +283,11 @@ partial void ProcessListTrainingStepMetricsResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -337,7 +341,11 @@ partial void ProcessListTrainingStepMetricsResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.ListTrainingStepMetricsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs index a723311..547e152 100644 --- a/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.FinetuningClient.UpdateFinetunedModel.g.cs @@ -281,7 +281,11 @@ partial void ProcessUpdateFinetunedModelResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -335,7 +339,11 @@ partial void ProcessUpdateFinetunedModelResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.UpdateFinetunedModelResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.Models.ApiMeta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ApiMeta.g.cs index 9c862fa..bc1038e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ApiMeta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ApiMeta.g.cs @@ -45,7 +45,9 @@ public sealed partial class ApiMeta /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ApiMeta( global::Cohere.ApiMetaApiVersion? apiVersion, global::Cohere.ApiMetaBilledUnits? billedUnits, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaApiVersion.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaApiVersion.g.cs index e248fb4..bcad7d5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaApiVersion.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaApiVersion.g.cs @@ -39,7 +39,9 @@ public sealed partial class ApiMetaApiVersion /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ApiMetaApiVersion( string version, bool? isDeprecated, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaBilledUnits.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaBilledUnits.g.cs index 30b23da..3bb6f68 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaBilledUnits.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaBilledUnits.g.cs @@ -62,7 +62,9 @@ public sealed partial class ApiMetaBilledUnits /// /// The number of billed classifications units. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ApiMetaBilledUnits( double? images, double? inputTokens, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs index fe2bbe1..4813f91 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ApiMetaTokens.g.cs @@ -35,7 +35,9 @@ public sealed partial class ApiMetaTokens /// /// The number of tokens produced by the model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ApiMetaTokens( double? inputTokens, double? outputTokens) diff --git a/src/libs/Cohere/Generated/Cohere.Models.AssistantMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.AssistantMessage.g.cs index 5b2d2a5..473d6b2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.AssistantMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.AssistantMessage.g.cs @@ -58,7 +58,9 @@ public sealed partial class AssistantMessage /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public AssistantMessage( global::Cohere.AssistantMessageRole role, global::System.Collections.Generic.IList? toolCalls, diff --git a/src/libs/Cohere/Generated/Cohere.Models.AssistantMessageResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.AssistantMessageResponse.g.cs index 7c0f78e..d4f4dad 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.AssistantMessageResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.AssistantMessageResponse.g.cs @@ -55,7 +55,9 @@ public sealed partial class AssistantMessageResponse /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public AssistantMessageResponse( global::Cohere.AssistantMessageResponseRole role, global::System.Collections.Generic.IList? toolCalls, diff --git a/src/libs/Cohere/Generated/Cohere.Models.AssistantMessageResponseContentItemDiscriminator.g.cs b/src/libs/Cohere/Generated/Cohere.Models.AssistantMessageResponseContentItemDiscriminator.g.cs index d4a7de3..39bdfaa 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.AssistantMessageResponseContentItemDiscriminator.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.AssistantMessageResponseContentItemDiscriminator.g.cs @@ -25,7 +25,9 @@ public sealed partial class AssistantMessageResponseContentItemDiscriminator /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public AssistantMessageResponseContentItemDiscriminator( global::Cohere.AssistantMessageResponseContentItemDiscriminatorType? type) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.BaseModel.g.cs b/src/libs/Cohere/Generated/Cohere.Models.BaseModel.g.cs index bcd0f87..889a2db 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.BaseModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.BaseModel.g.cs @@ -79,7 +79,9 @@ public sealed partial class BaseModel /// - STRATEGY_TFEW: Deprecated: Serve the fine-tuned model on a shared GPU.
/// Default Value: STRATEGY_UNSPECIFIED /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public BaseModel( global::Cohere.BaseType baseType, string? name, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse.g.cs index 75c3f3f..5dd8bef 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse10.g.cs index b278e80..62b5c8f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse11.g.cs index 9b40b8e..fa72d10 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse12.g.cs index 6b17997..3659be6 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse2.g.cs index 912cb1f..2a2cc1a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse3.g.cs index bd33d15..8e00031 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse4.g.cs index c1d9dd8..1042e68 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse5.g.cs index cbe940b..b447957 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse6.g.cs index 3bf3746..19e3da7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse7.g.cs index 034fa36..0fb6066 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse8.g.cs index 05b30ec..658145b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse9.g.cs index 9a6032a..f2cde34 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CancelEmbedJobResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class CancelEmbedJobResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CancelEmbedJobResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatCitation.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatCitation.g.cs index 45fbd81..dc74a7d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatCitation.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatCitation.g.cs @@ -67,7 +67,9 @@ public sealed partial class ChatCitation /// /// The type of citation which indicates what part of the response the citation is for. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatCitation( int start, int end, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatCitationGenerationEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatCitationGenerationEventVariant2.g.cs index 44f9f36..6b14b9f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatCitationGenerationEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatCitationGenerationEventVariant2.g.cs @@ -27,7 +27,9 @@ public sealed partial class ChatCitationGenerationEventVariant2 /// /// Citations for the generated reply. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatCitationGenerationEventVariant2( global::System.Collections.Generic.IList citations) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatConnector.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatConnector.g.cs index 5871c28..36d6cb3 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatConnector.g.cs @@ -58,7 +58,9 @@ public sealed partial class ChatConnector /// Provides the connector with different settings at request time. The key/value pairs of this object are specific to each connector.
/// For example, the connector `web-search` supports the `site` option, which limits search results to the specified domain. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatConnector( string id, string? userAccessToken, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2.g.cs index 9e50d38..edb6a61 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2.g.cs @@ -38,7 +38,9 @@ public sealed partial class ChatContentDeltaEventVariant2 /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentDeltaEventVariant2( int? index, global::Cohere.ChatContentDeltaEventVariant2Delta? delta, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2Delta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2Delta.g.cs index 4a967c9..f6599bc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2Delta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2Delta.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatContentDeltaEventVariant2Delta /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentDeltaEventVariant2Delta( global::Cohere.ChatContentDeltaEventVariant2DeltaMessage? message) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2DeltaMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2DeltaMessage.g.cs index 3e4d896..238edc8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2DeltaMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2DeltaMessage.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatContentDeltaEventVariant2DeltaMessage /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentDeltaEventVariant2DeltaMessage( global::Cohere.ChatContentDeltaEventVariant2DeltaMessageContent? content) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2DeltaMessageContent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2DeltaMessageContent.g.cs index afb2db5..2e67def 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2DeltaMessageContent.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentDeltaEventVariant2DeltaMessageContent.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatContentDeltaEventVariant2DeltaMessageContent /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentDeltaEventVariant2DeltaMessageContent( string? text) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEventVariant2.g.cs index c5dabe4..46f8678 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentEndEventVariant2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatContentEndEventVariant2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentEndEventVariant2( int? index) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2.g.cs index 791bf95..79b2201 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2.g.cs @@ -31,7 +31,9 @@ public sealed partial class ChatContentStartEventVariant2 /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentStartEventVariant2( int? index, global::Cohere.ChatContentStartEventVariant2Delta? delta) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2Delta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2Delta.g.cs index ef98f2c..2b0f5f4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2Delta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2Delta.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatContentStartEventVariant2Delta /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentStartEventVariant2Delta( global::Cohere.ChatContentStartEventVariant2DeltaMessage? message) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2DeltaMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2DeltaMessage.g.cs index ab0e98d..fabef05 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2DeltaMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2DeltaMessage.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatContentStartEventVariant2DeltaMessage /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentStartEventVariant2DeltaMessage( global::Cohere.ChatContentStartEventVariant2DeltaMessageContent? content) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2DeltaMessageContent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2DeltaMessageContent.g.cs index 91111f9..ccd62ea 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2DeltaMessageContent.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatContentStartEventVariant2DeltaMessageContent.g.cs @@ -32,7 +32,9 @@ public sealed partial class ChatContentStartEventVariant2DeltaMessageContent /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatContentStartEventVariant2DeltaMessageContent( string? text, global::Cohere.ChatContentStartEventVariant2DeltaMessageContentType? type) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatDataMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatDataMetrics.g.cs index 661e0c1..2e3f5a5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatDataMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatDataMetrics.g.cs @@ -44,7 +44,9 @@ public sealed partial class ChatDataMetrics /// /// The preamble of this dataset. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatDataMetrics( double? numTrainTurns, double? numEvalTurns, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatDebugEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatDebugEventVariant2.g.cs index af66321..f2ae873 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatDebugEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatDebugEventVariant2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatDebugEventVariant2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatDebugEventVariant2( string? prompt) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatDocument.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatDocument.g.cs index 118194e..ed5cfbe 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatDocument.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatDocument.g.cs @@ -29,7 +29,9 @@ public sealed partial class ChatDocument /// /// Unique identifier for this document. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatDocument( string? id) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessage.g.cs index 653bf87..c44098c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessage.g.cs @@ -46,7 +46,9 @@ public sealed partial class ChatMessage /// Contents of the chat message. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatMessage( global::Cohere.ChatRole role, string message, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2.g.cs index 4a5c754..77b51eb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2.g.cs @@ -31,7 +31,9 @@ public sealed partial class ChatMessageEndEventVariant2 /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatMessageEndEventVariant2( string? id, global::Cohere.ChatMessageEndEventVariant2Delta? delta) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2Delta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2Delta.g.cs index 4d8e290..20b0f24 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2Delta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2Delta.g.cs @@ -44,7 +44,9 @@ public sealed partial class ChatMessageEndEventVariant2Delta /// - **error**: The generation failed due to an internal error /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatMessageEndEventVariant2Delta( global::Cohere.ChatFinishReason? finishReason, global::Cohere.Usage? usage) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2.g.cs index 38389d5..297ec78 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2.g.cs @@ -33,7 +33,9 @@ public sealed partial class ChatMessageStartEventVariant2 /// Unique identifier for the generated reply. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatMessageStartEventVariant2( string? id, global::Cohere.ChatMessageStartEventVariant2Delta? delta) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2Delta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2Delta.g.cs index cc37670..7dbb6e7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2Delta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2Delta.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatMessageStartEventVariant2Delta /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatMessageStartEventVariant2Delta( global::Cohere.ChatMessageStartEventVariant2DeltaMessage? message) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2DeltaMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2DeltaMessage.g.cs index 48fd3a2..e6b0704 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2DeltaMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageStartEventVariant2DeltaMessage.g.cs @@ -27,7 +27,9 @@ public sealed partial class ChatMessageStartEventVariant2DeltaMessage /// /// The role of the message. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatMessageStartEventVariant2DeltaMessage( global::Cohere.ChatMessageStartEventVariant2DeltaMessageRole? role) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageV2Discriminator.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageV2Discriminator.g.cs index 9ef24a3..4b409da 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatMessageV2Discriminator.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatMessageV2Discriminator.g.cs @@ -25,7 +25,9 @@ public sealed partial class ChatMessageV2Discriminator /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatMessageV2Discriminator( global::Cohere.ChatMessageV2DiscriminatorRole? role) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs index f6029a7..42d1d86 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatRequest.g.cs @@ -443,7 +443,9 @@ public sealed partial class ChatRequest /// **Note**: `command-r7b-12-2024` only supports `"CONTEXTUAL"` and `"STRICT"` modes.
/// Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatRequest( string message, string? model, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse.g.cs index ded66f1..3671dc1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse.g.cs @@ -72,7 +72,9 @@ public sealed partial class ChatResponse /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse( string id, global::Cohere.ChatFinishReason finishReason, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse10.g.cs index f1c9292..c7f73bf 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse11.g.cs index 95fc2c9..336d55f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse12.g.cs index 1990b36..722e49a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse13.g.cs index 42f4dfd..6114b75 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse14.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse14.g.cs index 8adf7c1..2e3a13e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse14.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse14.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse14 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse14( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse3.g.cs index d07a0fd..77a55ac 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse4.g.cs index 89ad8c3..edd12ab 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse5.g.cs index 17b20e3..b54581e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse6.g.cs index 17030d8..1c71b10 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse7.g.cs index 8e43e59..0e0046d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse8.g.cs index 82886e8..6e4b346 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse9.g.cs index b62f971..8284981 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQueriesGenerationEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQueriesGenerationEventVariant2.g.cs index f37a696..e001585 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQueriesGenerationEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQueriesGenerationEventVariant2.g.cs @@ -27,7 +27,9 @@ public sealed partial class ChatSearchQueriesGenerationEventVariant2 /// /// Generated search queries, meant to be used as part of the RAG flow. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatSearchQueriesGenerationEventVariant2( global::System.Collections.Generic.IList searchQueries) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQuery.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQuery.g.cs index 123d4e0..b84841f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQuery.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchQuery.g.cs @@ -37,7 +37,9 @@ public sealed partial class ChatSearchQuery /// /// Unique identifier for the generated search query. Useful for submitting feedback. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatSearchQuery( string text, global::System.Guid generationId) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResult.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResult.g.cs index d60bdaf..a9f5047 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResult.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResult.g.cs @@ -64,7 +64,9 @@ public sealed partial class ChatSearchResult /// /// Whether a chat request should continue or not if the request to this connector fails. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatSearchResult( global::Cohere.ChatSearchResultConnector connector, global::System.Collections.Generic.IList documentIds, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultConnector.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultConnector.g.cs index 5f8ad46..fb15925 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultConnector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultConnector.g.cs @@ -27,7 +27,9 @@ public sealed partial class ChatSearchResultConnector /// /// The identifier of the connector. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatSearchResultConnector( string id) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultsEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultsEventVariant2.g.cs index 73c8e21..09d54d2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultsEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatSearchResultsEventVariant2.g.cs @@ -35,7 +35,9 @@ public sealed partial class ChatSearchResultsEventVariant2 /// /// Documents fetched from searches or provided by the user. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatSearchResultsEventVariant2( global::System.Collections.Generic.IList? searchResults, global::System.Collections.Generic.IList? documents) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEndEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEndEventVariant2.g.cs index 26038a8..084907f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEndEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEndEventVariant2.g.cs @@ -44,7 +44,9 @@ public sealed partial class ChatStreamEndEventVariant2 /// - `ERROR_TOXIC` - the model generated a reply that was deemed toxic /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatStreamEndEventVariant2( global::Cohere.ChatStreamEndEventVariant2FinishReason finishReason, global::Cohere.NonStreamedChatResponse response) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEvent.g.cs index b19295e..fd86642 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEvent.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEvent.g.cs @@ -26,7 +26,9 @@ public sealed partial class ChatStreamEvent /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatStreamEvent( global::Cohere.ChatStreamEventEventType eventType) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEventType.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEventType.g.cs index a649688..10673d6 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEventType.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamEventType.g.cs @@ -26,7 +26,9 @@ public sealed partial class ChatStreamEventType /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatStreamEventType( global::Cohere.ChatStreamEventTypeType type) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamStartEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamStartEventVariant2.g.cs index e29d3bd..3c762e3 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatStreamStartEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatStreamStartEventVariant2.g.cs @@ -27,7 +27,9 @@ public sealed partial class ChatStreamStartEventVariant2 /// /// Unique identifier for the generated reply. Useful for submitting feedback. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatStreamStartEventVariant2( global::System.Guid generationId) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatTextGenerationEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatTextGenerationEventVariant2.g.cs index 19320d4..680e0f7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatTextGenerationEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatTextGenerationEventVariant2.g.cs @@ -27,7 +27,9 @@ public sealed partial class ChatTextGenerationEventVariant2 /// /// The next batch of text generated by the model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatTextGenerationEventVariant2( string text) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs index 9ee23fc..c142a54 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2.g.cs @@ -31,7 +31,9 @@ public sealed partial class ChatToolCallDeltaEventVariant2 /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallDeltaEventVariant2( int? index, global::Cohere.ChatToolCallDeltaEventVariant2Delta? delta) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2Delta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2Delta.g.cs index 78d9753..42158f8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2Delta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2Delta.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolCallDeltaEventVariant2Delta /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallDeltaEventVariant2Delta( global::Cohere.ChatToolCallDeltaEventVariant2DeltaMessage? message) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessage.g.cs index 9ba4933..b8677fc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessage.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolCallDeltaEventVariant2DeltaMessage /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallDeltaEventVariant2DeltaMessage( global::Cohere.ChatToolCallDeltaEventVariant2DeltaMessageToolCalls? toolCalls) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessageToolCalls.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessageToolCalls.g.cs index 9f740e0..5f739c9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessageToolCalls.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessageToolCalls.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolCallDeltaEventVariant2DeltaMessageToolCalls /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallDeltaEventVariant2DeltaMessageToolCalls( global::Cohere.ChatToolCallDeltaEventVariant2DeltaMessageToolCallsFunction? function) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessageToolCallsFunction.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessageToolCallsFunction.g.cs index 49594f6..b7090a5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessageToolCallsFunction.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallDeltaEventVariant2DeltaMessageToolCallsFunction.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolCallDeltaEventVariant2DeltaMessageToolCallsF /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallDeltaEventVariant2DeltaMessageToolCallsFunction( string? arguments) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEventVariant2.g.cs index 1a70ca0..dd0b456 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallEndEventVariant2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolCallEndEventVariant2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallEndEventVariant2( int? index) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2.g.cs index 6f93aa5..df7d9a5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2.g.cs @@ -31,7 +31,9 @@ public sealed partial class ChatToolCallStartEventVariant2 /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallStartEventVariant2( int? index, global::Cohere.ChatToolCallStartEventVariant2Delta? delta) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2Delta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2Delta.g.cs index a6b3093..eb8971b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2Delta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2Delta.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolCallStartEventVariant2Delta /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallStartEventVariant2Delta( global::Cohere.ChatToolCallStartEventVariant2DeltaMessage? message) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2DeltaMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2DeltaMessage.g.cs index 84d78be..30f700f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2DeltaMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallStartEventVariant2DeltaMessage.g.cs @@ -26,7 +26,9 @@ public sealed partial class ChatToolCallStartEventVariant2DeltaMessage /// /// An array of tool calls to be made. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallStartEventVariant2DeltaMessage( global::Cohere.ToolCallV2? toolCalls) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsChunkEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsChunkEventVariant2.g.cs index 0e8e48c..a21564b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsChunkEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsChunkEventVariant2.g.cs @@ -34,7 +34,9 @@ public sealed partial class ChatToolCallsChunkEventVariant2 /// Contains the chunk of the tool call generation in the stream. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallsChunkEventVariant2( global::Cohere.ToolCallDelta toolCallDelta, string? text) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsGenerationEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsGenerationEventVariant2.g.cs index 70f6403..c6061c4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsGenerationEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolCallsGenerationEventVariant2.g.cs @@ -34,7 +34,9 @@ public sealed partial class ChatToolCallsGenerationEventVariant2 /// The text generated related to the tool calls generated /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolCallsGenerationEventVariant2( global::System.Collections.Generic.IList toolCalls, string? text) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2.g.cs index a325187..9cce542 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolPlanDeltaEventVariant2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolPlanDeltaEventVariant2( global::Cohere.ChatToolPlanDeltaEventVariant2Delta? delta) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2Delta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2Delta.g.cs index e213918..f48ce32 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2Delta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2Delta.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolPlanDeltaEventVariant2Delta /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolPlanDeltaEventVariant2Delta( global::Cohere.ChatToolPlanDeltaEventVariant2DeltaMessage? message) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2DeltaMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2DeltaMessage.g.cs index c89e386..c8aad21 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2DeltaMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ChatToolPlanDeltaEventVariant2DeltaMessage.g.cs @@ -24,7 +24,9 @@ public sealed partial class ChatToolPlanDeltaEventVariant2DeltaMessage /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ChatToolPlanDeltaEventVariant2DeltaMessage( string? toolPlan) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs index 48d1cc9..6fd3c59 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.cs @@ -257,7 +257,9 @@ public sealed partial class Chatv2Request /// **Note**: This parameter is only compatible with models [Command-r7b](https://docs.cohere.com/v2/docs/command-r7b) and newer.
/// **Note**: The same functionality can be achieved in `/v1/chat` using the `force_single_step` parameter. If `force_single_step=true`, this is equivalent to specifying `REQUIRED`. While if `force_single_step=true` and `tool_results` are passed, this is equivalent to specifying `NONE`. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Request( string model, global::System.Collections.Generic.IList messages, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response10.g.cs index b74961d..8d55cce 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response10.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response11.g.cs index f485a50..52ec490 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response11.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response12.g.cs index e7a1710..555a2f2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response12.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response13.g.cs index 69d8c92..7095fbe 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response13.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response2.g.cs index 3ab16ee..16bd489 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response2.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response3.g.cs index 95fa915..adc41f8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response3.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response4.g.cs index 88e1366..92a060f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response4.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response5.g.cs index e6e794c..26d142e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response5.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response6.g.cs index 5525d64..a7f55cc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response6.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response7.g.cs index a81de00..4f8008a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response7.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response8.g.cs index 2f9e707..05dc86c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response8.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response9.g.cs index eb968f5..cf356d8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Chatv2Response9.g.cs @@ -24,7 +24,9 @@ public sealed partial class Chatv2Response9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Chatv2Response9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse.g.cs index 5d11955..1157760 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse.g.cs @@ -39,7 +39,9 @@ public sealed partial class CheckAPIKeyResponse /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse( bool valid, string? organizationId, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse10.g.cs index 2e749f3..ee38d6b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse11.g.cs index 74483ff..93ac745 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse12.g.cs index 10d8fc2..9f59a33 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse13.g.cs index a7af4c7..d83ede4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse2.g.cs index bbac288..38e1007 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse3.g.cs index 2e48572..7090f1b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse4.g.cs index da717e8..25a8a84 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse5.g.cs index c8473c8..1ae614c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse6.g.cs index 0df3af6..5bb5b62 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse7.g.cs index 7ffe025..48611a9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse8.g.cs index 5427ba2..b04e7c9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse9.g.cs index 48e4a3d..c49a7d8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CheckAPIKeyResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class CheckAPIKeyResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CheckAPIKeyResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Citation.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Citation.g.cs index 64aac76..8c77a2f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Citation.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Citation.g.cs @@ -61,7 +61,9 @@ public sealed partial class Citation /// /// The type of citation which indicates what part of the response the citation is for. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Citation( int? start, int? end, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationEndEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationEndEventVariant2.g.cs index db79431..a89d49d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CitationEndEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CitationEndEventVariant2.g.cs @@ -24,7 +24,9 @@ public sealed partial class CitationEndEventVariant2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CitationEndEventVariant2( int? index) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationOptions.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationOptions.g.cs index 62f791e..b155d3a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CitationOptions.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CitationOptions.g.cs @@ -31,7 +31,9 @@ public sealed partial class CitationOptions /// Dictates the approach taken to generating citations as part of the RAG flow by allowing the user to specify whether they want `"accurate"` results, `"fast"` results or no results.
/// **Note**: `command-r7b-12-2024` only supports `"fast"` and `"off"` modes. Its default is `"fast"`. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CitationOptions( global::Cohere.CitationOptionsMode? mode) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2.g.cs index 3e0c708..97bfa7d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2.g.cs @@ -31,7 +31,9 @@ public sealed partial class CitationStartEventVariant2 /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CitationStartEventVariant2( int? index, global::Cohere.CitationStartEventVariant2Delta? delta) diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2Delta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2Delta.g.cs index 5c3a78c..857e5be 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2Delta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2Delta.g.cs @@ -24,7 +24,9 @@ public sealed partial class CitationStartEventVariant2Delta /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CitationStartEventVariant2Delta( global::Cohere.CitationStartEventVariant2DeltaMessage? message) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2DeltaMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2DeltaMessage.g.cs index 19f1d52..a167e2c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2DeltaMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CitationStartEventVariant2DeltaMessage.g.cs @@ -26,7 +26,9 @@ public sealed partial class CitationStartEventVariant2DeltaMessage /// /// Citation information containing sources and the text cited. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CitationStartEventVariant2DeltaMessage( global::Cohere.Citation? citations) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyDataMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyDataMetrics.g.cs index f735e08..e1cbb25 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyDataMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyDataMetrics.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyDataMetrics /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyDataMetrics( global::System.Collections.Generic.IList? labelMetrics) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyExample.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyExample.g.cs index 39764f2..319783d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyExample.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyExample.g.cs @@ -35,7 +35,9 @@ public sealed partial class ClassifyExample /// /// Included only in requests /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyExample( string? text, string? label) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyRequest.g.cs index a776355..1d72a36 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyRequest.g.cs @@ -88,7 +88,9 @@ public sealed partial class ClassifyRequest /// Default Value: END
/// Included only in requests /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyRequest( global::System.Collections.Generic.IList? inputs, global::System.Collections.Generic.IList? examples, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse.g.cs index 88d7448..6357cdf 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse.g.cs @@ -44,7 +44,9 @@ public sealed partial class ClassifyResponse /// Included only in responses /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse( global::Cohere.ApiMeta? meta, string id = default!, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse10.g.cs index ca89ae3..43ac13f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse11.g.cs index 31398fc..79d45df 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse12.g.cs index cb31952..8d35c53 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse13.g.cs index d30c161..7a34ca2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse2.g.cs index bf77eb9..272dc3f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse3.g.cs index e9f8155..d0e5760 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse4.g.cs index 155c064..ee8b7e7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse5.g.cs index 06f30ab..f295ce7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse6.g.cs index b350f83..a1932e8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse7.g.cs index 3e6092a..8ded357 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse8.g.cs index f9f5bec..d2450ef 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse9.g.cs index 4a13a3a..a26e0fd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class ClassifyResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassification.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassification.g.cs index f771df7..d5d3207 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassification.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassification.g.cs @@ -103,7 +103,9 @@ public sealed partial class ClassifyResponseClassification /// The type of classification performed
/// Included only in responses /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponseClassification( string? input, string id = default!, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassificationLabels2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassificationLabels2.g.cs index eece876..da648c7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassificationLabels2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ClassifyResponseClassificationLabels2.g.cs @@ -26,7 +26,9 @@ public sealed partial class ClassifyResponseClassificationLabels2 /// /// Included only in responses /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ClassifyResponseClassificationLabels2( float? confidence) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs index 5e6c2c2..3119ef7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Cluster.g.cs @@ -52,7 +52,9 @@ public sealed partial class Cluster /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Cluster( string? id, global::System.Collections.Generic.IList? keywords, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Connector.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Connector.g.cs index 282aaf0..43308e8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Connector.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Connector.g.cs @@ -142,7 +142,9 @@ public sealed partial class Connector /// /// Whether a chat request should continue or not if the request to this connector fails. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Connector( string id, string name, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ConnectorLog.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ConnectorLog.g.cs index 1be73b7..a44bf09 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ConnectorLog.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ConnectorLog.g.cs @@ -106,7 +106,9 @@ public sealed partial class ConnectorLog /// /// Error message of the request /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ConnectorLog( string id, string connectorId, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ConnectorOAuth.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ConnectorOAuth.g.cs index ac70243..5340d19 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ConnectorOAuth.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ConnectorOAuth.g.cs @@ -64,7 +64,9 @@ public sealed partial class ConnectorOAuth /// /// The OAuth scopes to request when users authorize the connector. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ConnectorOAuth( string authorizeUrl, string tokenUrl, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobRequest.g.cs index cc5c151..5ff1b06 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobRequest.g.cs @@ -72,7 +72,9 @@ public sealed partial class CreateClusterJobRequest /// Default Value: true /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateClusterJobRequest( string embeddingsUrl, string? inputDatasetId, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobResponse.g.cs index fac839e..5e6e895 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateClusterJobResponse.g.cs @@ -25,7 +25,9 @@ public sealed partial class CreateClusterJobResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateClusterJobResponse( string jobId) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorOAuth.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorOAuth.g.cs index 2bd6071..fcc8f5a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorOAuth.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorOAuth.g.cs @@ -62,7 +62,9 @@ public sealed partial class CreateConnectorOAuth /// /// The OAuth scopes to request when users authorize the connector. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorOAuth( string? clientId, string? clientSecret, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorRequest.g.cs index 27096ea..51ad1d6 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorRequest.g.cs @@ -91,7 +91,9 @@ public sealed partial class CreateConnectorRequest /// Default Value: false /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorRequest( string name, string url, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse.g.cs index 62dcd65..93d5f8d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse.g.cs @@ -29,7 +29,9 @@ public sealed partial class CreateConnectorResponse /// A connector allows you to integrate data sources with the '/chat' endpoint to create grounded generations with citations to the data source.
/// documents to help answer users. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse( global::Cohere.Connector connector) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse10.g.cs index 01bdec8..106e0a0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse11.g.cs index db71ae2..53cde5b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse12.g.cs index 2c24a77..8bbd1ee 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse13.g.cs index 7c71366..543c85b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse2.g.cs index 9ec2195..e859fa1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse3.g.cs index 2339d18..88852ec 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse4.g.cs index 6d779a9..a7f5cf8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse5.g.cs index 9082542..33f53a1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse6.g.cs index b378e2a..31ccbd0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse7.g.cs index 721dbe4..fefdf44 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse8.g.cs index e96729d..ad9191f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse9.g.cs index 8583a84..57a5ada 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateConnectorResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorServiceAuth.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorServiceAuth.g.cs index 187d553..cd910c0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorServiceAuth.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateConnectorServiceAuth.g.cs @@ -41,7 +41,9 @@ public sealed partial class CreateConnectorServiceAuth /// /// The token that will be used in the HTTP Authorization header when making requests to the connector. This field is encrypted at rest and never returned in a response. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateConnectorServiceAuth( global::Cohere.AuthTokenType type, string token) diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetRequest.g.cs index 7dc955a..340a274 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetRequest.g.cs @@ -55,7 +55,9 @@ public sealed partial class CreateDatasetRequest /// /// An optional evaluation file to upload /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetRequest( byte[] data, string dataname, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse.g.cs index 6802c8b..b7d0396 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse.g.cs @@ -26,7 +26,9 @@ public sealed partial class CreateDatasetResponse /// /// The dataset ID /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse( string? id) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse10.g.cs index 2d2cf1c..5330e5f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse11.g.cs index cffd880..80ee480 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse12.g.cs index 4c3898c..6dcf1fd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse13.g.cs index 6020e13..9fc3d2d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse2.g.cs index b2564ac..d796fa4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse3.g.cs index cfd2e69..0b78321 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse4.g.cs index 2c39952..d1bb0c8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse5.g.cs index c255edb..93033f9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse6.g.cs index 055cc56..625c620 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse7.g.cs index 9e63ce3..3425c96 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse8.g.cs index 205022a..f1cbedc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse9.g.cs index e18c1da..4224b47 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateDatasetResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateDatasetResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateDatasetResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobRequest.g.cs index a383620..8943497 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobRequest.g.cs @@ -110,7 +110,9 @@ public sealed partial class CreateEmbedJobRequest /// Passing `START` will discard the start of the input. `END` will discard the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input token length for the model.
/// Default Value: END /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobRequest( string model, string datasetId, diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse.g.cs index 8376fb3..e3777af 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse.g.cs @@ -32,7 +32,9 @@ public sealed partial class CreateEmbedJobResponse /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse( string jobId, global::Cohere.ApiMeta? meta) diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse10.g.cs index a4e996e..71bf04d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse11.g.cs index 29fb270..b7f97a4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse12.g.cs index fe32b24..4a2896f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse13.g.cs index c272d54..1cc2311 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse2.g.cs index 1361038..9c972ed 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse3.g.cs index 1372ec6..ebbef65 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse4.g.cs index 48af4ce..e0cca50 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse5.g.cs index 1399c9c..40a55f9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse6.g.cs index dd8a42d..5ad886c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse7.g.cs index c6ef89a..1e39292 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse8.g.cs index ca3b7cb..9175dcf 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse9.g.cs index 521d2ef..de61d77 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateEmbedJobResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class CreateEmbedJobResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateEmbedJobResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.CreateFinetunedModelResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.CreateFinetunedModelResponse.g.cs index 55bcb66..3adc6ea 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.CreateFinetunedModelResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.CreateFinetunedModelResponse.g.cs @@ -26,7 +26,9 @@ public sealed partial class CreateFinetunedModelResponse /// /// This resource represents a fine-tuned model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public CreateFinetunedModelResponse( global::Cohere.FinetunedModel? finetunedModel) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Dataset.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Dataset.g.cs index 70ed631..88c488f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Dataset.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Dataset.g.cs @@ -145,7 +145,9 @@ public sealed partial class Dataset /// Included only in requests /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Dataset( string id, string name, diff --git a/src/libs/Cohere/Generated/Cohere.Models.DatasetPart.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DatasetPart.g.cs index 8518362..3317e37 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DatasetPart.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DatasetPart.g.cs @@ -91,7 +91,9 @@ public sealed partial class DatasetPart /// /// The first few rows of the parsed file /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DatasetPart( string id, string name, diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse10.g.cs index 79c5207..3549aac 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse11.g.cs index daa1d53..7eb9544 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse12.g.cs index 1de667a..0ef0763 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse13.g.cs index b8c199b..9aacf4c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse2.g.cs index dc918c3..82f0cb4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse3.g.cs index 9e2cb81..62141ee 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse4.g.cs index 4e539b6..4e0ee65 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse5.g.cs index e2b23ad..6128ac4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse6.g.cs index 732ceb6..26bbfd2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse7.g.cs index 0e5485b..e417a90 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse8.g.cs index 01dc32b..e51a807 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse9.g.cs index 76aed4e..fa4fa34 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteConnectorResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteConnectorResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteConnectorResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse10.g.cs index 25a888f..a8357fd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse11.g.cs index caf2616..a755bd5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse12.g.cs index b8caf06..1e6576a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse13.g.cs index 8b8f304..8148575 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse2.g.cs index 9730fac..261ac32 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse3.g.cs index 0782cc8..2f08960 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse4.g.cs index 0c83ae4..96aeb23 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse5.g.cs index 371ffc8..4fa9d6f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse6.g.cs index c9eac5f..12c2d4d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse7.g.cs index 992ebda..e4e824a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse8.g.cs index 9f1e4f5..d061580 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse9.g.cs index d1a72e8..71e1d71 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DeleteDatasetResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class DeleteDatasetResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DeleteDatasetResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeRequest.g.cs index b943627..c1512de 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeRequest.g.cs @@ -38,7 +38,9 @@ public sealed partial class DetokenizeRequest /// /// An optional parameter to provide the model name. This will ensure that the detokenization is done by the tokenizer used by that model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeRequest( string model, global::System.Collections.Generic.IList? tokens) diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse.g.cs index 76369df..3cc59d9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse.g.cs @@ -36,7 +36,9 @@ public sealed partial class DetokenizeResponse /// Included only in responses /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse( global::Cohere.ApiMeta? meta, string text = default!) diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse10.g.cs index 3b7a8bc..fb3726c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse11.g.cs index fb33d44..85681f5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse12.g.cs index e1b030c..b3270be 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse13.g.cs index 8d562f7..4210c07 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse2.g.cs index a39474c..2d6c84f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse3.g.cs index c1195e6..f5a2b2c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse4.g.cs index d2cc8e3..ddc82eb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse5.g.cs index cc964f6..98a9d68 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse6.g.cs index ccefd41..a0ef731 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse7.g.cs index 33130ba..459755d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse8.g.cs index fa5dc39..0db9cb1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse9.g.cs index de2a836..e4fd994 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DetokenizeResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class DetokenizeResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DetokenizeResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Document.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Document.g.cs index c49d1a0..0d0fab2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Document.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Document.g.cs @@ -38,7 +38,9 @@ public sealed partial class Document /// /// Unique identifier for this document which will be referenced in citations. If not provided an ID will be automatically generated. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Document( object data, string? id) diff --git a/src/libs/Cohere/Generated/Cohere.Models.DocumentContent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DocumentContent.g.cs index 4e9f1ea..e1a93b9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DocumentContent.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DocumentContent.g.cs @@ -39,7 +39,9 @@ public sealed partial class DocumentContent /// The content of each document are generally short (should be under 300 words). Metadata should be used to provide additional information, both the key name and the value will be
/// passed to the model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DocumentContent( global::Cohere.Document document, global::Cohere.DocumentContentType type) diff --git a/src/libs/Cohere/Generated/Cohere.Models.DocumentSource.g.cs b/src/libs/Cohere/Generated/Cohere.Models.DocumentSource.g.cs index 8e267ae..f5ca2ce 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.DocumentSource.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.DocumentSource.g.cs @@ -33,7 +33,9 @@ public sealed partial class DocumentSource /// The unique identifier of the document /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public DocumentSource( string? id, object? document) diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponse.g.cs index 62124e2..84236bc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponse.g.cs @@ -71,7 +71,9 @@ public sealed partial class EmbedByTypeResponse /// The image entries for which embeddings were returned. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedByTypeResponse( string id, global::System.Collections.Generic.IList texts, diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponseEmbeddings.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponseEmbeddings.g.cs index e4e834f..87f66fb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponseEmbeddings.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedByTypeResponseEmbeddings.g.cs @@ -71,7 +71,9 @@ public sealed partial class EmbedByTypeResponseEmbeddings /// /// An array of packed unsigned binary embeddings. The length of each binary embedding is 1/8 the length of the float embeddings of the provided model. Each value is between 0 and 255. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedByTypeResponseEmbeddings( global::System.Collections.Generic.IList>? @float, global::System.Collections.Generic.IList>? int8, diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedFloatsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedFloatsResponse.g.cs index 5d72e1d..2610c50 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedFloatsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedFloatsResponse.g.cs @@ -71,7 +71,9 @@ public sealed partial class EmbedFloatsResponse /// The image entries for which embeddings were returned. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedFloatsResponse( string id, global::System.Collections.Generic.IList texts, diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedJob.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedJob.g.cs index 7f0758e..ef90a05 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedJob.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedJob.g.cs @@ -104,7 +104,9 @@ public sealed partial class EmbedJob /// The truncation option used /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedJob( string jobId, global::Cohere.EmbedJobStatus status, diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedRequest.g.cs index 58465b4..1a4d991 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedRequest.g.cs @@ -127,7 +127,9 @@ public sealed partial class EmbedRequest /// Default Value: END
/// Included only in requests /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedRequest( global::System.Collections.Generic.IList? texts, global::System.Collections.Generic.IList? images, diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse10.g.cs index 6893a53..82e8fb8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse11.g.cs index c327123..d892b8a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse12.g.cs index a8e4453..f9ab08e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse13.g.cs index 4f7e073..dd6a6db 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse2.g.cs index 8bee75e..7151576 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse3.g.cs index f7e9c38..620b5d7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse4.g.cs index 344925f..d9c66aa 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse5.g.cs index 7dee194..ead9c1b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse6.g.cs index 6635983..4b5d292 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse7.g.cs index 2ec5ef4..ce430f4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse8.g.cs index 25dbe2f..d13ff61 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse9.g.cs index 741665c..dc1405c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.EmbedResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class EmbedResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public EmbedResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs index 55e7aeb..40b9852 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Request.g.cs @@ -128,7 +128,9 @@ public sealed partial class Embedv2Request /// Default Value: END
/// Included only in requests /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Request( global::Cohere.EmbedInputType inputType, global::System.Collections.Generic.IList? texts, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response.g.cs index a32bc58..358b92a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response10.g.cs index 3b69623..0405c3e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response10.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response11.g.cs index 35a153c..4250c95 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response11.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response12.g.cs index 6494b2f..e023dd1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response12.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response2.g.cs index 13d49cb..b1c024a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response2.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response3.g.cs index a463aec..0443f56 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response3.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response4.g.cs index ec166b7..3077f8a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response4.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response5.g.cs index aea9ada..1802498 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response5.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response6.g.cs index d86e738..5f04009 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response6.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response7.g.cs index 272b086..f5b8083 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response7.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response8.g.cs index 93fb82c..d83f2f9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response8.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response9.g.cs index 6cdd094..a23dab3 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Embedv2Response9.g.cs @@ -24,7 +24,9 @@ public sealed partial class Embedv2Response9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Embedv2Response9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Error.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Error.g.cs index 9b64d03..93a3392 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Error.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Error.g.cs @@ -26,7 +26,9 @@ public sealed partial class Error /// /// A developer-facing error message. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Error( string? message) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Event.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Event.g.cs index 1af0e1c..bee0870 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Event.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Event.g.cs @@ -65,7 +65,9 @@ public sealed partial class Event /// /// Timestamp when the event happened. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Event( string? userId, global::Cohere.Status? status, diff --git a/src/libs/Cohere/Generated/Cohere.Models.FinetuneDatasetMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.FinetuneDatasetMetrics.g.cs index 3e11e0b..a81f6ef 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.FinetuneDatasetMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.FinetuneDatasetMetrics.g.cs @@ -92,7 +92,9 @@ public sealed partial class FinetuneDatasetMetrics /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public FinetuneDatasetMetrics( double? trainableTokenCount, double? totalExamples, diff --git a/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs b/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs index 94357ce..645e523 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.FinetunedModel.g.cs @@ -144,7 +144,9 @@ public sealed partial class FinetunedModel /// read-only. Deprecated: Timestamp for the latest request to this fine-tuned model.
/// Included only in responses /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public FinetunedModel( string name, global::Cohere.Settings settings, diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs index 9b45ca8..7054e00 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateRequest.g.cs @@ -256,7 +256,9 @@ public sealed partial class GenerateRequest /// /// When enabled, the user's prompt will be sent to the model without any pre-processing. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateRequest( string? prompt, string? model, diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse.g.cs index afa6953..0312008 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse10.g.cs index 76817cd..9d85ee0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse11.g.cs index fe76aac..d6a4b7e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse12.g.cs index bbe86b5..6ab030a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse2.g.cs index 5ec710b..6ac610a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse3.g.cs index a9eec7e..995d9dd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse4.g.cs index cce803c..a189137 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse5.g.cs index d680251..53b079f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse6.g.cs index 6904f58..c0b9f24 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse7.g.cs index 63420e3..a77fe24 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse8.g.cs index 8069be0..5249d7c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse9.g.cs index 764d901..62f081b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class GenerateResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEndVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEndVariant2.g.cs index d24d3c6..80257c7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEndVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEndVariant2.g.cs @@ -41,7 +41,9 @@ public sealed partial class GenerateStreamEndVariant2 /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateStreamEndVariant2( bool isFinished, global::Cohere.GenerateStreamEndVariant2Response response, diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEndVariant2Response.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEndVariant2Response.g.cs index 9a14503..7fbe111 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEndVariant2Response.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEndVariant2Response.g.cs @@ -39,7 +39,9 @@ public sealed partial class GenerateStreamEndVariant2Response /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateStreamEndVariant2Response( string id, string? prompt, diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamErrorVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamErrorVariant2.g.cs index ba5cb60..cb5f01b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamErrorVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamErrorVariant2.g.cs @@ -53,7 +53,9 @@ public sealed partial class GenerateStreamErrorVariant2 /// /// Error message /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateStreamErrorVariant2( bool isFinished, global::Cohere.FinishReason finishReason, diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEvent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEvent.g.cs index c29f5c3..ca96d73 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEvent.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamEvent.g.cs @@ -26,7 +26,9 @@ public sealed partial class GenerateStreamEvent /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateStreamEvent( global::Cohere.GenerateStreamEventEventType eventType) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamTextVariant2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamTextVariant2.g.cs index 1ee6c9c..4f5558c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamTextVariant2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GenerateStreamTextVariant2.g.cs @@ -44,7 +44,9 @@ 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. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GenerateStreamTextVariant2( string text, bool isFinished, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Generation.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Generation.g.cs index d43a42f..11a4fff 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Generation.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Generation.g.cs @@ -51,7 +51,9 @@ public sealed partial class Generation /// List of generated results /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Generation( string id, global::System.Collections.Generic.IList generations, diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetClusterJobResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetClusterJobResponse.g.cs index c8a89e6..682ffdc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetClusterJobResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetClusterJobResponse.g.cs @@ -157,7 +157,9 @@ public sealed partial class GetClusterJobResponse /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetClusterJobResponse( string jobId, global::System.DateTime? createdAt, diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse.g.cs index 5e205a0..bbb3d8d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse.g.cs @@ -29,7 +29,9 @@ public sealed partial class GetConnectorResponse /// A connector allows you to integrate data sources with the '/chat' endpoint to create grounded generations with citations to the data source.
/// documents to help answer users. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse( global::Cohere.Connector connector) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse10.g.cs index e111965..7966256 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse11.g.cs index e84efbe..433d3dd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse12.g.cs index 4360001..f006632 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse13.g.cs index 0381ff2..737deba 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse2.g.cs index eed81a8..c481163 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse3.g.cs index 77d61af..0315d55 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse4.g.cs index 8a4d817..50c839e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse5.g.cs index da16e87..49e8efd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse6.g.cs index 934ad9d..dd9061a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse7.g.cs index c87dd54..9ebddb3 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse8.g.cs index 02a58a5..18b46ba 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse9.g.cs index ab46178..3b0e0be 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetConnectorResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorsLogsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorsLogsResponse.g.cs index 96e4a81..e144996 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetConnectorsLogsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetConnectorsLogsResponse.g.cs @@ -37,7 +37,9 @@ public sealed partial class GetConnectorsLogsResponse /// Total number of connector logs
/// Included only in responses /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetConnectorsLogsResponse( global::System.Collections.Generic.IList connectorLogs, double total = default!) diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse.g.cs index a4d55d2..ac3f1ac 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse.g.cs @@ -25,7 +25,9 @@ public sealed partial class GetDatasetResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse( global::Cohere.Dataset dataset) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse10.g.cs index 9fbacac..7621d51 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse11.g.cs index 419949e..5ec80cd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse12.g.cs index cc61f9b..567ce24 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse13.g.cs index 8b5ee10..91da99f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse2.g.cs index a0ea2a9..a097626 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse3.g.cs index bda2d7b..8835e3e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse4.g.cs index 6f1dd95..643d6a0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse5.g.cs index 055e2d1..15269c2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse6.g.cs index 7c0f970..c015f80 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse7.g.cs index bcea0e4..75f126b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse8.g.cs index 91945bb..a99658e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse9.g.cs index 12fbef6..58abda5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse.g.cs index e42bcec..4c16ffd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse.g.cs @@ -26,7 +26,9 @@ public sealed partial class GetDatasetUsageResponse /// /// The total number of bytes used by the organization. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse( double? organizationUsage) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse10.g.cs index a2eb17d..fc9ad0b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse11.g.cs index 7c4a2af..bdc0a23 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse12.g.cs index db5b826..abbd952 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse13.g.cs index ee2c56b..7448ad2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse2.g.cs index f8fbd7c..ab523be 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse3.g.cs index 307fde5..b0b0ed2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse4.g.cs index 58348fb..1c41e16 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse5.g.cs index 6f80183..2513567 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse6.g.cs index 8ceea5b..40b8cf7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse7.g.cs index 2215dd8..ada8b35 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse8.g.cs index a35f88c..1782a2a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse9.g.cs index 433f947..83ce350 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetDatasetUsageResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetDatasetUsageResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetDatasetUsageResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse.g.cs index 255136c..1f75e38 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse10.g.cs index 950a0ef..59fe0dc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse11.g.cs index 95b9090..c225211 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse12.g.cs index bbc07b2..565154e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse2.g.cs index 0f6228f..1017ab8 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse3.g.cs index a4c2bd2..6f2e456 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse4.g.cs index c22f6ce..e31994e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse5.g.cs index 65db5ef..66c66cc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse6.g.cs index d8aa139..ceab843 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse7.g.cs index c815d4c..8dfd538 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse8.g.cs index 9cc12cb..e7e7c41 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse9.g.cs index 86a56c2..3489832 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetEmbedJobResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetEmbedJobResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetEmbedJobResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetFinetunedModelResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetFinetunedModelResponse.g.cs index af8ac6f..35ffe54 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetFinetunedModelResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetFinetunedModelResponse.g.cs @@ -26,7 +26,9 @@ public sealed partial class GetFinetunedModelResponse /// /// This resource represents a fine-tuned model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetFinetunedModelResponse( global::Cohere.FinetunedModel? finetunedModel) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse.g.cs index 0937786..1d33cea 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse.g.cs @@ -71,7 +71,9 @@ public sealed partial class GetModelResponse /// /// The API endpoints that the model is default to. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse( string? name, global::System.Collections.Generic.IList? endpoints, diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse10.g.cs index 521735d..6c15024 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse11.g.cs index ca1f0ee..1e2c63e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse12.g.cs index f0e0dff..e2f2073 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse13.g.cs index e1eaf99..f96ac73 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse2.g.cs index f9d563d..bc15118 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse3.g.cs index 2dc6f12..dbd4dd3 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse4.g.cs index 0d2d0a7..88f2c1c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse5.g.cs index 6ed970b..9f96b28 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse6.g.cs index 4663ab0..b5a7c0c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse7.g.cs index fdfa94e..6a1493d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse8.g.cs index 611e3e7..8b41eac 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse9.g.cs index 4d4d6d8..864a0cb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.GetModelResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class GetModelResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public GetModelResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Hyperparameters.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Hyperparameters.g.cs index ace4532..b129f55 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Hyperparameters.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Hyperparameters.g.cs @@ -108,7 +108,9 @@ public sealed partial class Hyperparameters /// - LORA_TARGET_MODULES_QKVO_FFN: LoRA adapts attention projection matrices and feed-forward networks (FFN).
/// Default Value: LORA_TARGET_MODULES_UNSPECIFIED /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Hyperparameters( int? earlyStoppingPatience, double? earlyStoppingThreshold, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Image.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Image.g.cs index 52acc00..391da85 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Image.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Image.g.cs @@ -57,7 +57,9 @@ public sealed partial class Image /// /// Bit depth of the image /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Image( double width, double height, diff --git a/src/libs/Cohere/Generated/Cohere.Models.JSONResponseFormat.g.cs b/src/libs/Cohere/Generated/Cohere.Models.JSONResponseFormat.g.cs index 843524e..3bf205d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.JSONResponseFormat.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.JSONResponseFormat.g.cs @@ -63,7 +63,9 @@ public sealed partial class JSONResponseFormat /// ```
/// **Note**: This field must not be specified when the `type` is set to `"text"`. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public JSONResponseFormat( global::Cohere.ResponseFormatType type, object? schema) diff --git a/src/libs/Cohere/Generated/Cohere.Models.JsonResponseFormatV2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.JsonResponseFormatV2.g.cs index 92fd086..b408127 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.JsonResponseFormatV2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.JsonResponseFormatV2.g.cs @@ -63,7 +63,9 @@ public sealed partial class JsonResponseFormatV2 /// ```
/// **Note**: This field must not be specified when the `type` is set to `"text"`. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public JsonResponseFormatV2( global::Cohere.ResponseFormatTypeV2 type, object? jsonSchema) diff --git a/src/libs/Cohere/Generated/Cohere.Models.LabelMetric.g.cs b/src/libs/Cohere/Generated/Cohere.Models.LabelMetric.g.cs index 2580638..80fe8e0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.LabelMetric.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.LabelMetric.g.cs @@ -44,7 +44,9 @@ public sealed partial class LabelMetric /// /// samples for this label /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public LabelMetric( double? totalExamples, string? label, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListClusterJobsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListClusterJobsResponse.g.cs index dd1477c..b7d48ef 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListClusterJobsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListClusterJobsResponse.g.cs @@ -39,7 +39,9 @@ public sealed partial class ListClusterJobsResponse /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListClusterJobsResponse( global::System.Collections.Generic.IList jobs, int? totalCount, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse.g.cs index 8358be9..0a00532 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse.g.cs @@ -36,7 +36,9 @@ public sealed partial class ListConnectorsResponse /// Total number of connectors.
/// Included only in responses /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse( global::System.Collections.Generic.IList connectors, double? totalCount) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse10.g.cs index af4369a..97cd9ff 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse11.g.cs index 6842da9..fc82c9f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse12.g.cs index e18ba04..6340506 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse13.g.cs index d32ed4e..b89ae1e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse2.g.cs index 64a1907..964bbab 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse3.g.cs index 501d7a5..c7f8105 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse4.g.cs index d68c119..d2a4960 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse5.g.cs index 6697434..d4417fe 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse6.g.cs index be12278..eb905bd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse7.g.cs index d330ed1..4f1e87b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse8.g.cs index 4812f1f..dcfcf3b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse9.g.cs index a92fe4d..808324b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListConnectorsResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListConnectorsResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListConnectorsResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse.g.cs index 0ac61cb..c87ebe6 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse( global::System.Collections.Generic.IList? datasets) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse10.g.cs index 09f8020..538b73b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse11.g.cs index 3fcee53..b7ba5c2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse12.g.cs index dc621cf..47e2da9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse13.g.cs index c001fd7..920918c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse2.g.cs index 9ab62ef..3afe19c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse3.g.cs index da748f0..c5df496 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse4.g.cs index d40332d..8ce4447 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse5.g.cs index 70c769f..ead9ff9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse6.g.cs index 453e7c3..913f71e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse7.g.cs index 991307a..d67cb8f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse8.g.cs index d207038..b4d49f9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse9.g.cs index a00cce2..89e7ff1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListDatasetsResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListDatasetsResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListDatasetsResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobResponse.g.cs index dec9066..50b3a0b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobResponse.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobResponse( global::System.Collections.Generic.IList? embedJobs) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse.g.cs index 6e5f4c6..e856d93 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse10.g.cs index 948e04f..6a16f37 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse11.g.cs index 5c6a840..34c3ab7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse12.g.cs index 6001c0f..2f08a36 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse2.g.cs index 34e6d24..98c5c48 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse3.g.cs index f262a03..a1917d5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse4.g.cs index 6ba4704..316f0ed 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse5.g.cs index 1302f04..bf3ca8f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse6.g.cs index 7908f8a..9af8613 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse7.g.cs index 993da56..e998c3e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse8.g.cs index a9cc2b6..501cbb1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse9.g.cs index 4c32aae..2cb1525 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEmbedJobsResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListEmbedJobsResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEmbedJobsResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListEventsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListEventsResponse.g.cs index 61ea699..9940355 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListEventsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListEventsResponse.g.cs @@ -46,7 +46,9 @@ public sealed partial class ListEventsResponse /// /// Total count of results. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListEventsResponse( global::System.Collections.Generic.IList? events, string? nextPageToken, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListFinetunedModelsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListFinetunedModelsResponse.g.cs index 55747a9..f378ab2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListFinetunedModelsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListFinetunedModelsResponse.g.cs @@ -46,7 +46,9 @@ public sealed partial class ListFinetunedModelsResponse /// /// Total count of results. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListFinetunedModelsResponse( global::System.Collections.Generic.IList? finetunedModels, string? nextPageToken, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse.g.cs index 6de2f07..ab8bfd1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse.g.cs @@ -34,7 +34,9 @@ public sealed partial class ListModelsResponse /// /// A token to retrieve the next page of results. Provide in the page_token parameter of the next request. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse( global::System.Collections.Generic.IList models, string? nextPageToken) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse10.g.cs index 8b87e9d..21bab0f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse11.g.cs index 8d53d5e..ab71304 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse12.g.cs index f278cb3..7ee8f8e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse13.g.cs index 613974b..1433d90 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse2.g.cs index 8bf05a3..1cba85c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse3.g.cs index 7ff4075..669e2ca 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse4.g.cs index 4c58650..3722c06 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse5.g.cs index 308bbff..ed0d207 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse6.g.cs index cbc873b..9989292 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse7.g.cs index a6d03ec..0013d09 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse8.g.cs index 5eaa120..b790617 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse9.g.cs index 1792931..c0c7f21 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListModelsResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class ListModelsResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListModelsResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ListTrainingStepMetricsResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ListTrainingStepMetricsResponse.g.cs index ab08aff..6d0a08c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ListTrainingStepMetricsResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ListTrainingStepMetricsResponse.g.cs @@ -37,7 +37,9 @@ public sealed partial class ListTrainingStepMetricsResponse /// Pagination token to retrieve the next page of results. If the value is "",
/// it means no further results for the request. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ListTrainingStepMetricsResponse( global::System.Collections.Generic.IList? stepMetrics, string? nextPageToken) diff --git a/src/libs/Cohere/Generated/Cohere.Models.LogLikelihoodResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.LogLikelihoodResponse.g.cs index 3e16133..512a0e0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.LogLikelihoodResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.LogLikelihoodResponse.g.cs @@ -62,7 +62,9 @@ public sealed partial class LogLikelihoodResponse /// Probabilities for tokens in the request raw_prompt /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public LogLikelihoodResponse( string id, global::System.Collections.Generic.IList promptTokens, diff --git a/src/libs/Cohere/Generated/Cohere.Models.LogprobItem.g.cs b/src/libs/Cohere/Generated/Cohere.Models.LogprobItem.g.cs index 499e158..cd70293 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.LogprobItem.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.LogprobItem.g.cs @@ -45,7 +45,9 @@ public sealed partial class LogprobItem /// /// The log probability of each token used to construct the text chunk. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public LogprobItem( global::System.Collections.Generic.IList tokenIds, string? text, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Metrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Metrics.g.cs index 2130929..fbf3eb5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Metrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Metrics.g.cs @@ -24,7 +24,9 @@ public sealed partial class Metrics /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Metrics( global::Cohere.FinetuneDatasetMetrics? finetuneDatasetMetrics) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.NonStreamedChatResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.NonStreamedChatResponse.g.cs index 3e43a45..ae08333 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.NonStreamedChatResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.NonStreamedChatResponse.g.cs @@ -121,7 +121,9 @@ public sealed partial class NonStreamedChatResponse /// A list of previous messages between the user and the model, meant to give the model conversational context for responding to the user's `message`. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public NonStreamedChatResponse( string text, global::System.Guid? generationId, diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse.g.cs index c962d56..5f6b18c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse10.g.cs index cc08964..8403ae5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse11.g.cs index 0b81c99..f2e31e1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse12.g.cs index 446b3ea..1ca3f8a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse2.g.cs index ef2a327..93831bd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse3.g.cs index 3de6f9c..16ab5a7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse4.g.cs index c2a4f1c..4399c4e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse5.g.cs index 2b28100..0a99589 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse6.g.cs index f9cccf9..b2a7b4e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse7.g.cs index 9d417e4..0d103b1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse8.g.cs index 327afcf..c5d362d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse9.g.cs index 3ce7dbc..bd3e9fe 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeConnectorResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class OAuthAuthorizeConnectorResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeConnectorResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeResponse.g.cs index 2f33ad8..33bd9a7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.OAuthAuthorizeResponse.g.cs @@ -26,7 +26,9 @@ public sealed partial class OAuthAuthorizeResponse /// /// The OAuth 2.0 redirect url. Redirect the user to this url to authorize the connector. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public OAuthAuthorizeResponse( string? redirectUrl) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ParseInfo.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ParseInfo.g.cs index bc45519..bf1bfdd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ParseInfo.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ParseInfo.g.cs @@ -35,7 +35,9 @@ public sealed partial class ParseInfo /// /// Included only in requests /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ParseInfo( string? separator, string? delimiter) diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankDocument.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankDocument.g.cs index ad4f1c2..29685fb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankDocument.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankDocument.g.cs @@ -27,7 +27,9 @@ public sealed partial class RerankDocument /// /// The text of the document to rerank. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankDocument( string text) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankRequest.g.cs index 4864b8c..5357f99 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankRequest.g.cs @@ -96,7 +96,9 @@ public sealed partial class RerankRequest /// The maximum number of chunks to produce internally from a document
/// Default Value: 10 /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankRequest( string query, global::System.Collections.Generic.IList> documents, diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse.g.cs index 3557a55..018ec11 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse.g.cs @@ -41,7 +41,9 @@ public sealed partial class RerankResponse /// An ordered list of ranked documents /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse( global::System.Collections.Generic.IList results, string? id, diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse10.g.cs index 6f721b4..cb11b4a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse11.g.cs index 426f3e5..dd51f78 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse12.g.cs index 169310d..3afedf1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse13.g.cs index 670fb4c..15501fc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse2.g.cs index 9dc3d1d..cf7e904 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse3.g.cs index c45643d..b765742 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse4.g.cs index 387f852..76a1cf4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse5.g.cs index 5a78295..40e82db 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse6.g.cs index 7076813..e09bb80 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse7.g.cs index c62c9aa..7b0adba 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse8.g.cs index 1e5adc0..3c951d5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse9.g.cs index cc64fc4..e5dcb24 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class RerankResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponseResult.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponseResult.g.cs index e9ecb6d..ba576e3 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponseResult.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponseResult.g.cs @@ -48,7 +48,9 @@ public sealed partial class RerankResponseResult /// Relevance scores are normalized to be in the range `[0, 1]`. Scores close to `1` indicate a high relevance to the query, and scores closer to `0` indicate low relevance. It is not accurate to assume a score of 0.9 means the document is 2x more relevant than a document with a score of 0.45
/// Included only in responses /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponseResult( int index, global::Cohere.RerankResponseResultDocument? document, diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankResponseResultDocument.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankResponseResultDocument.g.cs index e84a849..01f67f4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankResponseResultDocument.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankResponseResultDocument.g.cs @@ -27,7 +27,9 @@ public sealed partial class RerankResponseResultDocument /// /// The text of the document to rerank /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankResponseResultDocument( string text) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.RerankerDataMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.RerankerDataMetrics.g.cs index b4e35cf..d87a8a0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.RerankerDataMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.RerankerDataMetrics.g.cs @@ -71,7 +71,9 @@ public sealed partial class RerankerDataMetrics /// /// The sum of all hard negatives of valid eval examples. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public RerankerDataMetrics( double? numTrainQueries, double? numTrainRelevantPassages, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Request.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Request.g.cs index 599fe33..91ebefa 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Request.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Request.g.cs @@ -71,7 +71,9 @@ public sealed partial class Rerankv2Request /// /// Defaults to `4096`. Long documents will be automatically truncated to the specified number of tokens. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Request( string model, string query, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response.g.cs index c44e6a2..ba95b90 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response.g.cs @@ -41,7 +41,9 @@ public sealed partial class Rerankv2Response /// An ordered list of ranked documents /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response( global::System.Collections.Generic.IList results, string? id, diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response10.g.cs index 0454b7c..d74ff33 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response10.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response11.g.cs index 3eb8510..0f260f4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response11.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response12.g.cs index 533a771..1b639dd 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response12.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response13.g.cs index f623dac..12e4a1f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response13.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response2.g.cs index 32e9ad7..a901295 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response2.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response3.g.cs index 9ae9b35..096648b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response3.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response4.g.cs index ad29e11..5542337 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response4.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response5.g.cs index feda669..b9a4429 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response5.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response6.g.cs index 7937e51..b3c3aac 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response6.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response7.g.cs index 31cd27d..5721588 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response7.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response8.g.cs index de39fa2..8a6f5d2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response8.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response9.g.cs index dae6682..8c24968 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2Response9.g.cs @@ -24,7 +24,9 @@ public sealed partial class Rerankv2Response9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2Response9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2ResponseResult.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2ResponseResult.g.cs index ab7a1bc..06f01f2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Rerankv2ResponseResult.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Rerankv2ResponseResult.g.cs @@ -39,7 +39,9 @@ public sealed partial class Rerankv2ResponseResult /// Relevance scores are normalized to be in the range `[0, 1]`. Scores close to `1` indicate a high relevance to the query, and scores closer to `0` indicate low relevance. It is not accurate to assume a score of 0.9 means the document is 2x more relevant than a document with a score of 0.45
/// Included only in responses /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Rerankv2ResponseResult( int index, float relevanceScore = default!) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ResponseFormatV2Discriminator.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ResponseFormatV2Discriminator.g.cs index 7a1eb67..2bbc46a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ResponseFormatV2Discriminator.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ResponseFormatV2Discriminator.g.cs @@ -25,7 +25,9 @@ public sealed partial class ResponseFormatV2Discriminator /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ResponseFormatV2Discriminator( global::Cohere.ResponseFormatV2DiscriminatorType? type) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Settings.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Settings.g.cs index 3894cbd..ba0e620 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Settings.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Settings.g.cs @@ -66,7 +66,9 @@ public sealed partial class Settings /// /// The Weights & Biases configuration. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Settings( global::Cohere.BaseModel baseModel, string datasetId, diff --git a/src/libs/Cohere/Generated/Cohere.Models.SingleGeneration.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SingleGeneration.g.cs index 54a2ca1..0037a5f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SingleGeneration.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SingleGeneration.g.cs @@ -58,7 +58,9 @@ public sealed partial class SingleGeneration /// /// 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](https://docs.cohere.com/docs/training-custom-models). Individual token likelihoods provide the log-likelihood of each token. The first token will not have a likelihood. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SingleGeneration( string id, string text, diff --git a/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationInStream.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationInStream.g.cs index 45a83a9..0f774bb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationInStream.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationInStream.g.cs @@ -53,7 +53,9 @@ public sealed partial class SingleGenerationInStream /// Refers to the nth generation. Only present when `num_generations` is greater than zero. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SingleGenerationInStream( string id, string text, diff --git a/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationTokenLikelihood.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationTokenLikelihood.g.cs index b1e1a65..cd23122 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationTokenLikelihood.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SingleGenerationTokenLikelihood.g.cs @@ -33,7 +33,9 @@ public sealed partial class SingleGenerationTokenLikelihood /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SingleGenerationTokenLikelihood( string token, double likelihood) diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeRequest.g.cs index 2dc9da0..7f7afbb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeRequest.g.cs @@ -105,7 +105,9 @@ public sealed partial class SummarizeRequest /// 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"
/// Included only in requests /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeRequest( string? text, global::Cohere.SummarizeRequestLength? length, diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse.g.cs index 437ca83..a3c120b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse.g.cs @@ -42,7 +42,9 @@ public sealed partial class SummarizeResponse /// Generated summary for the text /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse( string? id, string? summary, diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse10.g.cs index 0dfbb43..4bfcbff 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse11.g.cs index 9d38100..073d643 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse12.g.cs index 9074097..f570429 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse13.g.cs index aedade6..8af5c37 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse2.g.cs index f08c0cc..273314e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse3.g.cs index 7363856..8fc4b12 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse4.g.cs index 9db3b0f..91bba05 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse5.g.cs index dbbdba8..a7b8324 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse6.g.cs index 051811d..9e74111 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse7.g.cs index c540d23..b5b413f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse8.g.cs index 0446a51..3995d03 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse9.g.cs index 694f9e2..803d5bb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SummarizeResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class SummarizeResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SummarizeResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.SystemMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.SystemMessage.g.cs index c59fb31..bf006ad 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.SystemMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.SystemMessage.g.cs @@ -36,7 +36,9 @@ public sealed partial class SystemMessage /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public SystemMessage( global::Cohere.OneOf>> content, global::Cohere.SystemMessageRole role) diff --git a/src/libs/Cohere/Generated/Cohere.Models.TextContent.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TextContent.g.cs index f317139..aae43d7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TextContent.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TextContent.g.cs @@ -33,7 +33,9 @@ public sealed partial class TextContent /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TextContent( string text, global::Cohere.TextContentType type) diff --git a/src/libs/Cohere/Generated/Cohere.Models.TextResponseFormat.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TextResponseFormat.g.cs index 471bd7a..f5f4443 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TextResponseFormat.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TextResponseFormat.g.cs @@ -30,7 +30,9 @@ public sealed partial class TextResponseFormat /// Defaults to `"text"`.
/// When set to `"json_object"`, the model's output will be a valid JSON Object. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TextResponseFormat( global::Cohere.ResponseFormatType type) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TextResponseFormatV2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TextResponseFormatV2.g.cs index a37ec3a..a48df62 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TextResponseFormatV2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TextResponseFormatV2.g.cs @@ -30,7 +30,9 @@ public sealed partial class TextResponseFormatV2 /// Defaults to `"text"`.
/// When set to `"json_object"`, the model's output will be a valid JSON Object. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TextResponseFormatV2( global::Cohere.ResponseFormatTypeV2 type) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenLikelihood.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenLikelihood.g.cs index ee8ad9b..cce6365 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenLikelihood.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenLikelihood.g.cs @@ -44,7 +44,9 @@ public sealed partial class TokenLikelihood /// /// Non normalized probability of the token /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenLikelihood( int? encoded, string? decoded, diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeRequest.g.cs index eb8e047..6d87a88 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeRequest.g.cs @@ -37,7 +37,9 @@ public sealed partial class TokenizeRequest /// /// An optional parameter to provide the model name. This will ensure that the tokenization uses the tokenizer used by that model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeRequest( string text, string model) diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse.g.cs index e85230d..06e5d65 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse.g.cs @@ -44,7 +44,9 @@ public sealed partial class TokenizeResponse /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse( global::System.Collections.Generic.IList tokenStrings, global::Cohere.ApiMeta? meta, diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse10.g.cs index 9326c5b..eb5fd7c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse11.g.cs index 52f8eaf..c7ae211 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse12.g.cs index 6f4afb2..2b915c4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse13.g.cs index 3c688ed..c24bee4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse2.g.cs index ad8c87a..d53fd0a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse3.g.cs index 04f641c..78c8622 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse4.g.cs index e0ee663..581e6d2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse5.g.cs index 3fbe8a3..f432b3c 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse6.g.cs index 83d2666..be2242b 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse7.g.cs index 13560a3..a6abe4d 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse8.g.cs index dc26d6e..b37fc52 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse9.g.cs index b519b30..55b0144 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TokenizeResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class TokenizeResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TokenizeResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Tool.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Tool.g.cs index 0be5b4b..9633ece 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Tool.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Tool.g.cs @@ -64,7 +64,9 @@ public sealed partial class Tool /// }
/// ``` /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Tool( string name, string description, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolCall.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolCall.g.cs index 2eb01de..829472e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolCall.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolCall.g.cs @@ -37,7 +37,9 @@ public sealed partial class ToolCall /// /// The name and value of the parameters to use when invoking a tool. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolCall( string name, object parameters) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolCallDelta.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolCallDelta.g.cs index 11d3776..cd8d1e1 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolCallDelta.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolCallDelta.g.cs @@ -53,7 +53,9 @@ public sealed partial class ToolCallDelta /// /// Chunk of the tool plan text /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolCallDelta( string? name, double? index, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolCallV2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolCallV2.g.cs index 5356a86..a0436bf 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolCallV2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolCallV2.g.cs @@ -39,7 +39,9 @@ public sealed partial class ToolCallV2 /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolCallV2( string? id, global::Cohere.ToolCallV2Type? type, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolCallV2Function.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolCallV2Function.g.cs index f77b227..6cbe845 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolCallV2Function.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolCallV2Function.g.cs @@ -31,7 +31,9 @@ public sealed partial class ToolCallV2Function /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolCallV2Function( string? name, string? arguments) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolContentDiscriminator.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolContentDiscriminator.g.cs index 8f474e1..56c381e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolContentDiscriminator.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolContentDiscriminator.g.cs @@ -25,7 +25,9 @@ public sealed partial class ToolContentDiscriminator /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolContentDiscriminator( global::Cohere.ToolContentDiscriminatorType? type) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolMessage.g.cs index f58d593..7d5533f 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolMessage.g.cs @@ -35,7 +35,9 @@ public sealed partial class ToolMessage /// One of `CHATBOT`, `SYSTEM`, `TOOL` or `USER` to identify who the message is coming from. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolMessage( global::Cohere.ChatRole role, global::System.Collections.Generic.IList? toolResults) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolMessageV2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolMessageV2.g.cs index 07f3fd8..ab14f93 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolMessageV2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolMessageV2.g.cs @@ -48,7 +48,9 @@ public sealed partial class ToolMessageV2 /// /// Outputs from a tool. The content should formatted as a JSON object string, or a list of tool content blocks /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolMessageV2( string toolCallId, global::Cohere.OneOf> content, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolParameterDefinitions2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolParameterDefinitions2.g.cs index 9d2e25c..cadce11 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolParameterDefinitions2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolParameterDefinitions2.g.cs @@ -47,7 +47,9 @@ public sealed partial class ToolParameterDefinitions2 /// Denotes whether the parameter is always present (required) or not. Defaults to not required.
/// Default Value: false /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolParameterDefinitions2( string type, string? description, diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolResult.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolResult.g.cs index 114826a..4a7c8fe 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolResult.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolResult.g.cs @@ -35,7 +35,9 @@ public sealed partial class ToolResult /// Contains the tool calls generated by the model. Use it to invoke your tools. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolResult( global::Cohere.ToolCall call, global::System.Collections.Generic.IList outputs) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolSource.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolSource.g.cs index e7a26e6..c2ef2f5 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolSource.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolSource.g.cs @@ -33,7 +33,9 @@ public sealed partial class ToolSource /// The unique identifier of the document /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolSource( string? id, object? toolOutput) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolV2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolV2.g.cs index a9b2223..1cac8d0 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolV2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolV2.g.cs @@ -34,7 +34,9 @@ public sealed partial class ToolV2 /// /// The function to be executed. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolV2( global::Cohere.ToolV2Type? type, global::Cohere.ToolV2Function? function) diff --git a/src/libs/Cohere/Generated/Cohere.Models.ToolV2Function.g.cs b/src/libs/Cohere/Generated/Cohere.Models.ToolV2Function.g.cs index 3247245..dd13129 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.ToolV2Function.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.ToolV2Function.g.cs @@ -46,7 +46,9 @@ public sealed partial class ToolV2Function /// /// The parameters of the function as a JSON schema. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public ToolV2Function( string name, object parameters, diff --git a/src/libs/Cohere/Generated/Cohere.Models.TrainingStepMetrics.g.cs b/src/libs/Cohere/Generated/Cohere.Models.TrainingStepMetrics.g.cs index d3cbce9..89e3fc9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.TrainingStepMetrics.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.TrainingStepMetrics.g.cs @@ -44,7 +44,9 @@ public sealed partial class TrainingStepMetrics /// /// Map of names and values for each evaluation metrics. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public TrainingStepMetrics( global::System.DateTime? createdAt, int? stepNumber, diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateClusterJobRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateClusterJobRequest.g.cs index 18d8c79..1ee2546 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateClusterJobRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateClusterJobRequest.g.cs @@ -67,7 +67,9 @@ public sealed partial class UpdateClusterJobRequest /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateClusterJobRequest( global::Cohere.UpdateClusterJobRequestStatus? status, global::System.Collections.Generic.IList? clusters, diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateClusterJobResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateClusterJobResponse.g.cs index 9fbe782..ff67607 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateClusterJobResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateClusterJobResponse.g.cs @@ -25,7 +25,9 @@ public sealed partial class UpdateClusterJobResponse /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateClusterJobResponse( string jobId) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorRequest.g.cs index b9cbec9..910b9f2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorRequest.g.cs @@ -76,7 +76,9 @@ public sealed partial class UpdateConnectorRequest /// Default Value: false /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorRequest( string? name, string? url, diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse.g.cs index 11499de..286b147 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse.g.cs @@ -29,7 +29,9 @@ public sealed partial class UpdateConnectorResponse /// A connector allows you to integrate data sources with the '/chat' endpoint to create grounded generations with citations to the data source.
/// documents to help answer users. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse( global::Cohere.Connector connector) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse10.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse10.g.cs index c48dc6f..ad4fd40 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse10.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse10.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse10 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse10( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse11.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse11.g.cs index fab4765..14ebca6 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse11.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse11.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse11 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse11( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse12.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse12.g.cs index 3866470..962a313 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse12.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse12.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse12 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse12( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse13.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse13.g.cs index 9ab3213..785543e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse13.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse13.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse13 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse13( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse2.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse2.g.cs index 5830664..8a96dcb 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse2.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse2.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse2 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse2( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse3.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse3.g.cs index a5bb5a3..8c79e61 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse3.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse3.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse3 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse3( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse4.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse4.g.cs index acc6912..2f7e4dc 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse4.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse4.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse4 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse4( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse5.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse5.g.cs index 3dbe5ca..f056cf9 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse5.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse5.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse5 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse5( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse6.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse6.g.cs index 3c5d139..b87fd43 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse6.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse6.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse6 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse6( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse7.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse7.g.cs index 316b876..eb4e005 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse7.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse7.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse7 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse7( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse8.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse8.g.cs index fc362ac..fdcc3a4 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse8.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse8.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse8 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse8( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse9.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse9.g.cs index 136dc82..1d5cd5a 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse9.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateConnectorResponse9.g.cs @@ -24,7 +24,9 @@ public sealed partial class UpdateConnectorResponse9 /// Initializes a new instance of the class. /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateConnectorResponse9( string? data) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs index a703586..45f01ca 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelRequest.g.cs @@ -133,7 +133,9 @@ public sealed partial class UpdateFinetunedModelRequest /// Deprecated: Timestamp for the latest request to this fine-tuned model.
/// Included only in responses /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateFinetunedModelRequest( string name, global::Cohere.Settings settings, diff --git a/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelResponse.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelResponse.g.cs index 0acce77..a69c9b7 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelResponse.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UpdateFinetunedModelResponse.g.cs @@ -26,7 +26,9 @@ public sealed partial class UpdateFinetunedModelResponse /// /// This resource represents a fine-tuned model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UpdateFinetunedModelResponse( global::Cohere.FinetunedModel? finetunedModel) { diff --git a/src/libs/Cohere/Generated/Cohere.Models.Usage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.Usage.g.cs index b5f8199..530444e 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.Usage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.Usage.g.cs @@ -31,7 +31,9 @@ public sealed partial class Usage /// /// /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public Usage( global::Cohere.UsageBilledUnits? billedUnits, global::Cohere.UsageTokens? tokens) diff --git a/src/libs/Cohere/Generated/Cohere.Models.UsageBilledUnits.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UsageBilledUnits.g.cs index 86f04a0..2db9b84 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UsageBilledUnits.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UsageBilledUnits.g.cs @@ -53,7 +53,9 @@ public sealed partial class UsageBilledUnits /// /// The number of billed classifications units. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UsageBilledUnits( double? inputTokens, double? outputTokens, diff --git a/src/libs/Cohere/Generated/Cohere.Models.UsageTokens.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UsageTokens.g.cs index 040e6e6..15795b2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UsageTokens.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UsageTokens.g.cs @@ -35,7 +35,9 @@ public sealed partial class UsageTokens /// /// The number of tokens produced by the model. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UsageTokens( double? inputTokens, double? outputTokens) diff --git a/src/libs/Cohere/Generated/Cohere.Models.UserMessage.g.cs b/src/libs/Cohere/Generated/Cohere.Models.UserMessage.g.cs index 5f8570b..1e7c4b2 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.UserMessage.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.UserMessage.g.cs @@ -40,7 +40,9 @@ public sealed partial class UserMessage /// The content of the message. This can be a string or a list of content blocks.
/// If a string is provided, it will be treated as a text content block. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public UserMessage( global::Cohere.OneOf> content, global::Cohere.UserMessageRole role) diff --git a/src/libs/Cohere/Generated/Cohere.Models.WandbConfig.g.cs b/src/libs/Cohere/Generated/Cohere.Models.WandbConfig.g.cs index 3b81ba4..2277043 100644 --- a/src/libs/Cohere/Generated/Cohere.Models.WandbConfig.g.cs +++ b/src/libs/Cohere/Generated/Cohere.Models.WandbConfig.g.cs @@ -46,7 +46,9 @@ public sealed partial class WandbConfig /// /// The WandB entity name to be used during training. /// +#if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif public WandbConfig( string project, string apiKey, diff --git a/src/libs/Cohere/Generated/Cohere.ModelsClient.GetModel.g.cs b/src/libs/Cohere/Generated/Cohere.ModelsClient.GetModel.g.cs index 3be09b8..356d343 100644 --- a/src/libs/Cohere/Generated/Cohere.ModelsClient.GetModel.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ModelsClient.GetModel.g.cs @@ -438,7 +438,11 @@ partial void ProcessGetModelResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -492,7 +496,11 @@ partial void ProcessGetModelResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.GetModelResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? diff --git a/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs b/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs index 1860698..7201ade 100644 --- a/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs +++ b/src/libs/Cohere/Generated/Cohere.ModelsClient.ListModels.g.cs @@ -450,7 +450,11 @@ partial void ProcessListModelsResponseContent( if (ReadResponseAsString) { - var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + var __content = await __response.Content.ReadAsStringAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); ProcessResponseContent( client: HttpClient, @@ -504,7 +508,11 @@ partial void ProcessListModelsResponseContent( }; } - using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + using var __content = await __response.Content.ReadAsStreamAsync( +#if NET5_0_OR_GREATER + cancellationToken +#endif + ).ConfigureAwait(false); return await global::Cohere.ListModelsResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??