From 99350340977e0bc70d81ef7a68cf5e67ff36dfe3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 29 Mar 2026 01:21:42 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../tryAGI.OpenAI.Models.AdminApiKey.g.cs | 14 ++-- ....Models.ApplyPatchCreateFileOperation.g.cs | 10 +-- ...ls.ApplyPatchCreateFileOperationParam.g.cs | 10 +-- ....Models.ApplyPatchDeleteFileOperation.g.cs | 8 +-- ...ls.ApplyPatchDeleteFileOperationParam.g.cs | 8 +-- ...yAGI.OpenAI.Models.ApplyPatchToolCall.g.cs | 10 +-- ...AI.Models.ApplyPatchToolCallItemParam.g.cs | 14 ++-- ...penAI.Models.ApplyPatchToolCallOutput.g.cs | 10 +-- ...els.ApplyPatchToolCallOutputItemParam.g.cs | 14 ++-- ....Models.ApplyPatchUpdateFileOperation.g.cs | 10 +-- ...ls.ApplyPatchUpdateFileOperationParam.g.cs | 10 +-- ...AGI.OpenAI.Models.ApproximateLocation.g.cs | 8 +-- ...GI.OpenAI.Models.AssistantMessageItem.g.cs | 18 ++--- .../tryAGI.OpenAI.Models.AssistantObject.g.cs | 18 ++--- ....OpenAI.Models.AssistantToolsFunction.g.cs | 4 +- .../tryAGI.OpenAI.Models.AuditLog.g.cs | 8 +-- ...I.Models.AutoCodeInterpreterToolParam.g.cs | 8 +-- .../Generated/tryAGI.OpenAI.Models.Batch.g.cs | 34 +++++----- ...penAI.Models.BatchFileExpirationAfter.g.cs | 8 +-- ...dels.ChatCompletionAllowedToolsChoice.g.cs | 8 +-- ...I.OpenAI.Models.ChatCompletionDeleted.g.cs | 8 +-- ...OpenAI.Models.ChatCompletionFunctions.g.cs | 8 +-- ...yAGI.OpenAI.Models.ChatCompletionList.g.cs | 10 +-- ...s.ChatCompletionMessageCustomToolCall.g.cs | 8 +-- ...enAI.Models.ChatCompletionMessageList.g.cs | 10 +-- ....Models.ChatCompletionMessageToolCall.g.cs | 8 +-- ....Models.ChatCompletionNamedToolChoice.g.cs | 4 +- ...s.ChatCompletionNamedToolChoiceCustom.g.cs | 4 +- ....ChatCompletionRequestFunctionMessage.g.cs | 8 +-- ...pletionRequestMessageContentPartAudio.g.cs | 4 +- ...mpletionRequestMessageContentPartFile.g.cs | 4 +- ...pletionRequestMessageContentPartImage.g.cs | 4 +- ...etionRequestMessageContentPartRefusal.g.cs | 8 +-- ...mpletionRequestMessageContentPartText.g.cs | 8 +-- ...dels.ChatCompletionRequestToolMessage.g.cs | 8 +-- ...atCompletionResponseMessageAnnotation.g.cs | 8 +-- ...nAI.Models.ChatCompletionTokenLogprob.g.cs | 4 +- ...yAGI.OpenAI.Models.ChatCompletionTool.g.cs | 4 +- ...AGI.OpenAI.Models.ChatSessionResource.g.cs | 10 +-- .../tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs | 6 +- .../tryAGI.OpenAI.Models.ClickParam.g.cs | 10 +-- ...yAGI.OpenAI.Models.ClientToolCallItem.g.cs | 20 +++--- .../tryAGI.OpenAI.Models.ClosedStatus.g.cs | 2 +- ...enAI.Models.CodeInterpreterFileOutput.g.cs | 4 +- ...nAI.Models.CodeInterpreterOutputImage.g.cs | 8 +-- ...enAI.Models.CodeInterpreterOutputLogs.g.cs | 8 +-- ...enAI.Models.CodeInterpreterTextOutput.g.cs | 8 +-- ...AGI.OpenAI.Models.CodeInterpreterTool.g.cs | 8 +-- ...OpenAI.Models.CodeInterpreterToolCall.g.cs | 10 +-- .../tryAGI.OpenAI.Models.CompactResource.g.cs | 10 +-- .../tryAGI.OpenAI.Models.CompactionBody.g.cs | 10 +-- ...nAI.Models.CompactionSummaryItemParam.g.cs | 8 +-- ...AI.Models.ComputerCallOutputItemParam.g.cs | 14 ++-- ...enAI.Models.ComputerScreenshotContent.g.cs | 12 ++-- ...OpenAI.Models.ComputerScreenshotImage.g.cs | 10 +-- ...tryAGI.OpenAI.Models.ComputerToolCall.g.cs | 24 +++---- ....OpenAI.Models.ComputerToolCallOutput.g.cs | 22 +++---- ....OpenAI.Models.ComputerUsePreviewTool.g.cs | 10 +-- ...yAGI.OpenAI.Models.ContainerAutoParam.g.cs | 8 +-- ...enAI.Models.ContainerFileCitationBody.g.cs | 10 +-- ...enAI.Models.ContainerFileListResource.g.cs | 8 +-- ...I.OpenAI.Models.ContainerListResource.g.cs | 8 +-- ....ContainerNetworkPolicyAllowlistParam.g.cs | 10 +-- ...OpenAI.Models.ContainerReferenceParam.g.cs | 10 +-- ...nAI.Models.ContainerReferenceResource.g.cs | 4 +- ...GI.OpenAI.Models.ConversationItemList.g.cs | 8 +-- ...GI.OpenAI.Models.ConversationResource.g.cs | 10 +-- ...hunkingStrategyStaticChunkingStrategy.g.cs | 4 +- ...nAI.Models.CreateBatchRequestEndpoint.g.cs | 48 +++++++------- ...tVariant2WebSearchOptionsUserLocation.g.cs | 8 +-- ...ateChatCompletionStreamResponseChoice.g.cs | 8 +-- ...Models.CreateCompletionResponseChoice.g.cs | 4 +- ...odels.CreateContainerBodyExpiresAfter.g.cs | 4 +- ...OpenAI.Models.CreateEmbeddingResponse.g.cs | 8 +-- ...ls.CreateEvalCompletionsRunDataSource.g.cs | 12 ++-- ...putMessagesItemReferenceInputMessages.g.cs | 8 +-- ...rceInputMessagesTemplateInputMessages.g.cs | 8 +-- ...dels.CreateEvalCustomDataSourceConfig.g.cs | 10 +-- ...I.Models.CreateEvalJsonlRunDataSource.g.cs | 8 +-- ...nAI.Models.CreateEvalLabelModelGrader.g.cs | 8 +-- ...Models.CreateEvalLogsDataSourceConfig.g.cs | 8 +-- ...ryAGI.OpenAI.Models.CreateEvalRequest.g.cs | 12 ++-- ...dels.CreateEvalResponsesRunDataSource.g.cs | 12 ++-- ...putMessagesInputMessagesItemReference.g.cs | 8 +-- ...rceInputMessagesInputMessagesTemplate.g.cs | 8 +-- ...GI.OpenAI.Models.CreateEvalRunRequest.g.cs | 8 +-- ...EvalStoredCompletionsDataSourceConfig.g.cs | 8 +-- ...CreateFineTuningJobRequestIntegration.g.cs | 8 +-- ...ationRequestInputVariant3ItemVariant1.g.cs | 8 +-- ...ationRequestInputVariant3ItemVariant2.g.cs | 8 +-- ...ateModerationResponseResultCategories.g.cs | 8 +-- ...AGI.OpenAI.Models.CreateSpeechRequest.g.cs | 8 +-- ...hunkingStrategyStaticChunkingStrategy.g.cs | 4 +- ...eateTranscriptionResponseDiarizedJson.g.cs | 8 +-- ...AGI.OpenAI.Models.CreateVideoJsonBody.g.cs | 8 +-- ...penAI.Models.CreateVideoMultipartBody.g.cs | 8 +-- ...penAI.Models.CustomGrammarFormatParam.g.cs | 10 +-- .../tryAGI.OpenAI.Models.CustomToolCall.g.cs | 24 +++---- ...GI.OpenAI.Models.CustomToolCallOutput.g.cs | 16 ++--- ...enAI.Models.CustomToolChatCompletions.g.cs | 8 +-- ...tCompletionsCustomFormatGrammarFormat.g.cs | 8 +-- .../tryAGI.OpenAI.Models.CustomToolParam.g.cs | 10 +-- ...enAI.Models.DeleteCertificateResponse.g.cs | 8 +-- ...yAGI.OpenAI.Models.DeleteFileResponse.g.cs | 4 +- ...ineTuningCheckpointPermissionResponse.g.cs | 8 +-- ...AI.Models.DeletedConversationResource.g.cs | 6 +- ...GI.OpenAI.Models.DeletedSkillResource.g.cs | 6 +- ...AI.Models.DeletedSkillVersionResource.g.cs | 8 +-- ...I.OpenAI.Models.DeletedThreadResource.g.cs | 8 +-- ...GI.OpenAI.Models.DeletedVideoResource.g.cs | 10 +-- ...ryAGI.OpenAI.Models.DoubleClickAction.g.cs | 10 +-- .../tryAGI.OpenAI.Models.DragParam.g.cs | 10 +-- ....OpenAI.Models.EditImageBodyJsonParam.g.cs | 20 +++--- .../Generated/tryAGI.OpenAI.Models.Error.g.cs | 8 +-- .../tryAGI.OpenAI.Models.ErrorEvent.g.cs | 4 +- .../Generated/tryAGI.OpenAI.Models.Eval.g.cs | 10 +-- ...nAI.Models.EvalCustomDataSourceConfig.g.cs | 10 +-- ...enAI.Models.EvalItemContentOutputText.g.cs | 8 +-- ...yAGI.OpenAI.Models.EvalItemInputImage.g.cs | 8 +-- ...nAI.Models.EvalJsonlFileContentSource.g.cs | 8 +-- ...I.OpenAI.Models.EvalJsonlFileIdSource.g.cs | 8 +-- .../tryAGI.OpenAI.Models.EvalList.g.cs | 10 +-- ...penAI.Models.EvalLogsDataSourceConfig.g.cs | 12 ++-- .../tryAGI.OpenAI.Models.EvalRun.g.cs | 14 ++-- .../tryAGI.OpenAI.Models.EvalRunList.g.cs | 10 +-- ...ryAGI.OpenAI.Models.EvalRunOutputItem.g.cs | 10 +-- ...I.OpenAI.Models.EvalRunOutputItemList.g.cs | 10 +-- ...OpenAI.Models.EvalRunOutputItemResult.g.cs | 8 +-- ...EvalStoredCompletionsDataSourceConfig.g.cs | 12 ++-- ...AI.Models.EvalStoredCompletionsSource.g.cs | 8 +-- ...ryAGI.OpenAI.Models.ExpiresAfterParam.g.cs | 8 +-- .../tryAGI.OpenAI.Models.FileAnnotation.g.cs | 8 +-- ...GI.OpenAI.Models.FileAnnotationSource.g.cs | 8 +-- ...tryAGI.OpenAI.Models.FileCitationBody.g.cs | 10 +-- ...AGI.OpenAI.Models.FileExpirationAfter.g.cs | 8 +-- .../tryAGI.OpenAI.Models.FilePath.g.cs | 8 +-- ...penAI.Models.FileSearchRankingOptions.g.cs | 8 +-- .../tryAGI.OpenAI.Models.FileSearchTool.g.cs | 10 +-- ...yAGI.OpenAI.Models.FileSearchToolCall.g.cs | 8 +-- ...I.OpenAI.Models.FineTuningIntegration.g.cs | 8 +-- .../tryAGI.OpenAI.Models.FineTuningJob.g.cs | 30 ++++----- ...yAGI.OpenAI.Models.FineTuningJobEvent.g.cs | 8 +-- ...AI.Models.FunctionCallOutputItemParam.g.cs | 14 ++-- .../tryAGI.OpenAI.Models.FunctionObject.g.cs | 8 +-- ...ryAGI.OpenAI.Models.FunctionShellCall.g.cs | 10 +-- ...nAI.Models.FunctionShellCallItemParam.g.cs | 14 ++-- ...OpenAI.Models.FunctionShellCallOutput.g.cs | 10 +-- ...ls.FunctionShellCallOutputExitOutcome.g.cs | 8 +-- ...nctionShellCallOutputExitOutcomeParam.g.cs | 8 +-- ...dels.FunctionShellCallOutputItemParam.g.cs | 14 ++-- ....OpenAI.Models.FunctionShellToolParam.g.cs | 2 +- .../tryAGI.OpenAI.Models.FunctionTool.g.cs | 10 +-- ...tryAGI.OpenAI.Models.FunctionToolCall.g.cs | 24 +++---- ....OpenAI.Models.FunctionToolCallOutput.g.cs | 18 ++--- ...ryAGI.OpenAI.Models.FunctionToolParam.g.cs | 6 +- ...tryAGI.OpenAI.Models.GraderLabelModel.g.cs | 8 +-- .../tryAGI.OpenAI.Models.GraderMulti.g.cs | 10 +-- .../tryAGI.OpenAI.Models.GraderPython.g.cs | 8 +-- ...tryAGI.OpenAI.Models.GraderScoreModel.g.cs | 16 ++--- ...ryAGI.OpenAI.Models.GraderStringCheck.g.cs | 8 +-- ...GI.OpenAI.Models.GraderTextSimilarity.g.cs | 10 +-- .../Generated/tryAGI.OpenAI.Models.Group.g.cs | 8 +-- ...GI.OpenAI.Models.GroupDeletedResource.g.cs | 8 +-- ...ryAGI.OpenAI.Models.GroupListResource.g.cs | 8 +-- ...AGI.OpenAI.Models.GroupRoleAssignment.g.cs | 8 +-- ...AGI.OpenAI.Models.GroupUserAssignment.g.cs | 8 +-- ...penAI.Models.GroupUserDeletedResource.g.cs | 8 +-- ...OpenAI.Models.ImageEditCompletedEvent.g.cs | 8 +-- ...nAI.Models.ImageEditPartialImageEvent.g.cs | 8 +-- ....OpenAI.Models.ImageGenCompletedEvent.g.cs | 8 +-- ...enAI.Models.ImageGenPartialImageEvent.g.cs | 8 +-- ...tryAGI.OpenAI.Models.ImageGenToolCall.g.cs | 8 +-- .../tryAGI.OpenAI.Models.ImageGenUsage.g.cs | 8 +-- ...tryAGI.OpenAI.Models.InlineSkillParam.g.cs | 10 +-- ....OpenAI.Models.InlineSkillSourceParam.g.cs | 14 ++-- ...odels.InlineSkillSourceParamMediaType.g.cs | 6 +- .../tryAGI.OpenAI.Models.InputAudio.g.cs | 4 +- ...tryAGI.OpenAI.Models.InputFileContent.g.cs | 8 +-- ...I.OpenAI.Models.InputFileContentParam.g.cs | 8 +-- ...ryAGI.OpenAI.Models.InputImageContent.g.cs | 12 ++-- ...odels.InputImageContentParamAutoParam.g.cs | 6 +- .../tryAGI.OpenAI.Models.InputMessage.g.cs | 18 ++--- ...tryAGI.OpenAI.Models.InputTextContent.g.cs | 8 +-- ...I.OpenAI.Models.InputTextContentParam.g.cs | 8 +-- .../tryAGI.OpenAI.Models.Invite.g.cs | 8 +-- ...GI.OpenAI.Models.InviteDeleteResponse.g.cs | 6 +- ...yAGI.OpenAI.Models.InviteListResponse.g.cs | 4 +- ...yAGI.OpenAI.Models.ItemReferenceParam.g.cs | 4 +- .../tryAGI.OpenAI.Models.KeyPressAction.g.cs | 8 +-- ...I.OpenAI.Models.ListAuditLogsResponse.g.cs | 4 +- ...AGI.OpenAI.Models.ListBatchesResponse.g.cs | 4 +- ...penAI.Models.ListCertificatesResponse.g.cs | 4 +- ...ineTuningCheckpointPermissionResponse.g.cs | 4 +- ....ListFineTuningJobCheckpointsResponse.g.cs | 4 +- ...odels.ListFineTuningJobEventsResponse.g.cs | 4 +- ...yAGI.OpenAI.Models.ListModelsResponse.g.cs | 4 +- ...I.OpenAI.Models.LocalEnvironmentParam.g.cs | 6 +- ...GI.OpenAI.Models.LocalShellExecAction.g.cs | 16 ++--- ...yAGI.OpenAI.Models.LocalShellToolCall.g.cs | 8 +-- ...penAI.Models.LocalShellToolCallOutput.g.cs | 8 +-- .../tryAGI.OpenAI.Models.LockedStatus.g.cs | 2 +- ...yAGI.OpenAI.Models.MCPApprovalRequest.g.cs | 8 +-- ...AGI.OpenAI.Models.MCPApprovalResponse.g.cs | 12 ++-- ...AI.Models.MCPApprovalResponseResource.g.cs | 8 +-- .../tryAGI.OpenAI.Models.MCPListTools.g.cs | 8 +-- ...tryAGI.OpenAI.Models.MCPListToolsTool.g.cs | 4 +- .../tryAGI.OpenAI.Models.MCPTool.g.cs | 8 +-- .../tryAGI.OpenAI.Models.MCPToolCall.g.cs | 8 +-- .../tryAGI.OpenAI.Models.Message.g.cs | 10 +-- ....Models.MessageContentImageFileObject.g.cs | 4 +- ...I.Models.MessageContentImageUrlObject.g.cs | 4 +- ...AI.Models.MessageContentRefusalObject.g.cs | 4 +- ...tentTextAnnotationsFileCitationObject.g.cs | 8 +-- ...eContentTextAnnotationsFilePathObject.g.cs | 8 +-- ...penAI.Models.MessageContentTextObject.g.cs | 4 +- ...yAGI.OpenAI.Models.MessageDeltaObject.g.cs | 8 +-- .../tryAGI.OpenAI.Models.MessageObject.g.cs | 18 ++--- ...odels.MessageRequestContentTextObject.g.cs | 8 +-- ...nAI.Models.MessageStreamEventVariant1.g.cs | 4 +- ...nAI.Models.MessageStreamEventVariant2.g.cs | 4 +- ...nAI.Models.MessageStreamEventVariant3.g.cs | 4 +- ...nAI.Models.MessageStreamEventVariant4.g.cs | 4 +- ...nAI.Models.MessageStreamEventVariant5.g.cs | 4 +- .../tryAGI.OpenAI.Models.Model17.g.cs | 8 +-- .../tryAGI.OpenAI.Models.MoveParam.g.cs | 10 +-- ...yAGI.OpenAI.Models.NamespaceToolParam.g.cs | 10 +-- .../tryAGI.OpenAI.Models.OpenAIFile.g.cs | 16 ++--- .../tryAGI.OpenAI.Models.OutputAudio.g.cs | 8 +-- .../tryAGI.OpenAI.Models.OutputMessage.g.cs | 18 ++--- ...ryAGI.OpenAI.Models.OutputTextContent.g.cs | 10 +-- ...ryAGI.OpenAI.Models.PredictionContent.g.cs | 10 +-- .../tryAGI.OpenAI.Models.Project.g.cs | 12 ++-- .../tryAGI.OpenAI.Models.ProjectApiKey.g.cs | 8 +-- ...AI.Models.ProjectApiKeyDeleteResponse.g.cs | 4 +- ...enAI.Models.ProjectApiKeyListResponse.g.cs | 4 +- .../tryAGI.OpenAI.Models.ProjectGroup.g.cs | 8 +-- ...AI.Models.ProjectGroupDeletedResource.g.cs | 8 +-- ...penAI.Models.ProjectGroupListResource.g.cs | 8 +-- ...AGI.OpenAI.Models.ProjectListResponse.g.cs | 4 +- ...tryAGI.OpenAI.Models.ProjectRateLimit.g.cs | 8 +-- ...I.Models.ProjectRateLimitListResponse.g.cs | 4 +- ...I.OpenAI.Models.ProjectServiceAccount.g.cs | 8 +-- ...AI.Models.ProjectServiceAccountApiKey.g.cs | 8 +-- ...s.ProjectServiceAccountCreateResponse.g.cs | 10 +-- ...s.ProjectServiceAccountDeleteResponse.g.cs | 4 +- ...els.ProjectServiceAccountListResponse.g.cs | 4 +- .../tryAGI.OpenAI.Models.ProjectUser.g.cs | 8 +-- ...enAI.Models.ProjectUserDeleteResponse.g.cs | 4 +- ....OpenAI.Models.PublicRoleListResource.g.cs | 8 +-- ...ealtimeAudioFormatsPcmAudioFormatType.g.cs | 6 +- ...altimeAudioFormatsPcmaAudioFormatType.g.cs | 6 +- ...altimeAudioFormatsPcmuAudioFormatType.g.cs | 6 +- ...BetaClientEventConversationItemCreate.g.cs | 8 +-- ...BetaClientEventConversationItemDelete.g.cs | 8 +-- ...taClientEventConversationItemRetrieve.g.cs | 8 +-- ...taClientEventConversationItemTruncate.g.cs | 16 ++--- ...BetaClientEventInputAudioBufferAppend.g.cs | 10 +-- ....RealtimeBetaClientEventSessionUpdate.g.cs | 10 +-- ...ClientEventTranscriptionSessionUpdate.g.cs | 8 +-- ...etaServerEventConversationItemCreated.g.cs | 8 +-- ...etaServerEventConversationItemDeleted.g.cs | 8 +-- ...nItemInputAudioTranscriptionCompleted.g.cs | 14 ++-- ...ationItemInputAudioTranscriptionDelta.g.cs | 8 +-- ...tionItemInputAudioTranscriptionFailed.g.cs | 10 +-- ...ionItemInputAudioTranscriptionSegment.g.cs | 8 +-- ...aServerEventConversationItemRetrieved.g.cs | 8 +-- ...aServerEventConversationItemTruncated.g.cs | 8 +-- ...I.Models.RealtimeBetaServerEventError.g.cs | 8 +-- ...els.RealtimeBetaServerEventErrorError.g.cs | 4 +- ...aServerEventInputAudioBufferCommitted.g.cs | 8 +-- ...verEventInputAudioBufferSpeechStarted.g.cs | 8 +-- ...verEventInputAudioBufferSpeechStopped.g.cs | 8 +-- ...eBetaServerEventMCPListToolsCompleted.g.cs | 8 +-- ...timeBetaServerEventMCPListToolsFailed.g.cs | 8 +-- ...BetaServerEventMCPListToolsInProgress.g.cs | 8 +-- ...ltimeBetaServerEventRateLimitsUpdated.g.cs | 8 +-- ...timeBetaServerEventResponseAudioDelta.g.cs | 8 +-- ...ltimeBetaServerEventResponseAudioDone.g.cs | 8 +-- ...rverEventResponseAudioTranscriptDelta.g.cs | 8 +-- ...erverEventResponseAudioTranscriptDone.g.cs | 8 +-- ...taServerEventResponseContentPartAdded.g.cs | 8 +-- ...etaServerEventResponseContentPartDone.g.cs | 8 +-- ...ealtimeBetaServerEventResponseCreated.g.cs | 8 +-- ...s.RealtimeBetaServerEventResponseDone.g.cs | 8 +-- ...entResponseFunctionCallArgumentsDelta.g.cs | 8 +-- ...ventResponseFunctionCallArgumentsDone.g.cs | 8 +-- ...verEventResponseMCPCallArgumentsDelta.g.cs | 8 +-- ...rverEventResponseMCPCallArgumentsDone.g.cs | 8 +-- ...taServerEventResponseMCPCallCompleted.g.cs | 8 +-- ...eBetaServerEventResponseMCPCallFailed.g.cs | 8 +-- ...aServerEventResponseMCPCallInProgress.g.cs | 8 +-- ...etaServerEventResponseOutputItemAdded.g.cs | 8 +-- ...BetaServerEventResponseOutputItemDone.g.cs | 8 +-- ...ltimeBetaServerEventResponseTextDelta.g.cs | 8 +-- ...altimeBetaServerEventResponseTextDone.g.cs | 8 +-- ...RealtimeBetaServerEventSessionCreated.g.cs | 8 +-- ...RealtimeBetaServerEventSessionUpdated.g.cs | 8 +-- ...erverEventTranscriptionSessionCreated.g.cs | 8 +-- ...erverEventTranscriptionSessionUpdated.g.cs | 8 +-- ...timeClientEventConversationItemCreate.g.cs | 8 +-- ...timeClientEventConversationItemDelete.g.cs | 8 +-- ...meClientEventConversationItemRetrieve.g.cs | 8 +-- ...meClientEventConversationItemTruncate.g.cs | 16 ++--- ...timeClientEventInputAudioBufferAppend.g.cs | 10 +-- ...dels.RealtimeClientEventSessionUpdate.g.cs | 10 +-- ...ClientEventTranscriptionSessionUpdate.g.cs | 8 +-- ....RealtimeConversationItemFunctionCall.g.cs | 16 ++--- ...imeConversationItemFunctionCallOutput.g.cs | 16 ++--- ...ltimeConversationItemMessageAssistant.g.cs | 8 +-- ...RealtimeConversationItemMessageSystem.g.cs | 8 +-- ...s.RealtimeConversationItemMessageUser.g.cs | 8 +-- ...nAI.Models.RealtimeMCPApprovalRequest.g.cs | 8 +-- ...AI.Models.RealtimeMCPApprovalResponse.g.cs | 8 +-- ...GI.OpenAI.Models.RealtimeMCPHTTPError.g.cs | 4 +- ...GI.OpenAI.Models.RealtimeMCPListTools.g.cs | 16 ++--- ...penAI.Models.RealtimeMCPProtocolError.g.cs | 4 +- ...AGI.OpenAI.Models.RealtimeMCPToolCall.g.cs | 8 +-- ....Models.RealtimeMCPToolExecutionError.g.cs | 4 +- ...ealtimeServerEventConversationCreated.g.cs | 8 +-- ...ltimeServerEventConversationItemAdded.g.cs | 8 +-- ...imeServerEventConversationItemCreated.g.cs | 8 +-- ...imeServerEventConversationItemDeleted.g.cs | 8 +-- ...altimeServerEventConversationItemDone.g.cs | 8 +-- ...nItemInputAudioTranscriptionCompleted.g.cs | 14 ++-- ...ationItemInputAudioTranscriptionDelta.g.cs | 8 +-- ...tionItemInputAudioTranscriptionFailed.g.cs | 10 +-- ...ionItemInputAudioTranscriptionSegment.g.cs | 8 +-- ...eServerEventConversationItemRetrieved.g.cs | 8 +-- ...eServerEventConversationItemTruncated.g.cs | 8 +-- ...penAI.Models.RealtimeServerEventError.g.cs | 8 +-- ....Models.RealtimeServerEventErrorError.g.cs | 4 +- ...eServerEventInputAudioBufferCommitted.g.cs | 8 +-- ...ventInputAudioBufferDtmfEventReceived.g.cs | 8 +-- ...verEventInputAudioBufferSpeechStarted.g.cs | 8 +-- ...verEventInputAudioBufferSpeechStopped.g.cs | 8 +-- ...EventInputAudioBufferTimeoutTriggered.g.cs | 8 +-- ...ltimeServerEventMCPListToolsCompleted.g.cs | 8 +-- ...RealtimeServerEventMCPListToolsFailed.g.cs | 8 +-- ...timeServerEventMCPListToolsInProgress.g.cs | 8 +-- ...meServerEventOutputAudioBufferCleared.g.cs | 8 +-- ...meServerEventOutputAudioBufferStarted.g.cs | 8 +-- ...meServerEventOutputAudioBufferStopped.g.cs | 8 +-- ....RealtimeServerEventRateLimitsUpdated.g.cs | 8 +-- ...RealtimeServerEventResponseAudioDelta.g.cs | 8 +-- ....RealtimeServerEventResponseAudioDone.g.cs | 8 +-- ...rverEventResponseAudioTranscriptDelta.g.cs | 8 +-- ...erverEventResponseAudioTranscriptDone.g.cs | 8 +-- ...meServerEventResponseContentPartAdded.g.cs | 8 +-- ...imeServerEventResponseContentPartDone.g.cs | 8 +-- ...ls.RealtimeServerEventResponseCreated.g.cs | 8 +-- ...odels.RealtimeServerEventResponseDone.g.cs | 8 +-- ...entResponseFunctionCallArgumentsDelta.g.cs | 8 +-- ...ventResponseFunctionCallArgumentsDone.g.cs | 8 +-- ...verEventResponseMCPCallArgumentsDelta.g.cs | 8 +-- ...rverEventResponseMCPCallArgumentsDone.g.cs | 8 +-- ...meServerEventResponseMCPCallCompleted.g.cs | 8 +-- ...ltimeServerEventResponseMCPCallFailed.g.cs | 8 +-- ...eServerEventResponseMCPCallInProgress.g.cs | 8 +-- ...imeServerEventResponseOutputItemAdded.g.cs | 8 +-- ...timeServerEventResponseOutputItemDone.g.cs | 8 +-- ....RealtimeServerEventResponseTextDelta.g.cs | 8 +-- ...s.RealtimeServerEventResponseTextDone.g.cs | 8 +-- ...els.RealtimeServerEventSessionCreated.g.cs | 8 +-- ...els.RealtimeServerEventSessionUpdated.g.cs | 8 +-- ...erverEventTranscriptionSessionUpdated.g.cs | 8 +-- ...eTranscriptionSessionCreateResponseGA.g.cs | 8 +-- ...OpenAI.Models.RealtimeTruncationEnum2.g.cs | 8 +-- ...tionRealtimeTurnDetection1SemanticVad.g.cs | 6 +- ...ectionRealtimeTurnDetection1ServerVad.g.cs | 8 +-- .../tryAGI.OpenAI.Models.ReasoningItem.g.cs | 12 ++-- ...GI.OpenAI.Models.ReasoningTextContent.g.cs | 8 +-- .../tryAGI.OpenAI.Models.RefusalContent.g.cs | 8 +-- ...OpenAI.Models.ResponseAudioDeltaEvent.g.cs | 8 +-- ....OpenAI.Models.ResponseAudioDoneEvent.g.cs | 8 +-- ...els.ResponseAudioTranscriptDeltaEvent.g.cs | 8 +-- ...dels.ResponseAudioTranscriptDoneEvent.g.cs | 8 +-- ...onseCodeInterpreterCallCodeDeltaEvent.g.cs | 8 +-- ...ponseCodeInterpreterCallCodeDoneEvent.g.cs | 8 +-- ...onseCodeInterpreterCallCompletedEvent.g.cs | 8 +-- ...nseCodeInterpreterCallInProgressEvent.g.cs | 8 +-- ...eCodeInterpreterCallInterpretingEvent.g.cs | 8 +-- ....OpenAI.Models.ResponseCompletedEvent.g.cs | 8 +-- ....Models.ResponseContentPartAddedEvent.g.cs | 8 +-- ...I.Models.ResponseContentPartDoneEvent.g.cs | 8 +-- ...GI.OpenAI.Models.ResponseCreatedEvent.g.cs | 8 +-- ...ResponseCustomToolCallInputDeltaEvent.g.cs | 8 +-- ....ResponseCustomToolCallInputDoneEvent.g.cs | 8 +-- ...yAGI.OpenAI.Models.ResponseErrorEvent.g.cs | 14 ++-- ...AGI.OpenAI.Models.ResponseFailedEvent.g.cs | 8 +-- ....ResponseFileSearchCallCompletedEvent.g.cs | 8 +-- ...ResponseFileSearchCallInProgressEvent.g.cs | 8 +-- ....ResponseFileSearchCallSearchingEvent.g.cs | 8 +-- ...penAI.Models.ResponseFormatJsonSchema.g.cs | 8 +-- ...ls.ResponseFormatJsonSchemaJsonSchema.g.cs | 10 +-- ...enAI.Models.ResponseFormatTextGrammar.g.cs | 8 +-- ...sponseFunctionCallArgumentsDeltaEvent.g.cs | 8 +-- ...esponseFunctionCallArgumentsDoneEvent.g.cs | 4 +- ...ls.ResponseImageGenCallCompletedEvent.g.cs | 8 +-- ...s.ResponseImageGenCallGeneratingEvent.g.cs | 8 +-- ...s.ResponseImageGenCallInProgressEvent.g.cs | 8 +-- ...ResponseImageGenCallPartialImageEvent.g.cs | 8 +-- ...OpenAI.Models.ResponseInProgressEvent.g.cs | 8 +-- ...OpenAI.Models.ResponseIncompleteEvent.g.cs | 8 +-- ...tryAGI.OpenAI.Models.ResponseItemList.g.cs | 8 +-- ...ls.ResponseMCPCallArgumentsDeltaEvent.g.cs | 8 +-- ...els.ResponseMCPCallArgumentsDoneEvent.g.cs | 8 +-- ....Models.ResponseMCPCallCompletedEvent.g.cs | 8 +-- ...nAI.Models.ResponseMCPCallFailedEvent.g.cs | 8 +-- ...Models.ResponseMCPCallInProgressEvent.g.cs | 8 +-- ...ls.ResponseMCPListToolsCompletedEvent.g.cs | 8 +-- ...odels.ResponseMCPListToolsFailedEvent.g.cs | 8 +-- ...s.ResponseMCPListToolsInProgressEvent.g.cs | 8 +-- ...I.Models.ResponseOutputItemAddedEvent.g.cs | 8 +-- ...AI.Models.ResponseOutputItemDoneEvent.g.cs | 8 +-- ...yAGI.OpenAI.Models.ResponseOutputText.g.cs | 10 +-- ...esponseOutputTextAnnotationAddedEvent.g.cs | 8 +-- ...AGI.OpenAI.Models.ResponseQueuedEvent.g.cs | 8 +-- ...esponseReasoningSummaryPartAddedEvent.g.cs | 8 +-- ...nseReasoningSummaryPartAddedEventPart.g.cs | 8 +-- ...ResponseReasoningSummaryPartDoneEvent.g.cs | 8 +-- ...onseReasoningSummaryPartDoneEventPart.g.cs | 8 +-- ...esponseReasoningSummaryTextDeltaEvent.g.cs | 8 +-- ...ResponseReasoningSummaryTextDoneEvent.g.cs | 8 +-- ...odels.ResponseReasoningTextDeltaEvent.g.cs | 8 +-- ...Models.ResponseReasoningTextDoneEvent.g.cs | 8 +-- ...enAI.Models.ResponseRefusalDeltaEvent.g.cs | 8 +-- ...penAI.Models.ResponseRefusalDoneEvent.g.cs | 8 +-- ....OpenAI.Models.ResponseTextDeltaEvent.g.cs | 8 +-- ...I.OpenAI.Models.ResponseTextDoneEvent.g.cs | 8 +-- ...tryAGI.OpenAI.Models.ResponseVariant3.g.cs | 34 +++++----- ...s.ResponseWebSearchCallCompletedEvent.g.cs | 8 +-- ....ResponseWebSearchCallInProgressEvent.g.cs | 8 +-- ...s.ResponseWebSearchCallSearchingEvent.g.cs | 8 +-- .../Generated/tryAGI.OpenAI.Models.Role.g.cs | 16 ++--- ...AGI.OpenAI.Models.RoleDeletedResource.g.cs | 8 +-- ...tryAGI.OpenAI.Models.RoleListResource.g.cs | 8 +-- ...tryAGI.OpenAI.Models.RunGraderRequest.g.cs | 10 +-- ...odels.RunGraderResponseMetadataErrors.g.cs | 8 +-- .../tryAGI.OpenAI.Models.RunObject.g.cs | 66 +++++++++---------- ...OpenAI.Models.RunObjectRequiredAction.g.cs | 8 +-- ...yAGI.OpenAI.Models.RunStepDeltaObject.g.cs | 8 +-- ...aStepDetailsToolCallsFileSearchObject.g.cs | 8 +-- ...s.RunStepDetailsMessageCreationObject.g.cs | 4 +- ...els.RunStepDetailsToolCallsCodeObject.g.cs | 8 +-- ...DetailsToolCallsCodeOutputImageObject.g.cs | 4 +- ...pDetailsToolCallsCodeOutputLogsObject.g.cs | 8 +-- ...nStepDetailsToolCallsFileSearchObject.g.cs | 8 +-- ...RunStepDetailsToolCallsFunctionObject.g.cs | 8 +-- ....Models.RunStepDetailsToolCallsObject.g.cs | 8 +-- .../tryAGI.OpenAI.Models.RunStepObject.g.cs | 8 +-- ...nAI.Models.RunStepStreamEventVariant1.g.cs | 4 +- ...nAI.Models.RunStepStreamEventVariant2.g.cs | 4 +- ...nAI.Models.RunStepStreamEventVariant3.g.cs | 4 +- ...nAI.Models.RunStepStreamEventVariant4.g.cs | 4 +- ...nAI.Models.RunStepStreamEventVariant5.g.cs | 4 +- ...nAI.Models.RunStepStreamEventVariant6.g.cs | 4 +- ...nAI.Models.RunStepStreamEventVariant7.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant1.g.cs | 4 +- ...OpenAI.Models.RunStreamEventVariant10.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant2.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant3.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant4.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant5.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant6.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant7.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant8.g.cs | 4 +- ....OpenAI.Models.RunStreamEventVariant9.g.cs | 4 +- ...ryAGI.OpenAI.Models.RunToolCallObject.g.cs | 8 +-- .../tryAGI.OpenAI.Models.ScrollParam.g.cs | 10 +-- ...ryAGI.OpenAI.Models.SkillListResource.g.cs | 16 ++--- ...AGI.OpenAI.Models.SkillReferenceParam.g.cs | 10 +-- .../tryAGI.OpenAI.Models.SkillResource.g.cs | 10 +-- ...penAI.Models.SkillVersionListResource.g.cs | 16 ++--- ...GI.OpenAI.Models.SkillVersionResource.g.cs | 10 +-- ...I.OpenAI.Models.SpeechAudioDeltaEvent.g.cs | 8 +-- ...GI.OpenAI.Models.SpeechAudioDoneEvent.g.cs | 8 +-- ...ls.StaticChunkingStrategyRequestParam.g.cs | 4 +- ...s.StaticChunkingStrategyResponseParam.g.cs | 4 +- ...yAGI.OpenAI.Models.SummaryTextContent.g.cs | 8 +-- .../tryAGI.OpenAI.Models.TaskGroupItem.g.cs | 18 ++--- .../tryAGI.OpenAI.Models.TaskItem.g.cs | 20 +++--- .../tryAGI.OpenAI.Models.TextContent.g.cs | 4 +- ...I.Models.TextResponseFormatJsonSchema.g.cs | 18 ++--- ....OpenAI.Models.ThreadItemListResource.g.cs | 16 ++--- ...yAGI.OpenAI.Models.ThreadListResource.g.cs | 16 ++--- .../tryAGI.OpenAI.Models.ThreadObject.g.cs | 8 +-- .../tryAGI.OpenAI.Models.ThreadResource.g.cs | 14 ++-- ...enAI.Models.ThreadStreamEventVariant1.g.cs | 8 +-- ...AGI.OpenAI.Models.TokenCountsResource.g.cs | 4 +- ...ryAGI.OpenAI.Models.ToolChoiceAllowed.g.cs | 8 +-- ...tryAGI.OpenAI.Models.ToolChoiceCustom.g.cs | 8 +-- ...yAGI.OpenAI.Models.ToolChoiceFunction.g.cs | 8 +-- .../tryAGI.OpenAI.Models.ToolChoiceMCP.g.cs | 8 +-- .../tryAGI.OpenAI.Models.ToolSearchCall.g.cs | 14 ++-- ...OpenAI.Models.ToolSearchCallItemParam.g.cs | 16 ++--- ...tryAGI.OpenAI.Models.ToolSearchOutput.g.cs | 14 ++-- ...enAI.Models.ToolSearchOutputItemParam.g.cs | 16 ++--- ...AGI.OpenAI.Models.ToolSearchToolParam.g.cs | 8 +-- ...penAI.Models.TranscriptTextDeltaEvent.g.cs | 8 +-- ...OpenAI.Models.TranscriptTextDoneEvent.g.cs | 8 +-- ...nAI.Models.TranscriptTextSegmentEvent.g.cs | 8 +-- ...AI.Models.TranscriptTextUsageDuration.g.cs | 8 +-- ...enAI.Models.TranscriptTextUsageTokens.g.cs | 16 ++--- ...I.Models.TranscriptionDiarizedSegment.g.cs | 8 +-- .../tryAGI.OpenAI.Models.TypeParam.g.cs | 8 +-- ...penAI.Models.UploadCertificateRequest.g.cs | 8 +-- .../tryAGI.OpenAI.Models.UrlAnnotation.g.cs | 8 +-- ...AGI.OpenAI.Models.UrlAnnotationSource.g.cs | 8 +-- .../tryAGI.OpenAI.Models.UrlCitationBody.g.cs | 10 +-- ...penAI.Models.UsageAudioSpeechesResult.g.cs | 4 +- ...Models.UsageAudioTranscriptionsResult.g.cs | 4 +- ....OpenAI.Models.UsageCompletionsResult.g.cs | 20 +++--- ...I.OpenAI.Models.UsageEmbeddingsResult.g.cs | 4 +- ...ryAGI.OpenAI.Models.UsageImagesResult.g.cs | 4 +- ....OpenAI.Models.UsageModerationsResult.g.cs | 4 +- .../tryAGI.OpenAI.Models.UsageResponse.g.cs | 4 +- .../tryAGI.OpenAI.Models.UsageTimeBucket.g.cs | 4 +- ...OpenAI.Models.UsageVectorStoresResult.g.cs | 4 +- .../Generated/tryAGI.OpenAI.Models.User.g.cs | 8 +-- ...yAGI.OpenAI.Models.UserDeleteResponse.g.cs | 4 +- ...tryAGI.OpenAI.Models.UserListResource.g.cs | 8 +-- ...tryAGI.OpenAI.Models.UserListResponse.g.cs | 4 +- ...GI.OpenAI.Models.UserMessageInputText.g.cs | 8 +-- .../tryAGI.OpenAI.Models.UserMessageItem.g.cs | 18 ++--- ...I.OpenAI.Models.UserMessageQuotedText.g.cs | 8 +-- ...yAGI.OpenAI.Models.UserRoleAssignment.g.cs | 8 +-- ...nAI.Models.VectorStoreExpirationAfter.g.cs | 8 +-- ...nAI.Models.VectorStoreFileBatchObject.g.cs | 8 +-- ...Models.VectorStoreFileContentResponse.g.cs | 8 +-- ...I.OpenAI.Models.VectorStoreFileObject.g.cs | 8 +-- ...ryAGI.OpenAI.Models.VectorStoreObject.g.cs | 8 +-- ....VectorStoreSearchResultContentObject.g.cs | 8 +-- ...AI.Models.VectorStoreSearchResultItem.g.cs | 4 +- ...I.Models.VectorStoreSearchResultsPage.g.cs | 8 +-- ....OpenAI.Models.VideoCharacterResource.g.cs | 6 +- ...ryAGI.OpenAI.Models.VideoListResource.g.cs | 16 ++--- .../tryAGI.OpenAI.Models.VideoResource.g.cs | 20 +++--- ...AI.Models.VoiceConsentDeletedResource.g.cs | 4 +- ...penAI.Models.VoiceConsentListResource.g.cs | 8 +-- ...GI.OpenAI.Models.VoiceConsentResource.g.cs | 8 +-- .../tryAGI.OpenAI.Models.VoiceResource.g.cs | 8 +-- ...AGI.OpenAI.Models.WebSearchActionFind.g.cs | 8 +-- ...I.OpenAI.Models.WebSearchActionSearch.g.cs | 8 +-- ...AI.Models.WebSearchActionSearchSource.g.cs | 8 +-- ...GI.OpenAI.Models.WebSearchPreviewTool.g.cs | 8 +-- ...ryAGI.OpenAI.Models.WebSearchToolCall.g.cs | 8 +-- ...ryAGI.OpenAI.Models.WidgetMessageItem.g.cs | 18 ++--- ....Models.ConversationItemCreatePayload.g.cs | 8 +-- ....Models.ConversationItemDeletePayload.g.cs | 8 +-- ...odels.ConversationItemTruncatePayload.g.cs | 16 ++--- ....Models.InputAudioBufferAppendPayload.g.cs | 8 +-- 551 files changed, 2411 insertions(+), 2411 deletions(-) diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs index 401c027b0..c9cf6b7c4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs @@ -100,16 +100,16 @@ public sealed partial class AdminApiKey /// The redacted value of the API key
/// Example: sk-admin...def /// - /// - /// The value of the API key. Only shown on create.
- /// Example: sk-admin-1234abcd - /// /// /// The Unix timestamp (in seconds) of when the API key was created
/// Example: 1711471533 /// - /// /// + /// + /// The value of the API key. Only shown on create.
+ /// Example: sk-admin-1234abcd + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -127,10 +127,10 @@ public AdminApiKey( this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.RedactedValue = redactedValue ?? throw new global::System.ArgumentNullException(nameof(redactedValue)); - this.CreatedAt = createdAt; - this.Owner = owner ?? throw new global::System.ArgumentNullException(nameof(owner)); this.Value = value; + this.CreatedAt = createdAt; this.LastUsedAt = lastUsedAt; + this.Owner = owner ?? throw new global::System.ArgumentNullException(nameof(owner)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs index 7a5a1673f..778302b38 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs @@ -40,16 +40,16 @@ public sealed partial class ApplyPatchCreateFileOperation /// /// Initializes a new instance of the class. /// - /// - /// Create a new file with the provided diff.
- /// Default Value: create_file - /// /// /// Path of the file to create. /// /// /// Diff to apply. /// + /// + /// Create a new file with the provided diff.
+ /// Default Value: create_file + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public ApplyPatchCreateFileOperation( string diff, global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType type = global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType.CreateFile) { + this.Type = type; this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs index 597e0f36b..33bfe85fc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs @@ -40,16 +40,16 @@ public sealed partial class ApplyPatchCreateFileOperationParam /// /// Initializes a new instance of the class. /// - /// - /// The operation type. Always `create_file`.
- /// Default Value: create_file - /// /// /// Path of the file to create relative to the workspace root. /// /// /// Unified diff content to apply when creating the file. /// + /// + /// The operation type. Always `create_file`.
+ /// Default Value: create_file + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public ApplyPatchCreateFileOperationParam( string diff, global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType type = global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType.CreateFile) { + this.Type = type; this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs index d71569561..88ef21177 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs @@ -33,13 +33,13 @@ public sealed partial class ApplyPatchDeleteFileOperation /// /// Initializes a new instance of the class. /// + /// + /// Path of the file to delete. + /// /// /// Delete the specified file.
/// Default Value: delete_file /// - /// - /// Path of the file to delete. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public ApplyPatchDeleteFileOperation( string path, global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType type = global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType.DeleteFile) { - this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); this.Type = type; + this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs index 669b3aea0..3eee1ae67 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs @@ -33,13 +33,13 @@ public sealed partial class ApplyPatchDeleteFileOperationParam /// /// Initializes a new instance of the class. /// + /// + /// Path of the file to delete relative to the workspace root. + /// /// /// The operation type. Always `delete_file`.
/// Default Value: delete_file /// - /// - /// Path of the file to delete relative to the workspace root. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public ApplyPatchDeleteFileOperationParam( string path, global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType type = global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType.DeleteFile) { - this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); this.Type = type; + this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs index e79ae43f9..2640af04a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs @@ -62,10 +62,6 @@ public sealed partial class ApplyPatchToolCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `apply_patch_call`.
- /// Default Value: apply_patch_call - /// /// /// The unique ID of the apply patch tool call. Populated when this item is returned via API. /// @@ -81,6 +77,10 @@ public sealed partial class ApplyPatchToolCall /// /// The ID of the entity that created this tool call. /// + /// + /// The type of the item. Always `apply_patch_call`.
+ /// Default Value: apply_patch_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -92,11 +92,11 @@ public ApplyPatchToolCall( string? createdBy, global::tryAGI.OpenAI.ApplyPatchToolCallType type = global::tryAGI.OpenAI.ApplyPatchToolCallType.ApplyPatchCall) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Status = status; this.Operation = operation; - this.Type = type; this.CreatedBy = createdBy; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs index 09623b5fe..1d23b0b88 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs @@ -55,11 +55,6 @@ public sealed partial class ApplyPatchToolCallItemParam /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `apply_patch_call`.
- /// Default Value: apply_patch_call - /// - /// /// /// The unique ID of the apply patch tool call generated by the model. /// @@ -69,6 +64,11 @@ public sealed partial class ApplyPatchToolCallItemParam /// /// The specific create, delete, or update instruction for the apply_patch tool call. /// + /// + /// + /// The type of the item. Always `apply_patch_call`.
+ /// Default Value: apply_patch_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -79,11 +79,11 @@ public ApplyPatchToolCallItemParam( string? id, global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType type = global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType.ApplyPatchCall) { + this.Type = type; + this.Id = id; this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Status = status; this.Operation = operation; - this.Type = type; - this.Id = id; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs index 621b5a883..ddd20afff 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs @@ -60,10 +60,6 @@ public sealed partial class ApplyPatchToolCallOutput /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `apply_patch_call_output`.
- /// Default Value: apply_patch_call_output - /// /// /// The unique ID of the apply patch tool call output. Populated when this item is returned via API. /// @@ -77,6 +73,10 @@ public sealed partial class ApplyPatchToolCallOutput /// /// The ID of the entity that created this tool call output. /// + /// + /// The type of the item. Always `apply_patch_call_output`.
+ /// Default Value: apply_patch_call_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,10 +88,10 @@ public ApplyPatchToolCallOutput( string? createdBy, global::tryAGI.OpenAI.ApplyPatchToolCallOutputType type = global::tryAGI.OpenAI.ApplyPatchToolCallOutputType.ApplyPatchCallOutput) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Status = status; - this.Type = type; this.Output = output; this.CreatedBy = createdBy; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs index bb09683ef..991b7fb20 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs @@ -53,18 +53,18 @@ public sealed partial class ApplyPatchToolCallOutputItemParam /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `apply_patch_call_output`.
- /// Default Value: apply_patch_call_output - /// - /// /// /// The unique ID of the apply patch tool call generated by the model. /// /// /// The status of the apply patch tool call output. One of `completed` or `failed`. /// + /// /// + /// + /// The type of the item. Always `apply_patch_call_output`.
+ /// Default Value: apply_patch_call_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,10 +75,10 @@ public ApplyPatchToolCallOutputItemParam( string? output, global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType type = global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType.ApplyPatchCallOutput) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Status = status; this.Type = type; this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Status = status; this.Output = output; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs index d65a9b1cf..19ff46e75 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs @@ -40,16 +40,16 @@ public sealed partial class ApplyPatchUpdateFileOperation /// /// Initializes a new instance of the class. /// - /// - /// Update an existing file with the provided diff.
- /// Default Value: update_file - /// /// /// Path of the file to update. /// /// /// Diff to apply. /// + /// + /// Update an existing file with the provided diff.
+ /// Default Value: update_file + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public ApplyPatchUpdateFileOperation( string diff, global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType type = global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType.UpdateFile) { + this.Type = type; this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperationParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperationParam.g.cs index 6f77e16e9..f0a3afeb8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperationParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperationParam.g.cs @@ -40,16 +40,16 @@ public sealed partial class ApplyPatchUpdateFileOperationParam /// /// Initializes a new instance of the class. /// - /// - /// The operation type. Always `update_file`.
- /// Default Value: update_file - /// /// /// Path of the file to update relative to the workspace root. /// /// /// Unified diff content to apply to the existing file. /// + /// + /// The operation type. Always `update_file`.
+ /// Default Value: update_file + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public ApplyPatchUpdateFileOperationParam( string diff, global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType type = global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType.UpdateFile) { + this.Type = type; this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApproximateLocation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApproximateLocation.g.cs index 6ffd1d9b2..f4dffd5f8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApproximateLocation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApproximateLocation.g.cs @@ -50,14 +50,14 @@ public sealed partial class ApproximateLocation /// /// Initializes a new instance of the class. /// - /// - /// The type of location approximation. Always `approximate`.
- /// Default Value: approximate - /// /// /// /// /// + /// + /// The type of location approximation. Always `approximate`.
+ /// Default Value: approximate + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs index 148d6cc6d..970f6c08a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs @@ -67,23 +67,23 @@ public sealed partial class AssistantMessageItem /// /// Identifier of the thread item. /// - /// - /// Type discriminator that is always `chatkit.thread_item`.
- /// Default Value: chatkit.thread_item - /// /// /// Unix timestamp (in seconds) for when the item was created. /// /// /// Identifier of the parent thread. /// + /// + /// Ordered assistant response segments. + /// + /// + /// Type discriminator that is always `chatkit.thread_item`.
+ /// Default Value: chatkit.thread_item + /// /// /// Type discriminator that is always `chatkit.assistant_message`.
/// Default Value: chatkit.assistant_message /// - /// - /// Ordered assistant response segments. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -96,11 +96,11 @@ public AssistantMessageItem( global::tryAGI.OpenAI.AssistantMessageItemType type = global::tryAGI.OpenAI.AssistantMessageItemType.ChatkitAssistantMessage) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Object = @object; this.Type = type; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs index 938fff076..06e86cd8b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs @@ -119,22 +119,22 @@ public sealed partial class AssistantObject /// /// The identifier, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `assistant`. - /// /// /// The Unix timestamp (in seconds) for when the assistant was created. /// - /// - /// /// /// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them. /// - /// /// /// A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`.
/// Default Value: [] /// + /// + /// The object type, which is always `assistant`. + /// + /// + /// + /// /// /// /// @@ -159,13 +159,13 @@ public AssistantObject( global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.CreatedAt = createdAt; - this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); this.Object = @object; + this.CreatedAt = createdAt; this.Name = name; this.Description = description; + this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Instructions = instructions; + this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); this.ToolResources = toolResources; this.Metadata = metadata; this.Temperature = temperature; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantToolsFunction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantToolsFunction.g.cs index 8f32ca321..6cecd1868 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantToolsFunction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantToolsFunction.g.cs @@ -31,10 +31,10 @@ public sealed partial class AssistantToolsFunction /// /// Initializes a new instance of the class. /// + /// /// /// The type of tool being defined: `function` /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public AssistantToolsFunction( global::tryAGI.OpenAI.FunctionObject function, global::tryAGI.OpenAI.AssistantToolsFunctionType type) { - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLog.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLog.g.cs index f2b1edfe9..777c3db64 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLog.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLog.g.cs @@ -344,12 +344,12 @@ public sealed partial class AuditLog /// /// The Unix timestamp (in seconds) of the event. /// - /// - /// The project that the action was scoped to. Absent for actions not scoped to projects. Note that any admin actions taken via Admin API keys are associated with the default project. - /// /// /// The actor who performed the audit logged action. /// + /// + /// The project that the action was scoped to. Absent for actions not scoped to projects. Note that any admin actions taken via Admin API keys are associated with the default project. + /// /// /// The details for events with this `type`. /// @@ -551,8 +551,8 @@ public AuditLog( this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Type = type; this.EffectiveAt = effectiveAt; - this.Actor = actor ?? throw new global::System.ArgumentNullException(nameof(actor)); this.Project = project; + this.Actor = actor ?? throw new global::System.ArgumentNullException(nameof(actor)); this.ApiKeyCreated = apiKeyCreated; this.ApiKeyUpdated = apiKeyUpdated; this.ApiKeyDeleted = apiKeyDeleted; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AutoCodeInterpreterToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AutoCodeInterpreterToolParam.g.cs index e3eb23429..81af58a3a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AutoCodeInterpreterToolParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AutoCodeInterpreterToolParam.g.cs @@ -45,10 +45,6 @@ public sealed partial class AutoCodeInterpreterToolParam /// /// Initializes a new instance of the class. /// - /// - /// Always `auto`.
- /// Default Value: auto - /// /// /// An optional list of uploaded files to make available to your code. /// @@ -56,6 +52,10 @@ public sealed partial class AutoCodeInterpreterToolParam /// /// Network access policy for the container. /// + /// + /// Always `auto`.
+ /// Default Value: auto + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs index 008c8d728..5dc5dac93 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs @@ -172,19 +172,9 @@ public sealed partial class Batch /// Initializes a new instance of the class. ///
/// - /// - /// The object type, which is always `batch`. - /// /// /// The OpenAI API endpoint used by the batch. /// - /// - /// Model ID used to process the batch, like `gpt-5-2025-08-07`. OpenAI
- /// offers a wide range of models with different capabilities, performance
- /// characteristics, and price points. Refer to the [model
- /// guide](/docs/models) to browse and compare available models. - /// - /// /// /// The ID of the input file for the batch. /// @@ -194,15 +184,25 @@ public sealed partial class Batch /// /// The current status of the batch. /// + /// + /// The Unix timestamp (in seconds) for when the batch was created. + /// + /// + /// The object type, which is always `batch`. + /// + /// + /// Model ID used to process the batch, like `gpt-5-2025-08-07`. OpenAI
+ /// offers a wide range of models with different capabilities, performance
+ /// characteristics, and price points. Refer to the [model
+ /// guide](/docs/models) to browse and compare available models. + /// + /// /// /// The ID of the file containing the outputs of successfully executed requests. /// /// /// The ID of the file containing the outputs of requests with errors. /// - /// - /// The Unix timestamp (in seconds) for when the batch was created. - /// /// /// The Unix timestamp (in seconds) for when the batch started processing. /// @@ -264,16 +264,16 @@ public Batch( global::System.Collections.Generic.Dictionary? metadata) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.Endpoint = endpoint ?? throw new global::System.ArgumentNullException(nameof(endpoint)); + this.Model = model; + this.Errors = errors; this.InputFileId = inputFileId ?? throw new global::System.ArgumentNullException(nameof(inputFileId)); this.CompletionWindow = completionWindow ?? throw new global::System.ArgumentNullException(nameof(completionWindow)); this.Status = status; - this.CreatedAt = createdAt; - this.Object = @object; - this.Model = model; - this.Errors = errors; this.OutputFileId = outputFileId; this.ErrorFileId = errorFileId; + this.CreatedAt = createdAt; this.InProgressAt = inProgressAt; this.ExpiresAt = expiresAt; this.FinalizingAt = finalizingAt; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchFileExpirationAfter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchFileExpirationAfter.g.cs index 96d71cb92..d15ff972b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchFileExpirationAfter.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchFileExpirationAfter.g.cs @@ -31,12 +31,12 @@ public sealed partial class BatchFileExpirationAfter /// /// Initializes a new instance of the class. /// - /// - /// Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`. Note that the anchor is the file creation time, not the time the batch is created. - /// /// /// The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days). /// + /// + /// Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`. Note that the anchor is the file creation time, not the time the batch is created. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public BatchFileExpirationAfter( int seconds, global::tryAGI.OpenAI.BatchFileExpirationAfterAnchor anchor) { - this.Seconds = seconds; this.Anchor = anchor; + this.Seconds = seconds; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionAllowedToolsChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionAllowedToolsChoice.g.cs index 6ceb432b2..da777179a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionAllowedToolsChoice.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionAllowedToolsChoice.g.cs @@ -31,12 +31,12 @@ public sealed partial class ChatCompletionAllowedToolsChoice /// /// Initializes a new instance of the class. /// - /// - /// Allowed tool configuration type. Always `allowed_tools`. - /// /// /// Constrains the tools available to the model to a pre-defined set. /// + /// + /// Allowed tool configuration type. Always `allowed_tools`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ChatCompletionAllowedToolsChoice( global::tryAGI.OpenAI.ChatCompletionAllowedTools allowedTools, global::tryAGI.OpenAI.ChatCompletionAllowedToolsChoiceType type) { - this.AllowedTools = allowedTools ?? throw new global::System.ArgumentNullException(nameof(allowedTools)); this.Type = type; + this.AllowedTools = allowedTools ?? throw new global::System.ArgumentNullException(nameof(allowedTools)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionDeleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionDeleted.g.cs index 4951b8820..0bdd6cade 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionDeleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionDeleted.g.cs @@ -38,15 +38,15 @@ public sealed partial class ChatCompletionDeleted /// /// Initializes a new instance of the class. /// - /// - /// The type of object being deleted. - /// /// /// The ID of the chat completion that was deleted. /// /// /// Whether the chat completion was deleted. /// + /// + /// The type of object being deleted. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public ChatCompletionDeleted( bool deleted, global::tryAGI.OpenAI.ChatCompletionDeletedObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Deleted = deleted; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionFunctions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionFunctions.g.cs index 1282d0d32..f6c12c93a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionFunctions.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionFunctions.g.cs @@ -41,12 +41,12 @@ public sealed partial class ChatCompletionFunctions /// /// Initializes a new instance of the class. /// - /// - /// A description of what the function does, used by the model to choose when and how to call the function. - /// /// /// The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. /// + /// + /// A description of what the function does, used by the model to choose when and how to call the function. + /// /// /// The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
/// Omitting `parameters` defines a function with an empty parameter list. @@ -59,8 +59,8 @@ public ChatCompletionFunctions( string? description, global::tryAGI.OpenAI.FunctionParameters? parameters) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Parameters = parameters; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionList.g.cs index 44d4d129a..f70aebaf1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionList.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionList.g.cs @@ -54,10 +54,6 @@ public sealed partial class ChatCompletionList /// /// Initializes a new instance of the class. /// - /// - /// The type of this object. It is always set to "list".
- /// Default Value: list - /// /// /// An array of chat completion objects. /// @@ -70,6 +66,10 @@ public sealed partial class ChatCompletionList /// /// Indicates whether there are more Chat Completions available. /// + /// + /// The type of this object. It is always set to "list".
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,11 +80,11 @@ public ChatCompletionList( bool hasMore, global::tryAGI.OpenAI.ChatCompletionListObject @object = global::tryAGI.OpenAI.ChatCompletionListObject.List) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageCustomToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageCustomToolCall.g.cs index 7926c6017..976d2e295 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageCustomToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageCustomToolCall.g.cs @@ -41,12 +41,12 @@ public sealed partial class ChatCompletionMessageCustomToolCall /// /// The ID of the tool call. /// - /// - /// The type of the tool. Always `custom`. - /// /// /// The custom tool that the model called. /// + /// + /// The type of the tool. Always `custom`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public ChatCompletionMessageCustomToolCall( global::tryAGI.OpenAI.ChatCompletionMessageCustomToolCallType type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom)); this.Type = type; + this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageList.g.cs index 8ef1e8eb3..ebafe7e28 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageList.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageList.g.cs @@ -54,10 +54,6 @@ public sealed partial class ChatCompletionMessageList /// /// Initializes a new instance of the class. /// - /// - /// The type of this object. It is always set to "list".
- /// Default Value: list - /// /// /// An array of chat completion message objects. /// @@ -70,6 +66,10 @@ public sealed partial class ChatCompletionMessageList /// /// Indicates whether there are more chat messages available. /// + /// + /// The type of this object. It is always set to "list".
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,11 +80,11 @@ public ChatCompletionMessageList( bool hasMore, global::tryAGI.OpenAI.ChatCompletionMessageListObject @object = global::tryAGI.OpenAI.ChatCompletionMessageListObject.List) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageToolCall.g.cs index 0b7413e1e..ba38c4c17 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageToolCall.g.cs @@ -41,12 +41,12 @@ public sealed partial class ChatCompletionMessageToolCall /// /// The ID of the tool call. /// - /// - /// The type of the tool. Currently, only `function` is supported. - /// /// /// The function that the model called. /// + /// + /// The type of the tool. Currently, only `function` is supported. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public ChatCompletionMessageToolCall( global::tryAGI.OpenAI.ChatCompletionMessageToolCallType type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoice.g.cs index 5d3699f54..7d864340a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoice.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoice.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatCompletionNamedToolChoice /// /// Initializes a new instance of the class. /// + /// /// /// For function calling, the type is always `function`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatCompletionNamedToolChoice( global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceFunction function, global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType type) { - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoiceCustom.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoiceCustom.g.cs index a19202388..7421da9f7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoiceCustom.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoiceCustom.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatCompletionNamedToolChoiceCustom /// /// Initializes a new instance of the class. /// + /// /// /// For custom tool calling, the type is always `custom`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatCompletionNamedToolChoiceCustom( global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomCustom custom, global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomType type) { - this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom)); this.Type = type; + this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestFunctionMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestFunctionMessage.g.cs index 55b715801..82f5d521d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestFunctionMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestFunctionMessage.g.cs @@ -41,13 +41,13 @@ public sealed partial class ChatCompletionRequestFunctionMessage /// /// Initializes a new instance of the class. /// + /// + /// The name of the function to call. + /// /// /// The role of the messages author, in this case `function`. /// /// - /// - /// The name of the function to call. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,9 +56,9 @@ public ChatCompletionRequestFunctionMessage( global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessageRole role, string? content) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Role = role; this.Content = content; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudio.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudio.g.cs index 4d558cc3c..893046941 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudio.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudio.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatCompletionRequestMessageContentPartAudio /// /// Initializes a new instance of the class. /// + /// /// /// The type of the content part. Always `input_audio`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatCompletionRequestMessageContentPartAudio( global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio inputAudio, global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioType type) { - this.InputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio)); this.Type = type; + this.InputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartFile.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartFile.g.cs index 89ac4b578..31be465cc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartFile.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartFile.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatCompletionRequestMessageContentPartFile /// /// Initializes a new instance of the class. /// + /// /// /// The type of the content part. Always `file`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatCompletionRequestMessageContentPartFile( global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFileFile file, global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFileType type) { - this.File = file ?? throw new global::System.ArgumentNullException(nameof(file)); this.Type = type; + this.File = file ?? throw new global::System.ArgumentNullException(nameof(file)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImage.g.cs index ad3b2b50c..4be571717 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImage.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatCompletionRequestMessageContentPartImage /// /// Initializes a new instance of the class. /// + /// /// /// The type of the content part. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatCompletionRequestMessageContentPartImage( global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl imageUrl, global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageType type) { - this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); this.Type = type; + this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartRefusal.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartRefusal.g.cs index dd0edb510..e70c60758 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartRefusal.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartRefusal.g.cs @@ -31,12 +31,12 @@ public sealed partial class ChatCompletionRequestMessageContentPartRefusal /// /// Initializes a new instance of the class. /// - /// - /// The type of the content part. - /// /// /// The refusal message generated by the model. /// + /// + /// The type of the content part. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ChatCompletionRequestMessageContentPartRefusal( string refusal, global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusalType type) { - this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); this.Type = type; + this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartText.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartText.g.cs index 8e72a5c35..01418be98 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartText.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartText.g.cs @@ -31,12 +31,12 @@ public sealed partial class ChatCompletionRequestMessageContentPartText /// /// Initializes a new instance of the class. /// - /// - /// The type of the content part. - /// /// /// The text content. /// + /// + /// The type of the content part. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ChatCompletionRequestMessageContentPartText( string text, global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartTextType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestToolMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestToolMessage.g.cs index cb5ab0b7e..5ecec70a9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestToolMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestToolMessage.g.cs @@ -39,15 +39,15 @@ public sealed partial class ChatCompletionRequestToolMessage /// /// Initializes a new instance of the class. /// - /// - /// The role of the messages author, in this case `tool`. - /// /// /// The contents of the tool message. /// /// /// Tool call that this message is responding to. /// + /// + /// The role of the messages author, in this case `tool`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,9 +56,9 @@ public ChatCompletionRequestToolMessage( string toolCallId, global::tryAGI.OpenAI.ChatCompletionRequestToolMessageRole role) { + this.Role = role; this.Content = content; this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId)); - this.Role = role; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionResponseMessageAnnotation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionResponseMessageAnnotation.g.cs index aee1f6c08..77f1db0e9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionResponseMessageAnnotation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionResponseMessageAnnotation.g.cs @@ -31,12 +31,12 @@ public sealed partial class ChatCompletionResponseMessageAnnotation /// /// Initializes a new instance of the class. /// - /// - /// The type of the URL citation. Always `url_citation`. - /// /// /// A URL citation when using web search. /// + /// + /// The type of the URL citation. Always `url_citation`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ChatCompletionResponseMessageAnnotation( global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotationUrlCitation urlCitation, global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotationType type) { - this.UrlCitation = urlCitation ?? throw new global::System.ArgumentNullException(nameof(urlCitation)); this.Type = type; + this.UrlCitation = urlCitation ?? throw new global::System.ArgumentNullException(nameof(urlCitation)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTokenLogprob.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTokenLogprob.g.cs index 07b5f9d11..8eacb440a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTokenLogprob.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTokenLogprob.g.cs @@ -50,10 +50,10 @@ public sealed partial class ChatCompletionTokenLogprob /// /// The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value `-9999.0` is used to signify that the token is very unlikely. /// - /// /// /// List of the most likely tokens and their log probability, at this token position. In rare cases, there may be fewer than the number of requested `top_logprobs` returned. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -65,8 +65,8 @@ public ChatCompletionTokenLogprob( { this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token)); this.Logprob = logprob; - this.TopLogprobs = topLogprobs ?? throw new global::System.ArgumentNullException(nameof(topLogprobs)); this.Bytes = bytes; + this.TopLogprobs = topLogprobs ?? throw new global::System.ArgumentNullException(nameof(topLogprobs)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTool.g.cs index 2be16192f..9ddcffd5e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTool.g.cs @@ -31,10 +31,10 @@ public sealed partial class ChatCompletionTool /// /// Initializes a new instance of the class. /// + /// /// /// The type of the tool. Currently, only `function` is supported. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public ChatCompletionTool( global::tryAGI.OpenAI.FunctionObject function, global::tryAGI.OpenAI.ChatCompletionToolType type) { - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs index dcbcdc1d9..f1b98b251 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs @@ -95,10 +95,6 @@ public sealed partial class ChatSessionResource /// /// Identifier for the ChatKit session. /// - /// - /// Type discriminator that is always `chatkit.session`.
- /// Default Value: chatkit.session - /// /// /// Unix timestamp (in seconds) for when the session expires. /// @@ -123,6 +119,10 @@ public sealed partial class ChatSessionResource /// /// Resolved ChatKit feature configuration for the session. /// + /// + /// Type discriminator that is always `chatkit.session`.
+ /// Default Value: chatkit.session + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -139,6 +139,7 @@ public ChatSessionResource( global::tryAGI.OpenAI.ChatSessionResourceObject @object = global::tryAGI.OpenAI.ChatSessionResourceObject.ChatkitSession) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.ExpiresAt = expiresAt; this.ClientSecret = clientSecret ?? throw new global::System.ArgumentNullException(nameof(clientSecret)); this.Workflow = workflow ?? throw new global::System.ArgumentNullException(nameof(workflow)); @@ -147,7 +148,6 @@ public ChatSessionResource( this.MaxRequestsPer1Minute = maxRequestsPer1Minute; this.Status = status; this.ChatkitConfiguration = chatkitConfiguration ?? throw new global::System.ArgumentNullException(nameof(chatkitConfiguration)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs index 809402d40..2a9e21d87 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs @@ -46,11 +46,11 @@ public sealed partial class ChatkitWorkflow /// /// Identifier of the workflow backing the session. /// - /// - /// /// /// Tracing settings applied to the workflow. /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -61,9 +61,9 @@ public ChatkitWorkflow( object? stateVariables) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Tracing = tracing ?? throw new global::System.ArgumentNullException(nameof(tracing)); this.Version = version; this.StateVariables = stateVariables; + this.Tracing = tracing ?? throw new global::System.ArgumentNullException(nameof(tracing)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickParam.g.cs index 2dc955e03..5ce8fe614 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickParam.g.cs @@ -54,10 +54,6 @@ public sealed partial class ClickParam /// /// Initializes a new instance of the class. /// - /// - /// Specifies the event type. For a click action, this property is always `click`.
- /// Default Value: click - /// /// /// Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`. /// @@ -68,6 +64,10 @@ public sealed partial class ClickParam /// The y-coordinate where the click occurred. /// /// + /// + /// Specifies the event type. For a click action, this property is always `click`.
+ /// Default Value: click + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,10 +78,10 @@ public ClickParam( global::System.Collections.Generic.IList? keys, global::tryAGI.OpenAI.ClickParamType type = global::tryAGI.OpenAI.ClickParamType.Click) { + this.Type = type; this.Button = button; this.X = x; this.Y = y; - this.Type = type; this.Keys = keys; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs index 09a83709e..becd8f795 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs @@ -95,20 +95,12 @@ public sealed partial class ClientToolCallItem /// /// Identifier of the thread item. /// - /// - /// Type discriminator that is always `chatkit.thread_item`.
- /// Default Value: chatkit.thread_item - /// /// /// Unix timestamp (in seconds) for when the item was created. /// /// /// Identifier of the parent thread. /// - /// - /// Type discriminator that is always `chatkit.client_tool_call`.
- /// Default Value: chatkit.client_tool_call - /// /// /// Execution status for the tool call. /// @@ -122,6 +114,14 @@ public sealed partial class ClientToolCallItem /// JSON-encoded arguments that were sent to the tool. /// /// + /// + /// Type discriminator that is always `chatkit.thread_item`.
+ /// Default Value: chatkit.thread_item + /// + /// + /// Type discriminator that is always `chatkit.client_tool_call`.
+ /// Default Value: chatkit.client_tool_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -138,14 +138,14 @@ public ClientToolCallItem( global::tryAGI.OpenAI.ClientToolCallItemType type = global::tryAGI.OpenAI.ClientToolCallItemType.ChatkitClientToolCall) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); + this.Type = type; this.Status = status; this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Object = @object; - this.Type = type; this.Output = output; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClosedStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClosedStatus.g.cs index 6c758ba22..1bbc26ef7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClosedStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClosedStatus.g.cs @@ -32,11 +32,11 @@ public sealed partial class ClosedStatus /// /// Initializes a new instance of the class. /// + /// /// /// Status discriminator that is always `closed`.
/// Default Value: closed /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterFileOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterFileOutput.g.cs index 44e174a19..5be9bd84f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterFileOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterFileOutput.g.cs @@ -31,10 +31,10 @@ public sealed partial class CodeInterpreterFileOutput /// /// Initializes a new instance of the class. /// + /// /// /// The type of the code interpreter file output. Always `files`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public CodeInterpreterFileOutput( global::System.Collections.Generic.IList files, global::tryAGI.OpenAI.CodeInterpreterFileOutputType type) { - this.Files = files ?? throw new global::System.ArgumentNullException(nameof(files)); this.Type = type; + this.Files = files ?? throw new global::System.ArgumentNullException(nameof(files)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs index b67cd9b96..fe25058e9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs @@ -33,13 +33,13 @@ public sealed partial class CodeInterpreterOutputImage /// /// Initializes a new instance of the class. /// + /// + /// The URL of the image output from the code interpreter. + /// /// /// The type of the output. Always `image`.
/// Default Value: image /// - /// - /// The URL of the image output from the code interpreter. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public CodeInterpreterOutputImage( string url, global::tryAGI.OpenAI.CodeInterpreterOutputImageType type = global::tryAGI.OpenAI.CodeInterpreterOutputImageType.Image) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs index 512c8b3bd..bed8bbb59 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs @@ -33,13 +33,13 @@ public sealed partial class CodeInterpreterOutputLogs /// /// Initializes a new instance of the class. /// + /// + /// The logs output from the code interpreter. + /// /// /// The type of the output. Always `logs`.
/// Default Value: logs /// - /// - /// The logs output from the code interpreter. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public CodeInterpreterOutputLogs( string logs, global::tryAGI.OpenAI.CodeInterpreterOutputLogsType type = global::tryAGI.OpenAI.CodeInterpreterOutputLogsType.Logs) { - this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs)); this.Type = type; + this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTextOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTextOutput.g.cs index 31f2bdf18..8f52ba815 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTextOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTextOutput.g.cs @@ -31,12 +31,12 @@ public sealed partial class CodeInterpreterTextOutput /// /// Initializes a new instance of the class. /// - /// - /// The type of the code interpreter text output. Always `logs`. - /// /// /// The logs of the code interpreter tool call. /// + /// + /// The type of the code interpreter text output. Always `logs`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CodeInterpreterTextOutput( string logs, global::tryAGI.OpenAI.CodeInterpreterTextOutputType type) { - this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs)); this.Type = type; + this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs index 59b736a46..2498aa850 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs @@ -34,14 +34,14 @@ public sealed partial class CodeInterpreterTool /// /// Initializes a new instance of the class. /// - /// - /// The type of the code interpreter tool. Always `code_interpreter`. - /// /// /// The code interpreter container. Can be a container ID or an object that
/// specifies uploaded file IDs to make available to your code, along with an
/// optional `memory_limit` setting. /// + /// + /// The type of the code interpreter tool. Always `code_interpreter`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,8 +49,8 @@ public CodeInterpreterTool( global::tryAGI.OpenAI.OneOf container, global::tryAGI.OpenAI.CodeInterpreterToolType type) { - this.Container = container; this.Type = type; + this.Container = container; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs index 3cc6a2c62..d02fb9d2f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs @@ -60,10 +60,6 @@ public sealed partial class CodeInterpreterToolCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the code interpreter tool call. Always `code_interpreter_call`.
- /// Default Value: code_interpreter_call - /// /// /// The unique ID of the code interpreter tool call. /// @@ -75,6 +71,10 @@ public sealed partial class CodeInterpreterToolCall /// /// /// + /// + /// The type of the code interpreter tool call. Always `code_interpreter_call`.
+ /// Default Value: code_interpreter_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -86,10 +86,10 @@ public CodeInterpreterToolCall( global::System.Collections.Generic.IList? outputs, global::tryAGI.OpenAI.CodeInterpreterToolCallType type = global::tryAGI.OpenAI.CodeInterpreterToolCallType.CodeInterpreterCall) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Status = status; this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId)); - this.Type = type; this.Code = code; this.Outputs = outputs; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs index 7413f0871..68fb6a902 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs @@ -58,10 +58,6 @@ public sealed partial class CompactResource /// /// The unique identifier for the compacted response. /// - /// - /// The object type. Always `response.compaction`.
- /// Default Value: response.compaction - /// /// /// The compacted list of output items. /// @@ -71,6 +67,10 @@ public sealed partial class CompactResource /// /// Token accounting for the compaction pass, including cached, reasoning, and total tokens. /// + /// + /// The object type. Always `response.compaction`.
+ /// Default Value: response.compaction + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,10 +82,10 @@ public CompactResource( global::tryAGI.OpenAI.CompactResourceObject @object = global::tryAGI.OpenAI.CompactResourceObject.ResponseCompaction) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.CreatedAt = createdAt; this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionBody.g.cs index ba2762846..32d75297f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionBody.g.cs @@ -46,10 +46,6 @@ public sealed partial class CompactionBody /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `compaction`.
- /// Default Value: compaction - /// /// /// The unique ID of the compaction item. /// @@ -59,6 +55,10 @@ public sealed partial class CompactionBody /// /// The identifier of the actor that created the item. /// + /// + /// The type of the item. Always `compaction`.
+ /// Default Value: compaction + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -68,9 +68,9 @@ public CompactionBody( string? createdBy, global::tryAGI.OpenAI.CompactionBodyType type = global::tryAGI.OpenAI.CompactionBodyType.Compaction) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.EncryptedContent = encryptedContent ?? throw new global::System.ArgumentNullException(nameof(encryptedContent)); - this.Type = type; this.CreatedBy = createdBy; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionSummaryItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionSummaryItemParam.g.cs index 18ef31511..168bd8c89 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionSummaryItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionSummaryItemParam.g.cs @@ -39,14 +39,14 @@ public sealed partial class CompactionSummaryItemParam /// /// Initializes a new instance of the class. /// + /// + /// The encrypted content of the compaction summary. + /// /// /// /// The type of the item. Always `compaction`.
/// Default Value: compaction /// - /// - /// The encrypted content of the compaction summary. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public CompactionSummaryItemParam( string? id, global::tryAGI.OpenAI.CompactionSummaryItemParamType type = global::tryAGI.OpenAI.CompactionSummaryItemParamType.Compaction) { - this.EncryptedContent = encryptedContent ?? throw new global::System.ArgumentNullException(nameof(encryptedContent)); this.Id = id; this.Type = type; + this.EncryptedContent = encryptedContent ?? throw new global::System.ArgumentNullException(nameof(encryptedContent)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerCallOutputItemParam.g.cs index 41778edd1..8ebc4a702 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerCallOutputItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerCallOutputItemParam.g.cs @@ -58,19 +58,19 @@ public sealed partial class ComputerCallOutputItemParam /// /// Initializes a new instance of the class. /// - /// /// /// The ID of the computer tool call that produced the output. /// - /// - /// The type of the computer tool call output. Always `computer_call_output`.
- /// Default Value: computer_call_output - /// /// /// A computer screenshot image used with the computer use tool. /// + /// /// /// + /// + /// The type of the computer tool call output. Always `computer_call_output`.
+ /// Default Value: computer_call_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,10 +82,10 @@ public ComputerCallOutputItemParam( global::tryAGI.OpenAI.FunctionCallItemStatus? status, global::tryAGI.OpenAI.ComputerCallOutputItemParamType type = global::tryAGI.OpenAI.ComputerCallOutputItemParamType.ComputerCallOutput) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Type = type; + this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.AcknowledgedSafetyChecks = acknowledgedSafetyChecks; this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotContent.g.cs index 2e68ab2e3..acf405854 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotContent.g.cs @@ -46,14 +46,14 @@ public sealed partial class ComputerScreenshotContent /// /// Initializes a new instance of the class. /// - /// - /// Specifies the event type. For a computer screenshot, this property is always set to `computer_screenshot`.
- /// Default Value: computer_screenshot + /// + /// The detail level of the screenshot image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`. /// /// /// - /// - /// The detail level of the screenshot image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`. + /// + /// Specifies the event type. For a computer screenshot, this property is always set to `computer_screenshot`.
+ /// Default Value: computer_screenshot /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -64,10 +64,10 @@ public ComputerScreenshotContent( string? fileId, global::tryAGI.OpenAI.ComputerScreenshotContentType type = global::tryAGI.OpenAI.ComputerScreenshotContentType.ComputerScreenshot) { - this.Detail = detail; this.Type = type; this.ImageUrl = imageUrl; this.FileId = fileId; + this.Detail = detail; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotImage.g.cs index cf7c2d814..18454be40 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotImage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotImage.g.cs @@ -39,17 +39,17 @@ public sealed partial class ComputerScreenshotImage /// /// Initializes a new instance of the class. /// - /// - /// Specifies the event type. For a computer screenshot, this property is
- /// always set to `computer_screenshot`.
- /// Default Value: computer_screenshot - /// /// /// The URL of the screenshot image. /// /// /// The identifier of an uploaded file that contains the screenshot. /// + /// + /// Specifies the event type. For a computer screenshot, this property is
+ /// always set to `computer_screenshot`.
+ /// Default Value: computer_screenshot + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCall.g.cs index 4635245fc..920589c20 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCall.g.cs @@ -71,21 +71,12 @@ public sealed partial class ComputerToolCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the computer call. Always `computer_call`.
- /// Default Value: computer_call - /// /// /// The unique ID of the computer call. /// /// /// An identifier used when responding to the tool call with output. /// - /// - /// - /// Flattened batched actions for `computer_use`. Each action includes an
- /// `type` discriminator and action-specific fields. - /// /// /// The pending safety checks for the computer call. /// @@ -93,6 +84,15 @@ public sealed partial class ComputerToolCall /// The status of the item. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when items are returned via API. /// + /// + /// + /// Flattened batched actions for `computer_use`. Each action includes an
+ /// `type` discriminator and action-specific fields. + /// + /// + /// The type of the computer call. Always `computer_call`.
+ /// Default Value: computer_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -105,13 +105,13 @@ public ComputerToolCall( global::System.Collections.Generic.IList? actions, global::tryAGI.OpenAI.ComputerToolCallType type = global::tryAGI.OpenAI.ComputerToolCallType.ComputerCall) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.PendingSafetyChecks = pendingSafetyChecks ?? throw new global::System.ArgumentNullException(nameof(pendingSafetyChecks)); - this.Status = status; - this.Type = type; this.Action = action; this.Actions = actions; + this.PendingSafetyChecks = pendingSafetyChecks ?? throw new global::System.ArgumentNullException(nameof(pendingSafetyChecks)); + this.Status = status; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutput.g.cs index ea5d32ad7..31fedfcdf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutput.g.cs @@ -61,27 +61,27 @@ public sealed partial class ComputerToolCallOutput /// /// Initializes a new instance of the class. /// - /// - /// The type of the computer tool call output. Always `computer_call_output`.
- /// Default Value: computer_call_output + /// + /// The ID of the computer tool call that produced the output. + /// + /// + /// A computer screenshot image used with the computer use tool. /// /// /// The ID of the computer tool call output. /// - /// - /// The ID of the computer tool call that produced the output. - /// /// /// The safety checks reported by the API that have been acknowledged by the
/// developer. /// - /// - /// A computer screenshot image used with the computer use tool. - /// /// /// The status of the message input. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when input items are returned via API. /// + /// + /// The type of the computer tool call output. Always `computer_call_output`.
+ /// Default Value: computer_call_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -93,11 +93,11 @@ public ComputerToolCallOutput( global::tryAGI.OpenAI.ComputerToolCallOutputStatus? status, global::tryAGI.OpenAI.ComputerToolCallOutputType type = global::tryAGI.OpenAI.ComputerToolCallOutputType.ComputerCallOutput) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.Type = type; this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.AcknowledgedSafetyChecks = acknowledgedSafetyChecks; + this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerUsePreviewTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerUsePreviewTool.g.cs index 38559f164..ef0713884 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerUsePreviewTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerUsePreviewTool.g.cs @@ -48,10 +48,6 @@ public sealed partial class ComputerUsePreviewTool /// /// Initializes a new instance of the class. /// - /// - /// The type of the computer use tool. Always `computer_use_preview`.
- /// Default Value: computer_use_preview - /// /// /// The type of computer environment to control. /// @@ -61,6 +57,10 @@ public sealed partial class ComputerUsePreviewTool /// /// The height of the computer display. /// + /// + /// The type of the computer use tool. Always `computer_use_preview`.
+ /// Default Value: computer_use_preview + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -70,10 +70,10 @@ public ComputerUsePreviewTool( int displayHeight, global::tryAGI.OpenAI.ComputerUsePreviewToolType type = global::tryAGI.OpenAI.ComputerUsePreviewToolType.ComputerUsePreview) { + this.Type = type; this.Environment = environment; this.DisplayWidth = displayWidth; this.DisplayHeight = displayHeight; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerAutoParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerAutoParam.g.cs index d50e6be3e..affd75ed2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerAutoParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerAutoParam.g.cs @@ -51,10 +51,6 @@ public sealed partial class ContainerAutoParam /// /// Initializes a new instance of the class. /// - /// - /// Automatically creates a container for this request
- /// Default Value: container_auto - /// /// /// An optional list of uploaded files to make available to your code. /// @@ -65,6 +61,10 @@ public sealed partial class ContainerAutoParam /// /// An optional list of skills referenced by id or inline data. /// + /// + /// Automatically creates a container for this request
+ /// Default Value: container_auto + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs index 5b64e8abd..dd17b456d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs @@ -61,10 +61,6 @@ public sealed partial class ContainerFileCitationBody /// /// Initializes a new instance of the class. /// - /// - /// The type of the container file citation. Always `container_file_citation`.
- /// Default Value: container_file_citation - /// /// /// The ID of the container file. /// @@ -80,6 +76,10 @@ public sealed partial class ContainerFileCitationBody /// /// The filename of the container file cited. /// + /// + /// The type of the container file citation. Always `container_file_citation`.
+ /// Default Value: container_file_citation + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -91,12 +91,12 @@ public ContainerFileCitationBody( string filename, global::tryAGI.OpenAI.ContainerFileCitationBodyType type = global::tryAGI.OpenAI.ContainerFileCitationBodyType.ContainerFileCitation) { + this.Type = type; this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId)); this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.StartIndex = startIndex; this.EndIndex = endIndex; this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileListResource.g.cs index f1aa73cb2..3d018aa74 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileListResource.g.cs @@ -52,9 +52,6 @@ public sealed partial class ContainerFileListResource /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be 'list'. - /// /// /// A list of container files. /// @@ -67,6 +64,9 @@ public sealed partial class ContainerFileListResource /// /// Whether there are more files available. /// + /// + /// The type of object returned, must be 'list'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ContainerFileListResource( bool hasMore, global::tryAGI.OpenAI.ContainerFileListResourceObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerListResource.g.cs index 5bc6ad358..18bc7609a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerListResource.g.cs @@ -52,9 +52,6 @@ public sealed partial class ContainerListResource /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be 'list'. - /// /// /// A list of containers. /// @@ -67,6 +64,9 @@ public sealed partial class ContainerListResource /// /// Whether there are more containers available. /// + /// + /// The type of object returned, must be 'list'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ContainerListResource( bool hasMore, global::tryAGI.OpenAI.ContainerListResourceObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerNetworkPolicyAllowlistParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerNetworkPolicyAllowlistParam.g.cs index 061a46ca6..ee5c1c863 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerNetworkPolicyAllowlistParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerNetworkPolicyAllowlistParam.g.cs @@ -39,16 +39,16 @@ public sealed partial class ContainerNetworkPolicyAllowlistParam /// /// Initializes a new instance of the class. /// - /// - /// Allow outbound network access only to specified domains. Always `allowlist`.
- /// Default Value: allowlist - /// /// /// A list of allowed domains when type is `allowlist`. /// /// /// Optional domain-scoped secrets for allowlisted domains. /// + /// + /// Allow outbound network access only to specified domains. Always `allowlist`.
+ /// Default Value: allowlist + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,8 +57,8 @@ public ContainerNetworkPolicyAllowlistParam( global::System.Collections.Generic.IList? domainSecrets, global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType type = global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType.Allowlist) { - this.AllowedDomains = allowedDomains ?? throw new global::System.ArgumentNullException(nameof(allowedDomains)); this.Type = type; + this.AllowedDomains = allowedDomains ?? throw new global::System.ArgumentNullException(nameof(allowedDomains)); this.DomainSecrets = domainSecrets; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceParam.g.cs index c32ae4059..86d0ad5cd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceParam.g.cs @@ -35,14 +35,14 @@ public sealed partial class ContainerReferenceParam /// /// Initializes a new instance of the class. /// - /// - /// References a container created with the /v1/containers endpoint
- /// Default Value: container_reference - /// /// /// The ID of the referenced container.
/// Example: cntr_123 /// + /// + /// References a container created with the /v1/containers endpoint
+ /// Default Value: container_reference + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,8 +50,8 @@ public ContainerReferenceParam( string containerId, global::tryAGI.OpenAI.ContainerReferenceParamType type = global::tryAGI.OpenAI.ContainerReferenceParamType.ContainerReference) { - this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId)); this.Type = type; + this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceResource.g.cs index ae711226a..9f26293c9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceResource.g.cs @@ -33,11 +33,11 @@ public sealed partial class ContainerReferenceResource /// /// Initializes a new instance of the class. /// + /// /// /// The environment type. Always `container_reference`.
/// Default Value: container_reference /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -45,8 +45,8 @@ public ContainerReferenceResource( string containerId, global::tryAGI.OpenAI.ContainerReferenceResourceType type = global::tryAGI.OpenAI.ContainerReferenceResourceType.ContainerReference) { - this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId)); this.Type = type; + this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationItemList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationItemList.g.cs index e6c78a5e6..276ba13d5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationItemList.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationItemList.g.cs @@ -52,9 +52,6 @@ public sealed partial class ConversationItemList /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be `list`. - /// /// /// A list of conversation items. /// @@ -67,6 +64,9 @@ public sealed partial class ConversationItemList /// /// The ID of the last item in the list. /// + /// + /// The type of object returned, must be `list`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ConversationItemList( string lastId, global::tryAGI.OpenAI.ConversationItemListObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs index 32480d458..ba308c621 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs @@ -51,10 +51,6 @@ public sealed partial class ConversationResource /// /// The unique ID of the conversation. /// - /// - /// The object type, which is always `conversation`.
- /// Default Value: conversation - /// /// /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
/// Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters. @@ -62,6 +58,10 @@ public sealed partial class ConversationResource /// /// The time at which the conversation was created, measured in seconds since the Unix epoch. /// + /// + /// The object type, which is always `conversation`.
+ /// Default Value: conversation + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -72,9 +72,9 @@ public ConversationResource( global::tryAGI.OpenAI.ConversationResourceObject @object = global::tryAGI.OpenAI.ConversationResourceObject.Conversation) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.Metadata = metadata ?? throw new global::System.ArgumentNullException(nameof(metadata)); this.CreatedAt = createdAt; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs index 735119c47..6bdbbb72e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs @@ -31,10 +31,10 @@ public sealed partial class CreateAssistantRequestToolResourcesFileSearchVectorS /// /// Initializes a new instance of the class. /// + /// /// /// Always `static`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyS global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyStatic @static, global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyType type) { - this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static)); this.Type = type; + this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestEndpoint.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestEndpoint.g.cs index e13556f51..f540dba9b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestEndpoint.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestEndpoint.g.cs @@ -11,35 +11,35 @@ public enum CreateBatchRequestEndpoint /// /// /// - V1ChatCompletions, + Dividev1DividechatDividecompletions, /// /// /// - V1Completions, + Dividev1Dividecompletions, /// /// /// - V1Embeddings, + Dividev1Divideembeddings, /// /// /// - V1ImagesEdits, + Dividev1DivideimagesDivideedits, /// /// /// - V1ImagesGenerations, + Dividev1DivideimagesDividegenerations, /// /// /// - V1Moderations, + Dividev1Dividemoderations, /// /// /// - V1Responses, + Dividev1Divideresponses, /// /// /// - V1Videos, + Dividev1Dividevideos, } /// @@ -54,14 +54,14 @@ public static string ToValueString(this CreateBatchRequestEndpoint value) { return value switch { - CreateBatchRequestEndpoint.V1ChatCompletions => "/v1/chat/completions", - CreateBatchRequestEndpoint.V1Completions => "/v1/completions", - CreateBatchRequestEndpoint.V1Embeddings => "/v1/embeddings", - CreateBatchRequestEndpoint.V1ImagesEdits => "/v1/images/edits", - CreateBatchRequestEndpoint.V1ImagesGenerations => "/v1/images/generations", - CreateBatchRequestEndpoint.V1Moderations => "/v1/moderations", - CreateBatchRequestEndpoint.V1Responses => "/v1/responses", - CreateBatchRequestEndpoint.V1Videos => "/v1/videos", + CreateBatchRequestEndpoint.Dividev1DividechatDividecompletions => "/v1/chat/completions", + CreateBatchRequestEndpoint.Dividev1Dividecompletions => "/v1/completions", + CreateBatchRequestEndpoint.Dividev1Divideembeddings => "/v1/embeddings", + CreateBatchRequestEndpoint.Dividev1DivideimagesDivideedits => "/v1/images/edits", + CreateBatchRequestEndpoint.Dividev1DivideimagesDividegenerations => "/v1/images/generations", + CreateBatchRequestEndpoint.Dividev1Dividemoderations => "/v1/moderations", + CreateBatchRequestEndpoint.Dividev1Divideresponses => "/v1/responses", + CreateBatchRequestEndpoint.Dividev1Dividevideos => "/v1/videos", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -72,14 +72,14 @@ public static string ToValueString(this CreateBatchRequestEndpoint value) { return value switch { - "/v1/chat/completions" => CreateBatchRequestEndpoint.V1ChatCompletions, - "/v1/completions" => CreateBatchRequestEndpoint.V1Completions, - "/v1/embeddings" => CreateBatchRequestEndpoint.V1Embeddings, - "/v1/images/edits" => CreateBatchRequestEndpoint.V1ImagesEdits, - "/v1/images/generations" => CreateBatchRequestEndpoint.V1ImagesGenerations, - "/v1/moderations" => CreateBatchRequestEndpoint.V1Moderations, - "/v1/responses" => CreateBatchRequestEndpoint.V1Responses, - "/v1/videos" => CreateBatchRequestEndpoint.V1Videos, + "/v1/chat/completions" => CreateBatchRequestEndpoint.Dividev1DividechatDividecompletions, + "/v1/completions" => CreateBatchRequestEndpoint.Dividev1Dividecompletions, + "/v1/embeddings" => CreateBatchRequestEndpoint.Dividev1Divideembeddings, + "/v1/images/edits" => CreateBatchRequestEndpoint.Dividev1DivideimagesDivideedits, + "/v1/images/generations" => CreateBatchRequestEndpoint.Dividev1DivideimagesDividegenerations, + "/v1/moderations" => CreateBatchRequestEndpoint.Dividev1Dividemoderations, + "/v1/responses" => CreateBatchRequestEndpoint.Dividev1Divideresponses, + "/v1/videos" => CreateBatchRequestEndpoint.Dividev1Dividevideos, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation.g.cs index 799f00bbc..5587c0a8e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation.g.cs @@ -31,12 +31,12 @@ public sealed partial class CreateChatCompletionRequestVariant2WebSearchOptionsU /// /// Initializes a new instance of the class. /// - /// - /// The type of location approximation. Always `approximate`. - /// /// /// Approximate location parameters for the search. /// + /// + /// The type of location approximation. Always `approximate`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation( global::tryAGI.OpenAI.WebSearchLocation approximate, global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocationType type) { - this.Approximate = approximate ?? throw new global::System.ArgumentNullException(nameof(approximate)); this.Type = type; + this.Approximate = approximate ?? throw new global::System.ArgumentNullException(nameof(approximate)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs index 3e97ff2a2..44665b075 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs @@ -50,6 +50,9 @@ public sealed partial class CreateChatCompletionStreamResponseChoice /// /// A chat completion delta generated by streamed model responses. /// + /// + /// The index of the choice in the list of choices. + /// /// /// Log probability information for the choice. /// @@ -59,9 +62,6 @@ public sealed partial class CreateChatCompletionStreamResponseChoice /// `content_filter` if content was omitted due to a flag from our content filters,
/// `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function. /// - /// - /// The index of the choice in the list of choices. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -72,9 +72,9 @@ public CreateChatCompletionStreamResponseChoice( global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? finishReason) { this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Index = index; this.Logprobs = logprobs; this.FinishReason = finishReason; + this.Index = index; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoice.g.cs index 3ca518d47..123bfb3bd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoice.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoice.g.cs @@ -53,8 +53,8 @@ public sealed partial class CreateCompletionResponseChoice /// or `content_filter` if content was omitted due to a flag from our content filters. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,8 +66,8 @@ public CreateCompletionResponseChoice( { this.FinishReason = finishReason; this.Index = index; - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Logprobs = logprobs; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyExpiresAfter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyExpiresAfter.g.cs index b252e989d..d6de7f85f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyExpiresAfter.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyExpiresAfter.g.cs @@ -31,10 +31,10 @@ public sealed partial class CreateContainerBodyExpiresAfter /// /// Initializes a new instance of the class. /// + /// /// /// Time anchor for the expiration time. Currently only 'last_active_at' is supported. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public CreateContainerBodyExpiresAfter( int minutes, global::tryAGI.OpenAI.CreateContainerBodyExpiresAfterAnchor anchor) { - this.Minutes = minutes; this.Anchor = anchor; + this.Minutes = minutes; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingResponse.g.cs index c2a0608bf..7a494a4b0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingResponse.g.cs @@ -51,12 +51,12 @@ public sealed partial class CreateEmbeddingResponse /// /// The name of the model used to generate the embedding. /// - /// - /// The object type, which is always "list". - /// /// /// The usage information for the request. /// + /// + /// The object type, which is always "list". + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -68,8 +68,8 @@ public CreateEmbeddingResponse( { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); this.Object = @object; + this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSource.g.cs index 714b16fa5..43afdbd4c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSource.g.cs @@ -53,9 +53,8 @@ public sealed partial class CreateEvalCompletionsRunDataSource /// /// Initializes a new instance of the class. /// - /// - /// The type of run data source. Always `completions`.
- /// Default Value: completions + /// + /// Determines what populates the `item` namespace in this run's data source. /// /// /// Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, `item.input_trajectory`), or a template with variable references to the `item` namespace. @@ -64,8 +63,9 @@ public sealed partial class CreateEvalCompletionsRunDataSource /// /// The name of the model to use for generating completions (e.g. "o3-mini"). /// - /// - /// Determines what populates the `item` namespace in this run's data source. + /// + /// The type of run data source. Always `completions`.
+ /// Default Value: completions /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -77,11 +77,11 @@ public CreateEvalCompletionsRunDataSource( string? model, global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType type = global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType.Completions) { - this.Source = source; this.Type = type; this.InputMessages = inputMessages; this.SamplingParams = samplingParams; this.Model = model; + this.Source = source; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages.g.cs index 31f63f9f3..3102443da 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages.g.cs @@ -31,12 +31,12 @@ public sealed partial class CreateEvalCompletionsRunDataSourceInputMessagesItemR /// /// Initializes a new instance of the class. /// - /// - /// The type of input messages. Always `item_reference`. - /// /// /// A reference to a variable in the `item` namespace. Ie, "item.input_trajectory" /// + /// + /// The type of input messages. Always `item_reference`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages string itemReference, global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessagesType type) { - this.ItemReference = itemReference ?? throw new global::System.ArgumentNullException(nameof(itemReference)); this.Type = type; + this.ItemReference = itemReference ?? throw new global::System.ArgumentNullException(nameof(itemReference)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages.g.cs index d4ef0a73d..fef0268d4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages.g.cs @@ -31,12 +31,12 @@ public sealed partial class CreateEvalCompletionsRunDataSourceInputMessagesTempl /// /// Initializes a new instance of the class. /// - /// - /// The type of input messages. Always `template`. - /// /// /// A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}. /// + /// + /// The type of input messages. Always `template`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages( global::System.Collections.Generic.IList> template, global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessagesType type) { - this.Template = template ?? throw new global::System.ArgumentNullException(nameof(template)); this.Type = type; + this.Template = template ?? throw new global::System.ArgumentNullException(nameof(template)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCustomDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCustomDataSourceConfig.g.cs index 734b4490e..4a85a82a2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCustomDataSourceConfig.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCustomDataSourceConfig.g.cs @@ -61,10 +61,6 @@ public sealed partial class CreateEvalCustomDataSourceConfig /// /// Initializes a new instance of the class. /// - /// - /// The type of data source. Always `custom`.
- /// Default Value: custom - /// /// /// The json schema for each row in the data source.
/// Example: {
@@ -80,6 +76,10 @@ public sealed partial class CreateEvalCustomDataSourceConfig /// Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)
/// Default Value: false /// + /// + /// The type of data source. Always `custom`.
+ /// Default Value: custom + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,8 +88,8 @@ public CreateEvalCustomDataSourceConfig( bool? includeSampleSchema, global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfigType type = global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfigType.Custom) { - this.ItemSchema = itemSchema ?? throw new global::System.ArgumentNullException(nameof(itemSchema)); this.Type = type; + this.ItemSchema = itemSchema ?? throw new global::System.ArgumentNullException(nameof(itemSchema)); this.IncludeSampleSchema = includeSampleSchema; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalJsonlRunDataSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalJsonlRunDataSource.g.cs index d977294ea..7fd46e6e0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalJsonlRunDataSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalJsonlRunDataSource.g.cs @@ -34,13 +34,13 @@ public sealed partial class CreateEvalJsonlRunDataSource /// /// Initializes a new instance of the class. /// + /// + /// Determines what populates the `item` namespace in the data source. + /// /// /// The type of data source. Always `jsonl`.
/// Default Value: jsonl /// - /// - /// Determines what populates the `item` namespace in the data source. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -48,8 +48,8 @@ public CreateEvalJsonlRunDataSource( global::tryAGI.OpenAI.OneOf source, global::tryAGI.OpenAI.CreateEvalJsonlRunDataSourceType type = global::tryAGI.OpenAI.CreateEvalJsonlRunDataSourceType.Jsonl) { - this.Source = source; this.Type = type; + this.Source = source; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLabelModelGrader.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLabelModelGrader.g.cs index 2b9db69e8..5d5786afa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLabelModelGrader.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLabelModelGrader.g.cs @@ -60,9 +60,6 @@ public sealed partial class CreateEvalLabelModelGrader /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `label_model`. - /// /// /// The name of the grader. /// @@ -78,6 +75,9 @@ public sealed partial class CreateEvalLabelModelGrader /// /// The labels that indicate a passing result. Must be a subset of labels. /// + /// + /// The object type, which is always `label_model`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -89,12 +89,12 @@ public CreateEvalLabelModelGrader( global::System.Collections.Generic.IList passingLabels, global::tryAGI.OpenAI.CreateEvalLabelModelGraderType type) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); this.Labels = labels ?? throw new global::System.ArgumentNullException(nameof(labels)); this.PassingLabels = passingLabels ?? throw new global::System.ArgumentNullException(nameof(passingLabels)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLogsDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLogsDataSourceConfig.g.cs index 4db54127d..4f045062c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLogsDataSourceConfig.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLogsDataSourceConfig.g.cs @@ -41,16 +41,16 @@ public sealed partial class CreateEvalLogsDataSourceConfig /// /// Initializes a new instance of the class. /// - /// - /// The type of data source. Always `logs`.
- /// Default Value: logs - /// /// /// Metadata filters for the logs data source.
/// Example: {
/// "use_case": "customer_support_agent"
/// } /// + /// + /// The type of data source. Always `logs`.
+ /// Default Value: logs + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRequest.g.cs index 5186dbdc3..8265cce66 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRequest.g.cs @@ -46,16 +46,16 @@ public sealed partial class CreateEvalRequest /// /// Initializes a new instance of the class. /// - /// - /// The name of the evaluation. - /// - /// /// /// The configuration for the data source used for the evaluation runs. Dictates the schema of the data used in the evaluation. /// /// /// A list of graders for all eval runs in this group. Graders can reference variables in the data source using double curly braces notation, like `{{item.variable_name}}`. To reference the model's output, use the `sample` namespace (ie, `{{sample.output_text}}`). /// + /// + /// The name of the evaluation. + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -65,10 +65,10 @@ public CreateEvalRequest( string? name, global::System.Collections.Generic.Dictionary? metadata) { - this.DataSourceConfig = dataSourceConfig; - this.TestingCriteria = testingCriteria ?? throw new global::System.ArgumentNullException(nameof(testingCriteria)); this.Name = name; this.Metadata = metadata; + this.DataSourceConfig = dataSourceConfig; + this.TestingCriteria = testingCriteria ?? throw new global::System.ArgumentNullException(nameof(testingCriteria)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSource.g.cs index 413a41420..5bfd2285e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSource.g.cs @@ -53,9 +53,8 @@ public sealed partial class CreateEvalResponsesRunDataSource /// /// Initializes a new instance of the class. /// - /// - /// The type of run data source. Always `responses`.
- /// Default Value: responses + /// + /// Determines what populates the `item` namespace in this run's data source. /// /// /// Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, `item.input_trajectory`), or a template with variable references to the `item` namespace. @@ -64,8 +63,9 @@ public sealed partial class CreateEvalResponsesRunDataSource /// /// The name of the model to use for generating completions (e.g. "o3-mini"). /// - /// - /// Determines what populates the `item` namespace in this run's data source. + /// + /// The type of run data source. Always `responses`.
+ /// Default Value: responses /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -77,11 +77,11 @@ public CreateEvalResponsesRunDataSource( string? model, global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceType type = global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceType.Responses) { - this.Source = source; this.Type = type; this.InputMessages = inputMessages; this.SamplingParams = samplingParams; this.Model = model; + this.Source = source; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference.g.cs index ddede47bc..602862142 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference.g.cs @@ -31,12 +31,12 @@ public sealed partial class CreateEvalResponsesRunDataSourceInputMessagesInputMe /// /// Initializes a new instance of the class. /// - /// - /// The type of input messages. Always `item_reference`. - /// /// /// A reference to a variable in the `item` namespace. Ie, "item.name" /// + /// + /// The type of input messages. Always `item_reference`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference( string itemReference, global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReferenceType type) { - this.ItemReference = itemReference ?? throw new global::System.ArgumentNullException(nameof(itemReference)); this.Type = type; + this.ItemReference = itemReference ?? throw new global::System.ArgumentNullException(nameof(itemReference)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate.g.cs index 041f6ee2b..f2a1af82a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate.g.cs @@ -31,12 +31,12 @@ public sealed partial class CreateEvalResponsesRunDataSourceInputMessagesInputMe /// /// Initializes a new instance of the class. /// - /// - /// The type of input messages. Always `template`. - /// /// /// A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}. /// + /// + /// The type of input messages. Always `template`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate( global::System.Collections.Generic.IList> template, global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplateType type) { - this.Template = template ?? throw new global::System.ArgumentNullException(nameof(template)); this.Type = type; + this.Template = template ?? throw new global::System.ArgumentNullException(nameof(template)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRunRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRunRequest.g.cs index 7be50e3e4..be1c18e4a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRunRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRunRequest.g.cs @@ -37,13 +37,13 @@ public sealed partial class CreateEvalRunRequest /// /// Initializes a new instance of the class. /// + /// + /// Details about the run's data source. + /// /// /// The name of the run. /// /// - /// - /// Details about the run's data source. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,9 +52,9 @@ public CreateEvalRunRequest( string? name, global::System.Collections.Generic.Dictionary? metadata) { - this.DataSource = dataSource; this.Name = name; this.Metadata = metadata; + this.DataSource = dataSource; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalStoredCompletionsDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalStoredCompletionsDataSourceConfig.g.cs index 47748332e..279699a2a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalStoredCompletionsDataSourceConfig.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalStoredCompletionsDataSourceConfig.g.cs @@ -43,16 +43,16 @@ public sealed partial class CreateEvalStoredCompletionsDataSourceConfig /// /// Initializes a new instance of the class. /// - /// - /// The type of data source. Always `stored_completions`.
- /// Default Value: stored_completions - /// /// /// Metadata filters for the stored completions data source.
/// Example: {
/// "use_case": "customer_support_agent"
/// } /// + /// + /// The type of data source. Always `stored_completions`.
+ /// Default Value: stored_completions + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFineTuningJobRequestIntegration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFineTuningJobRequestIntegration.g.cs index aff99a549..bbea5f2ac 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFineTuningJobRequestIntegration.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFineTuningJobRequestIntegration.g.cs @@ -33,14 +33,14 @@ public sealed partial class CreateFineTuningJobRequestIntegration /// /// Initializes a new instance of the class. /// - /// - /// The type of integration to enable. Currently, only "wandb" (Weights and Biases) is supported. - /// /// /// The settings for your integration with Weights and Biases. This payload specifies the project that
/// metrics will be sent to. Optionally, you can set an explicit display name for your run, add tags
/// to your run, and set a default entity (team, username, etc) to be associated with your run. /// + /// + /// The type of integration to enable. Currently, only "wandb" (Weights and Biases) is supported. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -48,8 +48,8 @@ public CreateFineTuningJobRequestIntegration( global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationWandb wandb, global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationType type) { - this.Wandb = wandb ?? throw new global::System.ArgumentNullException(nameof(wandb)); this.Type = type; + this.Wandb = wandb ?? throw new global::System.ArgumentNullException(nameof(wandb)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant1.g.cs index 95dd00257..4afddc450 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant1.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant1.g.cs @@ -31,12 +31,12 @@ public sealed partial class CreateModerationRequestInputVariant3ItemVariant1 /// /// Initializes a new instance of the class. /// - /// - /// Always `image_url`. - /// /// /// Contains either an image URL or a data URL for a base64 encoded image. /// + /// + /// Always `image_url`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CreateModerationRequestInputVariant3ItemVariant1( global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl imageUrl, global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type type) { - this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); this.Type = type; + this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant2.g.cs index 77676ab57..ed4e29912 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant2.g.cs @@ -33,13 +33,13 @@ public sealed partial class CreateModerationRequestInputVariant3ItemVariant2 /// /// Initializes a new instance of the class. /// - /// - /// Always `text`. - /// /// /// A string of text to classify.
/// Example: I want to kill them /// + /// + /// Always `text`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public CreateModerationRequestInputVariant3ItemVariant2( string text, global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategories.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategories.g.cs index 09f718400..f18653840 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategories.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategories.g.cs @@ -118,8 +118,6 @@ public sealed partial class CreateModerationResponseResultCategories /// /// Harassment content that also includes violence or serious harm towards any target. /// - /// - /// /// /// Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders. /// @@ -141,6 +139,8 @@ public sealed partial class CreateModerationResponseResultCategories /// /// Content that depicts death, violence, or physical injury in graphic detail. /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -163,6 +163,8 @@ public CreateModerationResponseResultCategories( this.HateThreatening = hateThreatening; this.Harassment = harassment; this.HarassmentThreatening = harassmentThreatening; + this.Illicit = illicit; + this.IllicitViolent = illicitViolent; this.SelfHarm = selfHarm; this.SelfHarmIntent = selfHarmIntent; this.SelfHarmInstructions = selfHarmInstructions; @@ -170,8 +172,6 @@ public CreateModerationResponseResultCategories( this.SexualMinors = sexualMinors; this.Violence = violence; this.ViolenceGraphic = violenceGraphic; - this.Illicit = illicit; - this.IllicitViolent = illicitViolent; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs index 1d9a1429f..c9071e17c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs @@ -75,12 +75,12 @@ public sealed partial class CreateSpeechRequest /// /// The text to generate audio for. The maximum length is 4096 characters. /// - /// - /// Control the voice of your generated audio with additional instructions. Does not work with `tts-1` or `tts-1-hd`. - /// /// /// The voice to use when generating the audio. Supported built-in voices are `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, `verse`, `marin`, and `cedar`. You may also provide a custom voice object with an `id`, for example `{ "id": "voice_1234" }`. Previews of the voices are available in the [Text to speech guide](/docs/guides/text-to-speech#voice-options). /// + /// + /// Control the voice of your generated audio with additional instructions. Does not work with `tts-1` or `tts-1-hd`. + /// /// /// The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, `wav`, and `pcm`.
/// Default Value: mp3 @@ -107,8 +107,8 @@ public CreateSpeechRequest( { this.Model = model; this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); - this.Voice = voice; this.Instructions = instructions; + this.Voice = voice; this.ResponseFormat = responseFormat; this.Speed = speed; this.StreamFormat = streamFormat; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs index c1da3054e..963fcaf6c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs @@ -31,10 +31,10 @@ public sealed partial class CreateThreadRequestToolResourcesFileSearchVectorStor /// /// Initializes a new instance of the class. /// + /// /// /// Always `static`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStat global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyStatic @static, global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyType type) { - this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static)); this.Type = type; + this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseDiarizedJson.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseDiarizedJson.g.cs index aa0025b26..4709d6c6d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseDiarizedJson.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseDiarizedJson.g.cs @@ -52,9 +52,6 @@ public sealed partial class CreateTranscriptionResponseDiarizedJson /// /// Initializes a new instance of the class. /// - /// - /// The type of task that was run. Always `transcribe`. - /// /// /// Duration of the input audio in seconds. /// @@ -64,6 +61,9 @@ public sealed partial class CreateTranscriptionResponseDiarizedJson /// /// Segments of the transcript annotated with timestamps and speaker labels. /// + /// + /// The type of task that was run. Always `transcribe`. + /// /// /// Token or duration usage statistics for the request. /// @@ -77,10 +77,10 @@ public CreateTranscriptionResponseDiarizedJson( global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonTask task, global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonUsage? usage) { + this.Task = task; this.Duration = duration; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Segments = segments ?? throw new global::System.ArgumentNullException(nameof(segments)); - this.Task = task; this.Usage = usage; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoJsonBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoJsonBody.g.cs index 347a9796b..22a5c1972 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoJsonBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoJsonBody.g.cs @@ -51,12 +51,12 @@ public sealed partial class CreateVideoJsonBody /// /// Initializes a new instance of the class. /// - /// - /// The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`. - /// /// /// Text prompt that describes the video to generate. /// + /// + /// The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`. + /// /// /// Optional reference object that guides generation. Provide exactly one of `image_url` or `file_id`. /// @@ -76,8 +76,8 @@ public CreateVideoJsonBody( global::tryAGI.OpenAI.VideoSeconds? seconds, global::tryAGI.OpenAI.VideoSize? size) { - this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); this.Model = model; + this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); this.InputReference = inputReference; this.Seconds = seconds; this.Size = size; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoMultipartBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoMultipartBody.g.cs index dcb7fd273..5c3432000 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoMultipartBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoMultipartBody.g.cs @@ -52,12 +52,12 @@ public sealed partial class CreateVideoMultipartBody /// /// Initializes a new instance of the class. /// - /// - /// The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`. - /// /// /// Text prompt that describes the video to generate. /// + /// + /// The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`. + /// /// /// /// Clip duration in seconds (allowed values: 4, 8, 12). Defaults to 4 seconds. @@ -75,8 +75,8 @@ public CreateVideoMultipartBody( global::tryAGI.OpenAI.VideoSeconds? seconds, global::tryAGI.OpenAI.VideoSize? size) { - this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); this.Model = model; + this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); this.InputReference = inputReference; this.Seconds = seconds; this.Size = size; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomGrammarFormatParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomGrammarFormatParam.g.cs index 4f0169383..f80873e0a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomGrammarFormatParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomGrammarFormatParam.g.cs @@ -41,16 +41,16 @@ public sealed partial class CustomGrammarFormatParam /// /// Initializes a new instance of the class. /// - /// - /// Grammar format. Always `grammar`.
- /// Default Value: grammar - /// /// /// The syntax of the grammar definition. One of `lark` or `regex`. /// /// /// The grammar definition. /// + /// + /// Grammar format. Always `grammar`.
+ /// Default Value: grammar + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,9 +59,9 @@ public CustomGrammarFormatParam( string definition, global::tryAGI.OpenAI.CustomGrammarFormatParamType type = global::tryAGI.OpenAI.CustomGrammarFormatParamType.Grammar) { + this.Type = type; this.Syntax = syntax; this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCall.g.cs index 44dc376a5..cdd60efe1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCall.g.cs @@ -57,24 +57,24 @@ public sealed partial class CustomToolCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the custom tool call. Always `custom_tool_call`. - /// - /// - /// The unique ID of the custom tool call in the OpenAI platform. - /// /// /// An identifier used to map this custom tool call to a tool call output. /// - /// - /// The namespace of the custom tool being called. - /// /// /// The name of the custom tool being called. /// /// /// The input for the custom tool call generated by the model. /// + /// + /// The type of the custom tool call. Always `custom_tool_call`. + /// + /// + /// The unique ID of the custom tool call in the OpenAI platform. + /// + /// + /// The namespace of the custom tool being called. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -86,12 +86,12 @@ public CustomToolCall( string? id, string? @namespace) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); this.Type = type; this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Namespace = @namespace; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCallOutput.g.cs index d4d14b4e8..b1a71f446 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCallOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCallOutput.g.cs @@ -46,12 +46,6 @@ public sealed partial class CustomToolCallOutput /// /// Initializes a new instance of the class. /// - /// - /// The type of the custom tool call output. Always `custom_tool_call_output`. - /// - /// - /// The unique ID of the custom tool call output in the OpenAI platform. - /// /// /// The call ID, used to map this custom tool call output to a custom tool call. /// @@ -59,6 +53,12 @@ public sealed partial class CustomToolCallOutput /// The output from the custom tool call generated by your code.
/// Can be a string or an list of output content. /// + /// + /// The type of the custom tool call output. Always `custom_tool_call_output`. + /// + /// + /// The unique ID of the custom tool call output in the OpenAI platform. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -68,10 +68,10 @@ public CustomToolCallOutput( global::tryAGI.OpenAI.CustomToolCallOutputType type, string? id) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output; this.Type = type; this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Output = output; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletions.g.cs index 570355520..3faed1b2a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletions.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletions.g.cs @@ -31,12 +31,12 @@ public sealed partial class CustomToolChatCompletions /// /// Initializes a new instance of the class. /// - /// - /// The type of the custom tool. Always `custom`. - /// /// /// Properties of the custom tool. /// + /// + /// The type of the custom tool. Always `custom`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CustomToolChatCompletions( global::tryAGI.OpenAI.CustomToolChatCompletionsCustom custom, global::tryAGI.OpenAI.CustomToolChatCompletionsType type) { - this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom)); this.Type = type; + this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletionsCustomFormatGrammarFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletionsCustomFormatGrammarFormat.g.cs index 9db820a42..7d726b157 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletionsCustomFormatGrammarFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletionsCustomFormatGrammarFormat.g.cs @@ -31,12 +31,12 @@ public sealed partial class CustomToolChatCompletionsCustomFormatGrammarFormat /// /// Initializes a new instance of the class. /// - /// - /// Grammar format. Always `grammar`. - /// /// /// Your chosen grammar. /// + /// + /// Grammar format. Always `grammar`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public CustomToolChatCompletionsCustomFormatGrammarFormat( global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatGrammar grammar, global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatType type) { - this.Grammar = grammar ?? throw new global::System.ArgumentNullException(nameof(grammar)); this.Type = type; + this.Grammar = grammar ?? throw new global::System.ArgumentNullException(nameof(grammar)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolParam.g.cs index 1534ff4d6..ac540bc61 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolParam.g.cs @@ -52,10 +52,6 @@ public sealed partial class CustomToolParam /// /// Initializes a new instance of the class. /// - /// - /// The type of the custom tool. Always `custom`.
- /// Default Value: custom - /// /// /// The name of the custom tool, used to identify it in tool calls. /// @@ -68,6 +64,10 @@ public sealed partial class CustomToolParam /// /// Whether this tool should be deferred and discovered via tool search. /// + /// + /// The type of the custom tool. Always `custom`.
+ /// Default Value: custom + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,8 +78,8 @@ public CustomToolParam( bool? deferLoading, global::tryAGI.OpenAI.CustomToolParamType type = global::tryAGI.OpenAI.CustomToolParamType.Custom) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; this.Format = format; this.DeferLoading = deferLoading; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteCertificateResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteCertificateResponse.g.cs index 6dfc24dc3..8b550bc8b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteCertificateResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteCertificateResponse.g.cs @@ -31,12 +31,12 @@ public sealed partial class DeleteCertificateResponse /// /// Initializes a new instance of the class. /// - /// - /// The object type, must be `certificate.deleted`. - /// /// /// The ID of the certificate that was deleted. /// + /// + /// The object type, must be `certificate.deleted`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public DeleteCertificateResponse( string id, global::tryAGI.OpenAI.DeleteCertificateResponseObject @object) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Object = @object; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFileResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFileResponse.g.cs index f9959479d..1e5215cc7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFileResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFileResponse.g.cs @@ -39,8 +39,8 @@ public sealed partial class DeleteFileResponse /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,8 +50,8 @@ public DeleteFileResponse( global::tryAGI.OpenAI.DeleteFileResponseObject @object) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Deleted = deleted; this.Object = @object; + this.Deleted = deleted; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFineTuningCheckpointPermissionResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFineTuningCheckpointPermissionResponse.g.cs index 760987a95..7f5a7e00e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFineTuningCheckpointPermissionResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFineTuningCheckpointPermissionResponse.g.cs @@ -41,12 +41,12 @@ public sealed partial class DeleteFineTuningCheckpointPermissionResponse /// /// The ID of the fine-tuned model checkpoint permission that was deleted. /// - /// - /// The object type, which is always "checkpoint.permission". - /// /// /// Whether the fine-tuned model checkpoint permission was successfully deleted. /// + /// + /// The object type, which is always "checkpoint.permission". + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public DeleteFineTuningCheckpointPermissionResponse( global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponseObject @object) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Deleted = deleted; this.Object = @object; + this.Deleted = deleted; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedConversationResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedConversationResource.g.cs index 13c82f46d..f38b682b6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedConversationResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedConversationResource.g.cs @@ -39,11 +39,11 @@ public sealed partial class DeletedConversationResource /// /// Initializes a new instance of the class. /// + /// + /// /// /// Default Value: conversation.deleted /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,9 +52,9 @@ public DeletedConversationResource( string id, global::tryAGI.OpenAI.DeletedConversationResourceObject @object = global::tryAGI.OpenAI.DeletedConversationResourceObject.ConversationDeleted) { + this.Object = @object; this.Deleted = deleted; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillResource.g.cs index 0fb0e97a7..392e1c1c6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillResource.g.cs @@ -39,11 +39,11 @@ public sealed partial class DeletedSkillResource /// /// Initializes a new instance of the class. /// + /// + /// /// /// Default Value: skill.deleted /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,9 +52,9 @@ public DeletedSkillResource( string id, global::tryAGI.OpenAI.DeletedSkillResourceObject @object = global::tryAGI.OpenAI.DeletedSkillResourceObject.SkillDeleted) { + this.Object = @object; this.Deleted = deleted; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillVersionResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillVersionResource.g.cs index 4d7cbcbbf..a50644b43 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillVersionResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillVersionResource.g.cs @@ -46,14 +46,14 @@ public sealed partial class DeletedSkillVersionResource /// /// Initializes a new instance of the class. /// - /// - /// Default Value: skill.version.deleted - /// /// /// /// /// The deleted skill version. /// + /// + /// Default Value: skill.version.deleted + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -63,10 +63,10 @@ public DeletedSkillVersionResource( string version, global::tryAGI.OpenAI.DeletedSkillVersionResourceObject @object = global::tryAGI.OpenAI.DeletedSkillVersionResourceObject.SkillVersionDeleted) { + this.Object = @object; this.Deleted = deleted; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Version = version ?? throw new global::System.ArgumentNullException(nameof(version)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedThreadResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedThreadResource.g.cs index b9e21fa95..900dfd391 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedThreadResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedThreadResource.g.cs @@ -43,13 +43,13 @@ public sealed partial class DeletedThreadResource /// /// Identifier of the deleted thread. /// + /// + /// Indicates that the thread has been deleted. + /// /// /// Type discriminator that is always `chatkit.thread.deleted`.
/// Default Value: chatkit.thread.deleted /// - /// - /// Indicates that the thread has been deleted. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,8 +59,8 @@ public DeletedThreadResource( global::tryAGI.OpenAI.DeletedThreadResourceObject @object = global::tryAGI.OpenAI.DeletedThreadResourceObject.ChatkitThreadDeleted) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Deleted = deleted; this.Object = @object; + this.Deleted = deleted; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedVideoResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedVideoResource.g.cs index a3a4df3c5..1019915ef 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedVideoResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedVideoResource.g.cs @@ -40,16 +40,16 @@ public sealed partial class DeletedVideoResource /// /// Initializes a new instance of the class. /// - /// - /// The object type that signals the deletion response.
- /// Default Value: video.deleted - /// /// /// Indicates that the video resource was deleted. /// /// /// Identifier of the deleted video. /// + /// + /// The object type that signals the deletion response.
+ /// Default Value: video.deleted + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public DeletedVideoResource( string id, global::tryAGI.OpenAI.DeletedVideoResourceObject @object = global::tryAGI.OpenAI.DeletedVideoResourceObject.VideoDeleted) { + this.Object = @object; this.Deleted = deleted; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DoubleClickAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DoubleClickAction.g.cs index 0b6ec3780..4c06d7e11 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DoubleClickAction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DoubleClickAction.g.cs @@ -46,10 +46,6 @@ public sealed partial class DoubleClickAction /// /// Initializes a new instance of the class. /// - /// - /// Specifies the event type. For a double click action, this property is always set to `double_click`.
- /// Default Value: double_click - /// /// /// The x-coordinate where the double click occurred. /// @@ -57,6 +53,10 @@ public sealed partial class DoubleClickAction /// The y-coordinate where the double click occurred. /// /// + /// + /// Specifies the event type. For a double click action, this property is always set to `double_click`.
+ /// Default Value: double_click + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,9 +66,9 @@ public DoubleClickAction( global::System.Collections.Generic.IList? keys, global::tryAGI.OpenAI.DoubleClickActionType type = global::tryAGI.OpenAI.DoubleClickActionType.DoubleClick) { + this.Type = type; this.X = x; this.Y = y; - this.Type = type; this.Keys = keys; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DragParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DragParam.g.cs index 0f3c438f2..53ff20b9a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DragParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DragParam.g.cs @@ -45,10 +45,6 @@ public sealed partial class DragParam /// /// Initializes a new instance of the class. /// - /// - /// Specifies the event type. For a drag action, this property is always set to `drag`.
- /// Default Value: drag - /// /// /// An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg
/// ```
@@ -59,6 +55,10 @@ public sealed partial class DragParam /// ``` /// /// + /// + /// Specifies the event type. For a drag action, this property is always set to `drag`.
+ /// Default Value: drag + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,8 +67,8 @@ public DragParam( global::System.Collections.Generic.IList? keys, global::tryAGI.OpenAI.DragParamType type = global::tryAGI.OpenAI.DragParamType.Drag) { - this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); this.Type = type; + this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path)); this.Keys = keys; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParam.g.cs index 174234c82..fe70e08ac 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParam.g.cs @@ -146,23 +146,23 @@ public sealed partial class EditImageBodyJsonParam /// /// Initializes a new instance of the class. /// + /// + /// Input image references to edit.
+ /// For GPT image models, you can provide up to 16 images. + /// + /// + /// A text description of the desired image edit.
+ /// Example: Add a watercolor effect and keep the subject centered + /// /// /// The model to use for image editing.
/// Default Value: gpt-image-1.5
/// Example: gpt-image-1.5 /// - /// - /// Input image references to edit.
- /// For GPT image models, you can provide up to 16 images. - /// /// /// Reference an input image by either URL or uploaded file ID.
/// Provide exactly one of `image_url` or `file_id`. /// - /// - /// A text description of the desired image edit.
- /// Example: Add a watercolor effect and keep the subject centered - /// /// /// The number of edited images to generate.
/// Default Value: 1
@@ -231,10 +231,10 @@ public EditImageBodyJsonParam( bool? stream, int? partialImages) { - this.Images = images ?? throw new global::System.ArgumentNullException(nameof(images)); - this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); this.Model = model; + this.Images = images ?? throw new global::System.ArgumentNullException(nameof(images)); this.Mask = mask; + this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt)); this.N = n; this.Quality = quality; this.InputFidelity = inputFidelity; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Error.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Error.g.cs index 9bf10115e..f740a5055 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Error.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Error.g.cs @@ -43,10 +43,10 @@ public sealed partial class Error /// /// Initializes a new instance of the class. /// - /// /// - /// /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,10 +56,10 @@ public Error( string? code, string? param) { - this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Param = param; + this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ErrorEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ErrorEvent.g.cs index 6b4039485..982d789de 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ErrorEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ErrorEvent.g.cs @@ -31,8 +31,8 @@ public sealed partial class ErrorEvent /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ErrorEvent( global::tryAGI.OpenAI.Error data, global::tryAGI.OpenAI.ErrorEventEvent @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Eval.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Eval.g.cs index 2e0b835f7..5e7548d0b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Eval.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Eval.g.cs @@ -79,10 +79,6 @@ public sealed partial class Eval /// /// Initializes a new instance of the class. /// - /// - /// The object type.
- /// Default Value: eval - /// /// /// Unique identifier for the evaluation. /// @@ -101,6 +97,10 @@ public sealed partial class Eval /// The Unix timestamp (in seconds) for when the eval was created. /// /// + /// + /// The object type.
+ /// Default Value: eval + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -113,12 +113,12 @@ public Eval( global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.EvalObject @object = global::tryAGI.OpenAI.EvalObject.Eval) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.DataSourceConfig = dataSourceConfig; this.TestingCriteria = testingCriteria ?? throw new global::System.ArgumentNullException(nameof(testingCriteria)); this.CreatedAt = createdAt; - this.Object = @object; this.Metadata = metadata; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalCustomDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalCustomDataSourceConfig.g.cs index 330f9b5fa..1b73aec6e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalCustomDataSourceConfig.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalCustomDataSourceConfig.g.cs @@ -65,10 +65,6 @@ public sealed partial class EvalCustomDataSourceConfig /// /// Initializes a new instance of the class. /// - /// - /// The type of data source. Always `custom`.
- /// Default Value: custom - /// /// /// The json schema for the run data source items.
/// Learn how to build JSON schemas [here](https://json-schema.org/).
@@ -86,6 +82,10 @@ public sealed partial class EvalCustomDataSourceConfig /// "required": ["item"]
/// } /// + /// + /// The type of data source. Always `custom`.
+ /// Default Value: custom + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -93,8 +93,8 @@ public EvalCustomDataSourceConfig( object schema, global::tryAGI.OpenAI.EvalCustomDataSourceConfigType type = global::tryAGI.OpenAI.EvalCustomDataSourceConfigType.Custom) { - this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); this.Type = type; + this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemContentOutputText.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemContentOutputText.g.cs index 97fc66142..df5961007 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemContentOutputText.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemContentOutputText.g.cs @@ -31,12 +31,12 @@ public sealed partial class EvalItemContentOutputText /// /// Initializes a new instance of the class. /// - /// - /// The type of the output text. Always `output_text`. - /// /// /// The text output from the model. /// + /// + /// The type of the output text. Always `output_text`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public EvalItemContentOutputText( string text, global::tryAGI.OpenAI.EvalItemContentOutputTextType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemInputImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemInputImage.g.cs index 43ff32084..f4f4d49cc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemInputImage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemInputImage.g.cs @@ -37,12 +37,12 @@ public sealed partial class EvalItemInputImage /// /// Initializes a new instance of the class. /// - /// - /// The type of the image input. Always `input_image`. - /// /// /// The URL of the image input. /// + /// + /// The type of the image input. Always `input_image`. + /// /// /// The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`. /// @@ -54,8 +54,8 @@ public EvalItemInputImage( global::tryAGI.OpenAI.EvalItemInputImageType type, string? detail) { - this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); this.Type = type; + this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); this.Detail = detail; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileContentSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileContentSource.g.cs index 3d525b825..9ffd8f3eb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileContentSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileContentSource.g.cs @@ -33,13 +33,13 @@ public sealed partial class EvalJsonlFileContentSource /// /// Initializes a new instance of the class. /// + /// + /// The content of the jsonl file. + /// /// /// The type of jsonl source. Always `file_content`.
/// Default Value: file_content /// - /// - /// The content of the jsonl file. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public EvalJsonlFileContentSource( global::System.Collections.Generic.IList content, global::tryAGI.OpenAI.EvalJsonlFileContentSourceType type = global::tryAGI.OpenAI.EvalJsonlFileContentSourceType.FileContent) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Type = type; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileIdSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileIdSource.g.cs index bb7bec2ac..2e00bf206 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileIdSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileIdSource.g.cs @@ -33,13 +33,13 @@ public sealed partial class EvalJsonlFileIdSource /// /// Initializes a new instance of the class. /// + /// + /// The identifier of the file. + /// /// /// The type of jsonl source. Always `file_id`.
/// Default Value: file_id /// - /// - /// The identifier of the file. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public EvalJsonlFileIdSource( string id, global::tryAGI.OpenAI.EvalJsonlFileIdSourceType type = global::tryAGI.OpenAI.EvalJsonlFileIdSourceType.FileId) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalList.g.cs index b8075c9df..a641e0ca8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalList.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalList.g.cs @@ -54,10 +54,6 @@ public sealed partial class EvalList /// /// Initializes a new instance of the class. /// - /// - /// The type of this object. It is always set to "list".
- /// Default Value: list - /// /// /// An array of eval objects. /// @@ -70,6 +66,10 @@ public sealed partial class EvalList /// /// Indicates whether there are more evals available. /// + /// + /// The type of this object. It is always set to "list".
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,11 +80,11 @@ public EvalList( bool hasMore, global::tryAGI.OpenAI.EvalListObject @object = global::tryAGI.OpenAI.EvalListObject.List) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalLogsDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalLogsDataSourceConfig.g.cs index 4153d4336..28530ef21 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalLogsDataSourceConfig.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalLogsDataSourceConfig.g.cs @@ -43,15 +43,15 @@ public sealed partial class EvalLogsDataSourceConfig /// /// Initializes a new instance of the class. /// - /// - /// The type of data source. Always `logs`.
- /// Default Value: logs - /// - /// /// /// The json schema for the run data source items.
/// Learn how to build JSON schemas [here](https://json-schema.org/). /// + /// + /// + /// The type of data source. Always `logs`.
+ /// Default Value: logs + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -60,9 +60,9 @@ public EvalLogsDataSourceConfig( global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.EvalLogsDataSourceConfigType type = global::tryAGI.OpenAI.EvalLogsDataSourceConfigType.Logs) { - this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); this.Type = type; this.Metadata = metadata; + this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRun.g.cs index b66bb7a01..787326111 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRun.g.cs @@ -118,10 +118,6 @@ public sealed partial class EvalRun /// /// Initializes a new instance of the class. /// - /// - /// The type of the object. Always "eval.run".
- /// Default Value: eval.run - /// /// /// Unique identifier for the evaluation run. /// @@ -155,10 +151,14 @@ public sealed partial class EvalRun /// /// Information about the run's data source. /// - /// /// /// An object representing an error response from the Eval API. /// + /// + /// + /// The type of the object. Always "eval.run".
+ /// Default Value: eval.run + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -178,6 +178,7 @@ public EvalRun( global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.EvalRunObject @object = global::tryAGI.OpenAI.EvalRunObject.EvalRun) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.EvalId = evalId ?? throw new global::System.ArgumentNullException(nameof(evalId)); this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status)); @@ -189,9 +190,8 @@ public EvalRun( this.PerModelUsage = perModelUsage ?? throw new global::System.ArgumentNullException(nameof(perModelUsage)); this.PerTestingCriteriaResults = perTestingCriteriaResults ?? throw new global::System.ArgumentNullException(nameof(perTestingCriteriaResults)); this.DataSource = dataSource; - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); - this.Object = @object; this.Metadata = metadata; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunList.g.cs index c88b86404..900d3949d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunList.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunList.g.cs @@ -54,10 +54,6 @@ public sealed partial class EvalRunList /// /// Initializes a new instance of the class. /// - /// - /// The type of this object. It is always set to "list".
- /// Default Value: list - /// /// /// An array of eval run objects. /// @@ -70,6 +66,10 @@ public sealed partial class EvalRunList /// /// Indicates whether there are more evals available. /// + /// + /// The type of this object. It is always set to "list".
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,11 +80,11 @@ public EvalRunList( bool hasMore, global::tryAGI.OpenAI.EvalRunListObject @object = global::tryAGI.OpenAI.EvalRunListObject.List) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItem.g.cs index 850613adb..ecfc5735c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItem.g.cs @@ -90,10 +90,6 @@ public sealed partial class EvalRunOutputItem /// /// Initializes a new instance of the class. /// - /// - /// The type of the object. Always "eval.run.output_item".
- /// Default Value: eval.run.output_item - /// /// /// Unique identifier for the evaluation run output item. /// @@ -121,6 +117,10 @@ public sealed partial class EvalRunOutputItem /// /// A sample containing the input and output of the evaluation run. /// + /// + /// The type of the object. Always "eval.run.output_item".
+ /// Default Value: eval.run.output_item + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -136,6 +136,7 @@ public EvalRunOutputItem( global::tryAGI.OpenAI.EvalRunOutputItemSample sample, global::tryAGI.OpenAI.EvalRunOutputItemObject @object = global::tryAGI.OpenAI.EvalRunOutputItemObject.EvalRunOutputItem) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.RunId = runId ?? throw new global::System.ArgumentNullException(nameof(runId)); this.EvalId = evalId ?? throw new global::System.ArgumentNullException(nameof(evalId)); @@ -145,7 +146,6 @@ public EvalRunOutputItem( this.DatasourceItem = datasourceItem ?? throw new global::System.ArgumentNullException(nameof(datasourceItem)); this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); this.Sample = sample ?? throw new global::System.ArgumentNullException(nameof(sample)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemList.g.cs index 20e15938e..d612c60e7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemList.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemList.g.cs @@ -54,10 +54,6 @@ public sealed partial class EvalRunOutputItemList /// /// Initializes a new instance of the class. /// - /// - /// The type of this object. It is always set to "list".
- /// Default Value: list - /// /// /// An array of eval run output item objects. /// @@ -70,6 +66,10 @@ public sealed partial class EvalRunOutputItemList /// /// Indicates whether there are more eval run output items available. /// + /// + /// The type of this object. It is always set to "list".
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,11 +80,11 @@ public EvalRunOutputItemList( bool hasMore, global::tryAGI.OpenAI.EvalRunOutputItemListObject @object = global::tryAGI.OpenAI.EvalRunOutputItemListObject.List) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemResult.g.cs index e35a15f84..9fefef01b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemResult.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemResult.g.cs @@ -53,15 +53,15 @@ public sealed partial class EvalRunOutputItemResult /// /// The name of the grader. /// - /// - /// The grader type (for example, "string-check-grader"). - /// /// /// The numeric score produced by the grader. /// /// /// Whether the grader considered the output a pass. /// + /// + /// The grader type (for example, "string-check-grader"). + /// /// /// Optional sample or intermediate data produced by the grader. /// @@ -76,9 +76,9 @@ public EvalRunOutputItemResult( object? sample) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Type = type; this.Score = score; this.Passed = passed; - this.Type = type; this.Sample = sample; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsDataSourceConfig.g.cs index 49d0c23af..5a0ec096a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsDataSourceConfig.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsDataSourceConfig.g.cs @@ -44,15 +44,15 @@ public sealed partial class EvalStoredCompletionsDataSourceConfig /// /// Initializes a new instance of the class. /// - /// - /// The type of data source. Always `stored_completions`.
- /// Default Value: stored_completions - /// - /// /// /// The json schema for the run data source items.
/// Learn how to build JSON schemas [here](https://json-schema.org/). /// + /// + /// + /// The type of data source. Always `stored_completions`.
+ /// Default Value: stored_completions + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -61,9 +61,9 @@ public EvalStoredCompletionsDataSourceConfig( global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfigType type = global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfigType.StoredCompletions) { - this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); this.Type = type; this.Metadata = metadata; + this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsSource.g.cs index 9402b4420..9936f3037 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsSource.g.cs @@ -56,15 +56,15 @@ public sealed partial class EvalStoredCompletionsSource /// /// Initializes a new instance of the class. /// - /// - /// The type of source. Always `stored_completions`.
- /// Default Value: stored_completions - /// /// /// /// /// /// + /// + /// The type of source. Always `stored_completions`.
+ /// Default Value: stored_completions + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs index d9ff77312..1e7cbe84e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs @@ -33,13 +33,13 @@ public sealed partial class ExpiresAfterParam /// /// Initializes a new instance of the class. /// + /// + /// Number of seconds after the anchor when the session expires. + /// /// /// Base timestamp used to calculate expiration. Currently fixed to `created_at`.
/// Default Value: created_at /// - /// - /// Number of seconds after the anchor when the session expires. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public ExpiresAfterParam( int seconds, global::tryAGI.OpenAI.ExpiresAfterParamAnchor anchor = global::tryAGI.OpenAI.ExpiresAfterParamAnchor.CreatedAt) { - this.Seconds = seconds; this.Anchor = anchor; + this.Seconds = seconds; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotation.g.cs index fa5c41fed..c2d692a8a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotation.g.cs @@ -33,13 +33,13 @@ public sealed partial class FileAnnotation /// /// Initializes a new instance of the class. /// + /// + /// File attachment referenced by the annotation. + /// /// /// Type discriminator that is always `file` for this annotation.
/// Default Value: file /// - /// - /// File attachment referenced by the annotation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public FileAnnotation( global::tryAGI.OpenAI.FileAnnotationSource source, global::tryAGI.OpenAI.FileAnnotationType type = global::tryAGI.OpenAI.FileAnnotationType.File) { - this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); this.Type = type; + this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotationSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotationSource.g.cs index 5e743a8b7..768fe9c97 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotationSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotationSource.g.cs @@ -33,13 +33,13 @@ public sealed partial class FileAnnotationSource /// /// Initializes a new instance of the class. /// + /// + /// Filename referenced by the annotation. + /// /// /// Type discriminator that is always `file`.
/// Default Value: file /// - /// - /// Filename referenced by the annotation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public FileAnnotationSource( string filename, global::tryAGI.OpenAI.FileAnnotationSourceType type = global::tryAGI.OpenAI.FileAnnotationSourceType.File) { - this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); this.Type = type; + this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs index 3b347ad0a..730f444aa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs @@ -47,10 +47,6 @@ public sealed partial class FileCitationBody /// /// Initializes a new instance of the class. /// - /// - /// The type of the file citation. Always `file_citation`.
- /// Default Value: file_citation - /// /// /// The ID of the file. /// @@ -60,6 +56,10 @@ public sealed partial class FileCitationBody /// /// The filename of the file cited. /// + /// + /// The type of the file citation. Always `file_citation`.
+ /// Default Value: file_citation + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -69,10 +69,10 @@ public FileCitationBody( string filename, global::tryAGI.OpenAI.FileCitationBodyType type = global::tryAGI.OpenAI.FileCitationBodyType.FileCitation) { + this.Type = type; this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.Index = index; this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileExpirationAfter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileExpirationAfter.g.cs index 041b3d115..6501948dd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileExpirationAfter.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileExpirationAfter.g.cs @@ -31,12 +31,12 @@ public sealed partial class FileExpirationAfter /// /// Initializes a new instance of the class. /// - /// - /// Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`. - /// /// /// The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days). /// + /// + /// Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public FileExpirationAfter( int seconds, global::tryAGI.OpenAI.FileExpirationAfterAnchor anchor) { - this.Seconds = seconds; this.Anchor = anchor; + this.Seconds = seconds; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FilePath.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FilePath.g.cs index 33f77a623..c7c7c66ea 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FilePath.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FilePath.g.cs @@ -38,15 +38,15 @@ public sealed partial class FilePath /// /// Initializes a new instance of the class. /// - /// - /// The type of the file path. Always `file_path`. - /// /// /// The ID of the file. /// /// /// The index of the file in the list of files. /// + /// + /// The type of the file path. Always `file_path`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public FilePath( int index, global::tryAGI.OpenAI.FilePathType type) { + this.Type = type; this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.Index = index; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchRankingOptions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchRankingOptions.g.cs index b8a297b14..c3115780d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchRankingOptions.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchRankingOptions.g.cs @@ -32,12 +32,12 @@ public sealed partial class FileSearchRankingOptions /// /// Initializes a new instance of the class. /// - /// - /// The ranker to use for the file search. If not specified will use the `auto` ranker. - /// /// /// The score threshold for the file search. All values must be a floating point number between 0 and 1. /// + /// + /// The ranker to use for the file search. If not specified will use the `auto` ranker. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -45,8 +45,8 @@ public FileSearchRankingOptions( double scoreThreshold, global::tryAGI.OpenAI.FileSearchRanker? ranker) { - this.ScoreThreshold = scoreThreshold; this.Ranker = ranker; + this.ScoreThreshold = scoreThreshold; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchTool.g.cs index e0b0166e2..f3250da31 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchTool.g.cs @@ -51,10 +51,6 @@ public sealed partial class FileSearchTool /// /// Initializes a new instance of the class. /// - /// - /// The type of the file search tool. Always `file_search`.
- /// Default Value: file_search - /// /// /// The IDs of the vector stores to search. /// @@ -65,6 +61,10 @@ public sealed partial class FileSearchTool /// Ranking options for search. /// /// + /// + /// The type of the file search tool. Always `file_search`.
+ /// Default Value: file_search + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,8 +75,8 @@ public FileSearchTool( global::tryAGI.OpenAI.Filters2? filters, global::tryAGI.OpenAI.FileSearchToolType type = global::tryAGI.OpenAI.FileSearchToolType.FileSearch) { - this.VectorStoreIds = vectorStoreIds ?? throw new global::System.ArgumentNullException(nameof(vectorStoreIds)); this.Type = type; + this.VectorStoreIds = vectorStoreIds ?? throw new global::System.ArgumentNullException(nameof(vectorStoreIds)); this.MaxNumResults = maxNumResults; this.RankingOptions = rankingOptions; this.Filters = filters; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCall.g.cs index 9deff1869..8485c6904 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCall.g.cs @@ -57,9 +57,6 @@ public sealed partial class FileSearchToolCall /// /// The unique ID of the file search tool call. /// - /// - /// The type of the file search tool call. Always `file_search_call`. - /// /// /// The status of the file search tool call. One of `in_progress`,
/// `searching`, `incomplete` or `failed`, @@ -67,6 +64,9 @@ public sealed partial class FileSearchToolCall /// /// The queries used to search for files. /// + /// + /// The type of the file search tool call. Always `file_search_call`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -79,9 +79,9 @@ public FileSearchToolCall( global::System.Collections.Generic.IList? results) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Type = type; this.Status = status; this.Queries = queries ?? throw new global::System.ArgumentNullException(nameof(queries)); - this.Type = type; this.Results = results; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningIntegration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningIntegration.g.cs index 5c1e2b51e..55cbb6638 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningIntegration.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningIntegration.g.cs @@ -33,14 +33,14 @@ public sealed partial class FineTuningIntegration /// /// Initializes a new instance of the class. /// - /// - /// The type of the integration being enabled for the fine-tuning job - /// /// /// The settings for your integration with Weights and Biases. This payload specifies the project that
/// metrics will be sent to. Optionally, you can set an explicit display name for your run, add tags
/// to your run, and set a default entity (team, username, etc) to be associated with your run. /// + /// + /// The type of the integration being enabled for the fine-tuning job + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -48,8 +48,8 @@ public FineTuningIntegration( global::tryAGI.OpenAI.FineTuningIntegrationWandb wandb, global::tryAGI.OpenAI.FineTuningIntegrationType type) { - this.Wandb = wandb ?? throw new global::System.ArgumentNullException(nameof(wandb)); this.Type = type; + this.Wandb = wandb ?? throw new global::System.ArgumentNullException(nameof(wandb)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJob.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJob.g.cs index bcc1dbbec..c385898d4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJob.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJob.g.cs @@ -149,18 +149,12 @@ public sealed partial class FineTuningJob /// /// The Unix timestamp (in seconds) for when the fine-tuning job was created. /// - /// - /// - /// /// /// The hyperparameters used for the fine-tuning job. This value will only be returned when running `supervised` jobs. /// /// /// The base model that is being fine-tuned. /// - /// - /// The object type, which is always "fine_tuning.job". - /// /// /// The organization that owns the fine-tuning job. /// @@ -170,15 +164,21 @@ public sealed partial class FineTuningJob /// /// The current status of the fine-tuning job, which can be either `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`. /// - /// /// /// The file ID used for training. You can retrieve the training data with the [Files API](/docs/api-reference/files/retrieve-contents). /// - /// - /// /// /// The seed used for the fine-tuning job. /// + /// + /// + /// + /// + /// The object type, which is always "fine_tuning.job". + /// + /// + /// + /// /// /// /// The method used for fine-tuning. @@ -210,20 +210,20 @@ public FineTuningJob( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CreatedAt = createdAt; + this.Error = error; + this.FineTunedModel = fineTunedModel; + this.FinishedAt = finishedAt; this.Hyperparameters = hyperparameters ?? throw new global::System.ArgumentNullException(nameof(hyperparameters)); this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); + this.Object = @object; this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId)); this.ResultFiles = resultFiles ?? throw new global::System.ArgumentNullException(nameof(resultFiles)); this.Status = status; - this.TrainingFile = trainingFile ?? throw new global::System.ArgumentNullException(nameof(trainingFile)); - this.Seed = seed; - this.Error = error; - this.FineTunedModel = fineTunedModel; - this.FinishedAt = finishedAt; - this.Object = @object; this.TrainedTokens = trainedTokens; + this.TrainingFile = trainingFile ?? throw new global::System.ArgumentNullException(nameof(trainingFile)); this.ValidationFile = validationFile; this.Integrations = integrations; + this.Seed = seed; this.EstimatedFinish = estimatedFinish; this.Method = method; this.Metadata = metadata; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEvent.g.cs index 66a5ee4fd..9581a39b3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEvent.g.cs @@ -67,9 +67,6 @@ public sealed partial class FineTuningJobEvent /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always "fine_tuning.job.event". - /// /// /// The object identifier. /// @@ -82,6 +79,9 @@ public sealed partial class FineTuningJobEvent /// /// The message of the event. /// + /// + /// The object type, which is always "fine_tuning.job.event". + /// /// /// The type of event. /// @@ -100,11 +100,11 @@ public FineTuningJobEvent( global::tryAGI.OpenAI.FineTuningJobEventType? type, object? data) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CreatedAt = createdAt; this.Level = level; this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); - this.Object = @object; this.Type = type; this.Data = data; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs index ba3f9342b..c8c078e73 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs @@ -53,18 +53,18 @@ public sealed partial class FunctionCallOutputItemParam /// /// Initializes a new instance of the class. /// - /// /// /// The unique ID of the function tool call generated by the model. /// - /// - /// The type of the function tool call output. Always `function_call_output`.
- /// Default Value: function_call_output - /// /// /// Text, image, or file output of the function tool call. /// + /// /// + /// + /// The type of the function tool call output. Always `function_call_output`.
+ /// Default Value: function_call_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,10 +75,10 @@ public FunctionCallOutputItemParam( global::tryAGI.OpenAI.FunctionCallItemStatus? status, global::tryAGI.OpenAI.FunctionCallOutputItemParamType type = global::tryAGI.OpenAI.FunctionCallOutputItemParamType.FunctionCallOutput) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output; this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Type = type; + this.Output = output; this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionObject.g.cs index 38b13e0a4..c28a03d82 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionObject.g.cs @@ -43,12 +43,12 @@ public sealed partial class FunctionObject /// /// Initializes a new instance of the class. /// - /// - /// A description of what the function does, used by the model to choose when and how to call the function. - /// /// /// The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. /// + /// + /// A description of what the function does, used by the model to choose when and how to call the function. + /// /// /// The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
/// Omitting `parameters` defines a function with an empty parameter list. @@ -63,8 +63,8 @@ public FunctionObject( global::tryAGI.OpenAI.FunctionParameters? parameters, bool? strict) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Parameters = parameters; this.Strict = strict; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCall.g.cs index ba9dafd59..d1c2de6dd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCall.g.cs @@ -67,10 +67,6 @@ public sealed partial class FunctionShellCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `shell_call`.
- /// Default Value: shell_call - /// /// /// The unique ID of the shell tool call. Populated when this item is returned via API. /// @@ -87,6 +83,10 @@ public sealed partial class FunctionShellCall /// /// The ID of the entity that created this tool call. /// + /// + /// The type of the item. Always `shell_call`.
+ /// Default Value: shell_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -99,11 +99,11 @@ public FunctionShellCall( string? createdBy, global::tryAGI.OpenAI.FunctionShellCallType type = global::tryAGI.OpenAI.FunctionShellCallType.ShellCall) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action)); this.Status = status; - this.Type = type; this.Environment = environment; this.CreatedBy = createdBy; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemParam.g.cs index 9e6fdd437..3f775c5d5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemParam.g.cs @@ -58,19 +58,19 @@ public sealed partial class FunctionShellCallItemParam /// /// Initializes a new instance of the class. /// - /// /// /// The unique ID of the shell tool call generated by the model. /// - /// - /// The type of the item. Always `shell_call`.
- /// Default Value: shell_call - /// /// /// The shell commands and limits that describe how to run the tool call. /// + /// /// /// + /// + /// The type of the item. Always `shell_call`.
+ /// Default Value: shell_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,10 +82,10 @@ public FunctionShellCallItemParam( global::tryAGI.OpenAI.EnvironmentVariant13? environment, global::tryAGI.OpenAI.FunctionShellCallItemParamType type = global::tryAGI.OpenAI.FunctionShellCallItemParamType.ShellCall) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action)); this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Type = type; + this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action)); this.Status = status; this.Environment = environment; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutput.g.cs index a4aaddfc3..4fc65021d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutput.g.cs @@ -67,10 +67,6 @@ public sealed partial class FunctionShellCallOutput /// /// Initializes a new instance of the class. /// - /// - /// The type of the shell call output. Always `shell_call_output`.
- /// Default Value: shell_call_output - /// /// /// The unique ID of the shell call output. Populated when this item is returned via API. /// @@ -87,6 +83,10 @@ public sealed partial class FunctionShellCallOutput /// /// The identifier of the actor that created the item. /// + /// + /// The type of the shell call output. Always `shell_call_output`.
+ /// Default Value: shell_call_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -99,11 +99,11 @@ public FunctionShellCallOutput( string? createdBy, global::tryAGI.OpenAI.FunctionShellCallOutputType type = global::tryAGI.OpenAI.FunctionShellCallOutputType.ShellCallOutput) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Status = status; this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); - this.Type = type; this.MaxOutputLength = maxOutputLength; this.CreatedBy = createdBy; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcome.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcome.g.cs index 0f095103c..07b672d2b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcome.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcome.g.cs @@ -33,13 +33,13 @@ public sealed partial class FunctionShellCallOutputExitOutcome /// /// Initializes a new instance of the class. /// + /// + /// Exit code from the shell process. + /// /// /// The outcome type. Always `exit`.
/// Default Value: exit /// - /// - /// Exit code from the shell process. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public FunctionShellCallOutputExitOutcome( int exitCode, global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType type = global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType.Exit) { - this.ExitCode = exitCode; this.Type = type; + this.ExitCode = exitCode; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcomeParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcomeParam.g.cs index 62ea25d6d..7709f0979 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcomeParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcomeParam.g.cs @@ -33,13 +33,13 @@ public sealed partial class FunctionShellCallOutputExitOutcomeParam /// /// Initializes a new instance of the class. /// + /// + /// The exit code returned by the shell process. + /// /// /// The outcome type. Always `exit`.
/// Default Value: exit /// - /// - /// The exit code returned by the shell process. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public FunctionShellCallOutputExitOutcomeParam( int exitCode, global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType type = global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType.Exit) { - this.ExitCode = exitCode; this.Type = type; + this.ExitCode = exitCode; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputItemParam.g.cs index 594ea5530..fb0eff71e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputItemParam.g.cs @@ -58,19 +58,19 @@ public sealed partial class FunctionShellCallOutputItemParam /// /// Initializes a new instance of the class. /// - /// /// /// The unique ID of the shell tool call generated by the model. /// - /// - /// The type of the item. Always `shell_call_output`.
- /// Default Value: shell_call_output - /// /// /// Captured chunks of stdout and stderr output, along with their associated outcomes. /// + /// /// /// + /// + /// The type of the item. Always `shell_call_output`.
+ /// Default Value: shell_call_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,10 +82,10 @@ public FunctionShellCallOutputItemParam( int? maxOutputLength, global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType type = global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType.ShellCallOutput) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.Id = id; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Type = type; + this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.Status = status; this.MaxOutputLength = maxOutputLength; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellToolParam.g.cs index a2c984dd8..1e848ef7e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellToolParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellToolParam.g.cs @@ -32,11 +32,11 @@ public sealed partial class FunctionShellToolParam /// /// Initializes a new instance of the class. /// + /// /// /// The type of the shell tool. Always `shell`.
/// Default Value: shell /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionTool.g.cs index 56c9c54b1..ed833a864 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionTool.g.cs @@ -57,10 +57,6 @@ public sealed partial class FunctionTool /// /// Initializes a new instance of the class. /// - /// - /// The type of the function tool. Always `function`.
- /// Default Value: function - /// /// /// The name of the function to call. /// @@ -70,6 +66,10 @@ public sealed partial class FunctionTool /// /// Whether this function is deferred and loaded via tool search. /// + /// + /// The type of the function tool. Always `function`.
+ /// Default Value: function + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -81,8 +81,8 @@ public FunctionTool( bool? deferLoading, global::tryAGI.OpenAI.FunctionToolType type = global::tryAGI.OpenAI.FunctionToolType.Function) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; this.Parameters = parameters; this.Strict = strict; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCall.g.cs index 577d8c09c..2d2377af0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCall.g.cs @@ -66,24 +66,24 @@ public sealed partial class FunctionToolCall /// /// Initializes a new instance of the class. /// - /// - /// The unique ID of the function tool call. - /// - /// - /// The type of the function tool call. Always `function_call`. - /// /// /// The unique ID of the function tool call generated by the model. /// - /// - /// The namespace of the function to run. - /// /// /// The name of the function to run. /// /// /// A JSON string of the arguments to pass to the function. /// + /// + /// The unique ID of the function tool call. + /// + /// + /// The type of the function tool call. Always `function_call`. + /// + /// + /// The namespace of the function to run. + /// /// /// The status of the item. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when items are returned via API. @@ -100,12 +100,12 @@ public FunctionToolCall( string? @namespace, global::tryAGI.OpenAI.FunctionToolCallStatus? status) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.Id = id; this.Type = type; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Namespace = @namespace; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs index 2819d596e..77f7b8ac8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs @@ -55,13 +55,6 @@ public sealed partial class FunctionToolCallOutput /// /// Initializes a new instance of the class. /// - /// - /// The unique ID of the function tool call output. Populated when this item
- /// is returned via API. - /// - /// - /// The type of the function tool call output. Always `function_call_output`. - /// /// /// The unique ID of the function tool call generated by the model. /// @@ -69,6 +62,13 @@ public sealed partial class FunctionToolCallOutput /// The output from the function call generated by your code.
/// Can be a string or an list of output content. /// + /// + /// The unique ID of the function tool call output. Populated when this item
+ /// is returned via API. + /// + /// + /// The type of the function tool call output. Always `function_call_output`. + /// /// /// The status of the item. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when items are returned via API. @@ -83,10 +83,10 @@ public FunctionToolCallOutput( global::tryAGI.OpenAI.FunctionToolCallOutputType type, global::tryAGI.OpenAI.FunctionToolCallOutputStatus? status) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output; this.Id = id; this.Type = type; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Output = output; this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolParam.g.cs index caf2e695f..a8251b3e8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolParam.g.cs @@ -60,12 +60,12 @@ public sealed partial class FunctionToolParam /// /// /// - /// - /// Default Value: function - /// /// /// Whether this function should be deferred and discovered via tool search. /// + /// + /// Default Value: function + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderLabelModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderLabelModel.g.cs index f1dd2901c..8d13570e8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderLabelModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderLabelModel.g.cs @@ -60,9 +60,6 @@ public sealed partial class GraderLabelModel /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `label_model`. - /// /// /// The name of the grader. /// @@ -76,6 +73,9 @@ public sealed partial class GraderLabelModel /// /// The labels that indicate a passing result. Must be a subset of labels. /// + /// + /// The object type, which is always `label_model`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -87,12 +87,12 @@ public GraderLabelModel( global::System.Collections.Generic.IList passingLabels, global::tryAGI.OpenAI.GraderLabelModelType type) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); this.Labels = labels ?? throw new global::System.ArgumentNullException(nameof(labels)); this.PassingLabels = passingLabels ?? throw new global::System.ArgumentNullException(nameof(passingLabels)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderMulti.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderMulti.g.cs index c6a8ef2ee..f7c8eca3f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderMulti.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderMulti.g.cs @@ -48,10 +48,6 @@ public sealed partial class GraderMulti /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `multi`.
- /// Default Value: multi - /// /// /// The name of the grader. /// @@ -59,6 +55,10 @@ public sealed partial class GraderMulti /// /// A formula to calculate the output based on grader results. /// + /// + /// The object type, which is always `multi`.
+ /// Default Value: multi + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -68,10 +68,10 @@ public GraderMulti( string calculateOutput, global::tryAGI.OpenAI.GraderMultiType type = global::tryAGI.OpenAI.GraderMultiType.Multi) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Graders = graders; this.CalculateOutput = calculateOutput ?? throw new global::System.ArgumentNullException(nameof(calculateOutput)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderPython.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderPython.g.cs index a18c4c75f..0f19960b3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderPython.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderPython.g.cs @@ -44,15 +44,15 @@ public sealed partial class GraderPython /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `python`. - /// /// /// The name of the grader. /// /// /// The source code of the python script. /// + /// + /// The object type, which is always `python`. + /// /// /// The image tag to use for the python script. /// @@ -65,9 +65,9 @@ public GraderPython( global::tryAGI.OpenAI.GraderPythonType type, string? imageTag) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); - this.Type = type; this.ImageTag = imageTag; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs index d3973471a..17101783e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs @@ -57,21 +57,21 @@ public sealed partial class GraderScoreModel /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `score_model`. - /// /// /// The name of the grader. /// /// /// The model to use for the evaluation. /// - /// - /// The sampling parameters for the model. - /// /// /// The input messages evaluated by the grader. Supports text, output text, input image, and input audio content blocks, and may include template strings. /// + /// + /// The object type, which is always `score_model`. + /// + /// + /// The sampling parameters for the model. + /// /// /// The range of the score. Defaults to `[0, 1]`. /// @@ -86,11 +86,11 @@ public GraderScoreModel( global::tryAGI.OpenAI.GraderScoreModelSamplingParams? samplingParams, global::System.Collections.Generic.IList? range) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); - this.Type = type; this.SamplingParams = samplingParams; + this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); this.Range = range; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheck.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheck.g.cs index d6851cf62..7b6261d9a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheck.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheck.g.cs @@ -53,9 +53,6 @@ public sealed partial class GraderStringCheck /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `string_check`. - /// /// /// The name of the grader. /// @@ -68,6 +65,9 @@ public sealed partial class GraderStringCheck /// /// The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`. /// + /// + /// The object type, which is always `string_check`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,11 +78,11 @@ public GraderStringCheck( global::tryAGI.OpenAI.GraderStringCheckOperation operation, global::tryAGI.OpenAI.GraderStringCheckType type) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); this.Reference = reference ?? throw new global::System.ArgumentNullException(nameof(reference)); this.Operation = operation; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarity.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarity.g.cs index 394f2cdbc..337db06d7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarity.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarity.g.cs @@ -57,10 +57,6 @@ public sealed partial class GraderTextSimilarity /// /// Initializes a new instance of the class. /// - /// - /// The type of grader.
- /// Default Value: text_similarity - /// /// /// The name of the grader. /// @@ -75,6 +71,10 @@ public sealed partial class GraderTextSimilarity /// `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`,
/// or `rouge_l`. /// + /// + /// The type of grader.
+ /// Default Value: text_similarity + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -85,11 +85,11 @@ public GraderTextSimilarity( global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric evaluationMetric, global::tryAGI.OpenAI.GraderTextSimilarityType type = global::tryAGI.OpenAI.GraderTextSimilarityType.TextSimilarity) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); this.Reference = reference ?? throw new global::System.ArgumentNullException(nameof(reference)); this.EvaluationMetric = evaluationMetric; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Group.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Group.g.cs index e7c8a0949..f9f846b67 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Group.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Group.g.cs @@ -53,9 +53,6 @@ public sealed partial class Group /// /// Initializes a new instance of the class. /// - /// - /// Always `group`. - /// /// /// Identifier for the group. /// @@ -68,6 +65,9 @@ public sealed partial class Group /// /// Whether the group is managed through SCIM. /// + /// + /// Always `group`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,11 +78,11 @@ public Group( bool scimManaged, global::tryAGI.OpenAI.GroupObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.CreatedAt = createdAt; this.ScimManaged = scimManaged; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupDeletedResource.g.cs index 90e1aba63..dc6ebb40f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupDeletedResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupDeletedResource.g.cs @@ -38,15 +38,15 @@ public sealed partial class GroupDeletedResource /// /// Initializes a new instance of the class. /// - /// - /// Always `group.deleted`. - /// /// /// Identifier of the deleted group. /// /// /// Whether the group was deleted. /// + /// + /// Always `group.deleted`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public GroupDeletedResource( bool deleted, global::tryAGI.OpenAI.GroupDeletedResourceObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Deleted = deleted; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupListResource.g.cs index 62598947f..a920cf63a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupListResource.g.cs @@ -44,15 +44,15 @@ public sealed partial class GroupListResource /// /// Initializes a new instance of the class. /// - /// - /// Always `list`. - /// /// /// Groups returned in the current page. /// /// /// Whether additional groups are available when paginating. /// + /// + /// Always `list`. + /// /// /// Cursor to fetch the next page of results, or `null` if there are no more results. /// @@ -65,9 +65,9 @@ public GroupListResource( global::tryAGI.OpenAI.GroupListResourceObject @object, string? next) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; - this.Object = @object; this.Next = next; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupRoleAssignment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupRoleAssignment.g.cs index c55bec9f0..b5d11dedf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupRoleAssignment.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupRoleAssignment.g.cs @@ -38,15 +38,15 @@ public sealed partial class GroupRoleAssignment /// /// Initializes a new instance of the class. /// - /// - /// Always `group.role`. - /// /// /// Summary information about a group returned in role assignment responses. /// /// /// Details about a role that can be assigned through the public Roles API. /// + /// + /// Always `group.role`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public GroupRoleAssignment( global::tryAGI.OpenAI.Role role, global::tryAGI.OpenAI.GroupRoleAssignmentObject @object) { + this.Object = @object; this.Group = group ?? throw new global::System.ArgumentNullException(nameof(group)); this.Role = role ?? throw new global::System.ArgumentNullException(nameof(role)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserAssignment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserAssignment.g.cs index 1a125a00e..dc9ea7e76 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserAssignment.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserAssignment.g.cs @@ -38,15 +38,15 @@ public sealed partial class GroupUserAssignment /// /// Initializes a new instance of the class. /// - /// - /// Always `group.user`. - /// /// /// Identifier of the user that was added. /// /// /// Identifier of the group the user was added to. /// + /// + /// Always `group.user`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public GroupUserAssignment( string groupId, global::tryAGI.OpenAI.GroupUserAssignmentObject @object) { + this.Object = @object; this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId)); this.GroupId = groupId ?? throw new global::System.ArgumentNullException(nameof(groupId)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserDeletedResource.g.cs index c365c673f..a756d77bd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserDeletedResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserDeletedResource.g.cs @@ -31,12 +31,12 @@ public sealed partial class GroupUserDeletedResource /// /// Initializes a new instance of the class. /// - /// - /// Always `group.user.deleted`. - /// /// /// Whether the group membership was removed. /// + /// + /// Always `group.user.deleted`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public GroupUserDeletedResource( bool deleted, global::tryAGI.OpenAI.GroupUserDeletedResourceObject @object) { - this.Deleted = deleted; this.Object = @object; + this.Deleted = deleted; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEvent.g.cs index 9cc888446..168c29610 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEvent.g.cs @@ -78,9 +78,6 @@ public sealed partial class ImageEditCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `image_edit.completed`. - /// /// /// Base64-encoded final edited image data, suitable for rendering as an image. /// @@ -102,6 +99,9 @@ public sealed partial class ImageEditCompletedEvent /// /// For the GPT image models only, the token usage information for the image generation. /// + /// + /// The type of the event. Always `image_edit.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -115,6 +115,7 @@ public ImageEditCompletedEvent( global::tryAGI.OpenAI.ImagesUsage usage, global::tryAGI.OpenAI.ImageEditCompletedEventType type) { + this.Type = type; this.B64Json = b64Json ?? throw new global::System.ArgumentNullException(nameof(b64Json)); this.CreatedAt = createdAt; this.Size = size; @@ -122,7 +123,6 @@ public ImageEditCompletedEvent( this.Background = background; this.OutputFormat = outputFormat; this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEvent.g.cs index 59c038c53..ece70635a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEvent.g.cs @@ -78,9 +78,6 @@ public sealed partial class ImageEditPartialImageEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `image_edit.partial_image`. - /// /// /// Base64-encoded partial image data, suitable for rendering as an image. /// @@ -102,6 +99,9 @@ public sealed partial class ImageEditPartialImageEvent /// /// 0-based index for the partial image (streaming). /// + /// + /// The type of the event. Always `image_edit.partial_image`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -115,6 +115,7 @@ public ImageEditPartialImageEvent( int partialImageIndex, global::tryAGI.OpenAI.ImageEditPartialImageEventType type) { + this.Type = type; this.B64Json = b64Json ?? throw new global::System.ArgumentNullException(nameof(b64Json)); this.CreatedAt = createdAt; this.Size = size; @@ -122,7 +123,6 @@ public ImageEditPartialImageEvent( this.Background = background; this.OutputFormat = outputFormat; this.PartialImageIndex = partialImageIndex; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEvent.g.cs index 4b6a55a71..2b789783d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEvent.g.cs @@ -78,9 +78,6 @@ public sealed partial class ImageGenCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `image_generation.completed`. - /// /// /// Base64-encoded image data, suitable for rendering as an image. /// @@ -102,6 +99,9 @@ public sealed partial class ImageGenCompletedEvent /// /// For the GPT image models only, the token usage information for the image generation. /// + /// + /// The type of the event. Always `image_generation.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -115,6 +115,7 @@ public ImageGenCompletedEvent( global::tryAGI.OpenAI.ImagesUsage usage, global::tryAGI.OpenAI.ImageGenCompletedEventType type) { + this.Type = type; this.B64Json = b64Json ?? throw new global::System.ArgumentNullException(nameof(b64Json)); this.CreatedAt = createdAt; this.Size = size; @@ -122,7 +123,6 @@ public ImageGenCompletedEvent( this.Background = background; this.OutputFormat = outputFormat; this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEvent.g.cs index 248b01986..e81776fa2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEvent.g.cs @@ -78,9 +78,6 @@ public sealed partial class ImageGenPartialImageEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `image_generation.partial_image`. - /// /// /// Base64-encoded partial image data, suitable for rendering as an image. /// @@ -102,6 +99,9 @@ public sealed partial class ImageGenPartialImageEvent /// /// 0-based index for the partial image (streaming). /// + /// + /// The type of the event. Always `image_generation.partial_image`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -115,6 +115,7 @@ public ImageGenPartialImageEvent( int partialImageIndex, global::tryAGI.OpenAI.ImageGenPartialImageEventType type) { + this.Type = type; this.B64Json = b64Json ?? throw new global::System.ArgumentNullException(nameof(b64Json)); this.CreatedAt = createdAt; this.Size = size; @@ -122,7 +123,6 @@ public ImageGenPartialImageEvent( this.Background = background; this.OutputFormat = outputFormat; this.PartialImageIndex = partialImageIndex; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCall.g.cs index d48ffe41f..12f899b15 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCall.g.cs @@ -45,15 +45,15 @@ public sealed partial class ImageGenToolCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the image generation call. Always `image_generation_call`. - /// /// /// The unique ID of the image generation call. /// /// /// The status of the image generation call. /// + /// + /// The type of the image generation call. Always `image_generation_call`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -64,9 +64,9 @@ public ImageGenToolCall( global::tryAGI.OpenAI.ImageGenToolCallType type, string? result) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Status = status; - this.Type = type; this.Result = result; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenUsage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenUsage.g.cs index ae190dc5a..fdb59ce21 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenUsage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenUsage.g.cs @@ -60,12 +60,12 @@ public sealed partial class ImageGenUsage /// /// The number of output tokens generated by the model. /// - /// - /// The output token details for the image generation. - /// /// /// The input tokens detailed information for the image generation. /// + /// + /// The output token details for the image generation. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -79,8 +79,8 @@ public ImageGenUsage( this.InputTokens = inputTokens; this.TotalTokens = totalTokens; this.OutputTokens = outputTokens; - this.InputTokensDetails = inputTokensDetails ?? throw new global::System.ArgumentNullException(nameof(inputTokensDetails)); this.OutputTokensDetails = outputTokensDetails; + this.InputTokensDetails = inputTokensDetails ?? throw new global::System.ArgumentNullException(nameof(inputTokensDetails)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillParam.g.cs index 55f21c1bb..6437e9df6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillParam.g.cs @@ -47,10 +47,6 @@ public sealed partial class InlineSkillParam /// /// Initializes a new instance of the class. /// - /// - /// Defines an inline skill for this request.
- /// Default Value: inline - /// /// /// The name of the skill. /// @@ -60,6 +56,10 @@ public sealed partial class InlineSkillParam /// /// Inline skill payload /// + /// + /// Defines an inline skill for this request.
+ /// Default Value: inline + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -69,10 +69,10 @@ public InlineSkillParam( global::tryAGI.OpenAI.InlineSkillSourceParam source, global::tryAGI.OpenAI.InlineSkillParamType type = global::tryAGI.OpenAI.InlineSkillParamType.Inline) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description)); this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParam.g.cs index 0d7b6141b..e991dd39d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParam.g.cs @@ -21,10 +21,10 @@ public sealed partial class InlineSkillSourceParam /// The media type of the inline skill payload. Must be `application/zip`.
/// Default Value: application/zip ///
- /// global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationZip + /// global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationDividezip [global::System.Text.Json.Serialization.JsonPropertyName("media_type")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.InlineSkillSourceParamMediaTypeJsonConverter))] - public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType MediaType { get; set; } = global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationZip; + public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType MediaType { get; set; } = global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationDividezip; /// /// Base64-encoded skill zip bundle. @@ -42,6 +42,9 @@ public sealed partial class InlineSkillSourceParam /// /// Initializes a new instance of the class. /// + /// + /// Base64-encoded skill zip bundle. + /// /// /// The type of the inline skill source. Must be `base64`.
/// Default Value: base64 @@ -50,20 +53,17 @@ public sealed partial class InlineSkillSourceParam /// The media type of the inline skill payload. Must be `application/zip`.
/// Default Value: application/zip /// - /// - /// Base64-encoded skill zip bundle. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public InlineSkillSourceParam( string data, global::tryAGI.OpenAI.InlineSkillSourceParamType type = global::tryAGI.OpenAI.InlineSkillSourceParamType.Base64, - global::tryAGI.OpenAI.InlineSkillSourceParamMediaType mediaType = global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationZip) + global::tryAGI.OpenAI.InlineSkillSourceParamMediaType mediaType = global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationDividezip) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Type = type; this.MediaType = mediaType; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParamMediaType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParamMediaType.g.cs index a74d7bf1a..294a7279a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParamMediaType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParamMediaType.g.cs @@ -12,7 +12,7 @@ public enum InlineSkillSourceParamMediaType /// /// /// - ApplicationZip, + ApplicationDividezip, } /// @@ -27,7 +27,7 @@ public static string ToValueString(this InlineSkillSourceParamMediaType value) { return value switch { - InlineSkillSourceParamMediaType.ApplicationZip => "application/zip", + InlineSkillSourceParamMediaType.ApplicationDividezip => "application/zip", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -38,7 +38,7 @@ public static string ToValueString(this InlineSkillSourceParamMediaType value) { return value switch { - "application/zip" => InlineSkillSourceParamMediaType.ApplicationZip, + "application/zip" => InlineSkillSourceParamMediaType.ApplicationDividezip, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputAudio.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputAudio.g.cs index 5b485829e..cbdddefc5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputAudio.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputAudio.g.cs @@ -31,10 +31,10 @@ public sealed partial class InputAudio /// /// Initializes a new instance of the class. /// + /// /// /// The type of the input item. Always `input_audio`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public InputAudio( global::tryAGI.OpenAI.InputAudioInputAudio1 inputAudio1, global::tryAGI.OpenAI.InputAudioType type) { - this.InputAudio1 = inputAudio1 ?? throw new global::System.ArgumentNullException(nameof(inputAudio1)); this.Type = type; + this.InputAudio1 = inputAudio1 ?? throw new global::System.ArgumentNullException(nameof(inputAudio1)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContent.g.cs index f04a557c0..a68f544ed 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContent.g.cs @@ -50,10 +50,6 @@ public sealed partial class InputFileContent /// /// Initializes a new instance of the class. /// - /// - /// The type of the input item. Always `input_file`.
- /// Default Value: input_file - /// /// /// /// The name of the file to be sent to the model. @@ -64,6 +60,10 @@ public sealed partial class InputFileContent /// /// The URL of the file to be sent to the model. /// + /// + /// The type of the input item. Always `input_file`.
+ /// Default Value: input_file + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContentParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContentParam.g.cs index d3d908942..60bec8a7e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContentParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContentParam.g.cs @@ -50,14 +50,14 @@ public sealed partial class InputFileContentParam /// /// Initializes a new instance of the class. /// - /// - /// The type of the input item. Always `input_file`.
- /// Default Value: input_file - /// /// /// /// /// + /// + /// The type of the input item. Always `input_file`.
+ /// Default Value: input_file + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContent.g.cs index e5236ba0a..a31717b1c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContent.g.cs @@ -46,14 +46,14 @@ public sealed partial class InputImageContent /// /// Initializes a new instance of the class. /// - /// - /// The type of the input item. Always `input_image`.
- /// Default Value: input_image + /// + /// The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`. /// /// /// - /// - /// The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`. + /// + /// The type of the input item. Always `input_image`.
+ /// Default Value: input_image /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -64,10 +64,10 @@ public InputImageContent( string? fileId, global::tryAGI.OpenAI.InputImageContentType type = global::tryAGI.OpenAI.InputImageContentType.InputImage) { - this.Detail = detail; this.Type = type; this.ImageUrl = imageUrl; this.FileId = fileId; + this.Detail = detail; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContentParamAutoParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContentParamAutoParam.g.cs index e8feff83e..868ede492 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContentParamAutoParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContentParamAutoParam.g.cs @@ -44,13 +44,13 @@ public sealed partial class InputImageContentParamAutoParam /// /// Initializes a new instance of the class. /// + /// + /// + /// /// /// The type of the input item. Always `input_image`.
/// Default Value: input_image /// - /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessage.g.cs index bc7043ed8..0a213be11 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessage.g.cs @@ -50,20 +50,20 @@ public sealed partial class InputMessage /// /// Initializes a new instance of the class. /// - /// - /// The type of the message input. Always set to `message`. - /// /// /// The role of the message input. One of `user`, `system`, or `developer`. /// - /// - /// The status of item. One of `in_progress`, `completed`, or
- /// `incomplete`. Populated when items are returned via API. - /// /// /// A list of one or many input items to the model, containing different content
/// types. /// + /// + /// The type of the message input. Always set to `message`. + /// + /// + /// The status of item. One of `in_progress`, `completed`, or
+ /// `incomplete`. Populated when items are returned via API. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -73,10 +73,10 @@ public InputMessage( global::tryAGI.OpenAI.InputMessageType? type, global::tryAGI.OpenAI.InputMessageStatus? status) { - this.Role = role; - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Type = type; + this.Role = role; this.Status = status; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContent.g.cs index d3020dc7c..e3b95c6a9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContent.g.cs @@ -33,13 +33,13 @@ public sealed partial class InputTextContent /// /// Initializes a new instance of the class. /// + /// + /// The text input to the model. + /// /// /// The type of the input item. Always `input_text`.
/// Default Value: input_text /// - /// - /// The text input to the model. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public InputTextContent( string text, global::tryAGI.OpenAI.InputTextContentType type = global::tryAGI.OpenAI.InputTextContentType.InputText) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContentParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContentParam.g.cs index a0b1a99c3..3aa163f29 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContentParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContentParam.g.cs @@ -33,13 +33,13 @@ public sealed partial class InputTextContentParam /// /// Initializes a new instance of the class. /// + /// + /// The text input to the model. + /// /// /// The type of the input item. Always `input_text`.
/// Default Value: input_text /// - /// - /// The text input to the model. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public InputTextContentParam( string text, global::tryAGI.OpenAI.InputTextContentParamType type = global::tryAGI.OpenAI.InputTextContentParamType.InputText) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Invite.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Invite.g.cs index 7554571b7..12e8e94d1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Invite.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Invite.g.cs @@ -83,9 +83,6 @@ public sealed partial class Invite /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `organization.invite` - /// /// /// The identifier, which can be referenced in API endpoints /// @@ -104,6 +101,9 @@ public sealed partial class Invite /// /// The Unix timestamp (in seconds) of when the invite expires. /// + /// + /// The object type, which is always `organization.invite` + /// /// /// The Unix timestamp (in seconds) of when the invite was accepted. /// @@ -124,13 +124,13 @@ public Invite( global::System.DateTimeOffset? acceptedAt, global::System.Collections.Generic.IList? projects) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Email = email ?? throw new global::System.ArgumentNullException(nameof(email)); this.Role = role; this.Status = status; this.InvitedAt = invitedAt; this.ExpiresAt = expiresAt; - this.Object = @object; this.AcceptedAt = acceptedAt; this.Projects = projects; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteDeleteResponse.g.cs index df3d8129b..eb80d527a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteDeleteResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteDeleteResponse.g.cs @@ -38,11 +38,11 @@ public sealed partial class InviteDeleteResponse /// /// Initializes a new instance of the class. /// + /// + /// /// /// The object type, which is always `organization.invite.deleted` /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -51,9 +51,9 @@ public InviteDeleteResponse( bool deleted, global::tryAGI.OpenAI.InviteDeleteResponseObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Deleted = deleted; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteListResponse.g.cs index 791806a67..40ea037d0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteListResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteListResponse.g.cs @@ -49,10 +49,10 @@ public sealed partial class InviteListResponse /// /// Initializes a new instance of the class. /// + /// /// /// The object type, which is always `list` /// - /// /// /// The first `invite_id` in the retrieved `list` /// @@ -72,8 +72,8 @@ public InviteListResponse( string? lastId, bool? hasMore) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId; this.LastId = lastId; this.HasMore = hasMore; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ItemReferenceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ItemReferenceParam.g.cs index 00d2bceb8..ebd39a88b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ItemReferenceParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ItemReferenceParam.g.cs @@ -30,10 +30,10 @@ public sealed partial class ItemReferenceParam /// /// Initializes a new instance of the class. /// - /// /// /// The ID of the item to reference. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -41,8 +41,8 @@ public ItemReferenceParam( string id, global::tryAGI.OpenAI.ItemReferenceParamType2? type) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.KeyPressAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.KeyPressAction.g.cs index 5495bd81c..e6d108826 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.KeyPressAction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.KeyPressAction.g.cs @@ -33,13 +33,13 @@ public sealed partial class KeyPressAction /// /// Initializes a new instance of the class. /// + /// + /// The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key. + /// /// /// Specifies the event type. For a keypress action, this property is always set to `keypress`.
/// Default Value: keypress /// - /// - /// The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public KeyPressAction( global::System.Collections.Generic.IList keys, global::tryAGI.OpenAI.KeyPressActionType type = global::tryAGI.OpenAI.KeyPressActionType.Keypress) { - this.Keys = keys ?? throw new global::System.ArgumentNullException(nameof(keys)); this.Type = type; + this.Keys = keys ?? throw new global::System.ArgumentNullException(nameof(keys)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListAuditLogsResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListAuditLogsResponse.g.cs index 79134e7b9..ea8d9bcc9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListAuditLogsResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListAuditLogsResponse.g.cs @@ -54,7 +54,6 @@ public sealed partial class ListAuditLogsResponse /// /// Initializes a new instance of the class. /// - /// /// /// /// Example: audit_log-defb456h8dks @@ -63,6 +62,7 @@ public sealed partial class ListAuditLogsResponse /// Example: audit_log-hnbkd8s93s /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -73,11 +73,11 @@ public ListAuditLogsResponse( bool hasMore, global::tryAGI.OpenAI.ListAuditLogsResponseObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListBatchesResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListBatchesResponse.g.cs index 2325e1576..86505767e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListBatchesResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListBatchesResponse.g.cs @@ -53,13 +53,13 @@ public sealed partial class ListBatchesResponse /// Initializes a new instance of the class. /// /// + /// /// /// Example: batch_abc123 /// /// /// Example: batch_abc456 /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -72,9 +72,9 @@ public ListBatchesResponse( global::tryAGI.OpenAI.ListBatchesResponseObject @object) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; this.Object = @object; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListCertificatesResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListCertificatesResponse.g.cs index 1d8f711d5..ef3d692ae 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListCertificatesResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListCertificatesResponse.g.cs @@ -53,13 +53,13 @@ public sealed partial class ListCertificatesResponse /// Initializes a new instance of the class. /// /// + /// /// /// Example: cert_abc /// /// /// Example: cert_abc /// - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -72,9 +72,9 @@ public ListCertificatesResponse( global::tryAGI.OpenAI.ListCertificatesResponseObject @object) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; this.Object = @object; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningCheckpointPermissionResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningCheckpointPermissionResponse.g.cs index 2d9ce7034..74cc01d30 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningCheckpointPermissionResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningCheckpointPermissionResponse.g.cs @@ -51,10 +51,10 @@ public sealed partial class ListFineTuningCheckpointPermissionResponse /// Initializes a new instance of the class. ///
/// + /// /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ListFineTuningCheckpointPermissionResponse( string? lastId) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobCheckpointsResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobCheckpointsResponse.g.cs index 2f07248ec..6be4b2fb0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobCheckpointsResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobCheckpointsResponse.g.cs @@ -51,10 +51,10 @@ public sealed partial class ListFineTuningJobCheckpointsResponse /// Initializes a new instance of the class. /// /// + /// /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ListFineTuningJobCheckpointsResponse( string? lastId) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobEventsResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobEventsResponse.g.cs index 6323a2d0d..93a864428 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobEventsResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobEventsResponse.g.cs @@ -39,8 +39,8 @@ public sealed partial class ListFineTuningJobEventsResponse /// Initializes a new instance of the class. /// /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,8 +50,8 @@ public ListFineTuningJobEventsResponse( global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject @object) { this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListModelsResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListModelsResponse.g.cs index 74011a776..5abb14da3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListModelsResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListModelsResponse.g.cs @@ -31,8 +31,8 @@ public sealed partial class ListModelsResponse /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public ListModelsResponse( global::System.Collections.Generic.IList data, global::tryAGI.OpenAI.ListModelsResponseObject @object) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalEnvironmentParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalEnvironmentParam.g.cs index d5bc4d144..7e7db456c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalEnvironmentParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalEnvironmentParam.g.cs @@ -32,13 +32,13 @@ public sealed partial class LocalEnvironmentParam /// /// Initializes a new instance of the class. /// + /// + /// An optional list of skills. + /// /// /// Use a local computer environment.
/// Default Value: local /// - /// - /// An optional list of skills. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellExecAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellExecAction.g.cs index 83e7ff4c1..a670bcb31 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellExecAction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellExecAction.g.cs @@ -58,19 +58,19 @@ public sealed partial class LocalShellExecAction /// /// Initializes a new instance of the class. /// - /// - /// The type of the local shell action. Always `exec`.
- /// Default Value: exec - /// /// /// The command to run. /// - /// - /// /// /// Environment variables to set for the command. /// + /// + /// /// + /// + /// The type of the local shell action. Always `exec`.
+ /// Default Value: exec + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,11 +82,11 @@ public LocalShellExecAction( string? user, global::tryAGI.OpenAI.LocalShellExecActionType type = global::tryAGI.OpenAI.LocalShellExecActionType.Exec) { - this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); - this.Env = env ?? throw new global::System.ArgumentNullException(nameof(env)); this.Type = type; + this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command)); this.TimeoutMs = timeoutMs; this.WorkingDirectory = workingDirectory; + this.Env = env ?? throw new global::System.ArgumentNullException(nameof(env)); this.User = user; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCall.g.cs index 15100197f..972976561 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCall.g.cs @@ -53,9 +53,6 @@ public sealed partial class LocalShellToolCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the local shell call. Always `local_shell_call`. - /// /// /// The unique ID of the local shell call. /// @@ -68,6 +65,9 @@ public sealed partial class LocalShellToolCall /// /// The status of the local shell call. /// + /// + /// The type of the local shell call. Always `local_shell_call`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,11 +78,11 @@ public LocalShellToolCall( global::tryAGI.OpenAI.LocalShellToolCallStatus status, global::tryAGI.OpenAI.LocalShellToolCallType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action)); this.Status = status; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutput.g.cs index 178882452..d74ce2974 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutput.g.cs @@ -44,15 +44,15 @@ public sealed partial class LocalShellToolCallOutput /// /// Initializes a new instance of the class. /// - /// - /// The type of the local shell tool call output. Always `local_shell_call_output`. - /// /// /// The unique ID of the local shell tool call generated by the model. /// /// /// A JSON string of the output of the local shell tool call. /// + /// + /// The type of the local shell tool call output. Always `local_shell_call_output`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -63,9 +63,9 @@ public LocalShellToolCallOutput( global::tryAGI.OpenAI.LocalShellToolCallOutputType type, global::tryAGI.OpenAI.LocalShellToolCallOutputStatus2? status) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); - this.Type = type; this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LockedStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LockedStatus.g.cs index 10b07bb9d..30a04989f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LockedStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LockedStatus.g.cs @@ -32,11 +32,11 @@ public sealed partial class LockedStatus /// /// Initializes a new instance of the class. /// + /// /// /// Status discriminator that is always `locked`.
/// Default Value: locked /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalRequest.g.cs index a9566244d..97caecd46 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalRequest.g.cs @@ -52,9 +52,6 @@ public sealed partial class MCPApprovalRequest /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_approval_request`. - /// /// /// The unique ID of the approval request. /// @@ -67,6 +64,9 @@ public sealed partial class MCPApprovalRequest /// /// A JSON string of arguments for the tool. /// + /// + /// The type of the item. Always `mcp_approval_request`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public MCPApprovalRequest( string arguments, global::tryAGI.OpenAI.MCPApprovalRequestType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponse.g.cs index adda938bd..08fc23730 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponse.g.cs @@ -50,16 +50,16 @@ public sealed partial class MCPApprovalResponse /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_approval_response`. - /// - /// /// /// The ID of the approval request being answered. /// /// /// Whether the request was approved. /// + /// + /// The type of the item. Always `mcp_approval_response`. + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -71,10 +71,10 @@ public MCPApprovalResponse( string? id, string? reason) { - this.ApprovalRequestId = approvalRequestId ?? throw new global::System.ArgumentNullException(nameof(approvalRequestId)); - this.Approve = approve; this.Type = type; this.Id = id; + this.ApprovalRequestId = approvalRequestId ?? throw new global::System.ArgumentNullException(nameof(approvalRequestId)); + this.Approve = approve; this.Reason = reason; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponseResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponseResource.g.cs index 2f71ff0f3..2c35894d9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponseResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponseResource.g.cs @@ -51,9 +51,6 @@ public sealed partial class MCPApprovalResponseResource /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_approval_response`. - /// /// /// The unique ID of the approval response /// @@ -63,6 +60,9 @@ public sealed partial class MCPApprovalResponseResource /// /// Whether the request was approved. /// + /// + /// The type of the item. Always `mcp_approval_response`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -74,10 +74,10 @@ public MCPApprovalResponseResource( global::tryAGI.OpenAI.MCPApprovalResponseResourceType type, string? reason) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.ApprovalRequestId = approvalRequestId ?? throw new global::System.ArgumentNullException(nameof(approvalRequestId)); this.Approve = approve; - this.Type = type; this.Reason = reason; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListTools.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListTools.g.cs index 2905cf3b5..9af56dbf6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListTools.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListTools.g.cs @@ -51,9 +51,6 @@ public sealed partial class MCPListTools /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_list_tools`. - /// /// /// The unique ID of the list. /// @@ -63,6 +60,9 @@ public sealed partial class MCPListTools /// /// The tools available on the server. /// + /// + /// The type of the item. Always `mcp_list_tools`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -74,10 +74,10 @@ public MCPListTools( global::tryAGI.OpenAI.MCPListToolsType type, string? error) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); - this.Type = type; this.Error = error; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListToolsTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListToolsTool.g.cs index a617579a2..035832787 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListToolsTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListToolsTool.g.cs @@ -46,10 +46,10 @@ public sealed partial class MCPListToolsTool /// /// The name of the tool. /// - /// /// /// The JSON schema describing the tool's input. /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -61,8 +61,8 @@ public MCPListToolsTool( object? annotations) { this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema)); this.Description = description; + this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema)); this.Annotations = annotations; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPTool.g.cs index 9cd056c3e..b838837e4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPTool.g.cs @@ -95,12 +95,12 @@ public sealed partial class MCPTool /// /// Initializes a new instance of the class. /// - /// - /// The type of the MCP tool. Always `mcp`. - /// /// /// A label for this MCP server, used to identify it in tool calls. /// + /// + /// The type of the MCP tool. Always `mcp`. + /// /// /// The URL for the MCP server. One of `server_url` or `connector_id` must be
/// provided. @@ -148,8 +148,8 @@ public MCPTool( global::tryAGI.OpenAI.OneOf? requireApproval, bool? deferLoading) { - this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Type = type; + this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.ServerUrl = serverUrl; this.ConnectorId = connectorId; this.Authorization = authorization; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCall.g.cs index 5b16d6d84..885f21dd3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCall.g.cs @@ -77,9 +77,6 @@ public sealed partial class MCPToolCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_call`. - /// /// /// The unique ID of the tool call. /// @@ -92,6 +89,9 @@ public sealed partial class MCPToolCall /// /// A JSON string of the arguments passed to the tool. /// + /// + /// The type of the item. Always `mcp_call`. + /// /// /// /// @@ -112,11 +112,11 @@ public MCPToolCall( global::tryAGI.OpenAI.MCPToolCallStatus? status, string? approvalRequestId) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; this.Output = output; this.Error = error; this.Status = status; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Message.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Message.g.cs index 4c00e317d..c34c7e6e8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Message.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Message.g.cs @@ -56,10 +56,6 @@ public sealed partial class Message /// /// Initializes a new instance of the class. /// - /// - /// The type of the message. Always set to `message`.
- /// Default Value: message - /// /// /// The unique ID of the message. /// @@ -72,6 +68,10 @@ public sealed partial class Message /// /// The content of the message /// + /// + /// The type of the message. Always set to `message`.
+ /// Default Value: message + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,11 +82,11 @@ public Message( global::System.Collections.Generic.IList content, global::tryAGI.OpenAI.MessageType type = global::tryAGI.OpenAI.MessageType.Message) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Status = status; this.Role = role; this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObject.g.cs index e4b18df44..be9bf7dd3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObject.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageContentImageFileObject /// /// Initializes a new instance of the class. /// + /// /// /// Always `image_file`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageContentImageFileObject( global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile imageFile, global::tryAGI.OpenAI.MessageContentImageFileObjectType type) { - this.ImageFile = imageFile ?? throw new global::System.ArgumentNullException(nameof(imageFile)); this.Type = type; + this.ImageFile = imageFile ?? throw new global::System.ArgumentNullException(nameof(imageFile)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObject.g.cs index 087dfa98f..4ca64f25b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObject.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageContentImageUrlObject /// /// Initializes a new instance of the class. /// + /// /// /// The type of the content part. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageContentImageUrlObject( global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl imageUrl, global::tryAGI.OpenAI.MessageContentImageUrlObjectType type) { - this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); this.Type = type; + this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentRefusalObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentRefusalObject.g.cs index cd30c63c3..20d00d0f7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentRefusalObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentRefusalObject.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageContentRefusalObject /// /// Initializes a new instance of the class. /// + /// /// /// Always `refusal`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageContentRefusalObject( string refusal, global::tryAGI.OpenAI.MessageContentRefusalObjectType type) { - this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); this.Type = type; + this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFileCitationObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFileCitationObject.g.cs index d92d5bebd..47e37e90e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFileCitationObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFileCitationObject.g.cs @@ -52,15 +52,15 @@ public sealed partial class MessageContentTextAnnotationsFileCitationObject /// /// Initializes a new instance of the class. /// - /// - /// Always `file_citation`. - /// /// /// The text in the message content that needs to be replaced. /// /// /// /// + /// + /// Always `file_citation`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -71,11 +71,11 @@ public MessageContentTextAnnotationsFileCitationObject( int endIndex, global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType type) { + this.Type = type; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.FileCitation = fileCitation ?? throw new global::System.ArgumentNullException(nameof(fileCitation)); this.StartIndex = startIndex; this.EndIndex = endIndex; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFilePathObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFilePathObject.g.cs index 3be26b63b..51b7ca254 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFilePathObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFilePathObject.g.cs @@ -52,15 +52,15 @@ public sealed partial class MessageContentTextAnnotationsFilePathObject /// /// Initializes a new instance of the class. /// - /// - /// Always `file_path`. - /// /// /// The text in the message content that needs to be replaced. /// /// /// /// + /// + /// Always `file_path`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -71,11 +71,11 @@ public MessageContentTextAnnotationsFilePathObject( int endIndex, global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType type) { + this.Type = type; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.FilePath = filePath ?? throw new global::System.ArgumentNullException(nameof(filePath)); this.StartIndex = startIndex; this.EndIndex = endIndex; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextObject.g.cs index 3b28ef683..0f095876c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextObject.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageContentTextObject /// /// Initializes a new instance of the class. /// + /// /// /// Always `text`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageContentTextObject( global::tryAGI.OpenAI.MessageContentTextObjectText text, global::tryAGI.OpenAI.MessageContentTextObjectType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObject.g.cs index 92c50f8a5..58b8d2283 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObject.g.cs @@ -41,12 +41,12 @@ public sealed partial class MessageDeltaObject /// /// The identifier of the message, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `thread.message.delta`. - /// /// /// The delta containing the fields that have changed on the Message. /// + /// + /// The object type, which is always `thread.message.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public MessageDeltaObject( global::tryAGI.OpenAI.MessageDeltaObjectObject @object) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.Object = @object; + this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs index 62640df59..09f10ab5c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs @@ -114,9 +114,6 @@ public sealed partial class MessageObject /// /// The identifier, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `thread.message`. - /// /// /// The Unix timestamp (in seconds) for when the message was created. /// @@ -126,15 +123,18 @@ public sealed partial class MessageObject /// /// The status of the message, which can be either `in_progress`, `incomplete`, or `completed`. /// - /// - /// - /// /// /// The entity that produced the message. One of `user` or `assistant`. /// /// /// The content of the message in array of text and/or images. /// + /// + /// The object type, which is always `thread.message`. + /// + /// + /// + /// /// /// /// @@ -159,15 +159,15 @@ public MessageObject( global::System.Collections.Generic.Dictionary? metadata) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); this.Status = status; - this.Role = role; - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Object = @object; this.IncompleteDetails = incompleteDetails; this.CompletedAt = completedAt; this.IncompleteAt = incompleteAt; + this.Role = role; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.AssistantId = assistantId; this.RunId = runId; this.Attachments = attachments; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRequestContentTextObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRequestContentTextObject.g.cs index 63f14aada..477e992d6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRequestContentTextObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRequestContentTextObject.g.cs @@ -31,12 +31,12 @@ public sealed partial class MessageRequestContentTextObject /// /// Initializes a new instance of the class. /// - /// - /// Always `text`. - /// /// /// Text content to be sent to the model /// + /// + /// Always `text`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public MessageRequestContentTextObject( string text, global::tryAGI.OpenAI.MessageRequestContentTextObjectType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant1.g.cs index 6a85730ef..7d4190393 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant1.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant1.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant1 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a message within a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageStreamEventVariant1( global::tryAGI.OpenAI.MessageObject data, global::tryAGI.OpenAI.MessageStreamEventVariant1Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant2.g.cs index a565adb5e..07a1aa5a6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant2.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant2 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a message within a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageStreamEventVariant2( global::tryAGI.OpenAI.MessageObject data, global::tryAGI.OpenAI.MessageStreamEventVariant2Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant3.g.cs index 9d0260c3c..bbc1fbf8e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant3.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant3.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant3 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a message delta i.e. any changed fields on a message during streaming. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageStreamEventVariant3( global::tryAGI.OpenAI.MessageDeltaObject data, global::tryAGI.OpenAI.MessageStreamEventVariant3Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant4.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant4.g.cs index 7d4b52234..57d9845df 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant4.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant4.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant4 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a message within a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageStreamEventVariant4( global::tryAGI.OpenAI.MessageObject data, global::tryAGI.OpenAI.MessageStreamEventVariant4Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant5.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant5.g.cs index 02e67b0f7..44690236e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant5.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant5.g.cs @@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant5 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a message within a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public MessageStreamEventVariant5( global::tryAGI.OpenAI.MessageObject data, global::tryAGI.OpenAI.MessageStreamEventVariant5Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Model17.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Model17.g.cs index df993c1d5..fb7d3cdb9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Model17.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Model17.g.cs @@ -52,12 +52,12 @@ public sealed partial class Model17 /// /// The Unix timestamp (in seconds) when the model was created. /// - /// - /// The object type, which is always "model". - /// /// /// The organization that owns the model. /// + /// + /// The object type, which is always "model". + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -69,8 +69,8 @@ public Model17( { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Created = created; - this.OwnedBy = ownedBy ?? throw new global::System.ArgumentNullException(nameof(ownedBy)); this.Object = @object; + this.OwnedBy = ownedBy ?? throw new global::System.ArgumentNullException(nameof(ownedBy)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MoveParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MoveParam.g.cs index c2478922c..1a7246e8a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MoveParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MoveParam.g.cs @@ -46,10 +46,6 @@ public sealed partial class MoveParam /// /// Initializes a new instance of the class. /// - /// - /// Specifies the event type. For a move action, this property is always set to `move`.
- /// Default Value: move - /// /// /// The x-coordinate to move to. /// @@ -57,6 +53,10 @@ public sealed partial class MoveParam /// The y-coordinate to move to. /// /// + /// + /// Specifies the event type. For a move action, this property is always set to `move`.
+ /// Default Value: move + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,9 +66,9 @@ public MoveParam( global::System.Collections.Generic.IList? keys, global::tryAGI.OpenAI.MoveParamType type = global::tryAGI.OpenAI.MoveParamType.Move) { + this.Type = type; this.X = x; this.Y = y; - this.Type = type; this.Keys = keys; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NamespaceToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NamespaceToolParam.g.cs index 9de937f87..0ef22cfcf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NamespaceToolParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NamespaceToolParam.g.cs @@ -47,10 +47,6 @@ public sealed partial class NamespaceToolParam /// /// Initializes a new instance of the class. /// - /// - /// The type of the tool. Always `namespace`.
- /// Default Value: namespace - /// /// /// The namespace name used in tool calls (for example, `crm`). /// @@ -60,6 +56,10 @@ public sealed partial class NamespaceToolParam /// /// The function/custom tools available inside this namespace. /// + /// + /// The type of the tool. Always `namespace`.
+ /// Default Value: namespace + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -69,10 +69,10 @@ public NamespaceToolParam( global::System.Collections.Generic.IList tools, global::tryAGI.OpenAI.NamespaceToolParamType type = global::tryAGI.OpenAI.NamespaceToolParamType.Namespace) { + this.Type = type; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description)); this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs index f4c37f574..d9be478c4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs @@ -94,21 +94,21 @@ public sealed partial class OpenAIFile /// /// The Unix timestamp (in seconds) for when the file was created. /// - /// - /// The Unix timestamp (in seconds) for when the file will expire. - /// /// /// The name of the file. /// - /// - /// The object type, which is always `file`. - /// /// /// The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`, and `user_data`. /// /// /// Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`. /// + /// + /// The Unix timestamp (in seconds) for when the file will expire. + /// + /// + /// The object type, which is always `file`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -125,11 +125,11 @@ public OpenAIFile( this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Bytes = bytes; this.CreatedAt = createdAt; + this.ExpiresAt = expiresAt; this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); + this.Object = @object; this.Purpose = purpose; this.Status = status; - this.ExpiresAt = expiresAt; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputAudio.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputAudio.g.cs index 7b573e241..ded5428d5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputAudio.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputAudio.g.cs @@ -38,15 +38,15 @@ public sealed partial class OutputAudio /// /// Initializes a new instance of the class. /// - /// - /// The type of the output audio. Always `output_audio`. - /// /// /// Base64-encoded audio data from the model. /// /// /// The transcript of the audio data from the model. /// + /// + /// The type of the output audio. Always `output_audio`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public OutputAudio( string transcript, global::tryAGI.OpenAI.OutputAudioType type) { + this.Type = type; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Transcript = transcript ?? throw new global::System.ArgumentNullException(nameof(transcript)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessage.g.cs index c2a286c6b..35ec10f34 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessage.g.cs @@ -63,20 +63,20 @@ public sealed partial class OutputMessage /// /// The unique ID of the output message. /// - /// - /// The type of the output message. Always `message`. - /// - /// - /// The role of the output message. Always `assistant`. - /// /// /// The content of the output message. /// - /// /// /// The status of the message input. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when input items are returned via API. /// + /// + /// The type of the output message. Always `message`. + /// + /// + /// The role of the output message. Always `assistant`. + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -89,11 +89,11 @@ public OutputMessage( global::tryAGI.OpenAI.MessagePhase? phase) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Status = status; this.Type = type; this.Role = role; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Phase = phase; + this.Status = status; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputTextContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputTextContent.g.cs index 055a93529..0f614ebb3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputTextContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputTextContent.g.cs @@ -47,10 +47,6 @@ public sealed partial class OutputTextContent /// /// Initializes a new instance of the class. /// - /// - /// The type of the output text. Always `output_text`.
- /// Default Value: output_text - /// /// /// The text output from the model. /// @@ -58,6 +54,10 @@ public sealed partial class OutputTextContent /// The annotations of the text output. /// /// + /// + /// The type of the output text. Always `output_text`.
+ /// Default Value: output_text + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,10 +67,10 @@ public OutputTextContent( global::System.Collections.Generic.IList logprobs, global::tryAGI.OpenAI.OutputTextContentType type = global::tryAGI.OpenAI.OutputTextContentType.OutputText) { + this.Type = type; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Annotations = annotations ?? throw new global::System.ArgumentNullException(nameof(annotations)); this.Logprobs = logprobs ?? throw new global::System.ArgumentNullException(nameof(logprobs)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PredictionContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PredictionContent.g.cs index 9aa167972..b854dbb1f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PredictionContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PredictionContent.g.cs @@ -36,15 +36,15 @@ public sealed partial class PredictionContent /// /// Initializes a new instance of the class. /// - /// - /// The type of the predicted content you want to provide. This type is
- /// currently always `content`. - /// /// /// The content that should be matched when generating a model response.
/// If generated tokens would match this content, the entire model response
/// can be returned much more quickly. /// + /// + /// The type of the predicted content you want to provide. This type is
+ /// currently always `content`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,8 +52,8 @@ public PredictionContent( global::tryAGI.OpenAI.OneOf> content, global::tryAGI.OpenAI.PredictionContentType type) { - this.Content = content; this.Type = type; + this.Content = content; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Project.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Project.g.cs index 409600807..3aa653925 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Project.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Project.g.cs @@ -63,19 +63,19 @@ public sealed partial class Project /// /// The identifier, which can be referenced in API endpoints /// - /// - /// The object type, which is always `organization.project` - /// /// /// The name of the project. This appears in reporting. /// /// /// The Unix timestamp (in seconds) of when the project was created. /// - /// /// /// `active` or `archived` /// + /// + /// The object type, which is always `organization.project` + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,11 +88,11 @@ public Project( global::System.DateTimeOffset? archivedAt) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.CreatedAt = createdAt; - this.Status = status; - this.Object = @object; this.ArchivedAt = archivedAt; + this.Status = status; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKey.g.cs index 9912dccec..b80412d45 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKey.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKey.g.cs @@ -68,9 +68,6 @@ public sealed partial class ProjectApiKey /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `organization.project.api_key` - /// /// /// The redacted value of the API key /// @@ -87,6 +84,9 @@ public sealed partial class ProjectApiKey /// The identifier, which can be referenced in API endpoints /// /// + /// + /// The object type, which is always `organization.project.api_key` + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -99,13 +99,13 @@ public ProjectApiKey( global::tryAGI.OpenAI.ProjectApiKeyOwner owner, global::tryAGI.OpenAI.ProjectApiKeyObject @object) { + this.Object = @object; this.RedactedValue = redactedValue ?? throw new global::System.ArgumentNullException(nameof(redactedValue)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.CreatedAt = createdAt; this.LastUsedAt = lastUsedAt; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Owner = owner ?? throw new global::System.ArgumentNullException(nameof(owner)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyDeleteResponse.g.cs index f7344c276..0ec8099a2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyDeleteResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyDeleteResponse.g.cs @@ -38,9 +38,9 @@ public sealed partial class ProjectApiKeyDeleteResponse /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public ProjectApiKeyDeleteResponse( bool deleted, global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Deleted = deleted; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyListResponse.g.cs index 9f3604c67..f4d70cda1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyListResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyListResponse.g.cs @@ -52,11 +52,11 @@ public sealed partial class ProjectApiKeyListResponse /// /// Initializes a new instance of the class. /// - /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,11 +67,11 @@ public ProjectApiKeyListResponse( bool hasMore, global::tryAGI.OpenAI.ProjectApiKeyListResponseObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs index 8190458bd..704122fe1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs @@ -53,9 +53,6 @@ public sealed partial class ProjectGroup /// /// Initializes a new instance of the class. /// - /// - /// Always `project.group`. - /// /// /// Identifier of the project. /// @@ -68,6 +65,9 @@ public sealed partial class ProjectGroup /// /// Unix timestamp (in seconds) when the group was granted project access. /// + /// + /// Always `project.group`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,11 +78,11 @@ public ProjectGroup( global::System.DateTimeOffset createdAt, global::tryAGI.OpenAI.ProjectGroupObject @object) { + this.Object = @object; this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId)); this.GroupId = groupId ?? throw new global::System.ArgumentNullException(nameof(groupId)); this.GroupName = groupName ?? throw new global::System.ArgumentNullException(nameof(groupName)); this.CreatedAt = createdAt; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupDeletedResource.g.cs index 28a5e3b9f..4db8142ea 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupDeletedResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupDeletedResource.g.cs @@ -31,12 +31,12 @@ public sealed partial class ProjectGroupDeletedResource /// /// Initializes a new instance of the class. /// - /// - /// Always `project.group.deleted`. - /// /// /// Whether the group membership in the project was removed. /// + /// + /// Always `project.group.deleted`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ProjectGroupDeletedResource( bool deleted, global::tryAGI.OpenAI.ProjectGroupDeletedResourceObject @object) { - this.Deleted = deleted; this.Object = @object; + this.Deleted = deleted; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupListResource.g.cs index bb50a666f..0a6112f92 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupListResource.g.cs @@ -44,15 +44,15 @@ public sealed partial class ProjectGroupListResource /// /// Initializes a new instance of the class. /// - /// - /// Always `list`. - /// /// /// Project group memberships returned in the current page. /// /// /// Whether additional project group memberships are available. /// + /// + /// Always `list`. + /// /// /// Cursor to fetch the next page of results, or `null` when there are no more results. /// @@ -65,9 +65,9 @@ public ProjectGroupListResource( global::tryAGI.OpenAI.ProjectGroupListResourceObject @object, string? next) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; - this.Object = @object; this.Next = next; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectListResponse.g.cs index 3d6e89d51..f5479e129 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectListResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectListResponse.g.cs @@ -52,11 +52,11 @@ public sealed partial class ProjectListResponse /// /// Initializes a new instance of the class. /// - /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,11 +67,11 @@ public ProjectListResponse( bool hasMore, global::tryAGI.OpenAI.ProjectListResponseObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimit.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimit.g.cs index 3bd505d5a..6f7780a65 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimit.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimit.g.cs @@ -76,9 +76,6 @@ public sealed partial class ProjectRateLimit /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `project.rate_limit` - /// /// /// The identifier, which can be referenced in API endpoints. /// @@ -91,6 +88,9 @@ public sealed partial class ProjectRateLimit /// /// The maximum tokens per minute. /// + /// + /// The object type, which is always `project.rate_limit` + /// /// /// The maximum images per minute. Only present for relevant models. /// @@ -117,11 +117,11 @@ public ProjectRateLimit( int? maxRequestsPer1Day, int? batch1DayMaxInputTokens) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); this.MaxRequestsPer1Minute = maxRequestsPer1Minute; this.MaxTokensPer1Minute = maxTokensPer1Minute; - this.Object = @object; this.MaxImagesPer1Minute = maxImagesPer1Minute; this.MaxAudioMegabytesPer1Minute = maxAudioMegabytesPer1Minute; this.MaxRequestsPer1Day = maxRequestsPer1Day; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimitListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimitListResponse.g.cs index e35719ed1..1ff10d652 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimitListResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimitListResponse.g.cs @@ -52,11 +52,11 @@ public sealed partial class ProjectRateLimitListResponse /// /// Initializes a new instance of the class. /// - /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,11 +67,11 @@ public ProjectRateLimitListResponse( bool hasMore, global::tryAGI.OpenAI.ProjectRateLimitListResponseObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccount.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccount.g.cs index 35a312463..c5dce4cf3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccount.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccount.g.cs @@ -54,9 +54,6 @@ public sealed partial class ProjectServiceAccount /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `organization.project.service_account` - /// /// /// The identifier, which can be referenced in API endpoints /// @@ -69,6 +66,9 @@ public sealed partial class ProjectServiceAccount /// /// The Unix timestamp (in seconds) of when the service account was created /// + /// + /// The object type, which is always `organization.project.service_account` + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -79,11 +79,11 @@ public ProjectServiceAccount( global::System.DateTimeOffset createdAt, global::tryAGI.OpenAI.ProjectServiceAccountObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Role = role; this.CreatedAt = createdAt; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountApiKey.g.cs index 64390540c..4dbd852f5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountApiKey.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountApiKey.g.cs @@ -52,13 +52,13 @@ public sealed partial class ProjectServiceAccountApiKey /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `organization.project.service_account.api_key` - /// /// /// /// /// + /// + /// The object type, which is always `organization.project.service_account.api_key` + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -69,11 +69,11 @@ public ProjectServiceAccountApiKey( string id, global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject @object) { + this.Object = @object; this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.CreatedAt = createdAt; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountCreateResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountCreateResponse.g.cs index 079de55a2..9533e95c4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountCreateResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountCreateResponse.g.cs @@ -59,14 +59,14 @@ public sealed partial class ProjectServiceAccountCreateResponse /// /// Initializes a new instance of the class. /// - /// /// /// + /// + /// + /// /// /// Service accounts can only have one role of type `member` /// - /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,12 +78,12 @@ public ProjectServiceAccountCreateResponse( global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject @object, global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole role) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Role = role; this.CreatedAt = createdAt; this.ApiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); - this.Object = @object; - this.Role = role; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountDeleteResponse.g.cs index 4878ce711..6dbcb66d8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountDeleteResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountDeleteResponse.g.cs @@ -38,9 +38,9 @@ public sealed partial class ProjectServiceAccountDeleteResponse /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public ProjectServiceAccountDeleteResponse( bool deleted, global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Deleted = deleted; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountListResponse.g.cs index 077aca970..7972a67c8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountListResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountListResponse.g.cs @@ -52,11 +52,11 @@ public sealed partial class ProjectServiceAccountListResponse /// /// Initializes a new instance of the class. /// - /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,11 +67,11 @@ public ProjectServiceAccountListResponse( bool hasMore, global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUser.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUser.g.cs index f29a6ec93..2e4535fb3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUser.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUser.g.cs @@ -61,9 +61,6 @@ public sealed partial class ProjectUser /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `organization.project.user` - /// /// /// The identifier, which can be referenced in API endpoints /// @@ -79,6 +76,9 @@ public sealed partial class ProjectUser /// /// The Unix timestamp (in seconds) of when the project was added. /// + /// + /// The object type, which is always `organization.project.user` + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -90,12 +90,12 @@ public ProjectUser( global::System.DateTimeOffset addedAt, global::tryAGI.OpenAI.ProjectUserObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Email = email ?? throw new global::System.ArgumentNullException(nameof(email)); this.Role = role; this.AddedAt = addedAt; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserDeleteResponse.g.cs index ee440e611..68be2fbe9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserDeleteResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserDeleteResponse.g.cs @@ -38,9 +38,9 @@ public sealed partial class ProjectUserDeleteResponse /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public ProjectUserDeleteResponse( bool deleted, global::tryAGI.OpenAI.ProjectUserDeleteResponseObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Deleted = deleted; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PublicRoleListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PublicRoleListResource.g.cs index 3ca3a8cd1..f2115013a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PublicRoleListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PublicRoleListResource.g.cs @@ -44,15 +44,15 @@ public sealed partial class PublicRoleListResource /// /// Initializes a new instance of the class. /// - /// - /// Always `list`. - /// /// /// Roles returned in the current page. /// /// /// Whether more roles are available when paginating. /// + /// + /// Always `list`. + /// /// /// Cursor to fetch the next page of results, or `null` when there are no additional roles. /// @@ -65,9 +65,9 @@ public PublicRoleListResource( global::tryAGI.OpenAI.PublicRoleListResourceObject @object, string? next) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; - this.Object = @object; this.Next = next; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmAudioFormatType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmAudioFormatType.g.cs index 35c76b888..0815a30bd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmAudioFormatType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmAudioFormatType.g.cs @@ -11,7 +11,7 @@ public enum RealtimeAudioFormatsPcmAudioFormatType /// /// /// - AudioPcm, + AudioDividepcm, } /// @@ -26,7 +26,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmAudioFormatType v { return value switch { - RealtimeAudioFormatsPcmAudioFormatType.AudioPcm => "audio/pcm", + RealtimeAudioFormatsPcmAudioFormatType.AudioDividepcm => "audio/pcm", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -37,7 +37,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmAudioFormatType v { return value switch { - "audio/pcm" => RealtimeAudioFormatsPcmAudioFormatType.AudioPcm, + "audio/pcm" => RealtimeAudioFormatsPcmAudioFormatType.AudioDividepcm, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmaAudioFormatType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmaAudioFormatType.g.cs index dee26bdb4..5c61241b0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmaAudioFormatType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmaAudioFormatType.g.cs @@ -11,7 +11,7 @@ public enum RealtimeAudioFormatsPcmaAudioFormatType /// /// /// - AudioPcma, + AudioDividepcma, } /// @@ -26,7 +26,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmaAudioFormatType { return value switch { - RealtimeAudioFormatsPcmaAudioFormatType.AudioPcma => "audio/pcma", + RealtimeAudioFormatsPcmaAudioFormatType.AudioDividepcma => "audio/pcma", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -37,7 +37,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmaAudioFormatType { return value switch { - "audio/pcma" => RealtimeAudioFormatsPcmaAudioFormatType.AudioPcma, + "audio/pcma" => RealtimeAudioFormatsPcmaAudioFormatType.AudioDividepcma, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmuAudioFormatType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmuAudioFormatType.g.cs index c1b6f61dd..8c4842244 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmuAudioFormatType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmuAudioFormatType.g.cs @@ -11,7 +11,7 @@ public enum RealtimeAudioFormatsPcmuAudioFormatType /// /// /// - AudioPcmu, + AudioDividepcmu, } /// @@ -26,7 +26,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmuAudioFormatType { return value switch { - RealtimeAudioFormatsPcmuAudioFormatType.AudioPcmu => "audio/pcmu", + RealtimeAudioFormatsPcmuAudioFormatType.AudioDividepcmu => "audio/pcmu", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -37,7 +37,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmuAudioFormatType { return value switch { - "audio/pcmu" => RealtimeAudioFormatsPcmuAudioFormatType.AudioPcmu, + "audio/pcmu" => RealtimeAudioFormatsPcmuAudioFormatType.AudioDividepcmu, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemCreate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemCreate.g.cs index d1bcbd161..d3f4bb355 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemCreate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemCreate.g.cs @@ -53,6 +53,9 @@ public sealed partial class RealtimeBetaClientEventConversationItemCreate /// /// Initializes a new instance of the class. /// + /// + /// A single item within a Realtime conversation. + /// /// /// Optional client-generated ID used to identify this event. /// @@ -66,9 +69,6 @@ public sealed partial class RealtimeBetaClientEventConversationItemCreate /// If set to an existing ID, it allows an item to be inserted mid-conversation. If the
/// ID cannot be found, an error will be returned and the item will not be added. /// - /// - /// A single item within a Realtime conversation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,10 +78,10 @@ public RealtimeBetaClientEventConversationItemCreate( global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreateType type, string? previousItemId) { - this.Item = item; this.EventId = eventId; this.Type = type; this.PreviousItemId = previousItemId; + this.Item = item; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemDelete.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemDelete.g.cs index 22eb6d329..40ca5c14b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemDelete.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemDelete.g.cs @@ -40,15 +40,15 @@ public sealed partial class RealtimeBetaClientEventConversationItemDelete /// /// Initializes a new instance of the class. /// + /// + /// The ID of the item to delete. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `conversation.item.delete`. /// - /// - /// The ID of the item to delete. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,9 +57,9 @@ public RealtimeBetaClientEventConversationItemDelete( string? eventId, global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDeleteType type) { - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.EventId = eventId; this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemRetrieve.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemRetrieve.g.cs index 202ee5f9e..149e10193 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemRetrieve.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemRetrieve.g.cs @@ -40,15 +40,15 @@ public sealed partial class RealtimeBetaClientEventConversationItemRetrieve /// /// Initializes a new instance of the class. /// + /// + /// The ID of the item to retrieve. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `conversation.item.retrieve`. /// - /// - /// The ID of the item to retrieve. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,9 +57,9 @@ public RealtimeBetaClientEventConversationItemRetrieve( string? eventId, global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieveType type) { - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.EventId = eventId; this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemTruncate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemTruncate.g.cs index e65f86ebc..96a190bbb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemTruncate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemTruncate.g.cs @@ -62,12 +62,6 @@ public sealed partial class RealtimeBetaClientEventConversationItemTruncate /// /// Initializes a new instance of the class. /// - /// - /// Optional client-generated ID used to identify this event. - /// - /// - /// The event type, must be `conversation.item.truncate`. - /// /// /// The ID of the assistant message item to truncate. Only assistant message
/// items can be truncated. @@ -80,6 +74,12 @@ public sealed partial class RealtimeBetaClientEventConversationItemTruncate /// the audio_end_ms is greater than the actual audio duration, the server
/// will respond with an error. /// + /// + /// Optional client-generated ID used to identify this event. + /// + /// + /// The event type, must be `conversation.item.truncate`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -90,11 +90,11 @@ public RealtimeBetaClientEventConversationItemTruncate( string? eventId, global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncateType type) { + this.EventId = eventId; + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.AudioEndMs = audioEndMs; - this.EventId = eventId; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventInputAudioBufferAppend.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventInputAudioBufferAppend.g.cs index 98f472501..b41d5fce5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventInputAudioBufferAppend.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventInputAudioBufferAppend.g.cs @@ -46,16 +46,16 @@ public sealed partial class RealtimeBetaClientEventInputAudioBufferAppend /// /// Initializes a new instance of the class. /// + /// + /// Base64-encoded audio bytes. This must be in the format specified by the
+ /// `input_audio_format` field in the session configuration. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `input_audio_buffer.append`. /// - /// - /// Base64-encoded audio bytes. This must be in the format specified by the
- /// `input_audio_format` field in the session configuration. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -64,9 +64,9 @@ public RealtimeBetaClientEventInputAudioBufferAppend( string? eventId, global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppendType type) { - this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); this.EventId = eventId; this.Type = type; + this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventSessionUpdate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventSessionUpdate.g.cs index 33dd8a7f6..f70ab6e92 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventSessionUpdate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventSessionUpdate.g.cs @@ -46,16 +46,16 @@ public sealed partial class RealtimeBetaClientEventSessionUpdate /// /// Initializes a new instance of the class. /// + /// + /// A new Realtime session configuration, with an ephemeral key. Default TTL
+ /// for keys is one minute. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `session.update`. /// - /// - /// A new Realtime session configuration, with an ephemeral key. Default TTL
- /// for keys is one minute. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -64,9 +64,9 @@ public RealtimeBetaClientEventSessionUpdate( string? eventId, global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdateType type) { - this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); this.EventId = eventId; this.Type = type; + this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventTranscriptionSessionUpdate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventTranscriptionSessionUpdate.g.cs index 6bb64a20e..7e97b85ae 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventTranscriptionSessionUpdate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventTranscriptionSessionUpdate.g.cs @@ -37,15 +37,15 @@ public sealed partial class RealtimeBetaClientEventTranscriptionSessionUpdate /// /// Initializes a new instance of the class. /// + /// + /// Realtime transcription session object configuration. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `transcription_session.update`. /// - /// - /// Realtime transcription session object configuration. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -54,9 +54,9 @@ public RealtimeBetaClientEventTranscriptionSessionUpdate( string? eventId, global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdateType type) { - this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); this.EventId = eventId; this.Type = type; + this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemCreated.g.cs index a5a3873d4..66b21f19e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemCreated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemCreated.g.cs @@ -56,13 +56,13 @@ public sealed partial class RealtimeBetaServerEventConversationItemCreated /// /// The unique ID of the server event. /// + /// + /// A single item within a Realtime conversation. + /// /// /// The event type, must be `conversation.item.created`. /// /// - /// - /// A single item within a Realtime conversation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -73,9 +73,9 @@ public RealtimeBetaServerEventConversationItemCreated( string? previousItemId) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Item = item; this.Type = type; this.PreviousItemId = previousItemId; + this.Item = item; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemDeleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemDeleted.g.cs index 474560202..b619198a4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemDeleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemDeleted.g.cs @@ -43,12 +43,12 @@ public sealed partial class RealtimeBetaServerEventConversationItemDeleted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.deleted`. - /// /// /// The ID of the item that was deleted. /// + /// + /// The event type, must be `conversation.item.deleted`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,8 +58,8 @@ public RealtimeBetaServerEventConversationItemDeleted( global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeletedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted.g.cs index a8933ba94..373adb832 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted.g.cs @@ -78,10 +78,6 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra /// /// The unique ID of the server event. /// - /// - /// The event type, must be
- /// `conversation.item.input_audio_transcription.completed`. - /// /// /// The ID of the user message item containing the audio. /// @@ -91,10 +87,14 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra /// /// The transcribed text. /// - /// /// /// Usage statistics for the transcription. /// + /// + /// The event type, must be
+ /// `conversation.item.input_audio_transcription.completed`. + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -108,12 +108,12 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted( global::System.Collections.Generic.IList? logprobs) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.Transcript = transcript ?? throw new global::System.ArgumentNullException(nameof(transcript)); - this.Usage = usage; - this.Type = type; this.Logprobs = logprobs; + this.Usage = usage; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta.g.cs index 038e2e3c0..5d8a5dbd8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta.g.cs @@ -59,12 +59,12 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.input_audio_transcription.delta`. - /// /// /// The ID of the item. /// + /// + /// The event type, must be `conversation.item.input_audio_transcription.delta`. + /// /// /// The index of the content part in the item's content array. /// @@ -84,8 +84,8 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta( global::System.Collections.Generic.IList? logprobs) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.Delta = delta; this.Logprobs = logprobs; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed.g.cs index 5c6a29465..306d3c8f0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed.g.cs @@ -58,10 +58,6 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra /// /// The unique ID of the server event. /// - /// - /// The event type, must be
- /// `conversation.item.input_audio_transcription.failed`. - /// /// /// The ID of the user message item. /// @@ -71,6 +67,10 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra /// /// Details of the transcription error. /// + /// + /// The event type, must be
+ /// `conversation.item.input_audio_transcription.failed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,10 +82,10 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed( global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment.g.cs index 41a0a3193..0f6ca8403 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment.g.cs @@ -83,9 +83,6 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.input_audio_transcription.segment`. - /// /// /// The ID of the item containing the input audio content. /// @@ -107,6 +104,9 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra /// /// End time of the segment in seconds. /// + /// + /// The event type, must be `conversation.item.input_audio_transcription.segment`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -122,6 +122,7 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment( global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); @@ -129,7 +130,6 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment( this.Speaker = speaker ?? throw new global::System.ArgumentNullException(nameof(speaker)); this.Start = start; this.End = end; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemRetrieved.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemRetrieved.g.cs index b803cbe6d..3349fd4d7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemRetrieved.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemRetrieved.g.cs @@ -42,12 +42,12 @@ public sealed partial class RealtimeBetaServerEventConversationItemRetrieved /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.retrieved`. - /// /// /// A single item within a Realtime conversation. /// + /// + /// The event type, must be `conversation.item.retrieved`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,8 +57,8 @@ public RealtimeBetaServerEventConversationItemRetrieved( global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrievedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Item = item; this.Type = type; + this.Item = item; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemTruncated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemTruncated.g.cs index 75031703b..018ee9c81 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemTruncated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemTruncated.g.cs @@ -59,9 +59,6 @@ public sealed partial class RealtimeBetaServerEventConversationItemTruncated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.truncated`. - /// /// /// The ID of the assistant message item that was truncated. /// @@ -71,6 +68,9 @@ public sealed partial class RealtimeBetaServerEventConversationItemTruncated /// /// The duration up to which the audio was truncated, in milliseconds. /// + /// + /// The event type, must be `conversation.item.truncated`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,10 +82,10 @@ public RealtimeBetaServerEventConversationItemTruncated( global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.AudioEndMs = audioEndMs; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventError.g.cs index 3849df70c..3652962c7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventError.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventError.g.cs @@ -43,12 +43,12 @@ public sealed partial class RealtimeBetaServerEventError /// /// The unique ID of the server event. /// - /// - /// The event type, must be `error`. - /// /// /// Details of the error. /// + /// + /// The event type, must be `error`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,8 +58,8 @@ public RealtimeBetaServerEventError( global::tryAGI.OpenAI.RealtimeBetaServerEventErrorType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventErrorError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventErrorError.g.cs index 485bdc917..ef708d518 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventErrorError.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventErrorError.g.cs @@ -52,10 +52,10 @@ public sealed partial class RealtimeBetaServerEventErrorError /// /// The type of error (e.g., "invalid_request_error", "server_error"). /// - /// /// /// A human-readable error message. /// + /// /// /// #if NET7_0_OR_GREATER @@ -69,8 +69,8 @@ public RealtimeBetaServerEventErrorError( string? eventId) { this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Param = param; this.EventId = eventId; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferCommitted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferCommitted.g.cs index 235e1ea1a..8111cbf2b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferCommitted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferCommitted.g.cs @@ -50,13 +50,13 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferCommitted /// /// The unique ID of the server event. /// + /// + /// The ID of the user message item that will be created. + /// /// /// The event type, must be `input_audio_buffer.committed`. /// /// - /// - /// The ID of the user message item that will be created. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,9 +67,9 @@ public RealtimeBetaServerEventInputAudioBufferCommitted( string? previousItemId) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; this.PreviousItemId = previousItemId; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStarted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStarted.g.cs index c829ca85a..ff4788288 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStarted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStarted.g.cs @@ -59,9 +59,6 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferSpeechStarted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `input_audio_buffer.speech_started`. - /// /// /// Milliseconds from the start of all audio written to the buffer during the
/// session when speech was first detected. This will correspond to the
@@ -71,6 +68,9 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferSpeechStarted /// /// The ID of the user message item that will be created when speech stops. /// + /// + /// The event type, must be `input_audio_buffer.speech_started`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -81,9 +81,9 @@ public RealtimeBetaServerEventInputAudioBufferSpeechStarted( global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.AudioStartMs = audioStartMs; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStopped.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStopped.g.cs index 1bd913425..3666f4b67 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStopped.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStopped.g.cs @@ -52,9 +52,6 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferSpeechStopped /// /// The unique ID of the server event. /// - /// - /// The event type, must be `input_audio_buffer.speech_stopped`. - /// /// /// Milliseconds since the session started when speech stopped. This will
/// correspond to the end of audio sent to the model, and thus includes the
@@ -63,6 +60,9 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferSpeechStopped /// /// The ID of the user message item that will be created. /// + /// + /// The event type, must be `input_audio_buffer.speech_stopped`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -73,9 +73,9 @@ public RealtimeBetaServerEventInputAudioBufferSpeechStopped( global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.AudioEndMs = audioEndMs; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsCompleted.g.cs index 6f452df1d..c0f750aaf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsCompleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsCompleted.g.cs @@ -41,12 +41,12 @@ public sealed partial class RealtimeBetaServerEventMCPListToolsCompleted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `mcp_list_tools.completed`. - /// /// /// The ID of the MCP list tools item. /// + /// + /// The event type, must be `mcp_list_tools.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RealtimeBetaServerEventMCPListToolsCompleted( global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsFailed.g.cs index 1c932ed86..f84c21e76 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsFailed.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsFailed.g.cs @@ -41,12 +41,12 @@ public sealed partial class RealtimeBetaServerEventMCPListToolsFailed /// /// The unique ID of the server event. /// - /// - /// The event type, must be `mcp_list_tools.failed`. - /// /// /// The ID of the MCP list tools item. /// + /// + /// The event type, must be `mcp_list_tools.failed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RealtimeBetaServerEventMCPListToolsFailed( global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsInProgress.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsInProgress.g.cs index be81c970b..f02ee9276 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsInProgress.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsInProgress.g.cs @@ -41,12 +41,12 @@ public sealed partial class RealtimeBetaServerEventMCPListToolsInProgress /// /// The unique ID of the server event. /// - /// - /// The event type, must be `mcp_list_tools.in_progress`. - /// /// /// The ID of the MCP list tools item. /// + /// + /// The event type, must be `mcp_list_tools.in_progress`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RealtimeBetaServerEventMCPListToolsInProgress( global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgressType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventRateLimitsUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventRateLimitsUpdated.g.cs index d011663b3..d304bdeee 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventRateLimitsUpdated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventRateLimitsUpdated.g.cs @@ -44,12 +44,12 @@ public sealed partial class RealtimeBetaServerEventRateLimitsUpdated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `rate_limits.updated`. - /// /// /// List of rate limit information. /// + /// + /// The event type, must be `rate_limits.updated`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,8 +59,8 @@ public RealtimeBetaServerEventRateLimitsUpdated( global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.RateLimits = rateLimits ?? throw new global::System.ArgumentNullException(nameof(rateLimits)); this.Type = type; + this.RateLimits = rateLimits ?? throw new global::System.ArgumentNullException(nameof(rateLimits)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDelta.g.cs index 54d7de3aa..c62258872 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDelta.g.cs @@ -69,9 +69,6 @@ public sealed partial class RealtimeBetaServerEventResponseAudioDelta /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_audio.delta`. - /// /// /// The ID of the response. /// @@ -87,6 +84,9 @@ public sealed partial class RealtimeBetaServerEventResponseAudioDelta /// /// Base64-encoded audio data delta. /// + /// + /// The event type, must be `response.output_audio.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public RealtimeBetaServerEventResponseAudioDelta( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDeltaType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDone.g.cs index 40804483f..d7364c75a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDone.g.cs @@ -63,9 +63,6 @@ public sealed partial class RealtimeBetaServerEventResponseAudioDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_audio.done`. - /// /// /// The ID of the response. /// @@ -78,6 +75,9 @@ public sealed partial class RealtimeBetaServerEventResponseAudioDone /// /// The index of the content part in the item's content array. /// + /// + /// The event type, must be `response.output_audio.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -90,11 +90,11 @@ public RealtimeBetaServerEventResponseAudioDone( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDelta.g.cs index b06aa2f2c..a88b885c6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDelta.g.cs @@ -69,9 +69,6 @@ public sealed partial class RealtimeBetaServerEventResponseAudioTranscriptDelta /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_audio_transcript.delta`. - /// /// /// The ID of the response. /// @@ -87,6 +84,9 @@ public sealed partial class RealtimeBetaServerEventResponseAudioTranscriptDelta /// /// The transcript delta. /// + /// + /// The event type, must be `response.output_audio_transcript.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public RealtimeBetaServerEventResponseAudioTranscriptDelta( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDeltaType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDone.g.cs index b8f2e46e4..9ae94e26f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDone.g.cs @@ -71,9 +71,6 @@ public sealed partial class RealtimeBetaServerEventResponseAudioTranscriptDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_audio_transcript.done`. - /// /// /// The ID of the response. /// @@ -89,6 +86,9 @@ public sealed partial class RealtimeBetaServerEventResponseAudioTranscriptDone /// /// The final transcript of the audio. /// + /// + /// The event type, must be `response.output_audio_transcript.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -102,12 +102,12 @@ public RealtimeBetaServerEventResponseAudioTranscriptDone( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Transcript = transcript ?? throw new global::System.ArgumentNullException(nameof(transcript)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartAdded.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartAdded.g.cs index 72382dec5..b56c014a5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartAdded.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartAdded.g.cs @@ -70,9 +70,6 @@ public sealed partial class RealtimeBetaServerEventResponseContentPartAdded /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.content_part.added`. - /// /// /// The ID of the response. /// @@ -88,6 +85,9 @@ public sealed partial class RealtimeBetaServerEventResponseContentPartAdded /// /// The content part that was added. /// + /// + /// The event type, must be `response.content_part.added`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -101,12 +101,12 @@ public RealtimeBetaServerEventResponseContentPartAdded( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Part = part ?? throw new global::System.ArgumentNullException(nameof(part)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartDone.g.cs index a60149d4f..1852921ec 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartDone.g.cs @@ -70,9 +70,6 @@ public sealed partial class RealtimeBetaServerEventResponseContentPartDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.content_part.done`. - /// /// /// The ID of the response. /// @@ -88,6 +85,9 @@ public sealed partial class RealtimeBetaServerEventResponseContentPartDone /// /// The content part that is done. /// + /// + /// The event type, must be `response.content_part.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -101,12 +101,12 @@ public RealtimeBetaServerEventResponseContentPartDone( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Part = part ?? throw new global::System.ArgumentNullException(nameof(part)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseCreated.g.cs index 891396c83..a8941e5ee 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseCreated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseCreated.g.cs @@ -42,12 +42,12 @@ public sealed partial class RealtimeBetaServerEventResponseCreated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.created`. - /// /// /// The response resource. /// + /// + /// The event type, must be `response.created`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,8 +57,8 @@ public RealtimeBetaServerEventResponseCreated( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response)); this.Type = type; + this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseDone.g.cs index 9dc51679c..5d71d8fa1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseDone.g.cs @@ -43,12 +43,12 @@ public sealed partial class RealtimeBetaServerEventResponseDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.done`. - /// /// /// The response resource. /// + /// + /// The event type, must be `response.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,8 +58,8 @@ public RealtimeBetaServerEventResponseDone( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response)); this.Type = type; + this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta.g.cs index 86ec47841..5b44d9022 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta.g.cs @@ -69,9 +69,6 @@ public sealed partial class RealtimeBetaServerEventResponseFunctionCallArguments /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.function_call_arguments.delta`. - /// /// /// The ID of the response. /// @@ -87,6 +84,9 @@ public sealed partial class RealtimeBetaServerEventResponseFunctionCallArguments /// /// The arguments delta as a JSON string. /// + /// + /// The event type, must be `response.function_call_arguments.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public RealtimeBetaServerEventResponseFunctionCallArgumentsDelta( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDeltaType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDone.g.cs index ca64595dc..94128f36e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDone.g.cs @@ -77,9 +77,6 @@ public sealed partial class RealtimeBetaServerEventResponseFunctionCallArguments /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.function_call_arguments.done`. - /// /// /// The ID of the response. /// @@ -98,6 +95,9 @@ public sealed partial class RealtimeBetaServerEventResponseFunctionCallArguments /// /// The final arguments as a JSON string. /// + /// + /// The event type, must be `response.function_call_arguments.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -112,13 +112,13 @@ public RealtimeBetaServerEventResponseFunctionCallArgumentsDone( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDelta.g.cs index 6d6b3a00a..5607b5a60 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDelta.g.cs @@ -68,9 +68,6 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallArgumentsDelta /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call_arguments.delta`. - /// /// /// The ID of the response. /// @@ -83,6 +80,9 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallArgumentsDelta /// /// The JSON-encoded arguments delta. /// + /// + /// The event type, must be `response.mcp_call_arguments.delta`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -97,11 +97,11 @@ public RealtimeBetaServerEventResponseMCPCallArgumentsDelta( string? obfuscation) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; this.Obfuscation = obfuscation; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDone.g.cs index db5a57921..626aaf0a5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDone.g.cs @@ -62,9 +62,6 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallArgumentsDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call_arguments.done`. - /// /// /// The ID of the response. /// @@ -77,6 +74,9 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallArgumentsDone /// /// The final JSON-encoded arguments string. /// + /// + /// The event type, must be `response.mcp_call_arguments.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -89,11 +89,11 @@ public RealtimeBetaServerEventResponseMCPCallArgumentsDone( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallCompleted.g.cs index e6e566e8b..1cb0a05f9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallCompleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallCompleted.g.cs @@ -48,15 +48,15 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallCompleted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call.completed`. - /// /// /// The index of the output item in the response. /// /// /// The ID of the MCP tool call item. /// + /// + /// The event type, must be `response.mcp_call.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,9 +67,9 @@ public RealtimeBetaServerEventResponseMCPCallCompleted( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompletedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallFailed.g.cs index 640f89492..20fe7aed9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallFailed.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallFailed.g.cs @@ -48,15 +48,15 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallFailed /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call.failed`. - /// /// /// The index of the output item in the response. /// /// /// The ID of the MCP tool call item. /// + /// + /// The event type, must be `response.mcp_call.failed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,9 +67,9 @@ public RealtimeBetaServerEventResponseMCPCallFailed( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallInProgress.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallInProgress.g.cs index 2ca88c7b1..b6b4b8b57 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallInProgress.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallInProgress.g.cs @@ -48,15 +48,15 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallInProgress /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call.in_progress`. - /// /// /// The index of the output item in the response. /// /// /// The ID of the MCP tool call item. /// + /// + /// The event type, must be `response.mcp_call.in_progress`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,9 +67,9 @@ public RealtimeBetaServerEventResponseMCPCallInProgress( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgressType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemAdded.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemAdded.g.cs index e3025496a..f37699f53 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemAdded.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemAdded.g.cs @@ -56,9 +56,6 @@ public sealed partial class RealtimeBetaServerEventResponseOutputItemAdded /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_item.added`. - /// /// /// The ID of the Response to which the item belongs. /// @@ -68,6 +65,9 @@ public sealed partial class RealtimeBetaServerEventResponseOutputItemAdded /// /// A single item within a Realtime conversation. /// + /// + /// The event type, must be `response.output_item.added`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -79,10 +79,10 @@ public RealtimeBetaServerEventResponseOutputItemAdded( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAddedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.OutputIndex = outputIndex; this.Item = item; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemDone.g.cs index fb80c6f16..8cd495879 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemDone.g.cs @@ -57,9 +57,6 @@ public sealed partial class RealtimeBetaServerEventResponseOutputItemDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_item.done`. - /// /// /// The ID of the Response to which the item belongs. /// @@ -69,6 +66,9 @@ public sealed partial class RealtimeBetaServerEventResponseOutputItemDone /// /// A single item within a Realtime conversation. /// + /// + /// The event type, must be `response.output_item.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,10 +80,10 @@ public RealtimeBetaServerEventResponseOutputItemDone( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.OutputIndex = outputIndex; this.Item = item; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDelta.g.cs index bdaf0adbf..f1008a8e7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDelta.g.cs @@ -69,9 +69,6 @@ public sealed partial class RealtimeBetaServerEventResponseTextDelta /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_text.delta`. - /// /// /// The ID of the response. /// @@ -87,6 +84,9 @@ public sealed partial class RealtimeBetaServerEventResponseTextDelta /// /// The text delta. /// + /// + /// The event type, must be `response.output_text.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public RealtimeBetaServerEventResponseTextDelta( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDeltaType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDone.g.cs index b33fa898a..b5bef1c0e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDone.g.cs @@ -70,9 +70,6 @@ public sealed partial class RealtimeBetaServerEventResponseTextDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_text.done`. - /// /// /// The ID of the response. /// @@ -88,6 +85,9 @@ public sealed partial class RealtimeBetaServerEventResponseTextDone /// /// The final text content. /// + /// + /// The event type, must be `response.output_text.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -101,12 +101,12 @@ public RealtimeBetaServerEventResponseTextDone( global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionCreated.g.cs index 9d753c9b0..21d2cc098 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionCreated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionCreated.g.cs @@ -43,12 +43,12 @@ public sealed partial class RealtimeBetaServerEventSessionCreated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `session.created`. - /// /// /// Realtime session object for the beta interface. /// + /// + /// The event type, must be `session.created`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,8 +58,8 @@ public RealtimeBetaServerEventSessionCreated( global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); this.Type = type; + this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionUpdated.g.cs index 58fc49726..e7b1f56d9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionUpdated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionUpdated.g.cs @@ -42,12 +42,12 @@ public sealed partial class RealtimeBetaServerEventSessionUpdated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `session.updated`. - /// /// /// Realtime session object for the beta interface. /// + /// + /// The event type, must be `session.updated`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,8 +57,8 @@ public RealtimeBetaServerEventSessionUpdated( global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); this.Type = type; + this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionCreated.g.cs index 71c913e9b..a3abbd1f4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionCreated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionCreated.g.cs @@ -44,15 +44,15 @@ public sealed partial class RealtimeBetaServerEventTranscriptionSessionCreated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `transcription_session.created`. - /// /// /// A new Realtime transcription session configuration.
/// When a session is created on the server via REST API, the session object
/// also contains an ephemeral key. Default TTL for keys is 10 minutes. This
/// property is not present when a session is updated via the WebSocket API. /// + /// + /// The event type, must be `transcription_session.created`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -62,8 +62,8 @@ public RealtimeBetaServerEventTranscriptionSessionCreated( global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); this.Type = type; + this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionUpdated.g.cs index bb8dbe906..c0ac325f7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionUpdated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionUpdated.g.cs @@ -45,15 +45,15 @@ public sealed partial class RealtimeBetaServerEventTranscriptionSessionUpdated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `transcription_session.updated`. - /// /// /// A new Realtime transcription session configuration.
/// When a session is created on the server via REST API, the session object
/// also contains an ephemeral key. Default TTL for keys is 10 minutes. This
/// property is not present when a session is updated via the WebSocket API. /// + /// + /// The event type, must be `transcription_session.updated`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -63,8 +63,8 @@ public RealtimeBetaServerEventTranscriptionSessionUpdated( global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); this.Type = type; + this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemCreate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemCreate.g.cs index 6e72a8dc5..fb85f55e3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemCreate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemCreate.g.cs @@ -51,6 +51,9 @@ public sealed partial class RealtimeClientEventConversationItemCreate /// /// Initializes a new instance of the class. /// + /// + /// A single item within a Realtime conversation. + /// /// /// Optional client-generated ID used to identify this event. /// @@ -62,9 +65,6 @@ public sealed partial class RealtimeClientEventConversationItemCreate /// If set to `root`, the new item will be added to the beginning of the conversation.
/// If set to an existing ID, it allows an item to be inserted mid-conversation. If the ID cannot be found, an error will be returned and the item will not be added. /// - /// - /// A single item within a Realtime conversation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -74,10 +74,10 @@ public RealtimeClientEventConversationItemCreate( global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType type, string? previousItemId) { - this.Item = item; this.EventId = eventId; this.Type = type; this.PreviousItemId = previousItemId; + this.Item = item; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemDelete.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemDelete.g.cs index 885b593b5..04a2ef9a5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemDelete.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemDelete.g.cs @@ -40,15 +40,15 @@ public sealed partial class RealtimeClientEventConversationItemDelete /// /// Initializes a new instance of the class. /// + /// + /// The ID of the item to delete. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `conversation.item.delete`. /// - /// - /// The ID of the item to delete. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,9 +57,9 @@ public RealtimeClientEventConversationItemDelete( string? eventId, global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType type) { - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.EventId = eventId; this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemRetrieve.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemRetrieve.g.cs index 0ea3f4d6c..cf4c46126 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemRetrieve.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemRetrieve.g.cs @@ -40,15 +40,15 @@ public sealed partial class RealtimeClientEventConversationItemRetrieve /// /// Initializes a new instance of the class. /// + /// + /// The ID of the item to retrieve. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `conversation.item.retrieve`. /// - /// - /// The ID of the item to retrieve. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,9 +57,9 @@ public RealtimeClientEventConversationItemRetrieve( string? eventId, global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieveType type) { - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.EventId = eventId; this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemTruncate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemTruncate.g.cs index 9f88497d1..41ec5ebf1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemTruncate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemTruncate.g.cs @@ -62,12 +62,6 @@ public sealed partial class RealtimeClientEventConversationItemTruncate /// /// Initializes a new instance of the class. /// - /// - /// Optional client-generated ID used to identify this event. - /// - /// - /// The event type, must be `conversation.item.truncate`. - /// /// /// The ID of the assistant message item to truncate. Only assistant message
/// items can be truncated. @@ -80,6 +74,12 @@ public sealed partial class RealtimeClientEventConversationItemTruncate /// the audio_end_ms is greater than the actual audio duration, the server
/// will respond with an error. /// + /// + /// Optional client-generated ID used to identify this event. + /// + /// + /// The event type, must be `conversation.item.truncate`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -90,11 +90,11 @@ public RealtimeClientEventConversationItemTruncate( string? eventId, global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType type) { + this.EventId = eventId; + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.AudioEndMs = audioEndMs; - this.EventId = eventId; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventInputAudioBufferAppend.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventInputAudioBufferAppend.g.cs index 9dfa4c574..9288708cc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventInputAudioBufferAppend.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventInputAudioBufferAppend.g.cs @@ -48,16 +48,16 @@ public sealed partial class RealtimeClientEventInputAudioBufferAppend /// /// Initializes a new instance of the class. /// + /// + /// Base64-encoded audio bytes. This must be in the format specified by the
+ /// `input_audio_format` field in the session configuration. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `input_audio_buffer.append`. /// - /// - /// Base64-encoded audio bytes. This must be in the format specified by the
- /// `input_audio_format` field in the session configuration. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,9 +66,9 @@ public RealtimeClientEventInputAudioBufferAppend( string? eventId, global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType type) { - this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); this.EventId = eventId; this.Type = type; + this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventSessionUpdate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventSessionUpdate.g.cs index e495b798e..4d46b2eb3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventSessionUpdate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventSessionUpdate.g.cs @@ -46,16 +46,16 @@ public sealed partial class RealtimeClientEventSessionUpdate /// /// Initializes a new instance of the class. /// + /// + /// Update the Realtime session. Choose either a realtime
+ /// session or a transcription session. + /// /// /// Optional client-generated ID used to identify this event. This is an arbitrary string that a client may assign. It will be passed back if there is an error with the event, but the corresponding `session.updated` event will not include it. /// /// /// The event type, must be `session.update`. /// - /// - /// Update the Realtime session. Choose either a realtime
- /// session or a transcription session. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -64,9 +64,9 @@ public RealtimeClientEventSessionUpdate( string? eventId, global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType type) { - this.Session = session; this.EventId = eventId; this.Type = type; + this.Session = session; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventTranscriptionSessionUpdate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventTranscriptionSessionUpdate.g.cs index 0aa239f3a..8baa8090c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventTranscriptionSessionUpdate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventTranscriptionSessionUpdate.g.cs @@ -37,15 +37,15 @@ public sealed partial class RealtimeClientEventTranscriptionSessionUpdate /// /// Initializes a new instance of the class. /// + /// + /// Realtime transcription session object configuration. + /// /// /// Optional client-generated ID used to identify this event. /// /// /// The event type, must be `transcription_session.update`. /// - /// - /// Realtime transcription session object configuration. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -54,9 +54,9 @@ public RealtimeClientEventTranscriptionSessionUpdate( string? eventId, global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdateType type) { - this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); this.EventId = eventId; this.Type = type; + this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCall.g.cs index 9cfc30ad2..e4d2a79c7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCall.g.cs @@ -64,6 +64,12 @@ public sealed partial class RealtimeConversationItemFunctionCall /// /// Initializes a new instance of the class. /// + /// + /// The name of the function being called. + /// + /// + /// The arguments of the function call. This is a JSON-encoded string representing the arguments passed to the function, for example `{"arg1": "value1", "arg2": 42}`. + /// /// /// The unique ID of the item. This may be provided by the client or generated by the server. /// @@ -79,12 +85,6 @@ public sealed partial class RealtimeConversationItemFunctionCall /// /// The ID of the function call. /// - /// - /// The name of the function being called. - /// - /// - /// The arguments of the function call. This is a JSON-encoded string representing the arguments passed to the function, for example `{"arg1": "value1", "arg2": 42}`. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -97,13 +97,13 @@ public RealtimeConversationItemFunctionCall( global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallStatus? status, string? callId) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.Id = id; this.Object = @object; this.Type = type; this.Status = status; this.CallId = callId; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallOutput.g.cs index dadc3c681..2265e8083 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemFunctionCallOutput.g.cs @@ -58,6 +58,12 @@ public sealed partial class RealtimeConversationItemFunctionCallOutput /// /// Initializes a new instance of the class. /// + /// + /// The ID of the function call this output is for. + /// + /// + /// The output of the function call, this is free text and can contain any information or simply be empty. + /// /// /// The unique ID of the item. This may be provided by the client or generated by the server. /// @@ -70,12 +76,6 @@ public sealed partial class RealtimeConversationItemFunctionCallOutput /// /// The status of the item. Has no effect on the conversation. /// - /// - /// The ID of the function call this output is for. - /// - /// - /// The output of the function call, this is free text and can contain any information or simply be empty. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -87,12 +87,12 @@ public RealtimeConversationItemFunctionCallOutput( global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputType type, global::tryAGI.OpenAI.RealtimeConversationItemFunctionCallOutputStatus? status) { - this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); - this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.Id = id; this.Object = @object; this.Type = type; this.Status = status; + this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); + this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistant.g.cs index 437528146..f75d3861b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageAssistant.g.cs @@ -58,6 +58,9 @@ public sealed partial class RealtimeConversationItemMessageAssistant /// /// Initializes a new instance of the class. /// + /// + /// The content of the message. + /// /// /// The unique ID of the item. This may be provided by the client or generated by the server. /// @@ -73,9 +76,6 @@ public sealed partial class RealtimeConversationItemMessageAssistant /// /// The role of the message sender. Always `assistant`. /// - /// - /// The content of the message. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -87,12 +87,12 @@ public RealtimeConversationItemMessageAssistant( global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantStatus? status, global::tryAGI.OpenAI.RealtimeConversationItemMessageAssistantRole role) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Id = id; this.Object = @object; this.Type = type; this.Status = status; this.Role = role; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageSystem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageSystem.g.cs index 19f510853..617930fde 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageSystem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageSystem.g.cs @@ -58,6 +58,9 @@ public sealed partial class RealtimeConversationItemMessageSystem /// /// Initializes a new instance of the class. /// + /// + /// The content of the message. + /// /// /// The unique ID of the item. This may be provided by the client or generated by the server. /// @@ -73,9 +76,6 @@ public sealed partial class RealtimeConversationItemMessageSystem /// /// The role of the message sender. Always `system`. /// - /// - /// The content of the message. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -87,12 +87,12 @@ public RealtimeConversationItemMessageSystem( global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemStatus? status, global::tryAGI.OpenAI.RealtimeConversationItemMessageSystemRole role) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Id = id; this.Object = @object; this.Type = type; this.Status = status; this.Role = role; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUser.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUser.g.cs index 428810bd8..b34893af9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUser.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemMessageUser.g.cs @@ -58,6 +58,9 @@ public sealed partial class RealtimeConversationItemMessageUser /// /// Initializes a new instance of the class. /// + /// + /// The content of the message. + /// /// /// The unique ID of the item. This may be provided by the client or generated by the server. /// @@ -73,9 +76,6 @@ public sealed partial class RealtimeConversationItemMessageUser /// /// The role of the message sender. Always `user`. /// - /// - /// The content of the message. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -87,12 +87,12 @@ public RealtimeConversationItemMessageUser( global::tryAGI.OpenAI.RealtimeConversationItemMessageUserStatus? status, global::tryAGI.OpenAI.RealtimeConversationItemMessageUserRole role) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Id = id; this.Object = @object; this.Type = type; this.Status = status; this.Role = role; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPApprovalRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPApprovalRequest.g.cs index f3a387362..6c92f36a9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPApprovalRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPApprovalRequest.g.cs @@ -52,9 +52,6 @@ public sealed partial class RealtimeMCPApprovalRequest /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_approval_request`. - /// /// /// The unique ID of the approval request. /// @@ -67,6 +64,9 @@ public sealed partial class RealtimeMCPApprovalRequest /// /// A JSON string of arguments for the tool. /// + /// + /// The type of the item. Always `mcp_approval_request`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public RealtimeMCPApprovalRequest( string arguments, global::tryAGI.OpenAI.RealtimeMCPApprovalRequestType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPApprovalResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPApprovalResponse.g.cs index d10f25e01..94d1ef3aa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPApprovalResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPApprovalResponse.g.cs @@ -51,9 +51,6 @@ public sealed partial class RealtimeMCPApprovalResponse /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_approval_response`. - /// /// /// The unique ID of the approval response. /// @@ -63,6 +60,9 @@ public sealed partial class RealtimeMCPApprovalResponse /// /// Whether the request was approved. /// + /// + /// The type of the item. Always `mcp_approval_response`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -74,10 +74,10 @@ public RealtimeMCPApprovalResponse( global::tryAGI.OpenAI.RealtimeMCPApprovalResponseType type, string? reason) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.ApprovalRequestId = approvalRequestId ?? throw new global::System.ArgumentNullException(nameof(approvalRequestId)); this.Approve = approve; - this.Type = type; this.Reason = reason; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPHTTPError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPHTTPError.g.cs index 692b102f7..79452dda9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPHTTPError.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPHTTPError.g.cs @@ -38,9 +38,9 @@ public sealed partial class RealtimeMCPHTTPError /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public RealtimeMCPHTTPError( string message, global::tryAGI.OpenAI.RealtimeMCPHTTPErrorType type) { + this.Type = type; this.Code = code; this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPListTools.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPListTools.g.cs index 4f242af3d..ed0df2f77 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPListTools.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPListTools.g.cs @@ -44,18 +44,18 @@ public sealed partial class RealtimeMCPListTools /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_list_tools`. - /// - /// - /// The unique ID of the list. - /// /// /// The label of the MCP server. /// /// /// The tools available on the server. /// + /// + /// The type of the item. Always `mcp_list_tools`. + /// + /// + /// The unique ID of the list. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -65,10 +65,10 @@ public RealtimeMCPListTools( global::tryAGI.OpenAI.RealtimeMCPListToolsType type, string? id) { - this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); - this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); this.Type = type; this.Id = id; + this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); + this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPProtocolError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPProtocolError.g.cs index 792bd22a6..b2640dfb3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPProtocolError.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPProtocolError.g.cs @@ -38,9 +38,9 @@ public sealed partial class RealtimeMCPProtocolError /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public RealtimeMCPProtocolError( string message, global::tryAGI.OpenAI.RealtimeMCPProtocolErrorType type) { + this.Type = type; this.Code = code; this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs index a392074cd..ba45f659b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolCall.g.cs @@ -70,9 +70,6 @@ public sealed partial class RealtimeMCPToolCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `mcp_call`. - /// /// /// The unique ID of the tool call. /// @@ -85,6 +82,9 @@ public sealed partial class RealtimeMCPToolCall /// /// A JSON string of the arguments passed to the tool. /// + /// + /// The type of the item. Always `mcp_call`. + /// /// /// /// @@ -101,11 +101,11 @@ public RealtimeMCPToolCall( string? output, global::tryAGI.OpenAI.OneOf? error) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; this.ApprovalRequestId = approvalRequestId; this.Output = output; this.Error = error; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolExecutionError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolExecutionError.g.cs index 4c08defce..380a94261 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolExecutionError.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeMCPToolExecutionError.g.cs @@ -31,8 +31,8 @@ public sealed partial class RealtimeMCPToolExecutionError /// /// Initializes a new instance of the class. /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -40,8 +40,8 @@ public RealtimeMCPToolExecutionError( string message, global::tryAGI.OpenAI.RealtimeMCPToolExecutionErrorType type) { - this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Type = type; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationCreated.g.cs index 9cf22ab03..21fcb8f27 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationCreated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationCreated.g.cs @@ -41,12 +41,12 @@ public sealed partial class RealtimeServerEventConversationCreated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.created`. - /// /// /// The conversation resource. /// + /// + /// The event type, must be `conversation.created`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RealtimeServerEventConversationCreated( global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Conversation = conversation ?? throw new global::System.ArgumentNullException(nameof(conversation)); this.Type = type; + this.Conversation = conversation ?? throw new global::System.ArgumentNullException(nameof(conversation)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemAdded.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemAdded.g.cs index 3190254c8..6db6c69e4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemAdded.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemAdded.g.cs @@ -52,13 +52,13 @@ public sealed partial class RealtimeServerEventConversationItemAdded /// /// The unique ID of the server event. /// + /// + /// A single item within a Realtime conversation. + /// /// /// The event type, must be `conversation.item.added`. /// /// - /// - /// A single item within a Realtime conversation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -69,9 +69,9 @@ public RealtimeServerEventConversationItemAdded( string? previousItemId) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Item = item; this.Type = type; this.PreviousItemId = previousItemId; + this.Item = item; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemCreated.g.cs index 7937ae188..a58c21f46 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemCreated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemCreated.g.cs @@ -56,13 +56,13 @@ public sealed partial class RealtimeServerEventConversationItemCreated /// /// The unique ID of the server event. /// + /// + /// A single item within a Realtime conversation. + /// /// /// The event type, must be `conversation.item.created`. /// /// - /// - /// A single item within a Realtime conversation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -73,9 +73,9 @@ public RealtimeServerEventConversationItemCreated( string? previousItemId) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Item = item; this.Type = type; this.PreviousItemId = previousItemId; + this.Item = item; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemDeleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemDeleted.g.cs index 9fc0d3b93..98b4a6153 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemDeleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemDeleted.g.cs @@ -43,12 +43,12 @@ public sealed partial class RealtimeServerEventConversationItemDeleted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.deleted`. - /// /// /// The ID of the item that was deleted. /// + /// + /// The event type, must be `conversation.item.deleted`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,8 +58,8 @@ public RealtimeServerEventConversationItemDeleted( global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemDone.g.cs index 748a1ca10..4dac48e0d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemDone.g.cs @@ -49,13 +49,13 @@ public sealed partial class RealtimeServerEventConversationItemDone /// /// The unique ID of the server event. /// + /// + /// A single item within a Realtime conversation. + /// /// /// The event type, must be `conversation.item.done`. /// /// - /// - /// A single item within a Realtime conversation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,9 +66,9 @@ public RealtimeServerEventConversationItemDone( string? previousItemId) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Item = item; this.Type = type; this.PreviousItemId = previousItemId; + this.Item = item; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted.g.cs index 468a9342f..b20579d99 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted.g.cs @@ -78,10 +78,6 @@ public sealed partial class RealtimeServerEventConversationItemInputAudioTranscr /// /// The unique ID of the server event. /// - /// - /// The event type, must be
- /// `conversation.item.input_audio_transcription.completed`. - /// /// /// The ID of the item containing the audio that is being transcribed. /// @@ -91,10 +87,14 @@ public sealed partial class RealtimeServerEventConversationItemInputAudioTranscr /// /// The transcribed text. /// - /// /// /// Usage statistics for the transcription, this is billed according to the ASR model's pricing rather than the realtime model's pricing. /// + /// + /// The event type, must be
+ /// `conversation.item.input_audio_transcription.completed`. + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -108,12 +108,12 @@ public RealtimeServerEventConversationItemInputAudioTranscriptionCompleted( global::System.Collections.Generic.IList? logprobs) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.Transcript = transcript ?? throw new global::System.ArgumentNullException(nameof(transcript)); - this.Usage = usage; - this.Type = type; this.Logprobs = logprobs; + this.Usage = usage; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.g.cs index db0bad602..7bbc619fc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionDelta.g.cs @@ -59,12 +59,12 @@ public sealed partial class RealtimeServerEventConversationItemInputAudioTranscr /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.input_audio_transcription.delta`. - /// /// /// The ID of the item containing the audio that is being transcribed. /// + /// + /// The event type, must be `conversation.item.input_audio_transcription.delta`. + /// /// /// The index of the content part in the item's content array. /// @@ -84,8 +84,8 @@ public RealtimeServerEventConversationItemInputAudioTranscriptionDelta( global::System.Collections.Generic.IList? logprobs) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.Delta = delta; this.Logprobs = logprobs; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionFailed.g.cs index 155f7d09e..d5de53b30 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionFailed.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionFailed.g.cs @@ -58,10 +58,6 @@ public sealed partial class RealtimeServerEventConversationItemInputAudioTranscr /// /// The unique ID of the server event. /// - /// - /// The event type, must be
- /// `conversation.item.input_audio_transcription.failed`. - /// /// /// The ID of the user message item. /// @@ -71,6 +67,10 @@ public sealed partial class RealtimeServerEventConversationItemInputAudioTranscr /// /// Details of the transcription error. /// + /// + /// The event type, must be
+ /// `conversation.item.input_audio_transcription.failed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,10 +82,10 @@ public RealtimeServerEventConversationItemInputAudioTranscriptionFailed( global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionSegment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionSegment.g.cs index a142a17d6..1a8271df9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionSegment.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionSegment.g.cs @@ -83,9 +83,6 @@ public sealed partial class RealtimeServerEventConversationItemInputAudioTranscr /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.input_audio_transcription.segment`. - /// /// /// The ID of the item containing the input audio content. /// @@ -107,6 +104,9 @@ public sealed partial class RealtimeServerEventConversationItemInputAudioTranscr /// /// End time of the segment in seconds. /// + /// + /// The event type, must be `conversation.item.input_audio_transcription.segment`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -122,6 +122,7 @@ public RealtimeServerEventConversationItemInputAudioTranscriptionSegment( global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionSegmentType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); @@ -129,7 +130,6 @@ public RealtimeServerEventConversationItemInputAudioTranscriptionSegment( this.Speaker = speaker ?? throw new global::System.ArgumentNullException(nameof(speaker)); this.Start = start; this.End = end; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemRetrieved.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemRetrieved.g.cs index 0e0286a49..9e564d7f0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemRetrieved.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemRetrieved.g.cs @@ -42,12 +42,12 @@ public sealed partial class RealtimeServerEventConversationItemRetrieved /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.retrieved`. - /// /// /// A single item within a Realtime conversation. /// + /// + /// The event type, must be `conversation.item.retrieved`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,8 +57,8 @@ public RealtimeServerEventConversationItemRetrieved( global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrievedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Item = item; this.Type = type; + this.Item = item; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemTruncated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemTruncated.g.cs index 26fac1d06..8bbf1befc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemTruncated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemTruncated.g.cs @@ -59,9 +59,6 @@ public sealed partial class RealtimeServerEventConversationItemTruncated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `conversation.item.truncated`. - /// /// /// The ID of the assistant message item that was truncated. /// @@ -71,6 +68,9 @@ public sealed partial class RealtimeServerEventConversationItemTruncated /// /// The duration up to which the audio was truncated, in milliseconds. /// + /// + /// The event type, must be `conversation.item.truncated`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,10 +82,10 @@ public RealtimeServerEventConversationItemTruncated( global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.AudioEndMs = audioEndMs; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventError.g.cs index ad1cb51ba..25e383c46 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventError.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventError.g.cs @@ -43,12 +43,12 @@ public sealed partial class RealtimeServerEventError /// /// The unique ID of the server event. /// - /// - /// The event type, must be `error`. - /// /// /// Details of the error. /// + /// + /// The event type, must be `error`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,8 +58,8 @@ public RealtimeServerEventError( global::tryAGI.OpenAI.RealtimeServerEventErrorType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.Type = type; + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventErrorError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventErrorError.g.cs index 37e88fd04..f7f2033e9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventErrorError.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventErrorError.g.cs @@ -52,10 +52,10 @@ public sealed partial class RealtimeServerEventErrorError /// /// The type of error (e.g., "invalid_request_error", "server_error"). /// - /// /// /// A human-readable error message. /// + /// /// /// #if NET7_0_OR_GREATER @@ -69,8 +69,8 @@ public RealtimeServerEventErrorError( string? eventId) { this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Param = param; this.EventId = eventId; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferCommitted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferCommitted.g.cs index fd284ae84..8cd4c39db 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferCommitted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferCommitted.g.cs @@ -50,13 +50,13 @@ public sealed partial class RealtimeServerEventInputAudioBufferCommitted /// /// The unique ID of the server event. /// + /// + /// The ID of the user message item that will be created. + /// /// /// The event type, must be `input_audio_buffer.committed`. /// /// - /// - /// The ID of the user message item that will be created. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,9 +67,9 @@ public RealtimeServerEventInputAudioBufferCommitted( string? previousItemId) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; this.PreviousItemId = previousItemId; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferDtmfEventReceived.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferDtmfEventReceived.g.cs index 2ae14228f..367a57a25 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferDtmfEventReceived.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferDtmfEventReceived.g.cs @@ -42,15 +42,15 @@ public sealed partial class RealtimeServerEventInputAudioBufferDtmfEventReceived /// /// Initializes a new instance of the class. /// - /// - /// The event type, must be `input_audio_buffer.dtmf_event_received`. - /// /// /// The telephone keypad that was pressed by the user. /// /// /// UTC Unix Timestamp when DTMF Event was received by server. /// + /// + /// The event type, must be `input_audio_buffer.dtmf_event_received`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,9 +59,9 @@ public RealtimeServerEventInputAudioBufferDtmfEventReceived( global::System.DateTimeOffset receivedAt, global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferDtmfEventReceivedType type) { + this.Type = type; this.Event = @event ?? throw new global::System.ArgumentNullException(nameof(@event)); this.ReceivedAt = receivedAt; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferSpeechStarted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferSpeechStarted.g.cs index b428da72e..a46c9c3db 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferSpeechStarted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferSpeechStarted.g.cs @@ -59,9 +59,6 @@ public sealed partial class RealtimeServerEventInputAudioBufferSpeechStarted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `input_audio_buffer.speech_started`. - /// /// /// Milliseconds from the start of all audio written to the buffer during the
/// session when speech was first detected. This will correspond to the
@@ -71,6 +68,9 @@ public sealed partial class RealtimeServerEventInputAudioBufferSpeechStarted /// /// The ID of the user message item that will be created when speech stops. /// + /// + /// The event type, must be `input_audio_buffer.speech_started`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -81,9 +81,9 @@ public RealtimeServerEventInputAudioBufferSpeechStarted( global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.AudioStartMs = audioStartMs; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferSpeechStopped.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferSpeechStopped.g.cs index 8026b5e3a..e812372c3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferSpeechStopped.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferSpeechStopped.g.cs @@ -52,9 +52,6 @@ public sealed partial class RealtimeServerEventInputAudioBufferSpeechStopped /// /// The unique ID of the server event. /// - /// - /// The event type, must be `input_audio_buffer.speech_stopped`. - /// /// /// Milliseconds since the session started when speech stopped. This will
/// correspond to the end of audio sent to the model, and thus includes the
@@ -63,6 +60,9 @@ public sealed partial class RealtimeServerEventInputAudioBufferSpeechStopped /// /// The ID of the user message item that will be created. /// + /// + /// The event type, must be `input_audio_buffer.speech_stopped`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -73,9 +73,9 @@ public RealtimeServerEventInputAudioBufferSpeechStopped( global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.AudioEndMs = audioEndMs; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferTimeoutTriggered.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferTimeoutTriggered.g.cs index 02ce55a62..1913984df 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferTimeoutTriggered.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventInputAudioBufferTimeoutTriggered.g.cs @@ -65,9 +65,6 @@ public sealed partial class RealtimeServerEventInputAudioBufferTimeoutTriggered /// /// The unique ID of the server event. /// - /// - /// The event type, must be `input_audio_buffer.timeout_triggered`. - /// /// /// Millisecond offset of audio written to the input audio buffer that was after the playback time of the last model response. /// @@ -77,6 +74,9 @@ public sealed partial class RealtimeServerEventInputAudioBufferTimeoutTriggered /// /// The ID of the item associated with this segment. /// + /// + /// The event type, must be `input_audio_buffer.timeout_triggered`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,10 +88,10 @@ public RealtimeServerEventInputAudioBufferTimeoutTriggered( global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferTimeoutTriggeredType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.AudioStartMs = audioStartMs; this.AudioEndMs = audioEndMs; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsCompleted.g.cs index ee0b92da8..1c7bd2c1e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsCompleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsCompleted.g.cs @@ -41,12 +41,12 @@ public sealed partial class RealtimeServerEventMCPListToolsCompleted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `mcp_list_tools.completed`. - /// /// /// The ID of the MCP list tools item. /// + /// + /// The event type, must be `mcp_list_tools.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RealtimeServerEventMCPListToolsCompleted( global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsCompletedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsFailed.g.cs index 328dcaa38..9d7af1a5e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsFailed.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsFailed.g.cs @@ -41,12 +41,12 @@ public sealed partial class RealtimeServerEventMCPListToolsFailed /// /// The unique ID of the server event. /// - /// - /// The event type, must be `mcp_list_tools.failed`. - /// /// /// The ID of the MCP list tools item. /// + /// + /// The event type, must be `mcp_list_tools.failed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RealtimeServerEventMCPListToolsFailed( global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsFailedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsInProgress.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsInProgress.g.cs index 33f544546..c816609f1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsInProgress.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventMCPListToolsInProgress.g.cs @@ -41,12 +41,12 @@ public sealed partial class RealtimeServerEventMCPListToolsInProgress /// /// The unique ID of the server event. /// - /// - /// The event type, must be `mcp_list_tools.in_progress`. - /// /// /// The ID of the MCP list tools item. /// + /// + /// The event type, must be `mcp_list_tools.in_progress`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RealtimeServerEventMCPListToolsInProgress( global::tryAGI.OpenAI.RealtimeServerEventMCPListToolsInProgressType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferCleared.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferCleared.g.cs index 4fdba8348..eeec2bbce 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferCleared.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferCleared.g.cs @@ -45,12 +45,12 @@ public sealed partial class RealtimeServerEventOutputAudioBufferCleared /// /// The unique ID of the server event. /// - /// - /// The event type, must be `output_audio_buffer.cleared`. - /// /// /// The unique ID of the response that produced the audio. /// + /// + /// The event type, must be `output_audio_buffer.cleared`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -60,8 +60,8 @@ public RealtimeServerEventOutputAudioBufferCleared( global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferClearedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.Type = type; + this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferStarted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferStarted.g.cs index 9e67a22a4..561ba9041 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferStarted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferStarted.g.cs @@ -44,12 +44,12 @@ public sealed partial class RealtimeServerEventOutputAudioBufferStarted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `output_audio_buffer.started`. - /// /// /// The unique ID of the response that produced the audio. /// + /// + /// The event type, must be `output_audio_buffer.started`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,8 +59,8 @@ public RealtimeServerEventOutputAudioBufferStarted( global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStartedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.Type = type; + this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferStopped.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferStopped.g.cs index 1531dbd4e..c28c8ba02 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferStopped.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventOutputAudioBufferStopped.g.cs @@ -44,12 +44,12 @@ public sealed partial class RealtimeServerEventOutputAudioBufferStopped /// /// The unique ID of the server event. /// - /// - /// The event type, must be `output_audio_buffer.stopped`. - /// /// /// The unique ID of the response that produced the audio. /// + /// + /// The event type, must be `output_audio_buffer.stopped`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,8 +59,8 @@ public RealtimeServerEventOutputAudioBufferStopped( global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStoppedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.Type = type; + this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventRateLimitsUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventRateLimitsUpdated.g.cs index 5c46c6a01..8fd0d1615 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventRateLimitsUpdated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventRateLimitsUpdated.g.cs @@ -44,12 +44,12 @@ public sealed partial class RealtimeServerEventRateLimitsUpdated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `rate_limits.updated`. - /// /// /// List of rate limit information. /// + /// + /// The event type, must be `rate_limits.updated`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,8 +59,8 @@ public RealtimeServerEventRateLimitsUpdated( global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.RateLimits = rateLimits ?? throw new global::System.ArgumentNullException(nameof(rateLimits)); this.Type = type; + this.RateLimits = rateLimits ?? throw new global::System.ArgumentNullException(nameof(rateLimits)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioDelta.g.cs index b6e55aba5..6d0708359 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioDelta.g.cs @@ -69,9 +69,6 @@ public sealed partial class RealtimeServerEventResponseAudioDelta /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_audio.delta`. - /// /// /// The ID of the response. /// @@ -87,6 +84,9 @@ public sealed partial class RealtimeServerEventResponseAudioDelta /// /// Base64-encoded audio data delta. /// + /// + /// The event type, must be `response.output_audio.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public RealtimeServerEventResponseAudioDelta( global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioDone.g.cs index 684014305..83c584d3c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioDone.g.cs @@ -63,9 +63,6 @@ public sealed partial class RealtimeServerEventResponseAudioDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_audio.done`. - /// /// /// The ID of the response. /// @@ -78,6 +75,9 @@ public sealed partial class RealtimeServerEventResponseAudioDone /// /// The index of the content part in the item's content array. /// + /// + /// The event type, must be `response.output_audio.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -90,11 +90,11 @@ public RealtimeServerEventResponseAudioDone( global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioTranscriptDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioTranscriptDelta.g.cs index 083b2430a..aceee6d92 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioTranscriptDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioTranscriptDelta.g.cs @@ -69,9 +69,6 @@ public sealed partial class RealtimeServerEventResponseAudioTranscriptDelta /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_audio_transcript.delta`. - /// /// /// The ID of the response. /// @@ -87,6 +84,9 @@ public sealed partial class RealtimeServerEventResponseAudioTranscriptDelta /// /// The transcript delta. /// + /// + /// The event type, must be `response.output_audio_transcript.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public RealtimeServerEventResponseAudioTranscriptDelta( global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioTranscriptDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioTranscriptDone.g.cs index 3c4e4e5de..7d49505a8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioTranscriptDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseAudioTranscriptDone.g.cs @@ -71,9 +71,6 @@ public sealed partial class RealtimeServerEventResponseAudioTranscriptDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_audio_transcript.done`. - /// /// /// The ID of the response. /// @@ -89,6 +86,9 @@ public sealed partial class RealtimeServerEventResponseAudioTranscriptDone /// /// The final transcript of the audio. /// + /// + /// The event type, must be `response.output_audio_transcript.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -102,12 +102,12 @@ public RealtimeServerEventResponseAudioTranscriptDone( global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Transcript = transcript ?? throw new global::System.ArgumentNullException(nameof(transcript)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseContentPartAdded.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseContentPartAdded.g.cs index 5e230f3fe..29a443687 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseContentPartAdded.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseContentPartAdded.g.cs @@ -70,9 +70,6 @@ public sealed partial class RealtimeServerEventResponseContentPartAdded /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.content_part.added`. - /// /// /// The ID of the response. /// @@ -88,6 +85,9 @@ public sealed partial class RealtimeServerEventResponseContentPartAdded /// /// The content part that was added. /// + /// + /// The event type, must be `response.content_part.added`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -101,12 +101,12 @@ public RealtimeServerEventResponseContentPartAdded( global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Part = part ?? throw new global::System.ArgumentNullException(nameof(part)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseContentPartDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseContentPartDone.g.cs index 773a03839..0b2071ce1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseContentPartDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseContentPartDone.g.cs @@ -70,9 +70,6 @@ public sealed partial class RealtimeServerEventResponseContentPartDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.content_part.done`. - /// /// /// The ID of the response. /// @@ -88,6 +85,9 @@ public sealed partial class RealtimeServerEventResponseContentPartDone /// /// The content part that is done. /// + /// + /// The event type, must be `response.content_part.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -101,12 +101,12 @@ public RealtimeServerEventResponseContentPartDone( global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Part = part ?? throw new global::System.ArgumentNullException(nameof(part)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseCreated.g.cs index 56b5638c3..9e0747b96 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseCreated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseCreated.g.cs @@ -42,12 +42,12 @@ public sealed partial class RealtimeServerEventResponseCreated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.created`. - /// /// /// The response resource. /// + /// + /// The event type, must be `response.created`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,8 +57,8 @@ public RealtimeServerEventResponseCreated( global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response)); this.Type = type; + this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseDone.g.cs index 8685eb490..74ee4783f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseDone.g.cs @@ -47,12 +47,12 @@ public sealed partial class RealtimeServerEventResponseDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.done`. - /// /// /// The response resource. /// + /// + /// The event type, must be `response.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -62,8 +62,8 @@ public RealtimeServerEventResponseDone( global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response)); this.Type = type; + this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseFunctionCallArgumentsDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseFunctionCallArgumentsDelta.g.cs index d2fbaa816..8e3072c1b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseFunctionCallArgumentsDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseFunctionCallArgumentsDelta.g.cs @@ -69,9 +69,6 @@ public sealed partial class RealtimeServerEventResponseFunctionCallArgumentsDelt /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.function_call_arguments.delta`. - /// /// /// The ID of the response. /// @@ -87,6 +84,9 @@ public sealed partial class RealtimeServerEventResponseFunctionCallArgumentsDelt /// /// The arguments delta as a JSON string. /// + /// + /// The event type, must be `response.function_call_arguments.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public RealtimeServerEventResponseFunctionCallArgumentsDelta( global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseFunctionCallArgumentsDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseFunctionCallArgumentsDone.g.cs index c443db51d..232d8cedf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseFunctionCallArgumentsDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseFunctionCallArgumentsDone.g.cs @@ -77,9 +77,6 @@ public sealed partial class RealtimeServerEventResponseFunctionCallArgumentsDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.function_call_arguments.done`. - /// /// /// The ID of the response. /// @@ -98,6 +95,9 @@ public sealed partial class RealtimeServerEventResponseFunctionCallArgumentsDone /// /// The final arguments as a JSON string. /// + /// + /// The event type, must be `response.function_call_arguments.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -112,13 +112,13 @@ public RealtimeServerEventResponseFunctionCallArgumentsDone( global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallArgumentsDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallArgumentsDelta.g.cs index 443e2a506..9b92c023e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallArgumentsDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallArgumentsDelta.g.cs @@ -68,9 +68,6 @@ public sealed partial class RealtimeServerEventResponseMCPCallArgumentsDelta /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call_arguments.delta`. - /// /// /// The ID of the response. /// @@ -83,6 +80,9 @@ public sealed partial class RealtimeServerEventResponseMCPCallArgumentsDelta /// /// The JSON-encoded arguments delta. /// + /// + /// The event type, must be `response.mcp_call_arguments.delta`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -97,11 +97,11 @@ public RealtimeServerEventResponseMCPCallArgumentsDelta( string? obfuscation) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; this.Obfuscation = obfuscation; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallArgumentsDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallArgumentsDone.g.cs index be37005a1..a7a00a551 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallArgumentsDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallArgumentsDone.g.cs @@ -62,9 +62,6 @@ public sealed partial class RealtimeServerEventResponseMCPCallArgumentsDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call_arguments.done`. - /// /// /// The ID of the response. /// @@ -77,6 +74,9 @@ public sealed partial class RealtimeServerEventResponseMCPCallArgumentsDone /// /// The final JSON-encoded arguments string. /// + /// + /// The event type, must be `response.mcp_call_arguments.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -89,11 +89,11 @@ public RealtimeServerEventResponseMCPCallArgumentsDone( global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallArgumentsDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallCompleted.g.cs index a7ef45519..590e6cffd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallCompleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallCompleted.g.cs @@ -48,15 +48,15 @@ public sealed partial class RealtimeServerEventResponseMCPCallCompleted /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call.completed`. - /// /// /// The index of the output item in the response. /// /// /// The ID of the MCP tool call item. /// + /// + /// The event type, must be `response.mcp_call.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,9 +67,9 @@ public RealtimeServerEventResponseMCPCallCompleted( global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallCompletedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallFailed.g.cs index e5e546c1b..7e7e75f1d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallFailed.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallFailed.g.cs @@ -48,15 +48,15 @@ public sealed partial class RealtimeServerEventResponseMCPCallFailed /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call.failed`. - /// /// /// The index of the output item in the response. /// /// /// The ID of the MCP tool call item. /// + /// + /// The event type, must be `response.mcp_call.failed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,9 +67,9 @@ public RealtimeServerEventResponseMCPCallFailed( global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallFailedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallInProgress.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallInProgress.g.cs index a7c038db1..933b89de3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallInProgress.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseMCPCallInProgress.g.cs @@ -48,15 +48,15 @@ public sealed partial class RealtimeServerEventResponseMCPCallInProgress /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.mcp_call.in_progress`. - /// /// /// The index of the output item in the response. /// /// /// The ID of the MCP tool call item. /// + /// + /// The event type, must be `response.mcp_call.in_progress`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,9 +67,9 @@ public RealtimeServerEventResponseMCPCallInProgress( global::tryAGI.OpenAI.RealtimeServerEventResponseMCPCallInProgressType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseOutputItemAdded.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseOutputItemAdded.g.cs index b6ed804e1..dcdc3aa4b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseOutputItemAdded.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseOutputItemAdded.g.cs @@ -56,9 +56,6 @@ public sealed partial class RealtimeServerEventResponseOutputItemAdded /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_item.added`. - /// /// /// The ID of the Response to which the item belongs. /// @@ -68,6 +65,9 @@ public sealed partial class RealtimeServerEventResponseOutputItemAdded /// /// A single item within a Realtime conversation. /// + /// + /// The event type, must be `response.output_item.added`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -79,10 +79,10 @@ public RealtimeServerEventResponseOutputItemAdded( global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.OutputIndex = outputIndex; this.Item = item; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseOutputItemDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseOutputItemDone.g.cs index 27b785291..1147978d4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseOutputItemDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseOutputItemDone.g.cs @@ -57,9 +57,6 @@ public sealed partial class RealtimeServerEventResponseOutputItemDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_item.done`. - /// /// /// The ID of the Response to which the item belongs. /// @@ -69,6 +66,9 @@ public sealed partial class RealtimeServerEventResponseOutputItemDone /// /// A single item within a Realtime conversation. /// + /// + /// The event type, must be `response.output_item.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,10 +80,10 @@ public RealtimeServerEventResponseOutputItemDone( global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.OutputIndex = outputIndex; this.Item = item; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseTextDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseTextDelta.g.cs index 3372847d5..66a5a7884 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseTextDelta.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseTextDelta.g.cs @@ -69,9 +69,6 @@ public sealed partial class RealtimeServerEventResponseTextDelta /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_text.delta`. - /// /// /// The ID of the response. /// @@ -87,6 +84,9 @@ public sealed partial class RealtimeServerEventResponseTextDelta /// /// The text delta. /// + /// + /// The event type, must be `response.output_text.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public RealtimeServerEventResponseTextDelta( global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseTextDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseTextDone.g.cs index 89a284997..8bdacf1c7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseTextDone.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventResponseTextDone.g.cs @@ -70,9 +70,6 @@ public sealed partial class RealtimeServerEventResponseTextDone /// /// The unique ID of the server event. /// - /// - /// The event type, must be `response.output_text.done`. - /// /// /// The ID of the response. /// @@ -88,6 +85,9 @@ public sealed partial class RealtimeServerEventResponseTextDone /// /// The final text content. /// + /// + /// The event type, must be `response.output_text.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -101,12 +101,12 @@ public RealtimeServerEventResponseTextDone( global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); + this.Type = type; this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId)); this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventSessionCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventSessionCreated.g.cs index 705bcb993..aa6780b04 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventSessionCreated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventSessionCreated.g.cs @@ -44,12 +44,12 @@ public sealed partial class RealtimeServerEventSessionCreated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `session.created`. - /// /// /// The session configuration. /// + /// + /// The event type, must be `session.created`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,8 +59,8 @@ public RealtimeServerEventSessionCreated( global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Session = session; this.Type = type; + this.Session = session; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventSessionUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventSessionUpdated.g.cs index cff7a1ac0..e862e8db5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventSessionUpdated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventSessionUpdated.g.cs @@ -43,12 +43,12 @@ public sealed partial class RealtimeServerEventSessionUpdated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `session.updated`. - /// /// /// The session configuration. /// + /// + /// The event type, must be `session.updated`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,8 +58,8 @@ public RealtimeServerEventSessionUpdated( global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Session = session; this.Type = type; + this.Session = session; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventTranscriptionSessionUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventTranscriptionSessionUpdated.g.cs index f74b424ca..63fe62195 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventTranscriptionSessionUpdated.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventTranscriptionSessionUpdated.g.cs @@ -45,15 +45,15 @@ public sealed partial class RealtimeServerEventTranscriptionSessionUpdated /// /// The unique ID of the server event. /// - /// - /// The event type, must be `transcription_session.updated`. - /// /// /// A new Realtime transcription session configuration.
/// When a session is created on the server via REST API, the session object
/// also contains an ephemeral key. Default TTL for keys is 10 minutes. This
/// property is not present when a session is updated via the WebSocket API. /// + /// + /// The event type, must be `transcription_session.updated`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -63,8 +63,8 @@ public RealtimeServerEventTranscriptionSessionUpdated( global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdatedType type) { this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId)); - this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); this.Type = type; + this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateResponseGA.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateResponseGA.g.cs index f6569920e..d3a3d2825 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateResponseGA.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTranscriptionSessionCreateResponseGA.g.cs @@ -57,15 +57,15 @@ public sealed partial class RealtimeTranscriptionSessionCreateResponseGA /// /// Initializes a new instance of the class. /// - /// - /// The type of session. Always `transcription` for transcription sessions. - /// /// /// Unique identifier for the session that looks like `sess_1234567890abcdef`. /// /// /// The object type. Always `realtime.transcription_session`. /// + /// + /// The type of session. Always `transcription` for transcription sessions. + /// /// /// Expiration timestamp for the session, in seconds since epoch. /// @@ -87,9 +87,9 @@ public RealtimeTranscriptionSessionCreateResponseGA( global::System.Collections.Generic.IList? include, global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseGAAudio? audio) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Object = @object ?? throw new global::System.ArgumentNullException(nameof(@object)); - this.Type = type; this.ExpiresAt = expiresAt; this.Include = include; this.Audio = audio; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTruncationEnum2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTruncationEnum2.g.cs index 1982cee75..0607283b5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTruncationEnum2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTruncationEnum2.g.cs @@ -37,12 +37,12 @@ public sealed partial class RealtimeTruncationEnum2 /// /// Initializes a new instance of the class. /// - /// - /// Use retention ratio truncation. - /// /// /// Fraction of post-instruction conversation tokens to retain (`0.0` - `1.0`) when the conversation exceeds the input token limit. Setting this to `0.8` means that messages will be dropped until 80% of the maximum allowed tokens are used. This helps reduce the frequency of truncations and improve cache rates. /// + /// + /// Use retention ratio truncation. + /// /// /// Optional custom token limits for this truncation strategy. If not provided, the model's default token limits will be used. /// @@ -54,8 +54,8 @@ public RealtimeTruncationEnum2( global::tryAGI.OpenAI.RealtimeTruncationEnumType type, global::tryAGI.OpenAI.RealtimeTruncationEnumTokenLimits? tokenLimits) { - this.RetentionRatio = retentionRatio; this.Type = type; + this.RetentionRatio = retentionRatio; this.TokenLimits = tokenLimits; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad.g.cs index 593826b0e..552e3bf3f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1SemanticVad.g.cs @@ -47,9 +47,6 @@ public sealed partial class RealtimeTurnDetectionRealtimeTurnDetection1SemanticV /// /// Initializes a new instance of the class. /// - /// - /// Type of turn detection, `semantic_vad` to turn on Semantic VAD. - /// /// /// Used only for `semantic_vad` mode. The eagerness of the model to respond. `low` will wait longer for the user to continue speaking, `high` will respond more quickly. `auto` is the default and is equivalent to `medium`. `low`, `medium`, and `high` have max timeouts of 8s, 4s, and 2s respectively.
/// Default Value: auto @@ -63,6 +60,9 @@ public sealed partial class RealtimeTurnDetectionRealtimeTurnDetection1SemanticV /// conversation (i.e. `conversation` of `auto`) when a VAD start event occurs.
/// Default Value: true /// + /// + /// Type of turn detection, `semantic_vad` to turn on Semantic VAD. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad.g.cs index 7024c6daa..0b8986154 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeTurnDetectionRealtimeTurnDetection1ServerVad.g.cs @@ -71,10 +71,6 @@ public sealed partial class RealtimeTurnDetectionRealtimeTurnDetection1ServerVad /// /// Initializes a new instance of the class. /// - /// - /// Type of turn detection, `server_vad` to turn on simple Server VAD.
- /// Default Value: server_vad - /// /// /// Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A
/// higher threshold will require louder audio to activate the model, and
@@ -101,6 +97,10 @@ public sealed partial class RealtimeTurnDetectionRealtimeTurnDetection1ServerVad /// Default Value: true /// /// + /// + /// Type of turn detection, `server_vad` to turn on simple Server VAD.
+ /// Default Value: server_vad + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningItem.g.cs index e9a6192a7..f67cd751b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningItem.g.cs @@ -61,16 +61,16 @@ public sealed partial class ReasoningItem /// /// Initializes a new instance of the class. /// - /// - /// The type of the object. Always `reasoning`. - /// /// /// The unique identifier of the reasoning content. /// - /// /// /// Reasoning summary content. /// + /// + /// The type of the object. Always `reasoning`. + /// + /// /// /// Reasoning text content. /// @@ -89,10 +89,10 @@ public ReasoningItem( global::System.Collections.Generic.IList? content, global::tryAGI.OpenAI.ReasoningItemStatus? status) { - this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.Type = type; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.EncryptedContent = encryptedContent; + this.Summary = summary ?? throw new global::System.ArgumentNullException(nameof(summary)); this.Content = content; this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningTextContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningTextContent.g.cs index 03402056d..1d6b4b56a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningTextContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ReasoningTextContent.g.cs @@ -33,13 +33,13 @@ public sealed partial class ReasoningTextContent /// /// Initializes a new instance of the class. /// + /// + /// The reasoning text from the model. + /// /// /// The type of the reasoning text. Always `reasoning_text`.
/// Default Value: reasoning_text /// - /// - /// The reasoning text from the model. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public ReasoningTextContent( string text, global::tryAGI.OpenAI.ReasoningTextContentType type = global::tryAGI.OpenAI.ReasoningTextContentType.ReasoningText) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RefusalContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RefusalContent.g.cs index b6e3dc21a..2e3fb63fe 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RefusalContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RefusalContent.g.cs @@ -33,13 +33,13 @@ public sealed partial class RefusalContent /// /// Initializes a new instance of the class. /// + /// + /// The refusal explanation from the model. + /// /// /// The type of the refusal. Always `refusal`.
/// Default Value: refusal /// - /// - /// The refusal explanation from the model. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public RefusalContent( string refusal, global::tryAGI.OpenAI.RefusalContentType type = global::tryAGI.OpenAI.RefusalContentType.Refusal) { - this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); this.Type = type; + this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioDeltaEvent.g.cs index 596ca4bdc..8377c4445 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioDeltaEvent.g.cs @@ -38,15 +38,15 @@ public sealed partial class ResponseAudioDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.audio.delta`. - /// /// /// A sequence number for this chunk of the stream response. /// /// /// A chunk of Base64 encoded response audio bytes. /// + /// + /// The type of the event. Always `response.audio.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public ResponseAudioDeltaEvent( string delta, global::tryAGI.OpenAI.ResponseAudioDeltaEventType type) { + this.Type = type; this.SequenceNumber = sequenceNumber; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioDoneEvent.g.cs index b1b4b86da..1da857209 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioDoneEvent.g.cs @@ -31,12 +31,12 @@ public sealed partial class ResponseAudioDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.audio.done`. - /// /// /// The sequence number of the delta. /// + /// + /// The type of the event. Always `response.audio.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ResponseAudioDoneEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseAudioDoneEventType type) { - this.SequenceNumber = sequenceNumber; this.Type = type; + this.SequenceNumber = sequenceNumber; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioTranscriptDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioTranscriptDeltaEvent.g.cs index be97e2699..b54bb23e8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioTranscriptDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioTranscriptDeltaEvent.g.cs @@ -38,15 +38,15 @@ public sealed partial class ResponseAudioTranscriptDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.audio.transcript.delta`. - /// /// /// The partial transcript of the audio response. /// /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.audio.transcript.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public ResponseAudioTranscriptDeltaEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType type) { + this.Type = type; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioTranscriptDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioTranscriptDoneEvent.g.cs index 79f837457..82fed8507 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioTranscriptDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseAudioTranscriptDoneEvent.g.cs @@ -31,12 +31,12 @@ public sealed partial class ResponseAudioTranscriptDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.audio.transcript.done`. - /// /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.audio.transcript.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ResponseAudioTranscriptDoneEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType type) { - this.SequenceNumber = sequenceNumber; this.Type = type; + this.SequenceNumber = sequenceNumber; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDeltaEvent.g.cs index 717d294ce..77ce816b6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDeltaEvent.g.cs @@ -52,9 +52,6 @@ public sealed partial class ResponseCodeInterpreterCallCodeDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.code_interpreter_call_code.delta`. - /// /// /// The index of the output item in the response for which the code is being streamed. /// @@ -67,6 +64,9 @@ public sealed partial class ResponseCodeInterpreterCallCodeDeltaEvent /// /// The sequence number of this event, used to order streaming events. /// + /// + /// The type of the event. Always `response.code_interpreter_call_code.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ResponseCodeInterpreterCallCodeDeltaEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDoneEvent.g.cs index 4256f693f..6dbbe1bac 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDoneEvent.g.cs @@ -52,9 +52,6 @@ public sealed partial class ResponseCodeInterpreterCallCodeDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.code_interpreter_call_code.done`. - /// /// /// The index of the output item in the response for which the code is finalized. /// @@ -67,6 +64,9 @@ public sealed partial class ResponseCodeInterpreterCallCodeDoneEvent /// /// The sequence number of this event, used to order streaming events. /// + /// + /// The type of the event. Always `response.code_interpreter_call_code.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ResponseCodeInterpreterCallCodeDoneEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Code = code ?? throw new global::System.ArgumentNullException(nameof(code)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCompletedEvent.g.cs index 0545488f0..cec7ecf24 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCompletedEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseCodeInterpreterCallCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.code_interpreter_call.completed`. - /// /// /// The index of the output item in the response for which the code interpreter call is completed. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseCodeInterpreterCallCompletedEvent /// /// The sequence number of this event, used to order streaming events. /// + /// + /// The type of the event. Always `response.code_interpreter_call.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseCodeInterpreterCallCompletedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInProgressEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInProgressEvent.g.cs index 952301fbd..4faf74618 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInProgressEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInProgressEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseCodeInterpreterCallInProgressEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.code_interpreter_call.in_progress`. - /// /// /// The index of the output item in the response for which the code interpreter call is in progress. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseCodeInterpreterCallInProgressEvent /// /// The sequence number of this event, used to order streaming events. /// + /// + /// The type of the event. Always `response.code_interpreter_call.in_progress`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseCodeInterpreterCallInProgressEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInterpretingEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInterpretingEvent.g.cs index d697ce1ce..b6c987d43 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInterpretingEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInterpretingEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseCodeInterpreterCallInterpretingEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.code_interpreter_call.interpreting`. - /// /// /// The index of the output item in the response for which the code interpreter is interpreting code. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseCodeInterpreterCallInterpretingEvent /// /// The sequence number of this event, used to order streaming events. /// + /// + /// The type of the event. Always `response.code_interpreter_call.interpreting`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseCodeInterpreterCallInterpretingEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCompletedEvent.g.cs index f74c9d3e8..c52256a80 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCompletedEvent.g.cs @@ -41,9 +41,6 @@ public sealed partial class ResponseCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.completed`. - /// /// /// Properties of the completed response.
/// Example: {"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","created_at":1741476777,"status":"completed","completed_at":1741476778,"error":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","incomplete_details":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","instructions":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","max_output_tokens":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","model":"gpt-4o-2024-08-06","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","reasoning":{"effort":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},"store":true,"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"user":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","metadata":{}} @@ -51,6 +48,9 @@ public sealed partial class ResponseCompletedEvent /// /// The sequence number for this event. /// + /// + /// The type of the event. Always `response.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,9 +59,9 @@ public ResponseCompletedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseCompletedEventType type) { + this.Type = type; this.Response = response; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseContentPartAddedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseContentPartAddedEvent.g.cs index 31f636aa9..a31d49ffd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseContentPartAddedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseContentPartAddedEvent.g.cs @@ -60,9 +60,6 @@ public sealed partial class ResponseContentPartAddedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.content_part.added`. - /// /// /// The ID of the output item that the content part was added to. /// @@ -78,6 +75,9 @@ public sealed partial class ResponseContentPartAddedEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.content_part.added`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -89,12 +89,12 @@ public ResponseContentPartAddedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseContentPartAddedEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Part = part; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseContentPartDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseContentPartDoneEvent.g.cs index 7c270e9ef..71cdd19ee 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseContentPartDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseContentPartDoneEvent.g.cs @@ -60,9 +60,6 @@ public sealed partial class ResponseContentPartDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.content_part.done`. - /// /// /// The ID of the output item that the content part was added to. /// @@ -78,6 +75,9 @@ public sealed partial class ResponseContentPartDoneEvent /// /// The content part that is done. /// + /// + /// The type of the event. Always `response.content_part.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -89,12 +89,12 @@ public ResponseContentPartDoneEvent( global::tryAGI.OpenAI.OutputContent part, global::tryAGI.OpenAI.ResponseContentPartDoneEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.SequenceNumber = sequenceNumber; this.Part = part; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCreatedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCreatedEvent.g.cs index f5a0e9252..7451c8fce 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCreatedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCreatedEvent.g.cs @@ -41,9 +41,6 @@ public sealed partial class ResponseCreatedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.created`. - /// /// /// The response that was created.
/// Example: {"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","created_at":1741476777,"status":"completed","completed_at":1741476778,"error":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","incomplete_details":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","instructions":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","max_output_tokens":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","model":"gpt-4o-2024-08-06","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","reasoning":{"effort":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},"store":true,"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"user":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","metadata":{}} @@ -51,6 +48,9 @@ public sealed partial class ResponseCreatedEvent /// /// The sequence number for this event. /// + /// + /// The type of the event. Always `response.created`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,9 +59,9 @@ public ResponseCreatedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseCreatedEventType type) { + this.Type = type; this.Response = response; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCustomToolCallInputDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCustomToolCallInputDeltaEvent.g.cs index 2a458ea88..6c1af1c14 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCustomToolCallInputDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCustomToolCallInputDeltaEvent.g.cs @@ -52,9 +52,6 @@ public sealed partial class ResponseCustomToolCallInputDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The event type identifier. - /// /// /// The sequence number of this event. /// @@ -67,6 +64,9 @@ public sealed partial class ResponseCustomToolCallInputDeltaEvent /// /// The incremental input data (delta) for the custom tool call. /// + /// + /// The event type identifier. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ResponseCustomToolCallInputDeltaEvent( string delta, global::tryAGI.OpenAI.ResponseCustomToolCallInputDeltaEventType type) { + this.Type = type; this.SequenceNumber = sequenceNumber; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCustomToolCallInputDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCustomToolCallInputDoneEvent.g.cs index 4b58d7dcd..8c26a3a10 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCustomToolCallInputDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCustomToolCallInputDoneEvent.g.cs @@ -52,9 +52,6 @@ public sealed partial class ResponseCustomToolCallInputDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The event type identifier. - /// /// /// The sequence number of this event. /// @@ -67,6 +64,9 @@ public sealed partial class ResponseCustomToolCallInputDoneEvent /// /// The complete input data for the custom tool call. /// + /// + /// The event type identifier. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ResponseCustomToolCallInputDoneEvent( string input, global::tryAGI.OpenAI.ResponseCustomToolCallInputDoneEventType type) { + this.Type = type; this.SequenceNumber = sequenceNumber; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseErrorEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseErrorEvent.g.cs index 5f399d978..1b66e7ba1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseErrorEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseErrorEvent.g.cs @@ -50,17 +50,17 @@ public sealed partial class ResponseErrorEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `error`. - /// - /// /// /// The error message. /// - /// /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `error`. + /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -71,11 +71,11 @@ public ResponseErrorEvent( string? code, string? param) { - this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); - this.SequenceNumber = sequenceNumber; this.Type = type; this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); this.Param = param; + this.SequenceNumber = sequenceNumber; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFailedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFailedEvent.g.cs index bd6e9292c..bfd0f0e12 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFailedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFailedEvent.g.cs @@ -41,9 +41,6 @@ public sealed partial class ResponseFailedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.failed`. - /// /// /// The sequence number of this event. /// @@ -51,6 +48,9 @@ public sealed partial class ResponseFailedEvent /// The response that failed.
/// Example: {"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","created_at":1741476777,"status":"completed","completed_at":1741476778,"error":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","incomplete_details":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","instructions":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","max_output_tokens":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","model":"gpt-4o-2024-08-06","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","reasoning":{"effort":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},"store":true,"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"user":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","metadata":{}} /// + /// + /// The type of the event. Always `response.failed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,9 +59,9 @@ public ResponseFailedEvent( global::tryAGI.OpenAI.Response response, global::tryAGI.OpenAI.ResponseFailedEventType type) { + this.Type = type; this.SequenceNumber = sequenceNumber; this.Response = response; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallCompletedEvent.g.cs index 39900fd91..75182132c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallCompletedEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseFileSearchCallCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.file_search_call.completed`. - /// /// /// The index of the output item that the file search call is initiated. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseFileSearchCallCompletedEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.file_search_call.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseFileSearchCallCompletedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallInProgressEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallInProgressEvent.g.cs index abed28c68..b5cefc86b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallInProgressEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallInProgressEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseFileSearchCallInProgressEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.file_search_call.in_progress`. - /// /// /// The index of the output item that the file search call is initiated. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseFileSearchCallInProgressEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.file_search_call.in_progress`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseFileSearchCallInProgressEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallSearchingEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallSearchingEvent.g.cs index 0a6db89a7..35b4faa21 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallSearchingEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFileSearchCallSearchingEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseFileSearchCallSearchingEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.file_search_call.searching`. - /// /// /// The index of the output item that the file search call is searching. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseFileSearchCallSearchingEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.file_search_call.searching`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseFileSearchCallSearchingEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatJsonSchema.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatJsonSchema.g.cs index 0aedb29ce..b70c4e0dc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatJsonSchema.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatJsonSchema.g.cs @@ -32,12 +32,12 @@ public sealed partial class ResponseFormatJsonSchema /// /// Initializes a new instance of the class. /// - /// - /// The type of response format being defined. Always `json_schema`. - /// /// /// Structured Outputs configuration options, including a JSON Schema. /// + /// + /// The type of response format being defined. Always `json_schema`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -45,8 +45,8 @@ public ResponseFormatJsonSchema( global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema jsonSchema, global::tryAGI.OpenAI.ResponseFormatJsonSchemaType type) { - this.JsonSchema = jsonSchema ?? throw new global::System.ArgumentNullException(nameof(jsonSchema)); this.Type = type; + this.JsonSchema = jsonSchema ?? throw new global::System.ArgumentNullException(nameof(jsonSchema)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatJsonSchemaJsonSchema.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatJsonSchemaJsonSchema.g.cs index b9efad345..16174632a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatJsonSchemaJsonSchema.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatJsonSchemaJsonSchema.g.cs @@ -45,14 +45,14 @@ public sealed partial class ResponseFormatJsonSchemaJsonSchema /// /// Initializes a new instance of the class. /// - /// - /// A description of what the response format is for, used by the model to
- /// determine how to respond in the format. - /// /// /// The name of the response format. Must be a-z, A-Z, 0-9, or contain
/// underscores and dashes, with a maximum length of 64. /// + /// + /// A description of what the response format is for, used by the model to
+ /// determine how to respond in the format. + /// /// /// The schema for the response format, described as a JSON Schema object.
/// Learn how to build JSON schemas [here](https://json-schema.org/). @@ -67,8 +67,8 @@ public ResponseFormatJsonSchemaJsonSchema( global::tryAGI.OpenAI.ResponseFormatJsonSchemaSchema? schema, bool? strict) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Schema = schema; this.Strict = strict; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatTextGrammar.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatTextGrammar.g.cs index ec59cc91d..f2f368679 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatTextGrammar.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormatTextGrammar.g.cs @@ -32,12 +32,12 @@ public sealed partial class ResponseFormatTextGrammar /// /// Initializes a new instance of the class. /// - /// - /// The type of response format being defined. Always `grammar`. - /// /// /// The custom grammar for the model to follow. /// + /// + /// The type of response format being defined. Always `grammar`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -45,8 +45,8 @@ public ResponseFormatTextGrammar( string grammar, global::tryAGI.OpenAI.ResponseFormatTextGrammarType type) { - this.Grammar = grammar ?? throw new global::System.ArgumentNullException(nameof(grammar)); this.Type = type; + this.Grammar = grammar ?? throw new global::System.ArgumentNullException(nameof(grammar)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFunctionCallArgumentsDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFunctionCallArgumentsDeltaEvent.g.cs index a46b67e67..d6384b2d3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFunctionCallArgumentsDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFunctionCallArgumentsDeltaEvent.g.cs @@ -52,9 +52,6 @@ public sealed partial class ResponseFunctionCallArgumentsDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.function_call_arguments.delta`. - /// /// /// The ID of the output item that the function-call arguments delta is added to. /// @@ -67,6 +64,9 @@ public sealed partial class ResponseFunctionCallArgumentsDeltaEvent /// /// The function-call arguments delta that is added. /// + /// + /// The type of the event. Always `response.function_call_arguments.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ResponseFunctionCallArgumentsDeltaEvent( string delta, global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFunctionCallArgumentsDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFunctionCallArgumentsDoneEvent.g.cs index f039d8bef..e1702c973 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFunctionCallArgumentsDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFunctionCallArgumentsDoneEvent.g.cs @@ -59,7 +59,6 @@ public sealed partial class ResponseFunctionCallArgumentsDoneEvent /// /// Initializes a new instance of the class. /// - /// /// /// The ID of the item. /// @@ -75,6 +74,7 @@ public sealed partial class ResponseFunctionCallArgumentsDoneEvent /// /// The function-call arguments. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -86,12 +86,12 @@ public ResponseFunctionCallArgumentsDoneEvent( string arguments, global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallCompletedEvent.g.cs index 91e6431e1..a64e4a7e5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallCompletedEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseImageGenCallCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.image_generation_call.completed'. - /// /// /// The index of the output item in the response's output array. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseImageGenCallCompletedEvent /// /// The unique identifier of the image generation item being processed. /// + /// + /// The type of the event. Always 'response.image_generation_call.completed'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseImageGenCallCompletedEvent( string itemId, global::tryAGI.OpenAI.ResponseImageGenCallCompletedEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallGeneratingEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallGeneratingEvent.g.cs index 96f1dbfcc..e99168f71 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallGeneratingEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallGeneratingEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseImageGenCallGeneratingEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.image_generation_call.generating'. - /// /// /// The index of the output item in the response's output array. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseImageGenCallGeneratingEvent /// /// The sequence number of the image generation item being processed. /// + /// + /// The type of the event. Always 'response.image_generation_call.generating'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseImageGenCallGeneratingEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallInProgressEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallInProgressEvent.g.cs index 17b2e047f..1ee241103 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallInProgressEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallInProgressEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseImageGenCallInProgressEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.image_generation_call.in_progress'. - /// /// /// The index of the output item in the response's output array. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseImageGenCallInProgressEvent /// /// The sequence number of the image generation item being processed. /// + /// + /// The type of the event. Always 'response.image_generation_call.in_progress'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseImageGenCallInProgressEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseImageGenCallInProgressEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallPartialImageEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallPartialImageEvent.g.cs index ca463673d..8ad3ca5a9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallPartialImageEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseImageGenCallPartialImageEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseImageGenCallPartialImageEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.image_generation_call.partial_image'. - /// /// /// The index of the output item in the response's output array. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseImageGenCallPartialImageEvent /// /// Base64-encoded partial image data, suitable for rendering as an image. /// + /// + /// The type of the event. Always 'response.image_generation_call.partial_image'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseImageGenCallPartialImageEvent( string partialImageB64, global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; this.PartialImageIndex = partialImageIndex; this.PartialImageB64 = partialImageB64 ?? throw new global::System.ArgumentNullException(nameof(partialImageB64)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseInProgressEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseInProgressEvent.g.cs index 5cef71c98..aa31f0045 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseInProgressEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseInProgressEvent.g.cs @@ -41,9 +41,6 @@ public sealed partial class ResponseInProgressEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.in_progress`. - /// /// /// The response that is in progress.
/// Example: {"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","created_at":1741476777,"status":"completed","completed_at":1741476778,"error":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","incomplete_details":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","instructions":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","max_output_tokens":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","model":"gpt-4o-2024-08-06","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","reasoning":{"effort":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},"store":true,"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"user":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","metadata":{}} @@ -51,6 +48,9 @@ public sealed partial class ResponseInProgressEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.in_progress`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,9 +59,9 @@ public ResponseInProgressEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseInProgressEventType type) { + this.Type = type; this.Response = response; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseIncompleteEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseIncompleteEvent.g.cs index 400772cd7..5dd2dccb5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseIncompleteEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseIncompleteEvent.g.cs @@ -41,9 +41,6 @@ public sealed partial class ResponseIncompleteEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.incomplete`. - /// /// /// The response that was incomplete.
/// Example: {"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","created_at":1741476777,"status":"completed","completed_at":1741476778,"error":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","incomplete_details":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","instructions":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","max_output_tokens":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","model":"gpt-4o-2024-08-06","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","reasoning":{"effort":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},"store":true,"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"user":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","metadata":{}} @@ -51,6 +48,9 @@ public sealed partial class ResponseIncompleteEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.incomplete`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,9 +59,9 @@ public ResponseIncompleteEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseIncompleteEventType type) { + this.Type = type; this.Response = response; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseItemList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseItemList.g.cs index 935951455..4ac7db2f0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseItemList.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseItemList.g.cs @@ -52,9 +52,6 @@ public sealed partial class ResponseItemList /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be `list`. - /// /// /// A list of items used to generate this response. /// @@ -67,6 +64,9 @@ public sealed partial class ResponseItemList /// /// The ID of the last item in the list. /// + /// + /// The type of object returned, must be `list`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ResponseItemList( string lastId, global::tryAGI.OpenAI.ResponseItemListObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallArgumentsDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallArgumentsDeltaEvent.g.cs index 9d4a99582..2a0ae991c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallArgumentsDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallArgumentsDeltaEvent.g.cs @@ -52,9 +52,6 @@ public sealed partial class ResponseMCPCallArgumentsDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.mcp_call_arguments.delta'. - /// /// /// The index of the output item in the response's output array. /// @@ -67,6 +64,9 @@ public sealed partial class ResponseMCPCallArgumentsDeltaEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always 'response.mcp_call_arguments.delta'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ResponseMCPCallArgumentsDeltaEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallArgumentsDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallArgumentsDoneEvent.g.cs index 986cfa21d..2375c67fa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallArgumentsDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallArgumentsDoneEvent.g.cs @@ -52,9 +52,6 @@ public sealed partial class ResponseMCPCallArgumentsDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.mcp_call_arguments.done'. - /// /// /// The index of the output item in the response's output array. /// @@ -67,6 +64,9 @@ public sealed partial class ResponseMCPCallArgumentsDoneEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always 'response.mcp_call_arguments.done'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,11 +77,11 @@ public ResponseMCPCallArgumentsDoneEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallCompletedEvent.g.cs index 2da495106..fcf9d6a3a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallCompletedEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseMCPCallCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.mcp_call.completed'. - /// /// /// The ID of the MCP tool call item that completed. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseMCPCallCompletedEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always 'response.mcp_call.completed'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseMCPCallCompletedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseMCPCallCompletedEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallFailedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallFailedEvent.g.cs index ff220ef3f..98beb871f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallFailedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallFailedEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseMCPCallFailedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.mcp_call.failed'. - /// /// /// The ID of the MCP tool call item that failed. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseMCPCallFailedEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always 'response.mcp_call.failed'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseMCPCallFailedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseMCPCallFailedEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallInProgressEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallInProgressEvent.g.cs index 16689be14..0bb7849f6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallInProgressEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPCallInProgressEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseMCPCallInProgressEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.mcp_call.in_progress'. - /// /// /// The sequence number of this event. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseMCPCallInProgressEvent /// /// The unique identifier of the MCP tool call item being processed. /// + /// + /// The type of the event. Always 'response.mcp_call.in_progress'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseMCPCallInProgressEvent( string itemId, global::tryAGI.OpenAI.ResponseMCPCallInProgressEventType type) { + this.Type = type; this.SequenceNumber = sequenceNumber; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsCompletedEvent.g.cs index c79ef4974..4614a51e5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsCompletedEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseMCPListToolsCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.mcp_list_tools.completed'. - /// /// /// The ID of the MCP tool call item that produced this output. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseMCPListToolsCompletedEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always 'response.mcp_list_tools.completed'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseMCPListToolsCompletedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsFailedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsFailedEvent.g.cs index 959f57bc8..817391e70 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsFailedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsFailedEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseMCPListToolsFailedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.mcp_list_tools.failed'. - /// /// /// The ID of the MCP tool call item that failed. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseMCPListToolsFailedEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always 'response.mcp_list_tools.failed'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseMCPListToolsFailedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseMCPListToolsFailedEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsInProgressEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsInProgressEvent.g.cs index a663762bd..9ba99d2b0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsInProgressEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseMCPListToolsInProgressEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseMCPListToolsInProgressEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.mcp_list_tools.in_progress'. - /// /// /// The ID of the MCP tool call item that is being processed. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseMCPListToolsInProgressEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always 'response.mcp_list_tools.in_progress'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseMCPListToolsInProgressEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputItemAddedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputItemAddedEvent.g.cs index 870d2f313..6f496a6c0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputItemAddedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputItemAddedEvent.g.cs @@ -46,9 +46,6 @@ public sealed partial class ResponseOutputItemAddedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.output_item.added`. - /// /// /// The index of the output item that was added. /// @@ -58,6 +55,9 @@ public sealed partial class ResponseOutputItemAddedEvent /// /// The output item that was added. /// + /// + /// The type of the event. Always `response.output_item.added`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,10 +67,10 @@ public ResponseOutputItemAddedEvent( global::tryAGI.OpenAI.OutputItem item, global::tryAGI.OpenAI.ResponseOutputItemAddedEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; this.Item = item; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputItemDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputItemDoneEvent.g.cs index 7a4082d18..354b88787 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputItemDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputItemDoneEvent.g.cs @@ -46,9 +46,6 @@ public sealed partial class ResponseOutputItemDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.output_item.done`. - /// /// /// The index of the output item that was marked done. /// @@ -58,6 +55,9 @@ public sealed partial class ResponseOutputItemDoneEvent /// /// The output item that was marked done. /// + /// + /// The type of the event. Always `response.output_item.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,10 +67,10 @@ public ResponseOutputItemDoneEvent( global::tryAGI.OpenAI.OutputItem item, global::tryAGI.OpenAI.ResponseOutputItemDoneEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.SequenceNumber = sequenceNumber; this.Item = item; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputText.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputText.g.cs index 17cea753f..646a51199 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputText.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputText.g.cs @@ -40,16 +40,16 @@ public sealed partial class ResponseOutputText /// /// Initializes a new instance of the class. /// - /// - /// Type discriminator that is always `output_text`.
- /// Default Value: output_text - /// /// /// Assistant generated text. /// /// /// Ordered list of annotations attached to the response text. /// + /// + /// Type discriminator that is always `output_text`.
+ /// Default Value: output_text + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,9 +58,9 @@ public ResponseOutputText( global::System.Collections.Generic.IList annotations, global::tryAGI.OpenAI.ResponseOutputTextType type = global::tryAGI.OpenAI.ResponseOutputTextType.OutputText) { + this.Type = type; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Annotations = annotations ?? throw new global::System.ArgumentNullException(nameof(annotations)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputTextAnnotationAddedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputTextAnnotationAddedEvent.g.cs index d243190d5..8a558bd6d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputTextAnnotationAddedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseOutputTextAnnotationAddedEvent.g.cs @@ -66,9 +66,6 @@ public sealed partial class ResponseOutputTextAnnotationAddedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.output_text.annotation.added'. - /// /// /// The unique identifier of the item to which the annotation is being added. /// @@ -87,6 +84,9 @@ public sealed partial class ResponseOutputTextAnnotationAddedEvent /// /// The annotation object being added. (See annotation schema for details.) /// + /// + /// The type of the event. Always 'response.output_text.annotation.added'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -99,13 +99,13 @@ public ResponseOutputTextAnnotationAddedEvent( object annotation, global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.AnnotationIndex = annotationIndex; this.SequenceNumber = sequenceNumber; this.Annotation = annotation ?? throw new global::System.ArgumentNullException(nameof(annotation)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseQueuedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseQueuedEvent.g.cs index 6e5935fcd..924e2c77c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseQueuedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseQueuedEvent.g.cs @@ -41,9 +41,6 @@ public sealed partial class ResponseQueuedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always 'response.queued'. - /// /// /// The full response object that is queued.
/// Example: {"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","created_at":1741476777,"status":"completed","completed_at":1741476778,"error":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","incomplete_details":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","instructions":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","max_output_tokens":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","model":"gpt-4o-2024-08-06","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","reasoning":{"effort":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","summary":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464"},"store":true,"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"user":"openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464","metadata":{}} @@ -51,6 +48,9 @@ public sealed partial class ResponseQueuedEvent /// /// The sequence number for this event. /// + /// + /// The type of the event. Always 'response.queued'. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -59,9 +59,9 @@ public ResponseQueuedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseQueuedEventType type) { + this.Type = type; this.Response = response; this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartAddedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartAddedEvent.g.cs index 1ba38db9b..63c9a0df5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartAddedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartAddedEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseReasoningSummaryPartAddedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.reasoning_summary_part.added`. - /// /// /// The ID of the item this summary part is associated with. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseReasoningSummaryPartAddedEvent /// /// The summary part that was added. /// + /// + /// The type of the event. Always `response.reasoning_summary_part.added`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseReasoningSummaryPartAddedEvent( global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPart part, global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SummaryIndex = summaryIndex; this.SequenceNumber = sequenceNumber; this.Part = part ?? throw new global::System.ArgumentNullException(nameof(part)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartAddedEventPart.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartAddedEventPart.g.cs index f9cb25370..1fb4c3cf6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartAddedEventPart.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartAddedEventPart.g.cs @@ -31,12 +31,12 @@ public sealed partial class ResponseReasoningSummaryPartAddedEventPart /// /// Initializes a new instance of the class. /// - /// - /// The type of the summary part. Always `summary_text`. - /// /// /// The text of the summary part. /// + /// + /// The type of the summary part. Always `summary_text`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ResponseReasoningSummaryPartAddedEventPart( string text, global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPartType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartDoneEvent.g.cs index 976a2fcc9..4016671fb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartDoneEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseReasoningSummaryPartDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.reasoning_summary_part.done`. - /// /// /// The ID of the item this summary part is associated with. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseReasoningSummaryPartDoneEvent /// /// The completed summary part. /// + /// + /// The type of the event. Always `response.reasoning_summary_part.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseReasoningSummaryPartDoneEvent( global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPart part, global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SummaryIndex = summaryIndex; this.SequenceNumber = sequenceNumber; this.Part = part ?? throw new global::System.ArgumentNullException(nameof(part)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartDoneEventPart.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartDoneEventPart.g.cs index a2d4dc7c3..920fc164b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartDoneEventPart.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryPartDoneEventPart.g.cs @@ -31,12 +31,12 @@ public sealed partial class ResponseReasoningSummaryPartDoneEventPart /// /// Initializes a new instance of the class. /// - /// - /// The type of the summary part. Always `summary_text`. - /// /// /// The text of the summary part. /// + /// + /// The type of the summary part. Always `summary_text`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ResponseReasoningSummaryPartDoneEventPart( string text, global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPartType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryTextDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryTextDeltaEvent.g.cs index 85108d01b..7c1100d2c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryTextDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryTextDeltaEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseReasoningSummaryTextDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.reasoning_summary_text.delta`. - /// /// /// The ID of the item this summary text delta is associated with. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseReasoningSummaryTextDeltaEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.reasoning_summary_text.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseReasoningSummaryTextDeltaEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SummaryIndex = summaryIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryTextDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryTextDoneEvent.g.cs index 3cef59c14..8b7b3486a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryTextDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningSummaryTextDoneEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseReasoningSummaryTextDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.reasoning_summary_text.done`. - /// /// /// The ID of the item this summary text is associated with. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseReasoningSummaryTextDoneEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.reasoning_summary_text.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseReasoningSummaryTextDoneEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.SummaryIndex = summaryIndex; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningTextDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningTextDeltaEvent.g.cs index ec116338b..8f59151dc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningTextDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningTextDeltaEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseReasoningTextDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.reasoning_text.delta`. - /// /// /// The ID of the item this reasoning text delta is associated with. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseReasoningTextDeltaEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.reasoning_text.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseReasoningTextDeltaEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseReasoningTextDeltaEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningTextDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningTextDoneEvent.g.cs index cbf8a4ea2..13330ca6a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningTextDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseReasoningTextDoneEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseReasoningTextDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.reasoning_text.done`. - /// /// /// The ID of the item this reasoning text is associated with. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseReasoningTextDoneEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.reasoning_text.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseReasoningTextDoneEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseReasoningTextDoneEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseRefusalDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseRefusalDeltaEvent.g.cs index 09b09780d..623ee3f8e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseRefusalDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseRefusalDeltaEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseRefusalDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.refusal.delta`. - /// /// /// The ID of the output item that the refusal text is added to. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseRefusalDeltaEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.refusal.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseRefusalDeltaEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseRefusalDeltaEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseRefusalDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseRefusalDoneEvent.g.cs index a3ca6c7ac..ad25e2fa0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseRefusalDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseRefusalDoneEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class ResponseRefusalDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.refusal.done`. - /// /// /// The ID of the output item that the refusal text is finalized. /// @@ -77,6 +74,9 @@ public sealed partial class ResponseRefusalDoneEvent /// /// The sequence number of this event. /// + /// + /// The type of the event. Always `response.refusal.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public ResponseRefusalDoneEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseRefusalDoneEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseTextDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseTextDeltaEvent.g.cs index 64a9629e7..d9be86046 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseTextDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseTextDeltaEvent.g.cs @@ -66,9 +66,6 @@ public sealed partial class ResponseTextDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.output_text.delta`. - /// /// /// The ID of the output item that the text delta was added to. /// @@ -87,6 +84,9 @@ public sealed partial class ResponseTextDeltaEvent /// /// The log probabilities of the tokens in the delta. /// + /// + /// The type of the event. Always `response.output_text.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -99,13 +99,13 @@ public ResponseTextDeltaEvent( global::System.Collections.Generic.IList logprobs, global::tryAGI.OpenAI.ResponseTextDeltaEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.SequenceNumber = sequenceNumber; this.Logprobs = logprobs ?? throw new global::System.ArgumentNullException(nameof(logprobs)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseTextDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseTextDoneEvent.g.cs index 9e6c0918f..724e78c05 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseTextDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseTextDoneEvent.g.cs @@ -66,9 +66,6 @@ public sealed partial class ResponseTextDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.output_text.done`. - /// /// /// The ID of the output item that the text content is finalized. /// @@ -87,6 +84,9 @@ public sealed partial class ResponseTextDoneEvent /// /// The log probabilities of the tokens in the delta. /// + /// + /// The type of the event. Always `response.output_text.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -99,13 +99,13 @@ public ResponseTextDoneEvent( global::System.Collections.Generic.IList logprobs, global::tryAGI.OpenAI.ResponseTextDoneEventType type) { + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.OutputIndex = outputIndex; this.ContentIndex = contentIndex; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.SequenceNumber = sequenceNumber; this.Logprobs = logprobs ?? throw new global::System.ArgumentNullException(nameof(logprobs)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3.g.cs index 1af1253ea..2b8c8adac 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseVariant3.g.cs @@ -113,19 +113,9 @@ public sealed partial class ResponseVariant3 /// /// Unique identifier for this Response. /// - /// - /// The object type of this resource - always set to `response`. - /// - /// - /// The status of the response generation. One of `completed`, `failed`,
- /// `in_progress`, `cancelled`, `queued`, or `incomplete`. - /// /// /// Unix timestamp (in seconds) of when this Response was created. /// - /// - /// - /// /// /// An array of content items generated by the model.
/// - The length and order of items in the `output` array is dependent
@@ -135,16 +125,26 @@ public sealed partial class ResponseVariant3 /// the model, you might consider using the `output_text` property where
/// supported in SDKs. /// + /// + /// Whether to allow the model to run tool calls in parallel.
+ /// Default Value: true + /// + /// + /// The object type of this resource - always set to `response`. + /// + /// + /// The status of the response generation. One of `completed`, `failed`,
+ /// `in_progress`, `cancelled`, `queued`, or `incomplete`. + /// + /// + /// + /// /// /// /// /// Represents token usage details including input tokens, output tokens,
/// a breakdown of output tokens, and the total tokens used. /// - /// - /// Whether to allow the model to run tool calls in parallel.
- /// Default Value: true - /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -165,17 +165,17 @@ public ResponseVariant3( global::tryAGI.OpenAI.Conversation22? conversation) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.CreatedAt = createdAt; - this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); - this.ParallelToolCalls = parallelToolCalls; this.Object = @object; this.Status = status; + this.CreatedAt = createdAt; this.CompletedAt = completedAt; this.Error = error; this.IncompleteDetails = incompleteDetails; + this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output)); this.Instructions = instructions; this.OutputText = outputText; this.Usage = usage; + this.ParallelToolCalls = parallelToolCalls; this.Conversation = conversation; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallCompletedEvent.g.cs index 8348961bc..aee0cf16f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallCompletedEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseWebSearchCallCompletedEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.web_search_call.completed`. - /// /// /// The index of the output item that the web search call is associated with. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseWebSearchCallCompletedEvent /// /// The sequence number of the web search call being processed. /// + /// + /// The type of the event. Always `response.web_search_call.completed`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseWebSearchCallCompletedEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallInProgressEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallInProgressEvent.g.cs index 763d9818d..6298af462 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallInProgressEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallInProgressEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseWebSearchCallInProgressEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.web_search_call.in_progress`. - /// /// /// The index of the output item that the web search call is associated with. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseWebSearchCallInProgressEvent /// /// The sequence number of the web search call being processed. /// + /// + /// The type of the event. Always `response.web_search_call.in_progress`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseWebSearchCallInProgressEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallSearchingEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallSearchingEvent.g.cs index f5eeafbc3..57cacbdf9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallSearchingEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseWebSearchCallSearchingEvent.g.cs @@ -45,9 +45,6 @@ public sealed partial class ResponseWebSearchCallSearchingEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `response.web_search_call.searching`. - /// /// /// The index of the output item that the web search call is associated with. /// @@ -57,6 +54,9 @@ public sealed partial class ResponseWebSearchCallSearchingEvent /// /// The sequence number of the web search call being processed. /// + /// + /// The type of the event. Always `response.web_search_call.searching`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,10 +66,10 @@ public ResponseWebSearchCallSearchingEvent( int sequenceNumber, global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEventType type) { + this.Type = type; this.OutputIndex = outputIndex; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Role.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Role.g.cs index d74a1c888..7695e970f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Role.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Role.g.cs @@ -65,18 +65,12 @@ public sealed partial class Role /// /// Initializes a new instance of the class. /// - /// - /// Always `role`. - /// /// /// Identifier for the role. /// /// /// Unique name for the role. /// - /// - /// Optional description of the role. - /// /// /// Permissions granted by the role. /// @@ -86,6 +80,12 @@ public sealed partial class Role /// /// Whether the role is predefined and managed by OpenAI. /// + /// + /// Always `role`. + /// + /// + /// Optional description of the role. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -98,13 +98,13 @@ public Role( global::tryAGI.OpenAI.RoleObject @object, string? description) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Description = description; this.Permissions = permissions ?? throw new global::System.ArgumentNullException(nameof(permissions)); this.ResourceType = resourceType ?? throw new global::System.ArgumentNullException(nameof(resourceType)); this.PredefinedRole = predefinedRole; - this.Object = @object; - this.Description = description; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RoleDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RoleDeletedResource.g.cs index 681a2937d..465e20b0b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RoleDeletedResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RoleDeletedResource.g.cs @@ -38,15 +38,15 @@ public sealed partial class RoleDeletedResource /// /// Initializes a new instance of the class. /// - /// - /// Always `role.deleted`. - /// /// /// Identifier of the deleted role. /// /// /// Whether the role was deleted. /// + /// + /// Always `role.deleted`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public RoleDeletedResource( bool deleted, global::tryAGI.OpenAI.RoleDeletedResourceObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Deleted = deleted; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RoleListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RoleListResource.g.cs index d823124e7..c38cb1a67 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RoleListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RoleListResource.g.cs @@ -44,15 +44,15 @@ public sealed partial class RoleListResource /// /// Initializes a new instance of the class. /// - /// - /// Always `list`. - /// /// /// Role assignments returned in the current page. /// /// /// Whether additional assignments are available when paginating. /// + /// + /// Always `list`. + /// /// /// Cursor to fetch the next page of results, or `null` when there are no more assignments. /// @@ -65,9 +65,9 @@ public RoleListResource( global::tryAGI.OpenAI.RoleListResourceObject @object, string? next) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; - this.Object = @object; this.Next = next; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunGraderRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunGraderRequest.g.cs index fc307d1fb..8ff502b46 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunGraderRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunGraderRequest.g.cs @@ -46,10 +46,6 @@ public sealed partial class RunGraderRequest /// /// The grader used for the fine-tuning job. /// - /// - /// The dataset item provided to the grader. This will be used to populate
- /// the `item` namespace. See [the guide](/docs/guides/graders) for more details. - /// /// /// The model sample to be evaluated. This value will be used to populate
/// the `sample` namespace. See [the guide](/docs/guides/graders) for more details.
@@ -57,6 +53,10 @@ public sealed partial class RunGraderRequest /// valid JSON string.
/// /// + /// + /// The dataset item provided to the grader. This will be used to populate
+ /// the `item` namespace. See [the guide](/docs/guides/graders) for more details. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,8 +66,8 @@ public RunGraderRequest( object? item) { this.Grader = grader; - this.ModelSample = modelSample ?? throw new global::System.ArgumentNullException(nameof(modelSample)); this.Item = item; + this.ModelSample = modelSample ?? throw new global::System.ArgumentNullException(nameof(modelSample)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunGraderResponseMetadataErrors.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunGraderResponseMetadataErrors.g.cs index 28c4f7554..dc0992762 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunGraderResponseMetadataErrors.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunGraderResponseMetadataErrors.g.cs @@ -119,12 +119,12 @@ public sealed partial class RunGraderResponseMetadataErrors /// /// /// - /// /// - /// /// /// /// + /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -152,12 +152,12 @@ public RunGraderResponseMetadataErrors( this.InvalidVariableError = invalidVariableError; this.OtherError = otherError; this.PythonGraderServerError = pythonGraderServerError; + this.PythonGraderServerErrorType = pythonGraderServerErrorType; this.PythonGraderRuntimeError = pythonGraderRuntimeError; + this.PythonGraderRuntimeErrorDetails = pythonGraderRuntimeErrorDetails; this.ModelGraderServerError = modelGraderServerError; this.ModelGraderRefusalError = modelGraderRefusalError; this.ModelGraderParseError = modelGraderParseError; - this.PythonGraderServerErrorType = pythonGraderServerErrorType; - this.PythonGraderRuntimeErrorDetails = pythonGraderRuntimeErrorDetails; this.ModelGraderServerErrorDetails = modelGraderServerErrorDetails; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs index dfb15405a..763b33f6b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs @@ -210,9 +210,6 @@ public sealed partial class RunObject /// /// The identifier, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `thread.run`. - /// /// /// The Unix timestamp (in seconds) for when the run was created. /// @@ -225,6 +222,31 @@ public sealed partial class RunObject /// /// The status of the run, which can be either `queued`, `in_progress`, `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, `incomplete`, or `expired`. /// + /// + /// The model that the [assistant](/docs/api-reference/assistants) used for this run. + /// + /// + /// The instructions that the [assistant](/docs/api-reference/assistants) used for this run. + /// + /// + /// The list of tools that the [assistant](/docs/api-reference/assistants) used for this run.
+ /// Default Value: [] + /// + /// + /// + /// + /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
+ /// Default Value: true + /// + /// + /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
+ /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
+ /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
+ /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// + /// + /// The object type, which is always `thread.run`. + /// /// /// Details on the action required to continue the run. Will be `null` if no action is required. /// @@ -249,16 +271,6 @@ public sealed partial class RunObject /// /// Details on why the run is incomplete. Will be `null` if the run is not incomplete. /// - /// - /// The model that the [assistant](/docs/api-reference/assistants) used for this run. - /// - /// - /// The instructions that the [assistant](/docs/api-reference/assistants) used for this run. - /// - /// - /// The list of tools that the [assistant](/docs/api-reference/assistants) used for this run.
- /// Default Value: [] - /// /// /// /// @@ -273,18 +285,6 @@ public sealed partial class RunObject /// /// The maximum number of completion tokens specified to have been used over the course of the run. /// - /// - /// - /// - /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
- /// Default Value: true - /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -318,18 +318,11 @@ public RunObject( int? maxCompletionTokens) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); this.AssistantId = assistantId ?? throw new global::System.ArgumentNullException(nameof(assistantId)); this.Status = status; - this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.Instructions = instructions ?? throw new global::System.ArgumentNullException(nameof(instructions)); - this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); - this.TruncationStrategy = truncationStrategy; - this.ToolChoice = toolChoice; - this.ParallelToolCalls = parallelToolCalls; - this.ResponseFormat = responseFormat; - this.Object = @object; this.RequiredAction = requiredAction; this.LastError = lastError; this.ExpiresAt = expiresAt; @@ -338,12 +331,19 @@ public RunObject( this.FailedAt = failedAt; this.CompletedAt = completedAt; this.IncompleteDetails = incompleteDetails; + this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); + this.Instructions = instructions ?? throw new global::System.ArgumentNullException(nameof(instructions)); + this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); this.Metadata = metadata; this.Usage = usage; this.Temperature = temperature; this.TopP = topP; this.MaxPromptTokens = maxPromptTokens; this.MaxCompletionTokens = maxCompletionTokens; + this.TruncationStrategy = truncationStrategy; + this.ToolChoice = toolChoice; + this.ParallelToolCalls = parallelToolCalls; + this.ResponseFormat = responseFormat; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectRequiredAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectRequiredAction.g.cs index 569e6c3f0..ea4c959b2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectRequiredAction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectRequiredAction.g.cs @@ -31,12 +31,12 @@ public sealed partial class RunObjectRequiredAction /// /// Initializes a new instance of the class. /// - /// - /// For now, this is always `submit_tool_outputs`. - /// /// /// Details on the tool outputs needed for this run to continue. /// + /// + /// For now, this is always `submit_tool_outputs`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public RunObjectRequiredAction( global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs submitToolOutputs, global::tryAGI.OpenAI.RunObjectRequiredActionType type) { - this.SubmitToolOutputs = submitToolOutputs ?? throw new global::System.ArgumentNullException(nameof(submitToolOutputs)); this.Type = type; + this.SubmitToolOutputs = submitToolOutputs ?? throw new global::System.ArgumentNullException(nameof(submitToolOutputs)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDeltaObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDeltaObject.g.cs index 1ca292a03..cdb07f973 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDeltaObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDeltaObject.g.cs @@ -41,12 +41,12 @@ public sealed partial class RunStepDeltaObject /// /// The identifier of the run step, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `thread.run.step.delta`. - /// /// /// The delta containing the fields that have changed on the run step. /// + /// + /// The object type, which is always `thread.run.step.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RunStepDeltaObject( global::tryAGI.OpenAI.RunStepDeltaObjectObject @object) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.Object = @object; + this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDeltaStepDetailsToolCallsFileSearchObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDeltaStepDetailsToolCallsFileSearchObject.g.cs index 8dc0f4e78..b9d4679f1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDeltaStepDetailsToolCallsFileSearchObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDeltaStepDetailsToolCallsFileSearchObject.g.cs @@ -47,15 +47,15 @@ public sealed partial class RunStepDeltaStepDetailsToolCallsFileSearchObject /// /// The index of the tool call in the tool calls array. /// + /// + /// For now, this is always going to be an empty object. + /// /// /// The ID of the tool call object. /// /// /// The type of tool call. This is always going to be `file_search` for this type of tool call. /// - /// - /// For now, this is always going to be an empty object. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -66,9 +66,9 @@ public RunStepDeltaStepDetailsToolCallsFileSearchObject( global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType type) { this.Index = index; - this.FileSearch = fileSearch ?? throw new global::System.ArgumentNullException(nameof(fileSearch)); this.Id = id; this.Type = type; + this.FileSearch = fileSearch ?? throw new global::System.ArgumentNullException(nameof(fileSearch)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsMessageCreationObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsMessageCreationObject.g.cs index 9cdc5b7a2..41424e133 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsMessageCreationObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsMessageCreationObject.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepDetailsMessageCreationObject /// /// Initializes a new instance of the class. /// + /// /// /// Always `message_creation`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepDetailsMessageCreationObject( global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation messageCreation, global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType type) { - this.MessageCreation = messageCreation ?? throw new global::System.ArgumentNullException(nameof(messageCreation)); this.Type = type; + this.MessageCreation = messageCreation ?? throw new global::System.ArgumentNullException(nameof(messageCreation)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeObject.g.cs index e89736e18..14080ee30 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeObject.g.cs @@ -41,12 +41,12 @@ public sealed partial class RunStepDetailsToolCallsCodeObject /// /// The ID of the tool call. /// - /// - /// The type of tool call. This is always going to be `code_interpreter` for this type of tool call. - /// /// /// The Code Interpreter tool call definition. /// + /// + /// The type of tool call. This is always going to be `code_interpreter` for this type of tool call. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RunStepDetailsToolCallsCodeObject( global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.CodeInterpreter = codeInterpreter ?? throw new global::System.ArgumentNullException(nameof(codeInterpreter)); this.Type = type; + this.CodeInterpreter = codeInterpreter ?? throw new global::System.ArgumentNullException(nameof(codeInterpreter)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeOutputImageObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeOutputImageObject.g.cs index 69dd60860..bfe3b9d45 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeOutputImageObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeOutputImageObject.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepDetailsToolCallsCodeOutputImageObject /// /// Initializes a new instance of the class. /// + /// /// /// Always `image`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepDetailsToolCallsCodeOutputImageObject( global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage image, global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType type) { - this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image)); this.Type = type; + this.Image = image ?? throw new global::System.ArgumentNullException(nameof(image)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeOutputLogsObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeOutputLogsObject.g.cs index 8fe79a593..3e57ead29 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeOutputLogsObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsCodeOutputLogsObject.g.cs @@ -31,12 +31,12 @@ public sealed partial class RunStepDetailsToolCallsCodeOutputLogsObject /// /// Initializes a new instance of the class. /// - /// - /// Always `logs`. - /// /// /// The text output from the Code Interpreter tool call. /// + /// + /// Always `logs`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public RunStepDetailsToolCallsCodeOutputLogsObject( string logs, global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType type) { - this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs)); this.Type = type; + this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsFileSearchObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsFileSearchObject.g.cs index 4efc570be..22c4f3238 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsFileSearchObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsFileSearchObject.g.cs @@ -41,12 +41,12 @@ public sealed partial class RunStepDetailsToolCallsFileSearchObject /// /// The ID of the tool call object. /// - /// - /// The type of tool call. This is always going to be `file_search` for this type of tool call. - /// /// /// For now, this is always going to be an empty object. /// + /// + /// The type of tool call. This is always going to be `file_search` for this type of tool call. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RunStepDetailsToolCallsFileSearchObject( global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.FileSearch = fileSearch ?? throw new global::System.ArgumentNullException(nameof(fileSearch)); this.Type = type; + this.FileSearch = fileSearch ?? throw new global::System.ArgumentNullException(nameof(fileSearch)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsFunctionObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsFunctionObject.g.cs index 5cdbb8a42..d81ee4be7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsFunctionObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsFunctionObject.g.cs @@ -41,12 +41,12 @@ public sealed partial class RunStepDetailsToolCallsFunctionObject /// /// The ID of the tool call object. /// - /// - /// The type of tool call. This is always going to be `function` for this type of tool call. - /// /// /// The definition of the function that was called. /// + /// + /// The type of tool call. This is always going to be `function` for this type of tool call. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RunStepDetailsToolCallsFunctionObject( global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsObject.g.cs index 6beaa2cf5..89d87359f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepDetailsToolCallsObject.g.cs @@ -31,12 +31,12 @@ public sealed partial class RunStepDetailsToolCallsObject /// /// Initializes a new instance of the class. /// - /// - /// Always `tool_calls`. - /// /// /// An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `file_search`, or `function`. /// + /// + /// Always `tool_calls`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public RunStepDetailsToolCallsObject( global::System.Collections.Generic.IList> toolCalls, global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType type) { - this.ToolCalls = toolCalls ?? throw new global::System.ArgumentNullException(nameof(toolCalls)); this.Type = type; + this.ToolCalls = toolCalls ?? throw new global::System.ArgumentNullException(nameof(toolCalls)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObject.g.cs index 8a8a36a51..f2ab1ac91 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObject.g.cs @@ -129,9 +129,6 @@ public sealed partial class RunStepObject /// /// The identifier of the run step, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `thread.run.step`. - /// /// /// The Unix timestamp (in seconds) for when the run step was created. /// @@ -153,6 +150,9 @@ public sealed partial class RunStepObject /// /// The details of the run step. /// + /// + /// The object type, which is always `thread.run.step`. + /// /// /// /// @@ -182,6 +182,7 @@ public RunStepObject( global::tryAGI.OpenAI.RunStepCompletionUsageVariant1? usage) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.AssistantId = assistantId ?? throw new global::System.ArgumentNullException(nameof(assistantId)); this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); @@ -189,7 +190,6 @@ public RunStepObject( this.Type = type; this.Status = status; this.StepDetails = stepDetails; - this.Object = @object; this.LastError = lastError; this.ExpiredAt = expiredAt; this.CancelledAt = cancelledAt; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant1.g.cs index 715abbf5d..843d13a15 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant1.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant1.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepStreamEventVariant1 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a step in execution of a run. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepStreamEventVariant1( global::tryAGI.OpenAI.RunStepObject data, global::tryAGI.OpenAI.RunStepStreamEventVariant1Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant2.g.cs index 967f6da30..7540656ea 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant2.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepStreamEventVariant2 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a step in execution of a run. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepStreamEventVariant2( global::tryAGI.OpenAI.RunStepObject data, global::tryAGI.OpenAI.RunStepStreamEventVariant2Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant3.g.cs index 4fae3ad84..f05a78735 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant3.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant3.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepStreamEventVariant3 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a run step delta i.e. any changed fields on a run step during streaming. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepStreamEventVariant3( global::tryAGI.OpenAI.RunStepDeltaObject data, global::tryAGI.OpenAI.RunStepStreamEventVariant3Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant4.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant4.g.cs index 9689ae297..47be90132 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant4.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant4.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepStreamEventVariant4 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a step in execution of a run. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepStreamEventVariant4( global::tryAGI.OpenAI.RunStepObject data, global::tryAGI.OpenAI.RunStepStreamEventVariant4Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant5.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant5.g.cs index 36472ebe3..0977d2026 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant5.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant5.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepStreamEventVariant5 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a step in execution of a run. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepStreamEventVariant5( global::tryAGI.OpenAI.RunStepObject data, global::tryAGI.OpenAI.RunStepStreamEventVariant5Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant6.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant6.g.cs index b91419434..1fefa30f1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant6.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant6.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepStreamEventVariant6 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a step in execution of a run. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepStreamEventVariant6( global::tryAGI.OpenAI.RunStepObject data, global::tryAGI.OpenAI.RunStepStreamEventVariant6Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant7.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant7.g.cs index 8b0b120b0..11f93fef1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant7.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepStreamEventVariant7.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStepStreamEventVariant7 /// /// Initializes a new instance of the class. /// - /// /// /// Represents a step in execution of a run. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStepStreamEventVariant7( global::tryAGI.OpenAI.RunStepObject data, global::tryAGI.OpenAI.RunStepStreamEventVariant7Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant1.g.cs index 01f3c5e5b..fc158ffac 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant1.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant1.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant1 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant1( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant1Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant10.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant10.g.cs index aa801ac8f..20ee0b66d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant10.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant10.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant10 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant10( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant10Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant2.g.cs index d680dc99f..7d1d229e8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant2.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant2.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant2 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant2( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant2Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant3.g.cs index 4a6513007..4af14ebfa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant3.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant3.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant3 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant3( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant3Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant4.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant4.g.cs index af8683833..f4c358f5e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant4.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant4.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant4 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant4( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant4Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant5.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant5.g.cs index da2c25d8a..110a882e2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant5.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant5.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant5 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant5( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant5Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant6.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant6.g.cs index 8d52c57c8..ecbd94171 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant6.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant6.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant6 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant6( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant6Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant7.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant7.g.cs index ad7e2f949..ad379f5b3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant7.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant7.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant7 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant7( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant7Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant8.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant8.g.cs index 50ef00d8c..776516170 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant8.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant8.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant8 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant8( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant8Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant9.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant9.g.cs index 407d9fccd..f8fa42e49 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant9.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStreamEventVariant9.g.cs @@ -31,10 +31,10 @@ public sealed partial class RunStreamEventVariant9 /// /// Initializes a new instance of the class. /// - /// /// /// Represents an execution run on a [thread](/docs/api-reference/threads). /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public RunStreamEventVariant9( global::tryAGI.OpenAI.RunObject data, global::tryAGI.OpenAI.RunStreamEventVariant9Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunToolCallObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunToolCallObject.g.cs index 4e06bd797..2f1bc2b76 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunToolCallObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunToolCallObject.g.cs @@ -41,12 +41,12 @@ public sealed partial class RunToolCallObject /// /// The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the [Submit tool outputs to run](/docs/api-reference/runs/submitToolOutputs) endpoint. /// - /// - /// The type of tool call the output is required for. For now, this is always `function`. - /// /// /// The function definition. /// + /// + /// The type of tool call the output is required for. For now, this is always `function`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -56,8 +56,8 @@ public RunToolCallObject( global::tryAGI.OpenAI.RunToolCallObjectType type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); this.Type = type; + this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ScrollParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ScrollParam.g.cs index ed66b9c6a..f45d2e455 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ScrollParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ScrollParam.g.cs @@ -60,10 +60,6 @@ public sealed partial class ScrollParam /// /// Initializes a new instance of the class. /// - /// - /// Specifies the event type. For a scroll action, this property is always set to `scroll`.
- /// Default Value: scroll - /// /// /// The x-coordinate where the scroll occurred. /// @@ -77,6 +73,10 @@ public sealed partial class ScrollParam /// The vertical scroll distance. /// /// + /// + /// Specifies the event type. For a scroll action, this property is always set to `scroll`.
+ /// Default Value: scroll + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,11 +88,11 @@ public ScrollParam( global::System.Collections.Generic.IList? keys, global::tryAGI.OpenAI.ScrollParamType type = global::tryAGI.OpenAI.ScrollParamType.Scroll) { + this.Type = type; this.X = x; this.Y = y; this.ScrollX = scrollX; this.ScrollY = scrollY; - this.Type = type; this.Keys = keys; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillListResource.g.cs index 9a5dd280c..85a140d42 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillListResource.g.cs @@ -52,18 +52,18 @@ public sealed partial class SkillListResource /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be `list`.
- /// Default Value: list - /// /// /// A list of items /// - /// - /// /// /// Whether there are more items available. /// + /// + /// + /// + /// The type of object returned, must be `list`.
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -74,11 +74,11 @@ public SkillListResource( string? lastId, global::tryAGI.OpenAI.SkillListResourceObject @object = global::tryAGI.OpenAI.SkillListResourceObject.List) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillReferenceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillReferenceParam.g.cs index 227d5eac2..784aef50b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillReferenceParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillReferenceParam.g.cs @@ -39,16 +39,16 @@ public sealed partial class SkillReferenceParam /// /// Initializes a new instance of the class. /// - /// - /// References a skill created with the /v1/skills endpoint.
- /// Default Value: skill_reference - /// /// /// The ID of the referenced skill. /// /// /// Optional skill version. Use a positive integer or 'latest'. Omit for default. /// + /// + /// References a skill created with the /v1/skills endpoint.
+ /// Default Value: skill_reference + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -57,8 +57,8 @@ public SkillReferenceParam( string? version, global::tryAGI.OpenAI.SkillReferenceParamType type = global::tryAGI.OpenAI.SkillReferenceParamType.SkillReference) { - this.SkillId = skillId ?? throw new global::System.ArgumentNullException(nameof(skillId)); this.Type = type; + this.SkillId = skillId ?? throw new global::System.ArgumentNullException(nameof(skillId)); this.Version = version; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillResource.g.cs index df67594b2..d156ad7af 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillResource.g.cs @@ -72,10 +72,6 @@ public sealed partial class SkillResource /// /// Unique identifier for the skill. /// - /// - /// The object type, which is `skill`.
- /// Default Value: skill - /// /// /// Name of the skill. /// @@ -91,6 +87,10 @@ public sealed partial class SkillResource /// /// Latest version for the skill. /// + /// + /// The object type, which is `skill`.
+ /// Default Value: skill + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -104,12 +104,12 @@ public SkillResource( global::tryAGI.OpenAI.SkillResourceObject @object = global::tryAGI.OpenAI.SkillResourceObject.Skill) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description)); this.CreatedAt = createdAt; this.DefaultVersion = defaultVersion ?? throw new global::System.ArgumentNullException(nameof(defaultVersion)); this.LatestVersion = latestVersion ?? throw new global::System.ArgumentNullException(nameof(latestVersion)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionListResource.g.cs index 2cc8ca65d..8c8ff1f31 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionListResource.g.cs @@ -52,18 +52,18 @@ public sealed partial class SkillVersionListResource /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be `list`.
- /// Default Value: list - /// /// /// A list of items /// - /// - /// /// /// Whether there are more items available. /// + /// + /// + /// + /// The type of object returned, must be `list`.
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -74,11 +74,11 @@ public SkillVersionListResource( string? lastId, global::tryAGI.OpenAI.SkillVersionListResourceObject @object = global::tryAGI.OpenAI.SkillVersionListResourceObject.List) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionResource.g.cs index 7f3819743..f7f15238a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SkillVersionResource.g.cs @@ -69,10 +69,6 @@ public sealed partial class SkillVersionResource /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is `skill.version`.
- /// Default Value: skill.version - /// /// /// Unique identifier for the skill version. /// @@ -91,6 +87,10 @@ public sealed partial class SkillVersionResource /// /// Description of the skill version. /// + /// + /// The object type, which is `skill.version`.
+ /// Default Value: skill.version + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -103,13 +103,13 @@ public SkillVersionResource( string description, global::tryAGI.OpenAI.SkillVersionResourceObject @object = global::tryAGI.OpenAI.SkillVersionResourceObject.SkillVersion) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.SkillId = skillId ?? throw new global::System.ArgumentNullException(nameof(skillId)); this.Version = version ?? throw new global::System.ArgumentNullException(nameof(version)); this.CreatedAt = createdAt; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.g.cs index 9bf53734e..b6bdb3f4b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.g.cs @@ -31,12 +31,12 @@ public sealed partial class SpeechAudioDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `speech.audio.delta`. - /// /// /// A chunk of Base64-encoded audio data. /// + /// + /// The type of the event. Always `speech.audio.delta`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public SpeechAudioDeltaEvent( string audio, global::tryAGI.OpenAI.SpeechAudioDeltaEventType type) { - this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); this.Type = type; + this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.g.cs index ca9801a82..80f53619d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.g.cs @@ -31,12 +31,12 @@ public sealed partial class SpeechAudioDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `speech.audio.done`. - /// /// /// Token usage statistics for the request. /// + /// + /// The type of the event. Always `speech.audio.done`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public SpeechAudioDoneEvent( global::tryAGI.OpenAI.SpeechAudioDoneEventUsage usage, global::tryAGI.OpenAI.SpeechAudioDoneEventType type) { - this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); this.Type = type; + this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.StaticChunkingStrategyRequestParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.StaticChunkingStrategyRequestParam.g.cs index 645c0267e..29746ec00 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.StaticChunkingStrategyRequestParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.StaticChunkingStrategyRequestParam.g.cs @@ -31,10 +31,10 @@ public sealed partial class StaticChunkingStrategyRequestParam /// /// Initializes a new instance of the class. /// + /// /// /// Always `static`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public StaticChunkingStrategyRequestParam( global::tryAGI.OpenAI.StaticChunkingStrategy @static, global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType type) { - this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static)); this.Type = type; + this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.StaticChunkingStrategyResponseParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.StaticChunkingStrategyResponseParam.g.cs index 3648d1958..38c7d54de 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.StaticChunkingStrategyResponseParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.StaticChunkingStrategyResponseParam.g.cs @@ -31,10 +31,10 @@ public sealed partial class StaticChunkingStrategyResponseParam /// /// Initializes a new instance of the class. /// + /// /// /// Always `static`. /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -42,8 +42,8 @@ public StaticChunkingStrategyResponseParam( global::tryAGI.OpenAI.StaticChunkingStrategy @static, global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType type) { - this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static)); this.Type = type; + this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SummaryTextContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SummaryTextContent.g.cs index abd3970bb..f8800646d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SummaryTextContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SummaryTextContent.g.cs @@ -33,13 +33,13 @@ public sealed partial class SummaryTextContent /// /// Initializes a new instance of the class. /// + /// + /// A summary of the reasoning output from the model so far. + /// /// /// The type of the object. Always `summary_text`.
/// Default Value: summary_text /// - /// - /// A summary of the reasoning output from the model so far. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public SummaryTextContent( string text, global::tryAGI.OpenAI.SummaryTextContentType type = global::tryAGI.OpenAI.SummaryTextContentType.SummaryText) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskGroupItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskGroupItem.g.cs index fa21da2f3..4f898bb1b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskGroupItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskGroupItem.g.cs @@ -67,23 +67,23 @@ public sealed partial class TaskGroupItem /// /// Identifier of the thread item. /// - /// - /// Type discriminator that is always `chatkit.thread_item`.
- /// Default Value: chatkit.thread_item - /// /// /// Unix timestamp (in seconds) for when the item was created. /// /// /// Identifier of the parent thread. /// + /// + /// Tasks included in the group. + /// + /// + /// Type discriminator that is always `chatkit.thread_item`.
+ /// Default Value: chatkit.thread_item + /// /// /// Type discriminator that is always `chatkit.task_group`.
/// Default Value: chatkit.task_group /// - /// - /// Tasks included in the group. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -96,11 +96,11 @@ public TaskGroupItem( global::tryAGI.OpenAI.TaskGroupItemType type = global::tryAGI.OpenAI.TaskGroupItemType.ChatkitTaskGroup) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); - this.Tasks = tasks ?? throw new global::System.ArgumentNullException(nameof(tasks)); - this.Object = @object; this.Type = type; + this.Tasks = tasks ?? throw new global::System.ArgumentNullException(nameof(tasks)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskItem.g.cs index 48421ab40..e4d955629 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TaskItem.g.cs @@ -80,25 +80,25 @@ public sealed partial class TaskItem /// /// Identifier of the thread item. /// - /// - /// Type discriminator that is always `chatkit.thread_item`.
- /// Default Value: chatkit.thread_item - /// /// /// Unix timestamp (in seconds) for when the item was created. /// /// /// Identifier of the parent thread. /// - /// - /// Type discriminator that is always `chatkit.task`.
- /// Default Value: chatkit.task - /// /// /// Subtype for the task. /// /// /// + /// + /// Type discriminator that is always `chatkit.thread_item`.
+ /// Default Value: chatkit.thread_item + /// + /// + /// Type discriminator that is always `chatkit.task`.
+ /// Default Value: chatkit.task + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -113,11 +113,11 @@ public TaskItem( global::tryAGI.OpenAI.TaskItemType type = global::tryAGI.OpenAI.TaskItemType.ChatkitTask) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); - this.TaskType = taskType; - this.Object = @object; this.Type = type; + this.TaskType = taskType; this.Heading = heading; this.Summary = summary; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TextContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TextContent.g.cs index 7f09971cc..7909b2f34 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TextContent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TextContent.g.cs @@ -32,10 +32,10 @@ public sealed partial class TextContent /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: text /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -43,8 +43,8 @@ public TextContent( string text, global::tryAGI.OpenAI.TextContentType type = global::tryAGI.OpenAI.TextContentType.Text) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TextResponseFormatJsonSchema.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TextResponseFormatJsonSchema.g.cs index 8d04daed5..287ba6d98 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TextResponseFormatJsonSchema.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TextResponseFormatJsonSchema.g.cs @@ -54,13 +54,6 @@ public sealed partial class TextResponseFormatJsonSchema /// /// Initializes a new instance of the class. /// - /// - /// The type of response format being defined. Always `json_schema`. - /// - /// - /// A description of what the response format is for, used by the model to
- /// determine how to respond in the format. - /// /// /// The name of the response format. Must be a-z, A-Z, 0-9, or contain
/// underscores and dashes, with a maximum length of 64. @@ -69,6 +62,13 @@ public sealed partial class TextResponseFormatJsonSchema /// The schema for the response format, described as a JSON Schema object.
/// Learn how to build JSON schemas [here](https://json-schema.org/). /// + /// + /// The type of response format being defined. Always `json_schema`. + /// + /// + /// A description of what the response format is for, used by the model to
+ /// determine how to respond in the format. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -80,10 +80,10 @@ public TextResponseFormatJsonSchema( string? description, bool? strict) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); - this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); this.Type = type; this.Description = description; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); this.Strict = strict; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadItemListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadItemListResource.g.cs index 34768d93e..2c4ca9e45 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadItemListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadItemListResource.g.cs @@ -52,18 +52,18 @@ public sealed partial class ThreadItemListResource /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be `list`.
- /// Default Value: list - /// /// /// A list of items /// - /// - /// /// /// Whether there are more items available. /// + /// + /// + /// + /// The type of object returned, must be `list`.
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -74,11 +74,11 @@ public ThreadItemListResource( string? lastId, global::tryAGI.OpenAI.ThreadItemListResourceObject @object = global::tryAGI.OpenAI.ThreadItemListResourceObject.List) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadListResource.g.cs index 1a4ea3b83..fcc8b692e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadListResource.g.cs @@ -52,18 +52,18 @@ public sealed partial class ThreadListResource /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be `list`.
- /// Default Value: list - /// /// /// A list of items /// - /// - /// /// /// Whether there are more items available. /// + /// + /// + /// + /// The type of object returned, must be `list`.
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -74,11 +74,11 @@ public ThreadListResource( string? lastId, global::tryAGI.OpenAI.ThreadListResourceObject @object = global::tryAGI.OpenAI.ThreadListResourceObject.List) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObject.g.cs index a3be0e369..b440ba541 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObject.g.cs @@ -54,12 +54,12 @@ public sealed partial class ThreadObject /// /// The identifier, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `thread`. - /// /// /// The Unix timestamp (in seconds) for when the thread was created. /// + /// + /// The object type, which is always `thread`. + /// /// /// #if NET7_0_OR_GREATER @@ -73,8 +73,8 @@ public ThreadObject( global::System.Collections.Generic.Dictionary? metadata) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.CreatedAt = createdAt; this.Object = @object; + this.CreatedAt = createdAt; this.ToolResources = toolResources; this.Metadata = metadata; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadResource.g.cs index 8e9d624b3..a9210dcdc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadResource.g.cs @@ -66,20 +66,20 @@ public sealed partial class ThreadResource /// /// Identifier of the thread. /// - /// - /// Type discriminator that is always `chatkit.thread`.
- /// Default Value: chatkit.thread - /// /// /// Unix timestamp (in seconds) for when the thread was created. /// - /// /// /// Current status for the thread. Defaults to `active` for newly created threads. /// /// /// Free-form string that identifies your end user who owns the thread. /// + /// + /// + /// Type discriminator that is always `chatkit.thread`.
+ /// Default Value: chatkit.thread + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -92,11 +92,11 @@ public ThreadResource( global::tryAGI.OpenAI.ThreadResourceObject @object = global::tryAGI.OpenAI.ThreadResourceObject.ChatkitThread) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; + this.Title = title; this.Status = status; this.User = user ?? throw new global::System.ArgumentNullException(nameof(user)); - this.Object = @object; - this.Title = title; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadStreamEventVariant1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadStreamEventVariant1.g.cs index 84e07f0d5..e41a09fb8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadStreamEventVariant1.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadStreamEventVariant1.g.cs @@ -37,13 +37,13 @@ public sealed partial class ThreadStreamEventVariant1 /// /// Initializes a new instance of the class. /// + /// + /// Represents a thread that contains [messages](/docs/api-reference/messages). + /// /// /// Whether to enable input audio transcription. /// /// - /// - /// Represents a thread that contains [messages](/docs/api-reference/messages). - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -52,9 +52,9 @@ public ThreadStreamEventVariant1( bool? enabled, global::tryAGI.OpenAI.ThreadStreamEventVariant1Event @event) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.Enabled = enabled; this.Event = @event; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TokenCountsResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TokenCountsResource.g.cs index 7c52f380a..61dc03ba3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TokenCountsResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TokenCountsResource.g.cs @@ -32,10 +32,10 @@ public sealed partial class TokenCountsResource /// /// Initializes a new instance of the class. /// + /// /// /// Default Value: response.input_tokens /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -43,8 +43,8 @@ public TokenCountsResource( int inputTokens, global::tryAGI.OpenAI.TokenCountsResourceObject @object = global::tryAGI.OpenAI.TokenCountsResourceObject.ResponseInputTokens) { - this.InputTokens = inputTokens; this.Object = @object; + this.InputTokens = inputTokens; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceAllowed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceAllowed.g.cs index deb2c2a4c..d36a24029 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceAllowed.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceAllowed.g.cs @@ -50,9 +50,6 @@ public sealed partial class ToolChoiceAllowed /// /// Initializes a new instance of the class. /// - /// - /// Allowed tool configuration type. Always `allowed_tools`. - /// /// /// Constrains the tools available to the model to a pre-defined set.
/// `auto` allows the model to pick from among the allowed tools and generate a
@@ -70,6 +67,9 @@ public sealed partial class ToolChoiceAllowed /// ]
/// ``` /// + /// + /// Allowed tool configuration type. Always `allowed_tools`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,9 +78,9 @@ public ToolChoiceAllowed( global::System.Collections.Generic.IList tools, global::tryAGI.OpenAI.ToolChoiceAllowedType type) { + this.Type = type; this.Mode = mode; this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceCustom.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceCustom.g.cs index 241ff9fbb..1e4a4a398 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceCustom.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceCustom.g.cs @@ -31,12 +31,12 @@ public sealed partial class ToolChoiceCustom /// /// Initializes a new instance of the class. /// - /// - /// For custom tool calling, the type is always `custom`. - /// /// /// The name of the custom tool to call. /// + /// + /// For custom tool calling, the type is always `custom`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ToolChoiceCustom( string name, global::tryAGI.OpenAI.ToolChoiceCustomType type) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceFunction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceFunction.g.cs index 917d2cd92..4de6883cc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceFunction.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceFunction.g.cs @@ -31,12 +31,12 @@ public sealed partial class ToolChoiceFunction /// /// Initializes a new instance of the class. /// - /// - /// For function calling, the type is always `function`. - /// /// /// The name of the function to call. /// + /// + /// For function calling, the type is always `function`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public ToolChoiceFunction( string name, global::tryAGI.OpenAI.ToolChoiceFunctionType type) { - this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Type = type; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceMCP.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceMCP.g.cs index fc67e6972..5b9e3c989 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceMCP.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolChoiceMCP.g.cs @@ -37,12 +37,12 @@ public sealed partial class ToolChoiceMCP /// /// Initializes a new instance of the class. /// - /// - /// For MCP tools, the type is always `mcp`. - /// /// /// The label of the MCP server to use. /// + /// + /// For MCP tools, the type is always `mcp`. + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -52,8 +52,8 @@ public ToolChoiceMCP( global::tryAGI.OpenAI.ToolChoiceMCPType type, string? name) { - this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Type = type; + this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel)); this.Name = name; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchCall.g.cs index 407e7021d..fda845760 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchCall.g.cs @@ -68,14 +68,9 @@ public sealed partial class ToolSearchCall /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `tool_search_call`.
- /// Default Value: tool_search_call - /// /// /// The unique ID of the tool search call item. /// - /// /// /// Whether tool search was executed by the server or by the client. /// @@ -85,9 +80,14 @@ public sealed partial class ToolSearchCall /// /// The status of the tool search call item that was recorded. /// + /// /// /// The identifier of the actor that created the item. /// + /// + /// The type of the item. Always `tool_search_call`.
+ /// Default Value: tool_search_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public ToolSearchCall( string? createdBy, global::tryAGI.OpenAI.ToolSearchCallType type = global::tryAGI.OpenAI.ToolSearchCallType.ToolSearchCall) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.CallId = callId; this.Execution = execution; this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.Status = status; - this.Type = type; - this.CallId = callId; this.CreatedBy = createdBy; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchCallItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchCallItemParam.g.cs index 9f9e3837e..403b670e7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchCallItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchCallItemParam.g.cs @@ -58,19 +58,19 @@ public sealed partial class ToolSearchCallItemParam /// /// Initializes a new instance of the class. /// + /// + /// The arguments supplied to the tool search call. + /// /// /// - /// - /// The item type. Always `tool_search_call`.
- /// Default Value: tool_search_call - /// /// /// Whether tool search was executed by the server or by the client. /// - /// - /// The arguments supplied to the tool search call. - /// /// + /// + /// The item type. Always `tool_search_call`.
+ /// Default Value: tool_search_call + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,11 +82,11 @@ public ToolSearchCallItemParam( global::tryAGI.OpenAI.FunctionCallItemStatus? status, global::tryAGI.OpenAI.ToolSearchCallItemParamType type = global::tryAGI.OpenAI.ToolSearchCallItemParamType.ToolSearchCall) { - this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.Id = id; this.CallId = callId; this.Type = type; this.Execution = execution; + this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments)); this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchOutput.g.cs index c779f2a45..62a4a5aad 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchOutput.g.cs @@ -68,14 +68,9 @@ public sealed partial class ToolSearchOutput /// /// Initializes a new instance of the class. /// - /// - /// The type of the item. Always `tool_search_output`.
- /// Default Value: tool_search_output - /// /// /// The unique ID of the tool search output item. /// - /// /// /// Whether tool search was executed by the server or by the client. /// @@ -85,9 +80,14 @@ public sealed partial class ToolSearchOutput /// /// The status of the tool search output item that was recorded. /// + /// /// /// The identifier of the actor that created the item. /// + /// + /// The type of the item. Always `tool_search_output`.
+ /// Default Value: tool_search_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -100,12 +100,12 @@ public ToolSearchOutput( string? createdBy, global::tryAGI.OpenAI.ToolSearchOutputType type = global::tryAGI.OpenAI.ToolSearchOutputType.ToolSearchOutput) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.CallId = callId; this.Execution = execution; this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); this.Status = status; - this.Type = type; - this.CallId = callId; this.CreatedBy = createdBy; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchOutputItemParam.g.cs index cc217f717..4a35d5032 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchOutputItemParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchOutputItemParam.g.cs @@ -58,19 +58,19 @@ public sealed partial class ToolSearchOutputItemParam /// /// Initializes a new instance of the class. /// + /// + /// The loaded tool definitions returned by the tool search output. + /// /// /// - /// - /// The item type. Always `tool_search_output`.
- /// Default Value: tool_search_output - /// /// /// Whether tool search was executed by the server or by the client. /// - /// - /// The loaded tool definitions returned by the tool search output. - /// /// + /// + /// The item type. Always `tool_search_output`.
+ /// Default Value: tool_search_output + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -82,11 +82,11 @@ public ToolSearchOutputItemParam( global::tryAGI.OpenAI.FunctionCallItemStatus? status, global::tryAGI.OpenAI.ToolSearchOutputItemParamType type = global::tryAGI.OpenAI.ToolSearchOutputItemParamType.ToolSearchOutput) { - this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); this.Id = id; this.CallId = callId; this.Type = type; this.Execution = execution; + this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools)); this.Status = status; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchToolParam.g.cs index 29bc85b12..adca0e158 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchToolParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ToolSearchToolParam.g.cs @@ -45,15 +45,15 @@ public sealed partial class ToolSearchToolParam /// /// Initializes a new instance of the class. /// - /// - /// The type of the tool. Always `tool_search`.
- /// Default Value: tool_search - /// /// /// Whether tool search is executed by the server or by the client. /// /// /// + /// + /// The type of the tool. Always `tool_search`.
+ /// Default Value: tool_search + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDeltaEvent.g.cs index 694a4914c..440c68dd1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDeltaEvent.g.cs @@ -43,12 +43,12 @@ public sealed partial class TranscriptTextDeltaEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `transcript.text.delta`. - /// /// /// The text delta that was additionally transcribed. /// + /// + /// The type of the event. Always `transcript.text.delta`. + /// /// /// The log probabilities of the delta. Only included if you [create a transcription](/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`. /// @@ -64,8 +64,8 @@ public TranscriptTextDeltaEvent( global::System.Collections.Generic.IList? logprobs, string? segmentId) { - this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.Type = type; + this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.Logprobs = logprobs; this.SegmentId = segmentId; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDoneEvent.g.cs index dd0c343c9..174f39e5e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDoneEvent.g.cs @@ -43,12 +43,12 @@ public sealed partial class TranscriptTextDoneEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `transcript.text.done`. - /// /// /// The text that was transcribed. /// + /// + /// The type of the event. Always `transcript.text.done`. + /// /// /// The log probabilities of the individual tokens in the transcription. Only included if you [create a transcription](/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`. /// @@ -64,8 +64,8 @@ public TranscriptTextDoneEvent( global::System.Collections.Generic.IList? logprobs, global::tryAGI.OpenAI.TranscriptTextUsageTokens? usage) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Logprobs = logprobs; this.Usage = usage; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextSegmentEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextSegmentEvent.g.cs index c988c0230..812df42eb 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextSegmentEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextSegmentEvent.g.cs @@ -59,9 +59,6 @@ public sealed partial class TranscriptTextSegmentEvent /// /// Initializes a new instance of the class. /// - /// - /// The type of the event. Always `transcript.text.segment`. - /// /// /// Unique identifier for the segment. /// @@ -77,6 +74,9 @@ public sealed partial class TranscriptTextSegmentEvent /// /// Speaker label for this segment. /// + /// + /// The type of the event. Always `transcript.text.segment`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public TranscriptTextSegmentEvent( string speaker, global::tryAGI.OpenAI.TranscriptTextSegmentEventType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Start = start; this.End = end; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Speaker = speaker ?? throw new global::System.ArgumentNullException(nameof(speaker)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.g.cs index ea56ebbb9..9735d8595 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.g.cs @@ -31,12 +31,12 @@ public sealed partial class TranscriptTextUsageDuration /// /// Initializes a new instance of the class. /// - /// - /// The type of the usage object. Always `duration` for this variant. - /// /// /// Duration of the input audio in seconds. /// + /// + /// The type of the usage object. Always `duration` for this variant. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public TranscriptTextUsageDuration( double seconds, global::tryAGI.OpenAI.TranscriptTextUsageDurationType type) { - this.Seconds = seconds; this.Type = type; + this.Seconds = seconds; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.g.cs index 3612659bc..cd0b138be 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.g.cs @@ -51,21 +51,21 @@ public sealed partial class TranscriptTextUsageTokens /// /// Initializes a new instance of the class. /// - /// - /// The type of the usage object. Always `tokens` for this variant. - /// /// /// Number of input tokens billed for this request. /// - /// - /// Details about the input tokens billed for this request. - /// /// /// Number of output tokens generated. /// /// /// Total number of tokens used (input + output). /// + /// + /// The type of the usage object. Always `tokens` for this variant. + /// + /// + /// Details about the input tokens billed for this request. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -76,11 +76,11 @@ public TranscriptTextUsageTokens( global::tryAGI.OpenAI.TranscriptTextUsageTokensType type, global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? inputTokenDetails) { + this.Type = type; this.InputTokens = inputTokens; + this.InputTokenDetails = inputTokenDetails; this.OutputTokens = outputTokens; this.TotalTokens = totalTokens; - this.Type = type; - this.InputTokenDetails = inputTokenDetails; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptionDiarizedSegment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptionDiarizedSegment.g.cs index 08c6cc906..2da8e21ed 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptionDiarizedSegment.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptionDiarizedSegment.g.cs @@ -59,9 +59,6 @@ public sealed partial class TranscriptionDiarizedSegment /// /// Initializes a new instance of the class. /// - /// - /// The type of the segment. Always `transcript.text.segment`. - /// /// /// Unique identifier for the segment. /// @@ -77,6 +74,9 @@ public sealed partial class TranscriptionDiarizedSegment /// /// Speaker label for this segment. When known speakers are provided, the label matches `known_speaker_names[]`. Otherwise speakers are labeled sequentially using capital letters (`A`, `B`, ...). /// + /// + /// The type of the segment. Always `transcript.text.segment`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -88,12 +88,12 @@ public TranscriptionDiarizedSegment( string speaker, global::tryAGI.OpenAI.TranscriptionDiarizedSegmentType type) { + this.Type = type; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Start = start; this.End = end; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Speaker = speaker ?? throw new global::System.ArgumentNullException(nameof(speaker)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TypeParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TypeParam.g.cs index ad85acacc..6f73aabbd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TypeParam.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TypeParam.g.cs @@ -33,13 +33,13 @@ public sealed partial class TypeParam /// /// Initializes a new instance of the class. /// + /// + /// The text to type. + /// /// /// Specifies the event type. For a type action, this property is always set to `type`.
/// Default Value: type /// - /// - /// The text to type. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public TypeParam( string text, global::tryAGI.OpenAI.TypeParamType type = global::tryAGI.OpenAI.TypeParamType.Type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadCertificateRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadCertificateRequest.g.cs index b196a618b..c4290be3f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadCertificateRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadCertificateRequest.g.cs @@ -30,12 +30,12 @@ public sealed partial class UploadCertificateRequest /// /// Initializes a new instance of the class. /// - /// - /// An optional name for the certificate - /// /// /// The certificate content in PEM format /// + /// + /// An optional name for the certificate + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -43,8 +43,8 @@ public UploadCertificateRequest( string content, string? name) { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Name = name; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlAnnotation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlAnnotation.g.cs index 3c435c888..f21045cdc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlAnnotation.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlAnnotation.g.cs @@ -33,13 +33,13 @@ public sealed partial class UrlAnnotation /// /// Initializes a new instance of the class. /// + /// + /// URL referenced by the annotation. + /// /// /// Type discriminator that is always `url` for this annotation.
/// Default Value: url /// - /// - /// URL referenced by the annotation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public UrlAnnotation( global::tryAGI.OpenAI.UrlAnnotationSource source, global::tryAGI.OpenAI.UrlAnnotationType type = global::tryAGI.OpenAI.UrlAnnotationType.Url) { - this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); this.Type = type; + this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlAnnotationSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlAnnotationSource.g.cs index d14d54d18..969422d6b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlAnnotationSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlAnnotationSource.g.cs @@ -33,13 +33,13 @@ public sealed partial class UrlAnnotationSource /// /// Initializes a new instance of the class. /// + /// + /// URL referenced by the annotation. + /// /// /// Type discriminator that is always `url`.
/// Default Value: url /// - /// - /// URL referenced by the annotation. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public UrlAnnotationSource( string url, global::tryAGI.OpenAI.UrlAnnotationSourceType type = global::tryAGI.OpenAI.UrlAnnotationSourceType.Url) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlCitationBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlCitationBody.g.cs index 52e36c9a7..53d42a598 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlCitationBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UrlCitationBody.g.cs @@ -54,10 +54,6 @@ public sealed partial class UrlCitationBody /// /// Initializes a new instance of the class. /// - /// - /// The type of the URL citation. Always `url_citation`.
- /// Default Value: url_citation - /// /// /// The URL of the web resource. /// @@ -70,6 +66,10 @@ public sealed partial class UrlCitationBody /// /// The title of the web resource. /// + /// + /// The type of the URL citation. Always `url_citation`.
+ /// Default Value: url_citation + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -80,11 +80,11 @@ public UrlCitationBody( string title, global::tryAGI.OpenAI.UrlCitationBodyType type = global::tryAGI.OpenAI.UrlCitationBodyType.UrlCitation) { + this.Type = type; this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.StartIndex = startIndex; this.EndIndex = endIndex; this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesResult.g.cs index bc90eb00d..c3c1b12fc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesResult.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioSpeechesResult.g.cs @@ -62,13 +62,13 @@ public sealed partial class UsageAudioSpeechesResult /// /// Initializes a new instance of the class. /// - /// /// /// The number of characters processed. /// /// /// The count of requests made to the model. /// + /// /// /// /// @@ -85,9 +85,9 @@ public UsageAudioSpeechesResult( string? apiKeyId, string? model) { + this.Object = @object; this.Characters = characters; this.NumModelRequests = numModelRequests; - this.Object = @object; this.ProjectId = projectId; this.UserId = userId; this.ApiKeyId = apiKeyId; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsResult.g.cs index ebb62cc44..e63fb0e24 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsResult.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageAudioTranscriptionsResult.g.cs @@ -62,13 +62,13 @@ public sealed partial class UsageAudioTranscriptionsResult /// /// Initializes a new instance of the class. /// - /// /// /// The number of seconds processed. /// /// /// The count of requests made to the model. /// + /// /// /// /// @@ -85,9 +85,9 @@ public UsageAudioTranscriptionsResult( string? apiKeyId, string? model) { + this.Object = @object; this.Seconds = seconds; this.NumModelRequests = numModelRequests; - this.Object = @object; this.ProjectId = projectId; this.UserId = userId; this.ApiKeyId = apiKeyId; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsResult.g.cs index c5b324714..d254bb4f6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsResult.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageCompletionsResult.g.cs @@ -99,25 +99,25 @@ public sealed partial class UsageCompletionsResult /// /// Initializes a new instance of the class. /// - /// /// /// The aggregated number of text input tokens used, including cached tokens. For customers subscribe to scale tier, this includes scale tier tokens. /// - /// - /// The aggregated number of text input tokens that has been cached from previous requests. For customers subscribe to scale tier, this includes scale tier tokens. - /// /// /// The aggregated number of text output tokens used. For customers subscribe to scale tier, this includes scale tier tokens. /// + /// + /// The count of requests made to the model. + /// + /// + /// + /// The aggregated number of text input tokens that has been cached from previous requests. For customers subscribe to scale tier, this includes scale tier tokens. + /// /// /// The aggregated number of audio input tokens used, including cached tokens. /// /// /// The aggregated number of audio output tokens used. /// - /// - /// The count of requests made to the model. - /// /// /// /// @@ -142,13 +142,13 @@ public UsageCompletionsResult( bool? batch, string? serviceTier) { - this.InputTokens = inputTokens; - this.OutputTokens = outputTokens; - this.NumModelRequests = numModelRequests; this.Object = @object; + this.InputTokens = inputTokens; this.InputCachedTokens = inputCachedTokens; + this.OutputTokens = outputTokens; this.InputAudioTokens = inputAudioTokens; this.OutputAudioTokens = outputAudioTokens; + this.NumModelRequests = numModelRequests; this.ProjectId = projectId; this.UserId = userId; this.ApiKeyId = apiKeyId; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsResult.g.cs index 699045609..a7c2658a6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsResult.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageEmbeddingsResult.g.cs @@ -62,13 +62,13 @@ public sealed partial class UsageEmbeddingsResult /// /// Initializes a new instance of the class. /// - /// /// /// The aggregated number of input tokens used. /// /// /// The count of requests made to the model. /// + /// /// /// /// @@ -85,9 +85,9 @@ public UsageEmbeddingsResult( string? apiKeyId, string? model) { + this.Object = @object; this.InputTokens = inputTokens; this.NumModelRequests = numModelRequests; - this.Object = @object; this.ProjectId = projectId; this.UserId = userId; this.ApiKeyId = apiKeyId; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesResult.g.cs index 1fb170052..cbc56cd6e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesResult.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageImagesResult.g.cs @@ -74,13 +74,13 @@ public sealed partial class UsageImagesResult /// /// Initializes a new instance of the class. /// - /// /// /// The number of images processed. /// /// /// The count of requests made to the model. /// + /// /// /// /// @@ -101,9 +101,9 @@ public UsageImagesResult( string? apiKeyId, string? model) { + this.Object = @object; this.Images = images; this.NumModelRequests = numModelRequests; - this.Object = @object; this.Source = source; this.Size = size; this.ProjectId = projectId; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsResult.g.cs index cb336f921..bdb00ca31 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsResult.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageModerationsResult.g.cs @@ -62,13 +62,13 @@ public sealed partial class UsageModerationsResult /// /// Initializes a new instance of the class. /// - /// /// /// The aggregated number of input tokens used. /// /// /// The count of requests made to the model. /// + /// /// /// /// @@ -85,9 +85,9 @@ public UsageModerationsResult( string? apiKeyId, string? model) { + this.Object = @object; this.InputTokens = inputTokens; this.NumModelRequests = numModelRequests; - this.Object = @object; this.ProjectId = projectId; this.UserId = userId; this.ApiKeyId = apiKeyId; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageResponse.g.cs index ddee6ff96..da65a89f1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageResponse.g.cs @@ -45,10 +45,10 @@ public sealed partial class UsageResponse /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,10 +58,10 @@ public UsageResponse( string nextPage, global::tryAGI.OpenAI.UsageResponseObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; this.NextPage = nextPage ?? throw new global::System.ArgumentNullException(nameof(nextPage)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageTimeBucket.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageTimeBucket.g.cs index 70f0f07fd..46c3c4323 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageTimeBucket.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageTimeBucket.g.cs @@ -45,10 +45,10 @@ public sealed partial class UsageTimeBucket /// /// Initializes a new instance of the class. /// - /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -58,10 +58,10 @@ public UsageTimeBucket( global::System.Collections.Generic.IList> result, global::tryAGI.OpenAI.UsageTimeBucketObject @object) { + this.Object = @object; this.StartTime = startTime; this.EndTime = endTime; this.Result = result ?? throw new global::System.ArgumentNullException(nameof(result)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageVectorStoresResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageVectorStoresResult.g.cs index 52e0d1874..a206b636e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageVectorStoresResult.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UsageVectorStoresResult.g.cs @@ -37,10 +37,10 @@ public sealed partial class UsageVectorStoresResult /// /// Initializes a new instance of the class. /// - /// /// /// The vector stores usage in bytes. /// + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -50,8 +50,8 @@ public UsageVectorStoresResult( global::tryAGI.OpenAI.UsageVectorStoresResultObject @object, string? projectId) { - this.UsageBytes = usageBytes; this.Object = @object; + this.UsageBytes = usageBytes; this.ProjectId = projectId; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.User.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.User.g.cs index d4e8b607d..255509c1f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.User.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.User.g.cs @@ -61,9 +61,6 @@ public sealed partial class User /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `organization.user` - /// /// /// The identifier, which can be referenced in API endpoints /// @@ -79,6 +76,9 @@ public sealed partial class User /// /// The Unix timestamp (in seconds) of when the user was added. /// + /// + /// The object type, which is always `organization.user` + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -90,12 +90,12 @@ public User( global::System.DateTimeOffset addedAt, global::tryAGI.OpenAI.UserObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Email = email ?? throw new global::System.ArgumentNullException(nameof(email)); this.Role = role; this.AddedAt = addedAt; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserDeleteResponse.g.cs index e7fe21b85..886d4efe5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserDeleteResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserDeleteResponse.g.cs @@ -38,9 +38,9 @@ public sealed partial class UserDeleteResponse /// /// Initializes a new instance of the class. /// - /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -49,9 +49,9 @@ public UserDeleteResponse( bool deleted, global::tryAGI.OpenAI.UserDeleteResponseObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Deleted = deleted; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserListResource.g.cs index 427dee5c7..7a404a7f3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserListResource.g.cs @@ -44,15 +44,15 @@ public sealed partial class UserListResource /// /// Initializes a new instance of the class. /// - /// - /// Always `list`. - /// /// /// Users in the current page. /// /// /// Whether more users are available when paginating. /// + /// + /// Always `list`. + /// /// /// Cursor to fetch the next page of results, or `null` when no further users are available. /// @@ -65,9 +65,9 @@ public UserListResource( global::tryAGI.OpenAI.UserListResourceObject @object, string? next) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; - this.Object = @object; this.Next = next; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserListResponse.g.cs index 33286f062..c7f6d4553 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserListResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserListResponse.g.cs @@ -52,11 +52,11 @@ public sealed partial class UserListResponse /// /// Initializes a new instance of the class. /// - /// /// /// /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,11 +67,11 @@ public UserListResponse( bool hasMore, global::tryAGI.OpenAI.UserListResponseObject @object) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); this.HasMore = hasMore; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageInputText.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageInputText.g.cs index 0615ddf15..416e681d6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageInputText.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageInputText.g.cs @@ -33,13 +33,13 @@ public sealed partial class UserMessageInputText /// /// Initializes a new instance of the class. /// + /// + /// Plain-text content supplied by the user. + /// /// /// Type discriminator that is always `input_text`.
/// Default Value: input_text /// - /// - /// Plain-text content supplied by the user. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public UserMessageInputText( string text, global::tryAGI.OpenAI.UserMessageInputTextType type = global::tryAGI.OpenAI.UserMessageInputTextType.InputText) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageItem.g.cs index 8d8bfffd5..6198fb278 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageItem.g.cs @@ -79,19 +79,12 @@ public sealed partial class UserMessageItem /// /// Identifier of the thread item. /// - /// - /// Type discriminator that is always `chatkit.thread_item`.
- /// Default Value: chatkit.thread_item - /// /// /// Unix timestamp (in seconds) for when the item was created. /// /// /// Identifier of the parent thread. /// - /// - /// Default Value: chatkit.user_message - /// /// /// Ordered content elements supplied by the user. /// @@ -99,6 +92,13 @@ public sealed partial class UserMessageItem /// Attachments associated with the user message. Defaults to an empty list. /// /// + /// + /// Type discriminator that is always `chatkit.thread_item`.
+ /// Default Value: chatkit.thread_item + /// + /// + /// Default Value: chatkit.user_message + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -113,12 +113,12 @@ public UserMessageItem( global::tryAGI.OpenAI.UserMessageItemType type = global::tryAGI.OpenAI.UserMessageItemType.ChatkitUserMessage) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); + this.Type = type; this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Attachments = attachments ?? throw new global::System.ArgumentNullException(nameof(attachments)); - this.Object = @object; - this.Type = type; this.InferenceOptions = inferenceOptions; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageQuotedText.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageQuotedText.g.cs index a6cf4e42a..baa9ff080 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageQuotedText.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserMessageQuotedText.g.cs @@ -33,13 +33,13 @@ public sealed partial class UserMessageQuotedText /// /// Initializes a new instance of the class. /// + /// + /// Quoted text content. + /// /// /// Type discriminator that is always `quoted_text`.
/// Default Value: quoted_text /// - /// - /// Quoted text content. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -47,8 +47,8 @@ public UserMessageQuotedText( string text, global::tryAGI.OpenAI.UserMessageQuotedTextType type = global::tryAGI.OpenAI.UserMessageQuotedTextType.QuotedText) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserRoleAssignment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserRoleAssignment.g.cs index 01000cc32..160d154b3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserRoleAssignment.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UserRoleAssignment.g.cs @@ -38,15 +38,15 @@ public sealed partial class UserRoleAssignment /// /// Initializes a new instance of the class. /// - /// - /// Always `user.role`. - /// /// /// Represents an individual `user` within an organization. /// /// /// Details about a role that can be assigned through the public Roles API. /// + /// + /// Always `user.role`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public UserRoleAssignment( global::tryAGI.OpenAI.Role role, global::tryAGI.OpenAI.UserRoleAssignmentObject @object) { + this.Object = @object; this.User = user ?? throw new global::System.ArgumentNullException(nameof(user)); this.Role = role ?? throw new global::System.ArgumentNullException(nameof(role)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreExpirationAfter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreExpirationAfter.g.cs index 1240ee5ed..26fd265d8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreExpirationAfter.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreExpirationAfter.g.cs @@ -31,12 +31,12 @@ public sealed partial class VectorStoreExpirationAfter /// /// Initializes a new instance of the class. /// - /// - /// Anchor timestamp after which the expiration policy applies. Supported anchors: `last_active_at`. - /// /// /// The number of days after the anchor time that the vector store will expire. /// + /// + /// Anchor timestamp after which the expiration policy applies. Supported anchors: `last_active_at`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public VectorStoreExpirationAfter( int days, global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor anchor) { - this.Days = days; this.Anchor = anchor; + this.Days = days; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileBatchObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileBatchObject.g.cs index c93b85071..3e122cdbc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileBatchObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileBatchObject.g.cs @@ -64,9 +64,6 @@ public sealed partial class VectorStoreFileBatchObject /// /// The identifier, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `vector_store.file_batch`. - /// /// /// The Unix timestamp (in seconds) for when the vector store files batch was created. /// @@ -77,6 +74,9 @@ public sealed partial class VectorStoreFileBatchObject /// The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`. /// /// + /// + /// The object type, which is always `vector_store.file_batch`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -89,11 +89,11 @@ public VectorStoreFileBatchObject( global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject @object) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.VectorStoreId = vectorStoreId ?? throw new global::System.ArgumentNullException(nameof(vectorStoreId)); this.Status = status; this.FileCounts = fileCounts ?? throw new global::System.ArgumentNullException(nameof(fileCounts)); - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileContentResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileContentResponse.g.cs index 777c21c77..f1bf8d076 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileContentResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileContentResponse.g.cs @@ -44,15 +44,15 @@ public sealed partial class VectorStoreFileContentResponse /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `vector_store.file_content.page` - /// /// /// Parsed content of the file. /// /// /// Indicates if there are more content pages to fetch. /// + /// + /// The object type, which is always `vector_store.file_content.page` + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -63,9 +63,9 @@ public VectorStoreFileContentResponse( global::tryAGI.OpenAI.VectorStoreFileContentResponseObject @object, string? nextPage) { + this.Object = @object; this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; - this.Object = @object; this.NextPage = nextPage; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObject.g.cs index 89b6bb912..88335fb95 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreFileObject.g.cs @@ -83,9 +83,6 @@ public sealed partial class VectorStoreFileObject /// /// The identifier, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `vector_store.file`. - /// /// /// The total vector store usage in bytes. Note that this may be different from the original file size. /// @@ -98,6 +95,9 @@ public sealed partial class VectorStoreFileObject /// /// The status of the vector store file, which can be either `in_progress`, `completed`, `cancelled`, or `failed`. The status `completed` indicates that the vector store file is ready for use. /// + /// + /// The object type, which is always `vector_store.file`. + /// /// /// /// The strategy used to chunk the file. @@ -118,11 +118,11 @@ public VectorStoreFileObject( object? attributes) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.UsageBytes = usageBytes; this.CreatedAt = createdAt; this.VectorStoreId = vectorStoreId ?? throw new global::System.ArgumentNullException(nameof(vectorStoreId)); this.Status = status; - this.Object = @object; this.LastError = lastError; this.ChunkingStrategy = chunkingStrategy; this.Attributes = attributes; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObject.g.cs index ca9d8e603..78c9366b5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObject.g.cs @@ -95,9 +95,6 @@ public sealed partial class VectorStoreObject /// /// The identifier, which can be referenced in API endpoints. /// - /// - /// The object type, which is always `vector_store`. - /// /// /// The Unix timestamp (in seconds) for when the vector store was created. /// @@ -111,6 +108,9 @@ public sealed partial class VectorStoreObject /// /// The status of the vector store, which can be either `expired`, `in_progress`, or `completed`. A status of `completed` indicates that the vector store is ready for use. /// + /// + /// The object type, which is always `vector_store`. + /// /// /// The expiration policy for a vector store. /// @@ -134,12 +134,12 @@ public VectorStoreObject( global::System.Collections.Generic.Dictionary? metadata) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.UsageBytes = usageBytes; this.FileCounts = fileCounts ?? throw new global::System.ArgumentNullException(nameof(fileCounts)); this.Status = status; - this.Object = @object; this.ExpiresAfter = expiresAfter; this.ExpiresAt = expiresAt; this.LastActiveAt = lastActiveAt; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultContentObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultContentObject.g.cs index d4b1253a7..f2adf68cf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultContentObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultContentObject.g.cs @@ -31,12 +31,12 @@ public sealed partial class VectorStoreSearchResultContentObject /// /// Initializes a new instance of the class. /// - /// - /// The type of content. - /// /// /// The text content returned from search. /// + /// + /// The type of content. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public VectorStoreSearchResultContentObject( string text, global::tryAGI.OpenAI.VectorStoreSearchResultContentObjectType type) { - this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; + this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultItem.g.cs index a6d852c50..80a553a8d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultItem.g.cs @@ -60,10 +60,10 @@ public sealed partial class VectorStoreSearchResultItem /// /// The similarity score for the result. /// - /// /// /// Content chunks from the file. /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -77,8 +77,8 @@ public VectorStoreSearchResultItem( this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); this.Score = score; - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); this.Attributes = attributes; + this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultsPage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultsPage.g.cs index 0b46a169a..9ce026b91 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultsPage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreSearchResultsPage.g.cs @@ -51,9 +51,6 @@ public sealed partial class VectorStoreSearchResultsPage /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `vector_store.search_results.page` - /// /// /// /// The list of search result items. @@ -61,6 +58,9 @@ public sealed partial class VectorStoreSearchResultsPage /// /// Indicates if there are more results to fetch. /// + /// + /// The object type, which is always `vector_store.search_results.page` + /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -72,10 +72,10 @@ public VectorStoreSearchResultsPage( global::tryAGI.OpenAI.VectorStoreSearchResultsPageObject @object, string? nextPage) { + this.Object = @object; this.SearchQuery = searchQuery ?? throw new global::System.ArgumentNullException(nameof(searchQuery)); this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.HasMore = hasMore; - this.Object = @object; this.NextPage = nextPage; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoCharacterResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoCharacterResource.g.cs index f9d9f7a5b..c2edd7626 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoCharacterResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoCharacterResource.g.cs @@ -37,11 +37,11 @@ public sealed partial class VideoCharacterResource /// /// Initializes a new instance of the class. /// - /// - /// /// /// Unix timestamp (in seconds) when the character was created. /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -50,9 +50,9 @@ public VideoCharacterResource( string? id, string? name) { - this.CreatedAt = createdAt; this.Id = id; this.Name = name; + this.CreatedAt = createdAt; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoListResource.g.cs index da88c2360..0b6353e0b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoListResource.g.cs @@ -52,18 +52,18 @@ public sealed partial class VideoListResource /// /// Initializes a new instance of the class. /// - /// - /// The type of object returned, must be `list`.
- /// Default Value: list - /// /// /// A list of items /// - /// - /// /// /// Whether there are more items available. /// + /// + /// + /// + /// The type of object returned, must be `list`.
+ /// Default Value: list + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -74,11 +74,11 @@ public VideoListResource( string? lastId, global::tryAGI.OpenAI.VideoListResourceObject @object = global::tryAGI.OpenAI.VideoListResourceObject.List) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoResource.g.cs index 72243ba43..70ce7001f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VideoResource.g.cs @@ -112,10 +112,6 @@ public sealed partial class VideoResource /// /// Unique identifier for the video job. /// - /// - /// The object type, which is always `video`.
- /// Default Value: video - /// /// /// The video generation model that produced the job. /// @@ -128,17 +124,21 @@ public sealed partial class VideoResource /// /// Unix timestamp (seconds) for when the job was created. /// - /// - /// - /// /// /// The resolution of the generated video. /// /// /// Duration of the generated clip in seconds. For extensions, this is the stitched total duration. /// + /// + /// + /// /// /// + /// + /// The object type, which is always `video`.
+ /// Default Value: video + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -158,16 +158,16 @@ public VideoResource( global::tryAGI.OpenAI.VideoResourceObject @object = global::tryAGI.OpenAI.VideoResourceObject.Video) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.Model = model; this.Status = status; this.Progress = progress; this.CreatedAt = createdAt; - this.Size = size; - this.Seconds = seconds ?? throw new global::System.ArgumentNullException(nameof(seconds)); - this.Object = @object; this.CompletedAt = completedAt; this.ExpiresAt = expiresAt; this.Prompt = prompt; + this.Size = size; + this.Seconds = seconds ?? throw new global::System.ArgumentNullException(nameof(seconds)); this.RemixedFromVideoId = remixedFromVideoId; this.Error = error; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentDeletedResource.g.cs index e8197e043..577706b52 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentDeletedResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentDeletedResource.g.cs @@ -44,8 +44,8 @@ public sealed partial class VoiceConsentDeletedResource /// The consent recording identifier.
/// Example: cons_1234 /// - /// /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,8 +55,8 @@ public VoiceConsentDeletedResource( global::tryAGI.OpenAI.VoiceConsentDeletedResourceObject @object) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Deleted = deleted; this.Object = @object; + this.Deleted = deleted; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentListResource.g.cs index 1f08c610f..a20a16e82 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentListResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentListResource.g.cs @@ -50,11 +50,11 @@ public sealed partial class VoiceConsentListResource /// /// Initializes a new instance of the class. /// - /// /// + /// + /// /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -65,11 +65,11 @@ public VoiceConsentListResource( string? firstId, string? lastId) { - this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); - this.HasMore = hasMore; this.Object = @object; + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); this.FirstId = firstId; this.LastId = lastId; + this.HasMore = hasMore; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentResource.g.cs index cd97f52a1..d6f87f030 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceConsentResource.g.cs @@ -55,9 +55,6 @@ public sealed partial class VoiceConsentResource /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `audio.voice_consent`. - /// /// /// The consent recording identifier.
/// Example: cons_1234 @@ -71,6 +68,9 @@ public sealed partial class VoiceConsentResource /// /// The Unix timestamp (in seconds) for when the consent recording was created. /// + /// + /// The object type, which is always `audio.voice_consent`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -81,11 +81,11 @@ public VoiceConsentResource( global::System.DateTimeOffset createdAt, global::tryAGI.OpenAI.VoiceConsentResourceObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.Language = language ?? throw new global::System.ArgumentNullException(nameof(language)); this.CreatedAt = createdAt; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceResource.g.cs index 3d36ec4be..b5ef56daf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceResource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VoiceResource.g.cs @@ -46,9 +46,6 @@ public sealed partial class VoiceResource /// /// Initializes a new instance of the class. /// - /// - /// The object type, which is always `audio.voice`. - /// /// /// The voice identifier, which can be referenced in API endpoints. /// @@ -58,6 +55,9 @@ public sealed partial class VoiceResource /// /// The Unix timestamp (in seconds) for when the voice was created. /// + /// + /// The object type, which is always `audio.voice`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -67,10 +67,10 @@ public VoiceResource( global::System.DateTimeOffset createdAt, global::tryAGI.OpenAI.VoiceResourceObject @object) { + this.Object = @object; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); this.CreatedAt = createdAt; - this.Object = @object; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionFind.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionFind.g.cs index fb317387e..8f044ed61 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionFind.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionFind.g.cs @@ -38,15 +38,15 @@ public sealed partial class WebSearchActionFind /// /// Initializes a new instance of the class. /// - /// - /// The action type. - /// /// /// The URL of the page searched for the pattern. /// /// /// The pattern or text to search for within the page. /// + /// + /// The action type. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -55,9 +55,9 @@ public WebSearchActionFind( string pattern, global::tryAGI.OpenAI.WebSearchActionFindType type) { + this.Type = type; this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Pattern = pattern ?? throw new global::System.ArgumentNullException(nameof(pattern)); - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionSearch.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionSearch.g.cs index 36229cb62..8b3e4695e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionSearch.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionSearch.g.cs @@ -43,12 +43,12 @@ public sealed partial class WebSearchActionSearch /// /// Initializes a new instance of the class. /// - /// - /// The action type. - /// /// /// [DEPRECATED] The search query. /// + /// + /// The action type. + /// /// /// The search queries. /// @@ -64,8 +64,8 @@ public WebSearchActionSearch( global::System.Collections.Generic.IList? queries, global::System.Collections.Generic.IList? sources) { - this.Query = query ?? throw new global::System.ArgumentNullException(nameof(query)); this.Type = type; + this.Query = query ?? throw new global::System.ArgumentNullException(nameof(query)); this.Queries = queries; this.Sources = sources; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionSearchSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionSearchSource.g.cs index 3847546ed..f4cbef8b6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionSearchSource.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchActionSearchSource.g.cs @@ -31,12 +31,12 @@ public sealed partial class WebSearchActionSearchSource /// /// Initializes a new instance of the class. /// - /// - /// The type of source. Always `url`. - /// /// /// The URL of the source. /// + /// + /// The type of source. Always `url`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -44,8 +44,8 @@ public WebSearchActionSearchSource( string url, global::tryAGI.OpenAI.WebSearchActionSearchSourceType type) { - this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); this.Type = type; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchPreviewTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchPreviewTool.g.cs index 4df039961..d5d89441c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchPreviewTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchPreviewTool.g.cs @@ -45,15 +45,15 @@ public sealed partial class WebSearchPreviewTool /// /// Initializes a new instance of the class. /// - /// - /// The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.
- /// Default Value: web_search_preview - /// /// /// /// High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. /// /// + /// + /// The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.
+ /// Default Value: web_search_preview + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolCall.g.cs index 396dd1d9b..01bd75ef0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WebSearchToolCall.g.cs @@ -52,9 +52,6 @@ public sealed partial class WebSearchToolCall /// /// The unique ID of the web search tool call. /// - /// - /// The type of the web search tool call. Always `web_search_call`. - /// /// /// The status of the web search tool call. /// @@ -62,6 +59,9 @@ public sealed partial class WebSearchToolCall /// An object describing the specific action taken in this web search call.
/// Includes details on how the model used the web (search, open_page, find_in_page). /// + /// + /// The type of the web search tool call. Always `web_search_call`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -72,9 +72,9 @@ public WebSearchToolCall( global::tryAGI.OpenAI.WebSearchToolCallType type) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Type = type; this.Status = status; this.Action = action; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WidgetMessageItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WidgetMessageItem.g.cs index 2549f48e3..3b69427ff 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WidgetMessageItem.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.WidgetMessageItem.g.cs @@ -67,23 +67,23 @@ public sealed partial class WidgetMessageItem /// /// Identifier of the thread item. /// - /// - /// Type discriminator that is always `chatkit.thread_item`.
- /// Default Value: chatkit.thread_item - /// /// /// Unix timestamp (in seconds) for when the item was created. /// /// /// Identifier of the parent thread. /// + /// + /// Serialized widget payload rendered in the UI. + /// + /// + /// Type discriminator that is always `chatkit.thread_item`.
+ /// Default Value: chatkit.thread_item + /// /// /// Type discriminator that is always `chatkit.widget`.
/// Default Value: chatkit.widget /// - /// - /// Serialized widget payload rendered in the UI. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -96,11 +96,11 @@ public WidgetMessageItem( global::tryAGI.OpenAI.WidgetMessageItemType type = global::tryAGI.OpenAI.WidgetMessageItemType.ChatkitWidget) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Object = @object; this.CreatedAt = createdAt; this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId)); - this.Widget = widget ?? throw new global::System.ArgumentNullException(nameof(widget)); - this.Object = @object; this.Type = type; + this.Widget = widget ?? throw new global::System.ArgumentNullException(nameof(widget)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemCreatePayload.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemCreatePayload.g.cs index 51dc8fa48..98340e401 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemCreatePayload.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemCreatePayload.g.cs @@ -43,6 +43,9 @@ public sealed partial class ConversationItemCreatePayload /// /// Initializes a new instance of the class. /// + /// + /// A realtime conversation item. + /// /// /// Optional client-generated ID. /// @@ -52,9 +55,6 @@ public sealed partial class ConversationItemCreatePayload /// /// The ID of the preceding item after which the new item will be inserted. /// - /// - /// A realtime conversation item. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -64,10 +64,10 @@ public ConversationItemCreatePayload( global::tryAGI.OpenAI.Realtime.ConversationItemCreatePayloadType type, string? previousItemId) { - this.Item = item ?? throw new global::System.ArgumentNullException(nameof(item)); this.EventId = eventId; this.Type = type; this.PreviousItemId = previousItemId; + this.Item = item ?? throw new global::System.ArgumentNullException(nameof(item)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemDeletePayload.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemDeletePayload.g.cs index 97c0f2445..e83152ab0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemDeletePayload.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemDeletePayload.g.cs @@ -37,15 +37,15 @@ public sealed partial class ConversationItemDeletePayload /// /// Initializes a new instance of the class. /// + /// + /// The ID of the item to delete. + /// /// /// Optional client-generated ID. /// /// /// The event type. /// - /// - /// The ID of the item to delete. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -54,9 +54,9 @@ public ConversationItemDeletePayload( string? eventId, global::tryAGI.OpenAI.Realtime.ConversationItemDeletePayloadType type) { - this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.EventId = eventId; this.Type = type; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemTruncatePayload.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemTruncatePayload.g.cs index e67f890d3..f2279dcaa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemTruncatePayload.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.ConversationItemTruncatePayload.g.cs @@ -51,12 +51,6 @@ public sealed partial class ConversationItemTruncatePayload /// /// Initializes a new instance of the class. /// - /// - /// Optional client-generated ID. - /// - /// - /// The event type. - /// /// /// The ID of the assistant message item to truncate. /// @@ -66,6 +60,12 @@ public sealed partial class ConversationItemTruncatePayload /// /// Inclusive duration up to which audio is truncated, in milliseconds. /// + /// + /// Optional client-generated ID. + /// + /// + /// The event type. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -76,11 +76,11 @@ public ConversationItemTruncatePayload( string? eventId, global::tryAGI.OpenAI.Realtime.ConversationItemTruncatePayloadType type) { + this.EventId = eventId; + this.Type = type; this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.ContentIndex = contentIndex; this.AudioEndMs = audioEndMs; - this.EventId = eventId; - this.Type = type; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.InputAudioBufferAppendPayload.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.InputAudioBufferAppendPayload.g.cs index cd74018b8..a976fcc70 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.InputAudioBufferAppendPayload.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Realtime.Models.InputAudioBufferAppendPayload.g.cs @@ -37,15 +37,15 @@ public sealed partial class InputAudioBufferAppendPayload /// /// Initializes a new instance of the class. /// + /// + /// Base64-encoded audio bytes. + /// /// /// Optional client-generated ID. /// /// /// The event type. /// - /// - /// Base64-encoded audio bytes. - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -54,9 +54,9 @@ public InputAudioBufferAppendPayload( string? eventId, global::tryAGI.OpenAI.Realtime.InputAudioBufferAppendPayloadType type) { - this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); this.EventId = eventId; this.Type = type; + this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); } ///