From 4d92bbf02330456334a6f790ba79e42fb09bfc1d Mon Sep 17 00:00:00 2001 From: Jose Arriaga Maldonado Date: Tue, 15 Jul 2025 16:05:51 -0700 Subject: [PATCH 1/2] Refactor repo and add initial codegen --- .github/workflows/release.yml | 2 +- .gitignore | 8 + api/OpenAI.net8.0.cs | 827 +-- api/OpenAI.netstandard2.0.cs | 127 +- codegen/emitter/src/emitter.ts | 12 + codegen/emitter/src/index.ts | 1 + codegen/generator/OpenAI.Library.Plugin.sln | 22 + .../src/OpenAI.Library.Plugin.csproj | 24 + .../generator/src/OpenAILibraryGenerator.cs | 43 + codegen/generator/src/OpenAILibraryVisitor.cs | 272 + .../src/Visitors/ConstructorFixupVisitor.cs | 178 + .../ContentInnerCollectionDefinedVisitor.cs | 59 + .../Visitors/ExperimentalAttributeVisitor.cs | 702 +++ ...plicitConversionFromClientResultVisitor.cs | 25 + ...mplicitConversionToBinaryContentVisitor.cs | 24 + ...ariantFormatAdditionalPropertiesVisitor.cs | 60 + .../src/Visitors/KindRenameVisitor.cs | 22 + .../src/Visitors/ModelDirectoryVisitor.cs | 32 + .../src/Visitors/ModelSerializationVisitor.cs | 35 + .../Visitors/NonAbstractPublicTypesVisitor.cs | 33 + .../src/Visitors/OmittedTypesVisitor.cs | 29 + .../src/Visitors/PageOrderRemovalVisitor.cs | 121 + .../Visitors/ProhibitedNamespaceVisitor.cs | 41 + .../Visitors/VirtualMessageCreationVisitor.cs | 41 + .../src/Visitors/VisibilityVisitor.cs | 215 + .../generator/src/Visitors/VisitorHelpers.cs | 105 + codegen/package.json | 45 + codegen/tsconfig.build.json | 11 + codegen/tsconfig.json | 27 + package-lock.json | 4555 +++++++++++++++++ package.json | 14 + scripts/Export-Api.ps1 | 292 ++ scripts/Invoke-CodeGen.ps1 | 274 + scripts/Test-AotCompatibility.ps1 | 131 + scripts/Test-ApiCompatibility.ps1 | 169 + specification/client/assistants.client.tsp | 11 + specification/client/audio.client.tsp | 14 + specification/client/batch.client.tsp | 14 + specification/client/chat.client.tsp | 19 + specification/client/embeddings.client.tsp | 7 + specification/client/files.client.tsp | 9 + specification/client/fine-tuning.client.tsp | 31 + specification/client/images.client.tsp | 9 + specification/client/messages.client.tsp | 65 + specification/client/models/audio.models.tsp | 13 + specification/client/models/common.models.tsp | 126 + .../client/models/responses.models.tsp | 27 + .../client/models/vector-stores.models.tsp | 34 + specification/client/moderations.client.tsp | 7 + specification/client/runs.client.tsp | 39 + specification/client/threads.client.tsp | 10 + specification/client/vector-stores.client.tsp | 15 + specification/main.tsp | 20 + specification/tspconfig.yaml | 15 + src/Custom/Assistants/Assistant.cs | 1 - .../Assistants/AssistantClient.Protocol.cs | 188 +- src/Custom/Assistants/AssistantClient.cs | 1 - .../Assistants/AssistantCreationOptions.cs | 1 - .../Assistants/AssistantDeletionResult.cs | 3 +- .../AssistantModificationOptions.cs | 1 - .../Assistants/AssistantResponseFormat.cs | 1 - src/Custom/Assistants/AssistantThread.cs | 1 - .../CodeInterpreterToolResources.cs | 1 - .../Assistants/FileSearchRankingOptions.cs | 1 - .../Assistants/FileSearchToolDefinition.cs | 1 - .../Assistants/FileSearchToolResources.cs | 1 - .../Assistants/FunctionToolDefinition.cs | 1 - src/Custom/Assistants/GeneratorStubs.cs | 11 - src/Custom/Assistants/MessageContent.cs | 1 - .../Assistants/MessageCreationAttachment.cs | 1 - .../Assistants/MessageCreationOptions.cs | 1 - .../Assistants/MessageDeletionResult.cs | 3 +- .../Assistants/MessageModificationOptions.cs | 1 - src/Custom/Assistants/RunCreationOptions.cs | 1 - src/Custom/Assistants/RunIncompleteReason.cs | 3 +- .../Assistants/RunModificationOptions.cs | 1 - src/Custom/Assistants/RunStatus.cs | 1 - src/Custom/Assistants/RunStep.cs | 1 - src/Custom/Assistants/RunStepDetails.cs | 1 - .../Assistants/RunStepFileSearchResult.cs | 1 - .../RunStepFileSearchResultContent.cs | 3 +- src/Custom/Assistants/RunStepTokenUsage.cs | 3 +- src/Custom/Assistants/RunStepToolCall.cs | 1 - src/Custom/Assistants/RunTokenUsage.cs | 3 +- .../Assistants/RunTruncationStrategy.cs | 1 - ...nStepDetailsUpdateCodeInterpreterOutput.cs | 1 - .../Assistants/ThreadCreationOptions.cs | 1 - src/Custom/Assistants/ThreadDeletionResult.cs | 3 +- src/Custom/Assistants/ThreadMessage.cs | 1 - .../Assistants/ThreadModificationOptions.cs | 1 - src/Custom/Assistants/ThreadRun.cs | 1 - src/Custom/Assistants/ToolConstraint.cs | 1 - src/Custom/Assistants/ToolDefinition.cs | 1 - src/Custom/Assistants/ToolOutput.cs | 1 - src/Custom/Assistants/ToolResources.cs | 1 - .../Assistants/VectorStoreCreationHelper.cs | 1 - src/Custom/Audio/AudioClient.Protocol.cs | 157 - src/Custom/Audio/AudioClient.cs | 4 +- .../Audio/AudioTokenLogProbabilityDetails.cs | 1 - ...eamingAudioTranscriptionTextDeltaUpdate.cs | 1 - ...reamingAudioTranscriptionTextDoneUpdate.cs | 1 - .../StreamingAudioTranscriptionUpdate.cs | 1 - .../StreamingAudioTranscriptionUpdateKind.cs | 1 - src/Custom/Batch/BatchClient.Protocol.cs | 113 +- src/Custom/Batch/BatchClient.cs | 5 +- .../Batch/CreateBatchOperation.Protocol.cs | 4 +- src/Custom/Chat/ChatAudioOptions.cs | 1 - src/Custom/Chat/ChatClient.Protocol.cs | 38 - src/Custom/Chat/ChatClient.cs | 4 +- .../Chat/ChatCompletionDeletionResult.cs | 3 +- src/Custom/Chat/ChatInputAudioFormat.cs | 1 - src/Custom/Chat/ChatMessageAnnotation.cs | 3 +- src/Custom/Chat/ChatOutputAudio.cs | 3 +- src/Custom/Chat/ChatOutputAudioFormat.cs | 1 - src/Custom/Chat/ChatOutputAudioReference.cs | 3 +- src/Custom/Chat/ChatOutputAudioVoice.cs | 1 - src/Custom/Chat/ChatOutputPrediction.cs | 1 - src/Custom/Chat/ChatReasoningEffortLevel.cs | 1 - src/Custom/Chat/ChatWebSearchOptions.cs | 1 - .../Chat/Messages/DeveloperChatMessage.cs | 1 - .../StreamingChatOutputAudioUpdate.cs | 1 - src/Custom/Common/FileSearchRanker.cs | 1 - .../Embeddings/EmbeddingClient.Protocol.cs | 54 - src/Custom/Embeddings/EmbeddingClient.cs | 4 +- src/Custom/Evals/EvaluationClient.cs | 1 - src/Custom/Files/OpenAIFileClient.Protocol.cs | 202 - src/Custom/Files/OpenAIFileClient.cs | 4 +- src/Custom/FineTuning/FineTuningCheckpoint.cs | 3 +- .../FineTuning/FineTuningCheckpointMetrics.cs | 3 +- src/Custom/FineTuning/FineTuningClient.cs | 1 - src/Custom/FineTuning/FineTuningError.cs | 1 - src/Custom/FineTuning/FineTuningEvent.cs | 3 +- .../FineTuning/FineTuningHyperparameters.cs | 3 +- .../FineTuning/FineTuningIntegration.cs | 3 +- .../FineTuning/FineTuningJobEventType.cs | 3 +- src/Custom/FineTuning/FineTuningOptions.cs | 3 +- src/Custom/FineTuning/FineTuningStatus.cs | 3 +- .../FineTuning/FineTuningTrainingMethod.cs | 1 - .../HyperParametersForSupervised.cs | 3 +- .../FineTuning/HyperparametersForDPO.cs | 3 +- .../FineTuning/WeightsAndBiasesIntegration.cs | 3 +- src/Custom/Graders/Internal/GeneratorStubs.cs | 5 +- src/Custom/Images/GeneratedImageBackground.cs | 1 - src/Custom/Images/GeneratedImageFileFormat.cs | 1 - .../Images/GeneratedImageModerationLevel.cs | 1 - src/Custom/Images/ImageClient.Protocol.cs | 162 - src/Custom/Images/ImageClient.cs | 4 +- .../Images/ImageInputTokenUsageDetails.cs | 1 - src/Custom/Images/ImageTokenUsage.cs | 1 - .../Models/OpenAIModelClient.Protocol.cs | 6 - .../Moderations/ModerationClient.Protocol.cs | 46 - src/Custom/Moderations/ModerationClient.cs | 4 +- .../Realtime/ConversationContentPart.cs | 1 - .../Realtime/ConversationContentPartKind.cs | 1 - .../Realtime/ConversationFunctionTool.cs | 1 - .../Realtime/ConversationIncompleteReason.cs | 1 - .../ConversationInputTokenUsageDetails.cs | 1 - .../ConversationOutputTokenUsageDetails.cs | 1 - .../ConversationRateLimitDetailsItem.cs | 1 - .../Realtime/ConversationResponseOptions.cs | 1 - .../Realtime/ConversationSessionOptions.cs | 1 - .../Realtime/ConversationStatusDetails.cs | 1 - src/Custom/Realtime/ConversationTool.cs | 1 - src/Custom/Realtime/GeneratorStubs.cs | 18 +- .../Realtime/InputNoiseReductionOptions.cs | 3 +- .../Realtime/RealtimeClient.Protocol.cs | 3 - src/Custom/Realtime/RealtimeClient.cs | 1 - src/Custom/Realtime/RealtimeItem.cs | 1 - .../Realtime/RealtimeSession.Protocol.cs | 6 - .../Realtime/ResponseConversationSelection.cs | 1 - .../ConversationSessionConfiguredUpdate.cs | 1 - .../ConversationSessionStartedUpdate.cs | 1 - .../Streaming/InputAudioClearedUpdate.cs | 1 - .../Streaming/InputAudioCommittedUpdate.cs | 1 - .../InputAudioSpeechFinishedUpdate.cs | 1 - .../InputAudioSpeechStartedUpdate.cs | 1 - .../InputAudioTranscriptionDeltaUpdate.cs | 1 - .../InputAudioTranscriptionFailedUpdate.cs | 1 - .../InputAudioTranscriptionFinishedUpdate.cs | 1 - .../Realtime/Streaming/ItemCreatedUpdate.cs | 1 - .../Realtime/Streaming/ItemDeletedUpdate.cs | 1 - .../Realtime/Streaming/ItemRetrievedUpdate.cs | 1 - .../Realtime/Streaming/ItemTruncatedUpdate.cs | 1 - .../Streaming/OutputAudioFinishedUpdate.cs | 1 - .../OutputAudioTranscriptionFinishedUpdate.cs | 1 - .../OutputStreamingFinishedUpdate.cs | 1 - .../Streaming/OutputStreamingStartedUpdate.cs | 1 - .../Streaming/OutputTextFinishedUpdate.cs | 1 - .../Realtime/Streaming/RateLimitsUpdate.cs | 1 - .../Realtime/Streaming/RealtimeErrorUpdate.cs | 1 - .../Realtime/Streaming/RealtimeUpdate.cs | 1 - .../Streaming/ResponseFinishedUpdate.cs | 1 - .../Streaming/ResponseStartedUpdate.cs | 1 - .../TranscriptionSessionConfiguredUpdate.cs | 1 - .../Realtime/TranscriptionSessionOptions.cs | 1 - src/Custom/Realtime/TurnDetectionOptions.cs | 3 +- .../Responses/Items/ComputerCallAction.cs | 1 - .../Items/ComputerCallOutputResponseItem.cs | 3 +- .../Items/ComputerCallResponseItem.cs | 1 - .../Items/ComputerCallSafetyCheck.cs | 3 +- src/Custom/Responses/Items/ComputerOutput.cs | 3 +- .../Items/FileSearchCallResponseItem.cs | 3 +- .../Responses/Items/FileSearchCallResult.cs | 5 +- .../Items/FunctionCallOutputResponseItem.cs | 3 +- .../Items/FunctionCallResponseItem.cs | 1 - .../Responses/Items/MessageResponseItem.cs | 1 - .../Responses/Items/ReasoningResponseItem.cs | 3 +- .../Responses/Items/ReasoningSummaryPart.cs | 3 +- .../Items/ReasoningSummaryTextPart.cs | 3 +- .../Responses/Items/ReferenceResponseItem.cs | 3 +- src/Custom/Responses/Items/ResponseItem.cs | 1 - .../Items/WebSearchCallResponseItem.cs | 3 +- src/Custom/Responses/OpenAIResponse.cs | 1 - .../OpenAIResponseClient.Protocol.cs | 46 - src/Custom/Responses/OpenAIResponseClient.cs | 1 - src/Custom/Responses/ResponseContentPart.cs | 1 - .../Responses/ResponseCreationOptions.cs | 1 - .../Responses/ResponseDeletionResult.cs | 1 - src/Custom/Responses/ResponseError.cs | 3 +- src/Custom/Responses/ResponseErrorCode.cs | 3 +- .../Responses/ResponseImageDetailLevel.cs | 3 +- .../ResponseIncompleteStatusDetails.cs | 3 +- .../ResponseIncompleteStatusReason.cs | 3 +- .../ResponseInputTokenUsageDetails.cs | 1 - .../Responses/ResponseMessageAnnotation.cs | 1 - .../ResponseOutputTokenUsageDetails.cs | 1 - .../Responses/ResponseReasoningEffortLevel.cs | 3 +- .../Responses/ResponseReasoningOptions.cs | 1 - .../ResponseReasoningSummaryVerbosity.cs | 3 +- src/Custom/Responses/ResponseTextFormat.cs | 3 +- src/Custom/Responses/ResponseTextOptions.cs | 3 +- src/Custom/Responses/ResponseTokenUsage.cs | 1 - .../Responses/ResponseTruncationMode.cs | 1 - .../StreamingResponseCompletedUpdate.cs | 1 - ...StreamingResponseContentPartAddedUpdate.cs | 1 - .../StreamingResponseContentPartDoneUpdate.cs | 1 - .../StreamingResponseCreatedUpdate.cs | 1 - .../Streaming/StreamingResponseErrorUpdate.cs | 1 - .../StreamingResponseFailedUpdate.cs | 1 - ...ngResponseFileSearchCallCompletedUpdate.cs | 1 - ...gResponseFileSearchCallInProgressUpdate.cs | 1 - ...ngResponseFileSearchCallSearchingUpdate.cs | 1 - ...esponseFunctionCallArgumentsDeltaUpdate.cs | 1 - ...ResponseFunctionCallArgumentsDoneUpdate.cs | 1 - .../StreamingResponseInProgressUpdate.cs | 1 - .../StreamingResponseIncompleteUpdate.cs | 1 - .../StreamingResponseOutputItemAddedUpdate.cs | 1 - .../StreamingResponseOutputItemDoneUpdate.cs | 1 - .../StreamingResponseOutputTextDeltaUpdate.cs | 1 - .../StreamingResponseOutputTextDoneUpdate.cs | 1 - .../StreamingResponseQueuedUpdate.cs | 1 - .../StreamingResponseRefusalDeltaUpdate.cs | 1 - .../StreamingResponseRefusalDoneUpdate.cs | 1 - ...eamingResponseTextAnnotationAddedUpdate.cs | 2 - .../Streaming/StreamingResponseUpdate.cs | 1 - ...ingResponseWebSearchCallCompletedUpdate.cs | 1 - ...ngResponseWebSearchCallInProgressUpdate.cs | 1 - ...ingResponseWebSearchCallSearchingUpdate.cs | 1 - .../Tools/ComputerToolEnvironment.cs | 1 - .../Responses/Tools/FileSearchToolRanker.cs | 3 +- .../Tools/FileSearchToolRankingOptions.cs | 3 +- src/Custom/Responses/Tools/ResponseTool.cs | 1 - .../Responses/Tools/WebSearchContextSize.cs | 1 - .../Responses/Tools/WebSearchUserLocation.cs | 3 +- .../AddFileToVectorStoreOperation.Protocol.cs | 6 +- .../CreateBatchFileJobOperation.Protocol.cs | 8 +- .../CreateVectorStoreOperation.Protocol.cs | 2 - .../VectorStores/FileChunkingStrategy.cs | 1 - .../FileFromStoreRemovalResult.cs | 3 +- .../StaticFileChunkingStrategy.cs | 1 - src/Custom/VectorStores/VectorStore.cs | 1 - .../VectorStores/VectorStoreBatchFileJob.cs | 1 - .../VectorStoreBatchFileJobStatus.cs | 1 - .../VectorStoreClient.Protocol.cs | 218 +- src/Custom/VectorStores/VectorStoreClient.cs | 17 +- .../VectorStoreCollectionOrder.cs | 3 +- .../VectorStoreCreationOptions.cs | 1 - .../VectorStores/VectorStoreDeletionResult.cs | 3 +- .../VectorStoreExpirationPolicy.cs | 1 - .../VectorStoreFileAssociation.cs | 1 - .../VectorStoreFileAssociationError.cs | 1 - .../VectorStoreFileAssociationErrorCode.cs | 1 - .../VectorStores/VectorStoreFileCounts.cs | 1 - .../VectorStoreFileStatusFilter.cs | 1 - .../VectorStoreModificationOptions.cs | 1 - src/Generated/AssistantClient.cs | 71 + src/Generated/AudioClient.RestClient.cs | 6 +- src/Generated/AudioClient.cs | 51 + src/Generated/BatchClient.RestClient.cs | 75 + src/Generated/BatchClient.cs | 21 + src/Generated/ChatClient.RestClient.cs | 2 +- src/Generated/ChatClient.cs | 19 + src/Generated/EmbeddingClient.RestClient.cs | 2 +- src/Generated/EmbeddingClient.cs | 19 + src/Generated/EvaluationClient.cs | 2 + src/Generated/FineTuningClient.cs | 2 + src/Generated/ImageClient.RestClient.cs | 6 +- src/Generated/ImageClient.cs | 51 + .../Assistant.Serialization.cs | 5 - .../Models/{ => Assistants}/Assistant.cs | 2 + .../AssistantCreationOptions.Serialization.cs | 5 - .../AssistantCreationOptions.cs | 2 + .../AssistantDeletionResult.Serialization.cs | 5 - .../AssistantDeletionResult.cs | 2 + ...istantModificationOptions.Serialization.cs | 5 - .../AssistantModificationOptions.cs | 2 + .../AssistantResponseFormat.Serialization.cs | 5 - .../AssistantResponseFormat.cs | 2 + .../AssistantThread.Serialization.cs | 5 - .../{ => Assistants}/AssistantThread.cs | 2 + ...InterpreterToolDefinition.Serialization.cs | 5 - .../CodeInterpreterToolDefinition.cs | 2 + ...eInterpreterToolResources.Serialization.cs | 5 - .../CodeInterpreterToolResources.cs | 2 + .../{ => Assistants}/FileSearchRanker.cs | 2 + .../FileSearchRankingOptions.Serialization.cs | 5 - .../FileSearchRankingOptions.cs | 2 + .../FileSearchToolDefinition.Serialization.cs | 5 - .../FileSearchToolDefinition.cs | 2 + .../FileSearchToolResources.Serialization.cs | 5 - .../FileSearchToolResources.cs | 2 + .../FunctionToolDefinition.Serialization.cs | 5 - .../FunctionToolDefinition.cs | 2 + .../InternalAssistantSupportedModels.cs | 0 .../InternalAssistantToolDefinitionType.cs | 0 ...ToolsFileSearchFileSearch.Serialization.cs | 5 - ...ernalAssistantToolsFileSearchFileSearch.cs | 0 ...ntToolsFileSearchTypeOnly.Serialization.cs | 5 - ...nternalAssistantToolsFileSearchTypeOnly.cs | 0 ...tsNamedToolChoiceFunction.Serialization.cs | 5 - ...ternalAssistantsNamedToolChoiceFunction.cs | 0 .../InternalAssistantsNamedToolChoiceType.cs | 0 ...stantRequestToolResources.Serialization.cs | 5 - ...rnalCreateAssistantRequestToolResources.cs | 0 ...lResourcesCodeInterpreter.Serialization.cs | 5 - ...tantRequestToolResourcesCodeInterpreter.cs | 0 ...CreateThreadAndRunRequest.Serialization.cs | 5 - .../InternalCreateThreadAndRunRequest.cs | 0 .../InternalCreateThreadAndRunRequestModel.cs | 0 ...rnalCreateThreadAndRunRequestToolChoice.cs | 0 ...ndRunRequestToolResources.Serialization.cs | 5 - ...lCreateThreadAndRunRequestToolResources.cs | 0 ...lResourcesCodeInterpreter.Serialization.cs | 5 - ...dRunRequestToolResourcesCodeInterpreter.cs | 0 ...hreadRequestToolResources.Serialization.cs | 5 - ...nternalCreateThreadRequestToolResources.cs | 0 ...lResourcesCodeInterpreter.Serialization.cs | 5 - ...readRequestToolResourcesCodeInterpreter.cs | 0 ...olResourcesFileSearchBase.Serialization.cs | 5 - ...hreadRequestToolResourcesFileSearchBase.cs | 0 ...tResponseFormatJsonObject.Serialization.cs | 5 - ...DotNetAssistantResponseFormatJsonObject.cs | 0 ...tResponseFormatJsonSchema.Serialization.cs | 5 - ...DotNetAssistantResponseFormatJsonSchema.cs | 0 ...ormatJsonSchemaJsonSchema.Serialization.cs | 5 - ...stantResponseFormatJsonSchemaJsonSchema.cs | 0 ...sistantResponseFormatText.Serialization.cs | 5 - ...ternalDotNetAssistantResponseFormatText.cs | 0 .../InternalIncludedRunStepProperty.cs | 0 ...nalListAssistantsResponse.Serialization.cs | 5 - .../InternalListAssistantsResponse.cs | 0 ...ernalListMessagesResponse.Serialization.cs | 5 - .../InternalListMessagesResponse.cs | 0 ...ernalListRunStepsResponse.Serialization.cs | 5 - .../InternalListRunStepsResponse.cs | 0 .../InternalListRunsResponse.Serialization.cs | 5 - .../InternalListRunsResponse.cs | 0 ...ageContentImageFileObject.Serialization.cs | 5 - .../InternalMessageContentImageFileObject.cs | 0 ...geContentImageFileObjectImageFileDetail.cs | 0 ...sageContentImageUrlObject.Serialization.cs | 5 - .../InternalMessageContentImageUrlObject.cs | 0 ...entImageUrlObjectImageUrl.Serialization.cs | 5 - ...nalMessageContentImageUrlObjectImageUrl.cs | 0 ...sageContentImageUrlObjectImageUrlDetail.cs | 0 ...ntItemFileObjectImageFile.Serialization.cs | 5 - ...alMessageContentItemFileObjectImageFile.cs | 0 ...ssageContentRefusalObject.Serialization.cs | 5 - .../InternalMessageContentRefusalObject.cs | 0 ...nternalMessageContentTextAnnotationType.cs | 0 ...tationsFileCitationObject.Serialization.cs | 5 - ...ontentTextAnnotationsFileCitationObject.cs | 0 ...itationObjectFileCitation.Serialization.cs | 5 - ...notationsFileCitationObjectFileCitation.cs | 0 ...AnnotationsFilePathObject.Serialization.cs | 5 - ...ageContentTextAnnotationsFilePathObject.cs | 0 ...onsFilePathObjectFilePath.Serialization.cs | 5 - ...ntTextAnnotationsFilePathObjectFilePath.cs | 0 ...lMessageContentTextObject.Serialization.cs | 4 - .../InternalMessageContentTextObject.cs | 0 ...ntentTextObjectAnnotation.Serialization.cs | 5 - ...ernalMessageContentTextObjectAnnotation.cs | 0 ...ageContentTextObjectText1.Serialization.cs | 5 - .../InternalMessageContentTextObjectText1.cs | 0 .../InternalMessageContentType.cs | 0 ...ternalMessageDeltaContent.Serialization.cs | 5 - .../InternalMessageDeltaContent.cs | 0 ...ltaContentImageFileObject.Serialization.cs | 5 - ...ernalMessageDeltaContentImageFileObject.cs | 0 ...tImageFileObjectImageFile.Serialization.cs | 5 - ...ageDeltaContentImageFileObjectImageFile.cs | 0 ...taContentImageFileObjectImageFileDetail.cs | 0 ...eltaContentImageUrlObject.Serialization.cs | 5 - ...ternalMessageDeltaContentImageUrlObject.cs | 0 ...entImageUrlObjectImageUrl.Serialization.cs | 5 - ...ssageDeltaContentImageUrlObjectImageUrl.cs | 0 ...eltaContentImageUrlObjectImageUrlDetail.cs | 0 ...DeltaContentRefusalObject.Serialization.cs | 5 - ...nternalMessageDeltaContentRefusalObject.cs | 0 ...tationsFileCitationObject.Serialization.cs | 5 - ...ontentTextAnnotationsFileCitationObject.cs | 0 ...itationObjectFileCitation.Serialization.cs | 5 - ...notationsFileCitationObjectFileCitation.cs | 0 ...AnnotationsFilePathObject.Serialization.cs | 5 - ...ltaContentTextAnnotationsFilePathObject.cs | 0 ...onsFilePathObjectFilePath.Serialization.cs | 5 - ...ntTextAnnotationsFilePathObjectFilePath.cs | 0 ...ageDeltaContentTextObject.Serialization.cs | 5 - .../InternalMessageDeltaContentTextObject.cs | 0 ...eltaContentTextObjectText.Serialization.cs | 5 - ...ternalMessageDeltaContentTextObjectText.cs | 0 ...nternalMessageDeltaObject.Serialization.cs | 5 - .../InternalMessageDeltaObject.cs | 0 ...alMessageDeltaObjectDelta.Serialization.cs | 5 - .../InternalMessageDeltaObjectDelta.cs | 0 .../InternalMessageDeltaObjectDeltaRole.cs | 0 ...eltaTextContentAnnotation.Serialization.cs | 5 - ...ternalMessageDeltaTextContentAnnotation.cs | 0 ...alMessageObjectAttachment.Serialization.cs | 5 - .../InternalMessageObjectAttachment.cs | 0 .../InternalMessageObjectRole.cs | 0 ...stantRequestToolResources.Serialization.cs | 5 - ...rnalModifyAssistantRequestToolResources.cs | 0 ...lResourcesCodeInterpreter.Serialization.cs | 5 - ...tantRequestToolResourcesCodeInterpreter.cs | 0 ...hreadRequestToolResources.Serialization.cs | 5 - ...nternalModifyThreadRequestToolResources.cs | 0 ...lResourcesCodeInterpreter.Serialization.cs | 5 - ...readRequestToolResourcesCodeInterpreter.cs | 0 ...lRequiredFunctionToolCall.Serialization.cs | 5 - .../InternalRequiredFunctionToolCall.cs | 0 ...edActionSubmitToolOutputs.Serialization.cs | 5 - ...unObjectRequiredActionSubmitToolOutputs.cs | 0 ...InternalRunRequiredAction.Serialization.cs | 5 - .../InternalRunRequiredAction.cs | 0 ...pCodeInterpreterLogOutput.Serialization.cs | 5 - ...InternalRunStepCodeInterpreterLogOutput.cs | 0 .../InternalRunStepDelta.Serialization.cs | 5 - .../{ => Assistants}/InternalRunStepDelta.cs | 0 ...alRunStepDeltaObjectDelta.Serialization.cs | 5 - .../InternalRunStepDeltaObjectDelta.cs | 0 ...alRunStepDeltaStepDetails.Serialization.cs | 5 - .../InternalRunStepDeltaStepDetails.cs | 0 ...ailsMessageCreationObject.Serialization.cs | 5 - ...epDeltaStepDetailsMessageCreationObject.cs | 0 ...tionObjectMessageCreation.Serialization.cs | 5 - ...ilsMessageCreationObjectMessageCreation.cs | 0 ...etailsToolCallsCodeObject.Serialization.cs | 5 - ...StepDeltaStepDetailsToolCallsCodeObject.cs | 0 ...CodeObjectCodeInterpreter.Serialization.cs | 5 - ...tailsToolCallsCodeObjectCodeInterpreter.cs | 0 ...allsCodeOutputImageObject.Serialization.cs | 5 - ...epDetailsToolCallsCodeOutputImageObject.cs | 0 ...odeOutputImageObjectImage.Serialization.cs | 5 - ...ailsToolCallsCodeOutputImageObjectImage.cs | 0 ...CallsCodeOutputLogsObject.Serialization.cs | 5 - ...tepDetailsToolCallsCodeOutputLogsObject.cs | 0 ...ToolCallsFileSearchObject.Serialization.cs | 5 - ...ltaStepDetailsToolCallsFileSearchObject.cs | 0 ...ileSearchObjectFileSearch.Serialization.cs | 5 - ...ailsToolCallsFileSearchObjectFileSearch.cs | 0 ...lsToolCallsFunctionObject.Serialization.cs | 5 - ...DeltaStepDetailsToolCallsFunctionObject.cs | 0 ...llsFunctionObjectFunction.Serialization.cs | 5 - ...pDetailsToolCallsFunctionObjectFunction.cs | 0 ...tepDetailsToolCallsObject.Serialization.cs | 5 - ...lRunStepDeltaStepDetailsToolCallsObject.cs | 0 ...allsObjectToolCallsObject.Serialization.cs | 5 - ...epDetailsToolCallsObjectToolCallsObject.cs | 0 ...RunStepDetailsCodeInterpreterOutputType.cs | 0 ...ailsMessageCreationObject.Serialization.cs | 5 - ...rnalRunStepDetailsMessageCreationObject.cs | 0 ...tionObjectMessageCreation.Serialization.cs | 5 - ...ilsMessageCreationObjectMessageCreation.cs | 0 ...etailsToolCallsCodeObject.Serialization.cs | 5 - ...ternalRunStepDetailsToolCallsCodeObject.cs | 0 ...CodeObjectCodeInterpreter.Serialization.cs | 5 - ...tailsToolCallsCodeObjectCodeInterpreter.cs | 0 ...allsCodeOutputImageObject.Serialization.cs | 5 - ...epDetailsToolCallsCodeOutputImageObject.cs | 0 ...odeOutputImageObjectImage.Serialization.cs | 5 - ...ailsToolCallsCodeOutputImageObjectImage.cs | 0 ...ToolCallsFileSearchObject.Serialization.cs | 5 - ...RunStepDetailsToolCallsFileSearchObject.cs | 0 ...ileSearchObjectFileSearch.Serialization.cs | 5 - ...ailsToolCallsFileSearchObjectFileSearch.cs | 0 ...earchRankingOptionsObject.Serialization.cs | 5 - ...ToolCallsFileSearchRankingOptionsObject.cs | 0 ...lsToolCallsFunctionObject.Serialization.cs | 5 - ...alRunStepDetailsToolCallsFunctionObject.cs | 0 ...llsFunctionObjectFunction.Serialization.cs | 5 - ...pDetailsToolCallsFunctionObjectFunction.cs | 0 ...tepDetailsToolCallsObject.Serialization.cs | 5 - .../InternalRunStepDetailsToolCallsObject.cs | 0 .../InternalRunStepDetailsType.cs | 0 ...RunToolCallObjectFunction.Serialization.cs | 5 - .../InternalRunToolCallObjectFunction.cs | 0 ...bmitToolOutputsRunRequest.Serialization.cs | 5 - .../InternalSubmitToolOutputsRunRequest.cs | 0 ...ThreadObjectToolResources.Serialization.cs | 5 - .../InternalThreadObjectToolResources.cs | 0 ...lResourcesCodeInterpreter.Serialization.cs | 5 - ...hreadObjectToolResourcesCodeInterpreter.cs | 0 ...ctToolResourcesFileSearch.Serialization.cs | 5 - ...rnalThreadObjectToolResourcesFileSearch.cs | 0 ...esourcesFileSearchIdsOnly.Serialization.cs | 5 - .../InternalToolResourcesFileSearchIdsOnly.cs | 0 .../InternalTruncationObjectType.cs | 0 ...etAssistantResponseFormat.Serialization.cs | 5 - ...nalUnknownDotNetAssistantResponseFormat.cs | 0 ...rnalUnknownMessageContent.Serialization.cs | 5 - .../InternalUnknownMessageContent.cs | 0 .../MessageContent.Serialization.cs | 5 - .../Models/{ => Assistants}/MessageContent.cs | 2 + ...MessageCreationAttachment.Serialization.cs | 5 - .../MessageCreationAttachment.cs | 2 + .../MessageCreationOptions.Serialization.cs | 5 - .../MessageCreationOptions.cs | 2 + .../MessageDeletionResult.Serialization.cs | 5 - .../{ => Assistants}/MessageDeletionResult.cs | 2 + .../MessageFailureDetails.Serialization.cs | 5 - .../{ => Assistants}/MessageFailureDetails.cs | 2 + .../{ => Assistants}/MessageFailureReason.cs | 2 + ...essageModificationOptions.Serialization.cs | 5 - .../MessageModificationOptions.cs | 2 + .../MessageRole.Serialization.cs | 0 .../Models/{ => Assistants}/MessageStatus.cs | 2 + .../RunCreationOptions.Serialization.cs | 5 - .../{ => Assistants}/RunCreationOptions.cs | 2 + .../RunError.Serialization.cs | 5 - .../Models/{ => Assistants}/RunError.cs | 2 + .../Models/{ => Assistants}/RunErrorCode.cs | 2 + .../RunIncompleteDetails.Serialization.cs | 5 - .../{ => Assistants}/RunIncompleteDetails.cs | 2 + .../{ => Assistants}/RunIncompleteReason.cs | 2 + .../RunModificationOptions.Serialization.cs | 5 - .../RunModificationOptions.cs | 2 + .../Models/{ => Assistants}/RunStatus.cs | 2 + .../{ => Assistants}/RunStep.Serialization.cs | 5 - .../Models/{ => Assistants}/RunStep.cs | 2 + ...StepCodeInterpreterOutput.Serialization.cs | 5 - .../RunStepCodeInterpreterOutput.cs | 2 + .../RunStepDetails.Serialization.cs | 5 - .../Models/{ => Assistants}/RunStepDetails.cs | 2 + .../RunStepError.Serialization.cs | 5 - .../Models/{ => Assistants}/RunStepError.cs | 2 + .../{ => Assistants}/RunStepErrorCode.cs | 2 + .../RunStepFileSearchResult.Serialization.cs | 5 - .../RunStepFileSearchResult.cs | 2 + ...epFileSearchResultContent.Serialization.cs | 5 - .../RunStepFileSearchResultContent.cs | 2 + ...leSearchResultContentKind.Serialization.cs | 0 .../RunStepKind.Serialization.cs | 0 .../Models/{ => Assistants}/RunStepStatus.cs | 2 + .../RunStepTokenUsage.Serialization.cs | 5 - .../{ => Assistants}/RunStepTokenUsage.cs | 2 + .../RunStepToolCall.Serialization.cs | 5 - .../{ => Assistants}/RunStepToolCall.cs | 2 + .../RunStepToolCallKind.Serialization.cs | 0 ...dateCodeInterpreterOutput.Serialization.cs | 5 - .../RunStepUpdateCodeInterpreterOutput.cs | 2 + .../RunTokenUsage.Serialization.cs | 5 - .../Models/{ => Assistants}/RunTokenUsage.cs | 2 + .../RunTruncationStrategy.Serialization.cs | 5 - .../{ => Assistants}/RunTruncationStrategy.cs | 2 + .../ThreadCreationOptions.Serialization.cs | 5 - .../{ => Assistants}/ThreadCreationOptions.cs | 2 + .../ThreadDeletionResult.Serialization.cs | 5 - .../{ => Assistants}/ThreadDeletionResult.cs | 2 + .../ThreadMessage.Serialization.cs | 5 - .../Models/{ => Assistants}/ThreadMessage.cs | 2 + ...ThreadModificationOptions.Serialization.cs | 5 - .../ThreadModificationOptions.cs | 2 + .../ThreadRun.Serialization.cs | 5 - .../Models/{ => Assistants}/ThreadRun.cs | 2 + .../ToolConstraint.Serialization.cs | 5 - .../Models/{ => Assistants}/ToolConstraint.cs | 2 + .../ToolDefinition.Serialization.cs | 5 - .../Models/{ => Assistants}/ToolDefinition.cs | 2 + .../ToolOutput.Serialization.cs | 5 - .../Models/{ => Assistants}/ToolOutput.cs | 2 + .../ToolResources.Serialization.cs | 5 - .../Models/{ => Assistants}/ToolResources.cs | 2 + ...wnAssistantToolDefinition.Serialization.cs | 5 - .../UnknownAssistantToolDefinition.cs | 0 ...ntentTextObjectAnnotation.Serialization.cs | 5 - ...knownMessageContentTextObjectAnnotation.cs | 0 ...nknownMessageDeltaContent.Serialization.cs | 5 - .../UnknownMessageDeltaContent.cs | 0 ...eltaTextContentAnnotation.Serialization.cs | 5 - ...nknownMessageDeltaTextContentAnnotation.cs | 0 ...wnRunStepDeltaStepDetails.Serialization.cs | 5 - .../UnknownRunStepDeltaStepDetails.cs | 0 ...eInterpreterOutputsObject.Serialization.cs | 5 - ...sCodeObjectCodeInterpreterOutputsObject.cs | 0 ...allsObjectToolCallsObject.Serialization.cs | 5 - ...epDetailsToolCallsObjectToolCallsObject.cs | 0 ...eInterpreterOutputsObject.Serialization.cs | 5 - ...sCodeObjectCodeInterpreterOutputsObject.cs | 0 ...allsObjectToolCallsObject.Serialization.cs | 5 - ...epDetailsToolCallsObjectToolCallsObject.cs | 0 ...nRunStepObjectStepDetails.Serialization.cs | 5 - .../UnknownRunStepObjectStepDetails.cs | 0 ...VectorStoreCreationHelper.Serialization.cs | 5 - .../VectorStoreCreationHelper.cs | 2 + ...okenLogProbabilityDetails.Serialization.cs | 5 - .../AudioTokenLogProbabilityDetails.cs | 2 + .../AudioTranscription.Serialization.cs | 0 .../Models/{ => Audio}/AudioTranscription.cs | 0 .../{ => Audio}/AudioTranscriptionFormat.cs | 0 ...AudioTranscriptionOptions.Serialization.cs | 0 .../{ => Audio}/AudioTranscriptionOptions.cs | 0 .../AudioTranslation.Serialization.cs | 0 .../Models/{ => Audio}/AudioTranslation.cs | 0 .../{ => Audio}/AudioTranslationFormat.cs | 0 .../AudioTranslationOptions.Serialization.cs | 0 .../{ => Audio}/AudioTranslationOptions.cs | 0 .../{ => Audio}/GeneratedSpeechFormat.cs | 0 .../{ => Audio}/GeneratedSpeechVoice.cs | 0 .../InternalCreateSpeechRequestModel.cs | 0 ...nternalCreateTranscriptionRequestAccept.cs | 0 ...InternalCreateTranscriptionRequestModel.cs | 0 ...nscriptionRequestTimestampGranularities.cs | 0 ...TranscriptionResponseJson.Serialization.cs | 5 - ...InternalCreateTranscriptionResponseJson.cs | 0 ...iptionResponseJsonLogprob.Serialization.cs | 5 - ...lCreateTranscriptionResponseJsonLogprob.cs | 0 ...iptionResponseVerboseJson.Serialization.cs | 5 - ...lCreateTranscriptionResponseVerboseJson.cs | 0 .../InternalCreateTranslationRequestModel.cs | 0 ...teTranslationResponseJson.Serialization.cs | 5 - .../InternalCreateTranslationResponseJson.cs | 0 .../InternalTranscriptionInclude.cs | 0 ...iptionResponseStreamEvent.Serialization.cs | 5 - ...nCreateTranscriptionResponseStreamEvent.cs | 0 .../SpeechGenerationOptions.Serialization.cs | 0 .../{ => Audio}/SpeechGenerationOptions.cs | 0 ...nscriptionTextDeltaUpdate.Serialization.cs | 5 - ...eamingAudioTranscriptionTextDeltaUpdate.cs | 2 + ...anscriptionTextDoneUpdate.Serialization.cs | 5 - ...reamingAudioTranscriptionTextDoneUpdate.cs | 2 + ...gAudioTranscriptionUpdate.Serialization.cs | 5 - .../StreamingAudioTranscriptionUpdate.cs | 2 + .../StreamingAudioTranscriptionUpdateKind.cs | 2 + .../TranscribedSegment.Serialization.cs | 5 - .../Models/{ => Audio}/TranscribedSegment.cs | 0 .../TranscribedWord.Serialization.cs | 5 - .../Models/{ => Audio}/TranscribedWord.cs | 0 .../InternalBatchError.Serialization.cs | 5 - .../Models/{ => Batch}/InternalBatchError.cs | 0 .../InternalBatchErrors.Serialization.cs | 5 - .../Models/{ => Batch}/InternalBatchErrors.cs | 0 .../InternalBatchJob.Serialization.cs | 5 - .../Models/{ => Batch}/InternalBatchJob.cs | 0 ...nternalBatchRequestCounts.Serialization.cs | 5 - .../{ => Batch}/InternalBatchRequestCounts.cs | 0 ...InternalBatchRequestInput.Serialization.cs | 5 - .../{ => Batch}/InternalBatchRequestInput.cs | 0 ...nternalBatchRequestOutput.Serialization.cs | 5 - .../{ => Batch}/InternalBatchRequestOutput.cs | 0 ...alBatchRequestOutputError.Serialization.cs | 5 - .../InternalBatchRequestOutputError.cs | 0 ...atchRequestOutputResponse.Serialization.cs | 5 - .../InternalBatchRequestOutputResponse.cs | 0 .../Models/{ => Batch}/InternalBatchStatus.cs | 0 ...nternalCreateBatchRequest.Serialization.cs | 5 - .../{ => Batch}/InternalCreateBatchRequest.cs | 0 .../InternalCreateBatchRequestEndpoint.cs | 0 ...ternalListBatchesResponse.Serialization.cs | 5 - .../InternalListBatchesResponse.cs | 0 .../AssistantChatMessage.Serialization.cs | 0 .../Models/{ => Chat}/AssistantChatMessage.cs | 0 .../ChatAudioOptions.Serialization.cs | 5 - .../Models/{ => Chat}/ChatAudioOptions.cs | 2 + .../ChatCompletion.Serialization.cs | 0 .../Models/{ => Chat}/ChatCompletion.cs | 0 ...tCompletionDeletionResult.Serialization.cs | 5 - .../ChatCompletionDeletionResult.cs | 2 + .../ChatCompletionOptions.Serialization.cs | 0 .../{ => Chat}/ChatCompletionOptions.cs | 0 .../ChatFinishReason.Serialization.cs | 0 .../{ => Chat}/ChatFunction.Serialization.cs | 0 .../Models/{ => Chat}/ChatFunction.cs | 0 .../ChatFunctionCall.Serialization.cs | 0 .../Models/{ => Chat}/ChatFunctionCall.cs | 0 .../ChatFunctionChoice.Serialization.cs | 0 .../Models/{ => Chat}/ChatFunctionChoice.cs | 0 .../Models/{ => Chat}/ChatImageDetailLevel.cs | 0 .../Models/{ => Chat}/ChatInputAudioFormat.cs | 2 + ...hatInputTokenUsageDetails.Serialization.cs | 0 .../{ => Chat}/ChatInputTokenUsageDetails.cs | 0 .../{ => Chat}/ChatMessage.Serialization.cs | 0 .../Models/{ => Chat}/ChatMessage.cs | 0 .../ChatMessageAnnotation.Serialization.cs | 5 - .../{ => Chat}/ChatMessageAnnotation.cs | 2 + .../ChatMessageContentPart.Serialization.cs | 0 .../{ => Chat}/ChatMessageContentPart.cs | 0 ...hatMessageContentPartKind.Serialization.cs | 0 .../ChatMessageRole.Serialization.cs | 0 .../ChatOutputAudio.Serialization.cs | 5 - .../Models/{ => Chat}/ChatOutputAudio.cs | 2 + .../{ => Chat}/ChatOutputAudioFormat.cs | 2 + .../ChatOutputAudioReference.Serialization.cs | 5 - .../{ => Chat}/ChatOutputAudioReference.cs | 2 + .../Models/{ => Chat}/ChatOutputAudioVoice.cs | 2 + .../ChatOutputPrediction.Serialization.cs | 5 - .../Models/{ => Chat}/ChatOutputPrediction.cs | 2 + ...atOutputTokenUsageDetails.Serialization.cs | 0 .../{ => Chat}/ChatOutputTokenUsageDetails.cs | 0 .../{ => Chat}/ChatReasoningEffortLevel.cs | 2 + .../ChatResponseFormat.Serialization.cs | 0 .../Models/{ => Chat}/ChatResponseFormat.cs | 0 ...okenLogProbabilityDetails.Serialization.cs | 0 .../ChatTokenLogProbabilityDetails.cs | 0 ...nTopLogProbabilityDetails.Serialization.cs | 0 .../ChatTokenTopLogProbabilityDetails.cs | 0 .../ChatTokenUsage.Serialization.cs | 0 .../Models/{ => Chat}/ChatTokenUsage.cs | 0 .../{ => Chat}/ChatTool.Serialization.cs | 0 src/Generated/Models/{ => Chat}/ChatTool.cs | 0 .../{ => Chat}/ChatToolCall.Serialization.cs | 0 .../Models/{ => Chat}/ChatToolCall.cs | 0 .../ChatToolCallKind.Serialization.cs | 0 .../ChatToolChoice.Serialization.cs | 0 .../Models/{ => Chat}/ChatToolChoice.cs | 0 .../{ => Chat}/ChatToolKind.Serialization.cs | 0 .../ChatWebSearchOptions.Serialization.cs | 5 - .../Models/{ => Chat}/ChatWebSearchOptions.cs | 2 + .../DeveloperChatMessage.Serialization.cs | 5 - .../Models/{ => Chat}/DeveloperChatMessage.cs | 2 + .../FunctionChatMessage.Serialization.cs | 0 .../Models/{ => Chat}/FunctionChatMessage.cs | 0 ...pletionFunctionCallOption.Serialization.cs | 5 - ...nternalChatCompletionFunctionCallOption.cs | 0 ...nternalChatCompletionList.Serialization.cs | 5 - .../{ => Chat}/InternalChatCompletionList.cs | 0 ...ChatCompletionMessageList.Serialization.cs | 5 - .../InternalChatCompletionMessageList.cs | 0 ...ompletionMessageListDatum.Serialization.cs | 5 - .../InternalChatCompletionMessageListDatum.cs | 0 ...sageToolCallChunkFunction.Serialization.cs | 5 - ...tCompletionMessageToolCallChunkFunction.cs | 0 ...onMessageToolCallFunction.Serialization.cs | 5 - ...alChatCompletionMessageToolCallFunction.cs | 0 ...CompletionNamedToolChoice.Serialization.cs | 5 - .../InternalChatCompletionNamedToolChoice.cs | 0 ...onNamedToolChoiceFunction.Serialization.cs | 5 - ...alChatCompletionNamedToolChoiceFunction.cs | 0 ...stMessageContentPartAudio.Serialization.cs | 5 - ...ompletionRequestMessageContentPartAudio.cs | 0 ...ontentPartAudioInputAudio.Serialization.cs | 5 - ...equestMessageContentPartAudioInputAudio.cs | 0 ...estMessageContentPartFile.Serialization.cs | 5 - ...CompletionRequestMessageContentPartFile.cs | 0 ...essageContentPartFileFile.Serialization.cs | 5 - ...letionRequestMessageContentPartFileFile.cs | 0 ...stMessageContentPartImage.Serialization.cs | 5 - ...ompletionRequestMessageContentPartImage.cs | 0 ...eContentPartImageImageUrl.Serialization.cs | 5 - ...nRequestMessageContentPartImageImageUrl.cs | 0 ...MessageContentPartRefusal.Serialization.cs | 5 - ...pletionRequestMessageContentPartRefusal.cs | 0 ...estMessageContentPartText.Serialization.cs | 5 - ...CompletionRequestMessageContentPartText.cs | 0 ...CompletionResponseMessage.Serialization.cs | 5 - .../InternalChatCompletionResponseMessage.cs | 0 ...sageAnnotationUrlCitation.Serialization.cs | 5 - ...ionResponseMessageAnnotationUrlCitation.cs | 0 ...sponseMessageFunctionCall.Serialization.cs | 5 - ...atCompletionResponseMessageFunctionCall.cs | 0 ...atCompletionStreamOptions.Serialization.cs | 5 - .../InternalChatCompletionStreamOptions.cs | 0 ...letionStreamResponseDelta.Serialization.cs | 5 - ...ternalChatCompletionStreamResponseDelta.cs | 0 ...atOutputPredictionContent.Serialization.cs | 5 - .../InternalChatOutputPredictionContent.cs | 0 .../InternalChatOutputPredictionKind.cs | 0 ...rnalCreateChatCompletionRequestModality.cs | 0 ...alCreateChatCompletionRequestToolChoice.cs | 0 ...earchOptionsUserLocation1.Serialization.cs | 5 - ...ionRequestWebSearchOptionsUserLocation1.cs | 0 ...tCompletionResponseChoice.Serialization.cs | 5 - ...ernalCreateChatCompletionResponseChoice.cs | 0 ...ionResponseChoiceLogprobs.Serialization.cs | 5 - ...ateChatCompletionResponseChoiceLogprobs.cs | 0 ...etionStreamResponseChoice.Serialization.cs | 5 - ...reateChatCompletionStreamResponseChoice.cs | 0 ...pletionStreamResponseChoiceFinishReason.cs | 0 ...eamResponseChoiceLogprobs.Serialization.cs | 5 - ...tCompletionStreamResponseChoiceLogprobs.cs | 0 ...tResponseFormatJsonObject.Serialization.cs | 5 - ...ernalDotNetChatResponseFormatJsonObject.cs | 0 ...tResponseFormatJsonSchema.Serialization.cs | 5 - ...ernalDotNetChatResponseFormatJsonSchema.cs | 0 ...ormatJsonSchemaJsonSchema.Serialization.cs | 5 - ...tChatResponseFormatJsonSchemaJsonSchema.cs | 0 ...NetChatResponseFormatText.Serialization.cs | 5 - .../InternalDotNetChatResponseFormatText.cs | 0 ...RequestMessageContentPart.Serialization.cs | 5 - ...ChatCompletionRequestMessageContentPart.cs | 0 ...nternalUnknownChatMessage.Serialization.cs | 5 - .../{ => Chat}/InternalUnknownChatMessage.cs | 0 ...knownChatOutputPrediction.Serialization.cs | 5 - .../InternalUnknownChatOutputPrediction.cs | 0 ...UnknownChatResponseFormat.Serialization.cs | 5 - .../InternalUnknownChatResponseFormat.cs | 0 ...amingChatCompletionUpdate.Serialization.cs | 0 .../StreamingChatCompletionUpdate.cs | 0 ...ingChatFunctionCallUpdate.Serialization.cs | 0 .../StreamingChatFunctionCallUpdate.cs | 0 ...mingChatOutputAudioUpdate.Serialization.cs | 5 - .../StreamingChatOutputAudioUpdate.cs | 2 + ...reamingChatToolCallUpdate.Serialization.cs | 0 .../{ => Chat}/StreamingChatToolCallUpdate.cs | 0 .../SystemChatMessage.Serialization.cs | 0 .../Models/{ => Chat}/SystemChatMessage.cs | 0 .../ToolChatMessage.Serialization.cs | 0 .../Models/{ => Chat}/ToolChatMessage.cs | 0 .../UserChatMessage.Serialization.cs | 0 .../Models/{ => Chat}/UserChatMessage.cs | 0 ...ContainerFileListResource.Serialization.cs | 5 - .../InternalContainerFileListResource.cs | 0 ...rnalContainerFileResource.Serialization.cs | 5 - .../InternalContainerFileResource.cs | 0 ...rnalContainerListResource.Serialization.cs | 5 - .../InternalContainerListResource.cs | 0 ...InternalContainerResource.Serialization.cs | 5 - .../InternalContainerResource.cs | 0 ...ainerResourceExpiresAfter.Serialization.cs | 5 - .../InternalContainerResourceExpiresAfter.cs | 0 ...ternalCreateContainerBody.Serialization.cs | 5 - .../InternalCreateContainerBody.cs | 0 ...ContainerBodyExpiresAfter.Serialization.cs | 5 - ...InternalCreateContainerBodyExpiresAfter.cs | 0 ...alCreateContainerFileBody.Serialization.cs | 5 - .../InternalCreateContainerFileBody.cs | 0 ...leteContainerFileResponse.Serialization.cs | 5 - .../InternalDeleteContainerFileResponse.cs | 0 ...alDeleteContainerResponse.Serialization.cs | 5 - .../InternalDeleteContainerResponse.cs | 0 ...mbeddingGenerationOptions.Serialization.cs | 0 .../EmbeddingGenerationOptions.cs | 0 .../EmbeddingTokenUsage.Serialization.cs | 0 .../{ => Embeddings}/EmbeddingTokenUsage.cs | 0 ...nalCreateEmbeddingRequestEncodingFormat.cs | 0 .../InternalCreateEmbeddingRequestModel.cs | 0 .../OpenAIEmbedding.Serialization.cs | 0 .../{ => Embeddings}/OpenAIEmbedding.cs | 0 ...OpenAIEmbeddingCollection.Serialization.cs | 0 .../OpenAIEmbeddingCollection.cs | 0 ...InternalCreateEvalRequest.Serialization.cs | 5 - .../{ => Evals}/InternalCreateEvalRequest.cs | 0 ...ernalCreateEvalRunRequest.Serialization.cs | 5 - .../InternalCreateEvalRunRequest.cs | 0 ...nternalDeleteEvalResponse.Serialization.cs | 5 - .../{ => Evals}/InternalDeleteEvalResponse.cs | 0 ...rnalDeleteEvalRunResponse.Serialization.cs | 5 - .../InternalDeleteEvalRunResponse.cs | 0 .../{ => Evals}/InternalEval.Serialization.cs | 5 - .../Models/{ => Evals}/InternalEval.cs | 0 .../InternalEvalApiError.Serialization.cs | 5 - .../{ => Evals}/InternalEvalApiError.cs | 0 ...etionsRunDataSourceParams.Serialization.cs | 5 - ...ernalEvalCompletionsRunDataSourceParams.cs | 0 ...ourceParamsInputMessages1.Serialization.cs | 5 - ...etionsRunDataSourceParamsInputMessages1.cs | 0 ...ourceParamsInputMessages2.Serialization.cs | 5 - ...etionsRunDataSourceParamsInputMessages2.cs | 0 ...ourceParamsSamplingParams.Serialization.cs | 5 - ...etionsRunDataSourceParamsSamplingParams.cs | 0 ...tomDataSourceConfigParams.Serialization.cs | 5 - ...nternalEvalCustomDataSourceConfigParams.cs | 0 ...mDataSourceConfigResource.Serialization.cs | 5 - ...ernalEvalCustomDataSourceConfigResource.cs | 0 ...valDataSourceConfigParams.Serialization.cs | 5 - .../InternalEvalDataSourceConfigParams.cs | 0 ...lDataSourceConfigResource.Serialization.cs | 5 - .../InternalEvalDataSourceConfigResource.cs | 0 .../InternalEvalDataSourceConfigType.cs | 0 ...valGraderLabelModelParams.Serialization.cs | 5 - .../InternalEvalGraderLabelModelParams.cs | 0 ...aderLabelModelParamsInput.Serialization.cs | 5 - ...InternalEvalGraderLabelModelParamsInput.cs | 0 ...lGraderLabelModelResource.Serialization.cs | 5 - .../InternalEvalGraderLabelModelResource.cs | 0 .../InternalEvalGraderParams.Serialization.cs | 5 - .../{ => Evals}/InternalEvalGraderParams.cs | 0 ...nalEvalGraderPythonParams.Serialization.cs | 5 - .../InternalEvalGraderPythonParams.cs | 0 ...lEvalGraderPythonResource.Serialization.cs | 5 - .../InternalEvalGraderPythonResource.cs | 0 ...nternalEvalGraderResource.Serialization.cs | 5 - .../{ => Evals}/InternalEvalGraderResource.cs | 0 ...valGraderScoreModelParams.Serialization.cs | 5 - .../InternalEvalGraderScoreModelParams.cs | 0 ...lGraderScoreModelResource.Serialization.cs | 5 - .../InternalEvalGraderScoreModelResource.cs | 0 ...alGraderStringCheckParams.Serialization.cs | 9 +- .../InternalEvalGraderStringCheckParams.cs | 6 +- ...raderTextSimilarityParams.Serialization.cs | 9 +- .../InternalEvalGraderTextSimilarityParams.cs | 6 +- ...derTextSimilarityResource.Serialization.cs | 9 +- ...nternalEvalGraderTextSimilarityResource.cs | 6 +- .../InternalEvalItem.Serialization.cs | 5 - .../Models/{ => Evals}/InternalEvalItem.cs | 0 .../InternalEvalItemContent.Serialization.cs | 5 - .../{ => Evals}/InternalEvalItemContent.cs | 0 ...lEvalItemContentInputText.Serialization.cs | 5 - .../InternalEvalItemContentInputText.cs | 0 ...EvalItemContentOutputText.Serialization.cs | 5 - .../InternalEvalItemContentOutputText.cs | 0 .../InternalEvalItemContentType.cs | 0 .../{ => Evals}/InternalEvalItemRole.cs | 0 ...lJsonlRunDataSourceParams.Serialization.cs | 5 - .../InternalEvalJsonlRunDataSourceParams.cs | 0 .../InternalEvalList.Serialization.cs | 5 - .../Models/{ => Evals}/InternalEvalList.cs | 0 ...ogsDataSourceConfigParams.Serialization.cs | 5 - .../InternalEvalLogsDataSourceConfigParams.cs | 0 ...sDataSourceConfigResource.Serialization.cs | 5 - ...nternalEvalLogsDataSourceConfigResource.cs | 0 ...ponsesRunDataSourceParams.Serialization.cs | 5 - ...nternalEvalResponsesRunDataSourceParams.cs | 0 ...ourceParamsInputMessages1.Serialization.cs | 5 - ...ponsesRunDataSourceParamsInputMessages1.cs | 0 ...ourceParamsInputMessages2.Serialization.cs | 5 - ...ponsesRunDataSourceParamsInputMessages2.cs | 0 ...amsInputMessagesTemplate1.Serialization.cs | 5 - ...nDataSourceParamsInputMessagesTemplate1.cs | 0 ...ourceParamsSamplingParams.Serialization.cs | 5 - ...ponsesRunDataSourceParamsSamplingParams.cs | 0 ...eParamsSamplingParamsText.Serialization.cs | 5 - ...esRunDataSourceParamsSamplingParamsText.cs | 0 .../InternalEvalRun.Serialization.cs | 5 - .../Models/{ => Evals}/InternalEvalRun.cs | 0 ...lEvalRunDataContentSource.Serialization.cs | 5 - .../InternalEvalRunDataContentSource.cs | 0 .../InternalEvalRunDataContentSourceType.cs | 0 ...alEvalRunDataSourceParams.Serialization.cs | 5 - .../InternalEvalRunDataSourceParams.cs | 0 ...EvalRunDataSourceResource.Serialization.cs | 5 - .../InternalEvalRunDataSourceResource.cs | 0 .../InternalEvalRunDataSourceType.cs | 0 ...eContentDataContentSource.Serialization.cs | 5 - ...rnalEvalRunFileContentDataContentSource.cs | 0 ...tDataContentSourceContent.Serialization.cs | 5 - ...lRunFileContentDataContentSourceContent.cs | 0 ...unFileIdDataContentSource.Serialization.cs | 5 - .../InternalEvalRunFileIdDataContentSource.cs | 0 .../InternalEvalRunList.Serialization.cs | 5 - .../Models/{ => Evals}/InternalEvalRunList.cs | 0 ...InternalEvalRunOutputItem.Serialization.cs | 5 - .../{ => Evals}/InternalEvalRunOutputItem.cs | 0 ...rnalEvalRunOutputItemList.Serialization.cs | 5 - .../InternalEvalRunOutputItemList.cs | 0 ...alEvalRunOutputItemSample.Serialization.cs | 5 - .../InternalEvalRunOutputItemSample.cs | 0 ...lRunOutputItemSampleInput.Serialization.cs | 5 - .../InternalEvalRunOutputItemSampleInput.cs | 0 ...RunOutputItemSampleOutput.Serialization.cs | 5 - .../InternalEvalRunOutputItemSampleOutput.cs | 0 ...lRunOutputItemSampleUsage.Serialization.cs | 5 - .../InternalEvalRunOutputItemSampleUsage.cs | 0 ...ernalEvalRunPerModelUsage.Serialization.cs | 5 - .../InternalEvalRunPerModelUsage.cs | 0 ...nPerTestingCriteriaResult.Serialization.cs | 5 - ...InternalEvalRunPerTestingCriteriaResult.cs | 0 ...esponsesDataContentSource.Serialization.cs | 5 - ...ternalEvalRunResponsesDataContentSource.cs | 0 ...ternalEvalRunResultCounts.Serialization.cs | 5 - .../InternalEvalRunResultCounts.cs | 0 ...pletionsDataContentSource.Serialization.cs | 5 - ...alRunStoredCompletionsDataContentSource.cs | 0 ...onsDataSourceConfigParams.Serialization.cs | 5 - ...StoredCompletionsDataSourceConfigParams.cs | 0 ...sDataSourceConfigResource.Serialization.cs | 5 - ...oredCompletionsDataSourceConfigResource.cs | 0 ...ernalGetEvalRunOutputItemsRequestStatus.cs | 0 .../InternalGetEvalRunsRequestStatus.cs | 0 .../InternalListEvalsRequestOrderBy.cs | 0 ...etadataPropertyForRequest.Serialization.cs | 5 - .../InternalMetadataPropertyForRequest.cs | 0 ...valDataSourceConfigParams.Serialization.cs | 5 - ...ternalUnknownEvalDataSourceConfigParams.cs | 0 ...lDataSourceConfigResource.Serialization.cs | 5 - ...rnalUnknownEvalDataSourceConfigResource.cs | 0 ...alUnknownEvalGraderParams.Serialization.cs | 5 - .../InternalUnknownEvalGraderParams.cs | 0 ...UnknownEvalGraderResource.Serialization.cs | 5 - .../InternalUnknownEvalGraderResource.cs | 0 ...nalUnknownEvalItemContent.Serialization.cs | 5 - .../InternalUnknownEvalItemContent.cs | 0 ...nEvalRunDataContentSource.Serialization.cs | 5 - ...InternalUnknownEvalRunDataContentSource.cs | 0 ...wnEvalRunDataSourceParams.Serialization.cs | 5 - .../InternalUnknownEvalRunDataSourceParams.cs | 0 ...InternalUpdateEvalRequest.Serialization.cs | 5 - .../{ => Evals}/InternalUpdateEvalRequest.cs | 0 .../FileDeletionResult.Serialization.cs | 0 .../Models/{ => Files}/FileDeletionResult.cs | 0 .../{ => Files}/FilePurpose.Serialization.cs | 0 .../{ => Files}/FileStatus.Serialization.cs | 0 .../Models/{ => Files}/FileUploadPurpose.cs | 0 ...ernalAddUploadPartRequest.Serialization.cs | 5 - .../InternalAddUploadPartRequest.cs | 0 ...rnalCompleteUploadRequest.Serialization.cs | 5 - .../InternalCompleteUploadRequest.cs | 0 ...ternalCreateUploadRequest.Serialization.cs | 5 - .../InternalCreateUploadRequest.cs | 0 .../InternalCreateUploadRequestPurpose.cs | 0 ...InternalFileUploadOptions.Serialization.cs | 5 - .../{ => Files}/InternalFileUploadOptions.cs | 0 .../InternalUpload.Serialization.cs | 5 - .../Models/{ => Files}/InternalUpload.cs | 0 .../InternalUploadPart.Serialization.cs | 5 - .../Models/{ => Files}/InternalUploadPart.cs | 0 .../{ => Files}/InternalUploadStatus.cs | 0 .../{ => Files}/OpenAIFile.Serialization.cs | 0 .../Models/{ => Files}/OpenAIFile.cs | 0 .../OpenAIFileCollection.Serialization.cs | 0 .../{ => Files}/OpenAIFileCollection.cs | 0 .../FineTuningCheckpoint.Serialization.cs | 5 - .../{ => FineTuning}/FineTuningCheckpoint.cs | 2 + ...neTuningCheckpointMetrics.Serialization.cs | 5 - .../FineTuningCheckpointMetrics.cs | 2 + .../FineTuningError.Serialization.cs | 5 - .../{ => FineTuning}/FineTuningError.cs | 2 + .../FineTuningEvent.Serialization.cs | 5 - .../{ => FineTuning}/FineTuningEvent.cs | 2 + ...FineTuningHyperparameters.Serialization.cs | 5 - .../FineTuningHyperparameters.cs | 2 + .../FineTuningIntegration.Serialization.cs | 5 - .../{ => FineTuning}/FineTuningIntegration.cs | 2 + ...ningIntegrationWandbWandb.Serialization.cs | 5 - .../FineTuningIntegrationWandbWandb.cs | 0 .../FineTuningJobEventKind.cs | 2 + .../FineTuningJobEventLevel.Serialization.cs | 0 .../FineTuningOptions.Serialization.cs | 5 - .../{ => FineTuning}/FineTuningOptions.cs | 2 + .../{ => FineTuning}/FineTuningStatus.cs | 2 + .../FineTuningTrainingMethod.Serialization.cs | 5 - .../FineTuningTrainingMethod.cs | 2 + .../HyperparameterOptions.Serialization.cs | 5 - .../{ => FineTuning}/HyperparameterOptions.cs | 0 .../HyperparametersForDPO.Serialization.cs | 5 - .../{ => FineTuning}/HyperparametersForDPO.cs | 2 + ...erparametersForSupervised.Serialization.cs | 5 - .../HyperparametersForSupervised.cs | 2 + ...eckpointPermissionRequest.Serialization.cs | 5 - ...teFineTuningCheckpointPermissionRequest.cs | 0 ...questHyperparametersBatchSizeChoiceEnum.cs | 0 ...JobRequestHyperparametersBetaChoiceEnum.cs | 0 ...ametersLearningRateMultiplierChoiceEnum.cs | 0 ...RequestHyperparametersNEpochsChoiceEnum.cs | 0 ...eateFineTuningJobRequestIntegrationType.cs | 0 ...InternalCreateFineTuningJobRequestModel.cs | 0 ...uestWandbIntegrationWandb.Serialization.cs | 5 - ...neTuningJobRequestWandbIntegrationWandb.cs | 0 ...ckpointPermissionResponse.Serialization.cs | 5 - ...eFineTuningCheckpointPermissionResponse.cs | 0 ...CompletionRequestAssistantMessageWeight.cs | 0 .../InternalFineTuneMethodType.cs | 0 ...forcementHyperparametersReasoningEffort.cs | 0 ...neTuneReinforcementMethod.Serialization.cs | 5 - .../InternalFineTuneReinforcementMethod.cs | 0 ...uningCheckpointPermission.Serialization.cs | 5 - .../InternalFineTuningCheckpointPermission.cs | 0 ...rnalFineTuningIntegration.Serialization.cs | 5 - .../InternalFineTuningIntegration.cs | 0 .../InternalFineTuningIntegrationType.cs | 0 ...ineTuningIntegrationWandb.Serialization.cs | 5 - .../InternalFineTuningIntegrationWandb.cs | 0 .../InternalFineTuningJob.Serialization.cs | 5 - .../{ => FineTuning}/InternalFineTuningJob.cs | 0 ...TuningJobRequestMethodDpo.Serialization.cs | 5 - .../InternalFineTuningJobRequestMethodDpo.cs | 0 ...obRequestMethodSupervised.Serialization.cs | 5 - ...nalFineTuningJobRequestMethodSupervised.cs | 0 ...alFineTuningJobsPageToken.Serialization.cs | 5 - .../InternalFineTuningJobsPageToken.cs | 0 ...ckpointPermissionResponse.Serialization.cs | 5 - ...tFineTuningCheckpointPermissionResponse.cs | 0 ...ingJobCheckpointsResponse.Serialization.cs | 5 - ...nalListFineTuningJobCheckpointsResponse.cs | 0 ...neTuningJobEventsResponse.Serialization.cs | 5 - ...InternalListFineTuningJobEventsResponse.cs | 0 ...tedFineTuningJobsResponse.Serialization.cs | 5 - ...rnalListPaginatedFineTuningJobsResponse.cs | 0 ...oFineTuneChatRequestInput.Serialization.cs | 5 - .../InternalTodoFineTuneChatRequestInput.cs | 0 ...ningJobRequestIntegration.Serialization.cs | 5 - ...wnCreateFineTuningJobRequestIntegration.cs | 0 ...nownFineTuningIntegration.Serialization.cs | 5 - .../UnknownFineTuningIntegration.cs | 0 ...ightsAndBiasesIntegration.Serialization.cs | 5 - .../WeightsAndBiasesIntegration.cs | 2 + ...nforcementHyperparameters.Serialization.cs | 5 - ...nalFineTuneReinforcementHyperparameters.cs | 0 .../InternalGrader.Serialization.cs | 9 +- .../Models/{ => Graders}/InternalGrader.cs | 0 .../InternalGraderLabelModel.Serialization.cs | 5 - .../{ => Graders}/InternalGraderLabelModel.cs | 0 .../InternalGraderMulti.Serialization.cs | 5 - .../{ => Graders}/InternalGraderMulti.cs | 0 .../InternalGraderPython.Serialization.cs | 5 - .../{ => Graders}/InternalGraderPython.cs | 0 .../InternalGraderScoreModel.Serialization.cs | 5 - .../{ => Graders}/InternalGraderScoreModel.cs | 0 ...InternalGraderStringCheck.Serialization.cs | 10 +- .../InternalGraderStringCheck.cs | 7 +- .../InternalGraderStringCheckOperation.cs | 50 + ...ernalGraderTextSimilarity.Serialization.cs | 9 +- .../InternalGraderTextSimilarity.cs | 6 +- ...nalGraderTextSimilarityEvaluationMetric.cs | 68 + .../{ => Graders}/InternalGraderType.cs | 0 .../InternalRunGraderRequest.Serialization.cs | 5 - .../{ => Graders}/InternalRunGraderRequest.cs | 0 ...InternalRunGraderResponse.Serialization.cs | 5 - .../InternalRunGraderResponse.cs | 0 ...RunGraderResponseMetadata.Serialization.cs | 5 - .../InternalRunGraderResponseMetadata.cs | 0 ...derResponseMetadataErrors.Serialization.cs | 5 - ...InternalRunGraderResponseMetadataErrors.cs | 0 .../InternalUnknownGrader.Serialization.cs | 5 - .../{ => Graders}/InternalUnknownGrader.cs | 0 ...rnalValidateGraderRequest.Serialization.cs | 5 - .../InternalValidateGraderRequest.cs | 0 ...nalValidateGraderResponse.Serialization.cs | 5 - .../InternalValidateGraderResponse.cs | 0 .../GeneratedImage.Serialization.cs | 0 .../Models/{ => Images}/GeneratedImage.cs | 0 .../{ => Images}/GeneratedImageBackground.cs | 2 + .../GeneratedImageCollection.Serialization.cs | 0 .../{ => Images}/GeneratedImageCollection.cs | 0 .../{ => Images}/GeneratedImageFileFormat.cs | 2 + .../{ => Images}/GeneratedImageFormat.cs | 0 .../GeneratedImageModerationLevel.cs | 2 + .../{ => Images}/GeneratedImageQuality.cs | 0 .../Models/{ => Images}/GeneratedImageSize.cs | 0 .../{ => Images}/GeneratedImageStyle.cs | 0 .../ImageEditOptions.Serialization.cs | 0 .../Models/{ => Images}/ImageEditOptions.cs | 0 .../ImageGenerationOptions.Serialization.cs | 0 .../{ => Images}/ImageGenerationOptions.cs | 0 ...ageInputTokenUsageDetails.Serialization.cs | 5 - .../ImageInputTokenUsageDetails.cs | 2 + .../ImageTokenUsage.Serialization.cs | 5 - .../Models/{ => Images}/ImageTokenUsage.cs | 2 + .../ImageVariationOptions.Serialization.cs | 0 .../{ => Images}/ImageVariationOptions.cs | 0 ...nternalCreateImageEditRequestBackground.cs | 0 .../InternalCreateImageEditRequestModel.cs | 0 .../InternalCreateImageEditRequestQuality.cs | 0 ...nalCreateImageEditRequestResponseFormat.cs | 0 .../InternalCreateImageEditRequestSize.cs | 0 .../InternalCreateImageRequestModel.cs | 0 ...nternalCreateImageVariationRequestModel.cs | 0 ...eateImageVariationRequestResponseFormat.cs | 0 ...InternalCreateImageVariationRequestSize.cs | 0 ...InternalLogProbProperties.Serialization.cs | 5 - .../InternalLogProbProperties.cs | 0 .../{ => Internal}/InternalModelIdsShared.cs | 0 .../InternalResponseFormat.Serialization.cs | 5 - .../{ => Internal}/InternalResponseFormat.cs | 0 ...lResponseFormatJsonObject.Serialization.cs | 5 - .../InternalResponseFormatJsonObject.cs | 0 ...lResponseFormatJsonSchema.Serialization.cs | 5 - .../InternalResponseFormatJsonSchema.cs | 0 ...ormatJsonSchemaJsonSchema.Serialization.cs | 5 - ...ernalResponseFormatJsonSchemaJsonSchema.cs | 0 ...nseFormatJsonSchemaSchema.Serialization.cs | 5 - .../InternalResponseFormatJsonSchemaSchema.cs | 0 ...nternalResponseFormatText.Serialization.cs | 5 - .../InternalResponseFormatText.cs | 0 .../InternalResponseFormatType.cs | 0 .../{ => Internal}/InternalServiceTier.cs | 0 ...rnalUnknownResponseFormat.Serialization.cs | 5 - .../InternalUnknownResponseFormat.cs | 0 .../{ => Internal}/InternalVoiceIdsShared.cs | 0 .../InternalWebSearchContextSize.cs | 0 ...InternalWebSearchLocation.Serialization.cs | 5 - .../InternalWebSearchLocation.cs | 0 .../OpenAIError.Serialization.cs | 5 - .../Models/{ => Internal}/OpenAIError.cs | 0 .../OpenAIErrorResponse.Serialization.cs | 5 - .../{ => Internal}/OpenAIErrorResponse.cs | 0 ...nalEvalGraderStringCheckParamsOperation.cs | 50 - ...rTextSimilarityResourceEvaluationMetric.cs | 68 - ...nternalFunctionDefinition.Serialization.cs | 5 - ...alCreateCompletionRequest.Serialization.cs | 5 - .../InternalCreateCompletionRequest.cs | 0 .../InternalCreateCompletionRequestModel.cs | 0 ...lCreateCompletionResponse.Serialization.cs | 5 - .../InternalCreateCompletionResponse.cs | 0 ...eCompletionResponseChoice.Serialization.cs | 5 - .../InternalCreateCompletionResponseChoice.cs | 0 ...ateCompletionResponseChoiceFinishReason.cs | 0 ...ionResponseChoiceLogprobs.Serialization.cs | 5 - ...lCreateCompletionResponseChoiceLogprobs.cs | 0 .../ModelDeletionResult.Serialization.cs | 0 .../{ => Models}/ModelDeletionResult.cs | 0 .../{ => Models}/OpenAIModel.Serialization.cs | 0 .../Models/{ => Models}/OpenAIModel.cs | 0 .../OpenAIModelCollection.Serialization.cs | 0 .../{ => Models}/OpenAIModelCollection.cs | 0 ...teModerationRequestInput2.Serialization.cs | 5 - .../InternalCreateModerationRequestInput2.cs | 0 ...teModerationRequestInput3.Serialization.cs | 5 - .../InternalCreateModerationRequestInput3.cs | 0 ...ationRequestInputImageUrl.Serialization.cs | 5 - ...nalCreateModerationRequestInputImageUrl.cs | 0 .../InternalCreateModerationRequestModel.cs | 0 ...CategoryAppliedInputTypes.Serialization.cs | 5 - ...ResponseResultCategoryAppliedInputTypes.cs | 0 ...ernalModerationCategories.Serialization.cs | 5 - .../InternalModerationCategories.cs | 0 ...lModerationCategoryScores.Serialization.cs | 5 - .../InternalModerationCategoryScores.cs | 0 ...ationApplicableInputKinds.Serialization.cs | 0 .../ModerationOptions.Serialization.cs | 5 - .../{ => Moderations}/ModerationOptions.cs | 0 .../ModerationResult.Serialization.cs | 0 .../{ => Moderations}/ModerationResult.cs | 0 ...oderationResultCollection.Serialization.cs | 0 .../ModerationResultCollection.cs | 0 .../ConversationContentPart.Serialization.cs | 5 - .../{ => Realtime}/ConversationContentPart.cs | 2 + .../ConversationContentPartKind.cs | 2 + .../ConversationFunctionTool.Serialization.cs | 5 - .../ConversationFunctionTool.cs | 2 + .../ConversationIncompleteReason.cs | 2 + ...ionInputTokenUsageDetails.Serialization.cs | 5 - .../ConversationInputTokenUsageDetails.cs | 2 + .../{ => Realtime}/ConversationItemStatus.cs | 2 + .../{ => Realtime}/ConversationMessageRole.cs | 2 + ...onOutputTokenUsageDetails.Serialization.cs | 5 - .../ConversationOutputTokenUsageDetails.cs | 2 + ...ationRateLimitDetailsItem.Serialization.cs | 5 - .../ConversationRateLimitDetailsItem.cs | 2 + ...nversationResponseOptions.Serialization.cs | 5 - .../ConversationResponseOptions.cs | 2 + ...onSessionConfiguredUpdate.Serialization.cs | 5 - .../ConversationSessionConfiguredUpdate.cs | 2 + ...onversationSessionOptions.Serialization.cs | 5 - .../ConversationSessionOptions.cs | 2 + ...ationSessionStartedUpdate.Serialization.cs | 5 - .../ConversationSessionStartedUpdate.cs | 2 + .../{ => Realtime}/ConversationStatus.cs | 2 + ...ConversationStatusDetails.Serialization.cs | 5 - .../ConversationStatusDetails.cs | 2 + .../ConversationTokenUsage.Serialization.cs | 5 - .../{ => Realtime}/ConversationTokenUsage.cs | 2 + .../ConversationTool.Serialization.cs | 5 - .../Models/{ => Realtime}/ConversationTool.cs | 2 + ...onversationToolChoiceKind.Serialization.cs | 0 .../{ => Realtime}/ConversationToolKind.cs | 2 + .../{ => Realtime}/ConversationVoice.cs | 2 + .../InputAudioClearedUpdate.Serialization.cs | 5 - .../{ => Realtime}/InputAudioClearedUpdate.cs | 2 + ...InputAudioCommittedUpdate.Serialization.cs | 5 - .../InputAudioCommittedUpdate.cs | 2 + ...AudioSpeechFinishedUpdate.Serialization.cs | 5 - .../InputAudioSpeechFinishedUpdate.cs | 2 + ...tAudioSpeechStartedUpdate.Serialization.cs | 5 - .../InputAudioSpeechStartedUpdate.cs | 2 + ...oTranscriptionDeltaUpdate.Serialization.cs | 5 - .../InputAudioTranscriptionDeltaUpdate.cs | 2 + ...TranscriptionFailedUpdate.Serialization.cs | 5 - .../InputAudioTranscriptionFailedUpdate.cs | 2 + ...anscriptionFinishedUpdate.Serialization.cs | 5 - .../InputAudioTranscriptionFinishedUpdate.cs | 2 + .../InputNoiseReductionKind.Serialization.cs | 0 ...nputNoiseReductionOptions.Serialization.cs | 5 - .../InputNoiseReductionOptions.cs | 2 + .../{ => Realtime}/InputTranscriptionModel.cs | 2 + ...InputTranscriptionOptions.Serialization.cs | 5 - .../InputTranscriptionOptions.cs | 2 + ...RealtimeLogProbProperties.Serialization.cs | 5 - ...InternalDotNetRealtimeLogProbProperties.cs | 0 ...dioFarFieldNoiseReduction.Serialization.cs | 5 - ...rnalRealtimeAudioFarFieldNoiseReduction.cs | 0 ...ioNearFieldNoiseReduction.Serialization.cs | 5 - ...nalRealtimeAudioNearFieldNoiseReduction.cs | 0 ...ternalRealtimeClientEvent.Serialization.cs | 5 - .../InternalRealtimeClientEvent.cs | 0 ...entConversationItemCreate.Serialization.cs | 5 - ...altimeClientEventConversationItemCreate.cs | 0 ...entConversationItemDelete.Serialization.cs | 5 - ...altimeClientEventConversationItemDelete.cs | 0 ...tConversationItemRetrieve.Serialization.cs | 5 - ...timeClientEventConversationItemRetrieve.cs | 0 ...tConversationItemTruncate.Serialization.cs | 5 - ...timeClientEventConversationItemTruncate.cs | 0 ...entInputAudioBufferAppend.Serialization.cs | 5 - ...altimeClientEventInputAudioBufferAppend.cs | 0 ...ventInputAudioBufferClear.Serialization.cs | 5 - ...ealtimeClientEventInputAudioBufferClear.cs | 0 ...entInputAudioBufferCommit.Serialization.cs | 5 - ...altimeClientEventInputAudioBufferCommit.cs | 0 ...entOutputAudioBufferClear.Serialization.cs | 5 - ...altimeClientEventOutputAudioBufferClear.cs | 0 ...ClientEventResponseCancel.Serialization.cs | 5 - ...ternalRealtimeClientEventResponseCancel.cs | 0 ...ClientEventResponseCreate.Serialization.cs | 5 - ...ternalRealtimeClientEventResponseCreate.cs | 0 ...eClientEventSessionUpdate.Serialization.cs | 5 - ...nternalRealtimeClientEventSessionUpdate.cs | 0 ...ranscriptionSessionUpdate.Serialization.cs | 5 - ...meClientEventTranscriptionSessionUpdate.cs | 0 .../InternalRealtimeClientEventType.cs | 0 .../InternalRealtimeItemType.cs | 0 ...questAssistantMessageItem.Serialization.cs | 5 - ...rnalRealtimeRequestAssistantMessageItem.cs | 0 ...meRequestAudioContentPart.Serialization.cs | 5 - ...InternalRealtimeRequestAudioContentPart.cs | 0 ...meRequestFunctionCallItem.Serialization.cs | 5 - ...InternalRealtimeRequestFunctionCallItem.cs | 0 ...estFunctionCallOutputItem.Serialization.cs | 5 - ...alRealtimeRequestFunctionCallOutputItem.cs | 0 ...ealtimeRequestMessageItem.Serialization.cs | 5 - .../InternalRealtimeRequestMessageItem.cs | 0 .../InternalRealtimeRequestSessionModality.cs | 0 .../InternalRealtimeRequestSessionModel.cs | 0 ...eRequestSystemMessageItem.Serialization.cs | 5 - ...nternalRealtimeRequestSystemMessageItem.cs | 0 ...imeRequestTextContentPart.Serialization.cs | 5 - .../InternalRealtimeRequestTextContentPart.cs | 0 ...imeRequestUserMessageItem.Serialization.cs | 5 - .../InternalRealtimeRequestUserMessageItem.cs | 0 .../InternalRealtimeResponse.Serialization.cs | 5 - .../InternalRealtimeResponse.cs | 0 ...eResponseAudioContentPart.Serialization.cs | 5 - ...nternalRealtimeResponseAudioContentPart.cs | 0 ...eResponseFunctionCallItem.Serialization.cs | 5 - ...nternalRealtimeResponseFunctionCallItem.cs | 0 ...nseFunctionCallOutputItem.Serialization.cs | 5 - ...lRealtimeResponseFunctionCallOutputItem.cs | 0 ...ernalRealtimeResponseItem.Serialization.cs | 5 - .../InternalRealtimeResponseItem.cs | 0 ...altimeResponseMessageItem.Serialization.cs | 5 - .../InternalRealtimeResponseMessageItem.cs | 0 .../InternalRealtimeResponseModality.cs | 0 ...ternalRealtimeResponseOutputAudioFormat.cs | 0 ...alRealtimeResponseSession.Serialization.cs | 5 - .../InternalRealtimeResponseSession.cs | 0 ...esponseStatusDetailsError.Serialization.cs | 5 - ...ernalRealtimeResponseStatusDetailsError.cs | 0 ...ternalRealtimeResponseStatusDetailsType.cs | 0 ...meResponseTextContentPart.Serialization.cs | 5 - ...InternalRealtimeResponseTextContentPart.cs | 0 ...eSemanticVadTurnDetection.Serialization.cs | 5 - ...nternalRealtimeSemanticVadTurnDetection.cs | 0 ...altimeSemanticVadTurnDetectionEagerness.cs | 0 ...rEventConversationCreated.Serialization.cs | 5 - ...lRealtimeServerEventConversationCreated.cs | 0 ...sationCreatedConversation.Serialization.cs | 5 - ...verEventConversationCreatedConversation.cs | 0 ...oTranscriptionFailedError.Serialization.cs | 5 - ...nItemInputAudioTranscriptionFailedError.cs | 0 ...timeServerEventErrorError.Serialization.cs | 5 - .../InternalRealtimeServerEventErrorError.cs | 0 ...tOutputAudioBufferCleared.Serialization.cs | 5 - ...timeServerEventOutputAudioBufferCleared.cs | 0 ...tOutputAudioBufferStarted.Serialization.cs | 5 - ...timeServerEventOutputAudioBufferStarted.cs | 0 ...tOutputAudioBufferStopped.Serialization.cs | 5 - ...timeServerEventOutputAudioBufferStopped.cs | 0 ...erEventResponseAudioDelta.Serialization.cs | 5 - ...alRealtimeServerEventResponseAudioDelta.cs | 0 ...ponseAudioTranscriptDelta.Serialization.cs | 5 - ...ServerEventResponseAudioTranscriptDelta.cs | 0 ...tResponseContentPartAdded.Serialization.cs | 5 - ...timeServerEventResponseContentPartAdded.cs | 0 ...ntResponseContentPartDone.Serialization.cs | 5 - ...ltimeServerEventResponseContentPartDone.cs | 0 ...unctionCallArgumentsDelta.Serialization.cs | 5 - ...EventResponseFunctionCallArgumentsDelta.cs | 0 ...FunctionCallArgumentsDone.Serialization.cs | 5 - ...rEventResponseFunctionCallArgumentsDone.cs | 0 ...verEventResponseTextDelta.Serialization.cs | 5 - ...nalRealtimeServerEventResponseTextDelta.cs | 0 ...imeServerVadTurnDetection.Serialization.cs | 5 - .../InternalRealtimeServerVadTurnDetection.cs | 0 ...ltimeSessionCreateRequest.Serialization.cs | 5 - .../InternalRealtimeSessionCreateRequest.cs | 0 ...CreateRequestClientSecret.Serialization.cs | 5 - ...ealtimeSessionCreateRequestClientSecret.cs | 0 ...uestClientSecretExpiresAt.Serialization.cs | 5 - ...ssionCreateRequestClientSecretExpiresAt.cs | 0 ...InputAudioNoiseReduction1.Serialization.cs | 5 - ...nCreateRequestInputAudioNoiseReduction1.cs | 0 ...eateRequestInputAudioNoiseReductionType.cs | 0 ...stInputAudioTranscription.Serialization.cs | 5 - ...ionCreateRequestInputAudioTranscription.cs | 0 ...ternalRealtimeSessionCreateRequestModel.cs | 0 ...sionCreateRequestTracing1.Serialization.cs | 5 - ...nalRealtimeSessionCreateRequestTracing1.cs | 0 ...reateRequestTurnDetection.Serialization.cs | 5 - ...altimeSessionCreateRequestTurnDetection.cs | 0 ...sionCreateRequestTurnDetectionEagerness.cs | 0 ...meSessionCreateRequestTurnDetectionType.cs | 0 ...timeSessionCreateResponse.Serialization.cs | 5 - .../InternalRealtimeSessionCreateResponse.cs | 0 ...reateResponseClientSecret.Serialization.cs | 5 - ...altimeSessionCreateResponseClientSecret.cs | 0 ...seInputAudioTranscription.Serialization.cs | 5 - ...onCreateResponseInputAudioTranscription.cs | 0 ...ionCreateResponseTracing1.Serialization.cs | 5 - ...alRealtimeSessionCreateResponseTracing1.cs | 0 ...eateResponseTurnDetection.Serialization.cs | 5 - ...ltimeSessionCreateResponseTurnDetection.cs | 0 ...eToolChoiceFunctionObject.Serialization.cs | 5 - ...nternalRealtimeToolChoiceFunctionObject.cs | 0 ...iceFunctionObjectFunction.Serialization.cs | 5 - ...ealtimeToolChoiceFunctionObjectFunction.cs | 0 ...lRealtimeToolChoiceObject.Serialization.cs | 5 - .../InternalRealtimeToolChoiceObject.cs | 0 ...CreateRequestClientSecret.Serialization.cs | 5 - ...riptionSessionCreateRequestClientSecret.cs | 0 ...uestClientSecretExpiresAt.Serialization.cs | 5 - ...ssionCreateRequestClientSecretExpiresAt.cs | 0 ...ionSessionCreateRequestInputAudioFormat.cs | 0 ...InputAudioNoiseReduction1.Serialization.cs | 5 - ...nCreateRequestInputAudioNoiseReduction1.cs | 0 ...eateRequestInputAudioNoiseReductionType.cs | 0 ...stInputAudioTranscription.Serialization.cs | 5 - ...ionCreateRequestInputAudioTranscription.cs | 0 ...eateRequestInputAudioTranscriptionModel.cs | 0 ...anscriptionSessionCreateRequestModality.cs | 0 ...reateRequestTurnDetection.Serialization.cs | 5 - ...iptionSessionCreateRequestTurnDetection.cs | 0 ...sionCreateRequestTurnDetectionEagerness.cs | 0 ...onSessionCreateRequestTurnDetectionType.cs | 0 ...tionSessionCreateResponse.Serialization.cs | 5 - ...ltimeTranscriptionSessionCreateResponse.cs | 0 ...reateResponseClientSecret.Serialization.cs | 5 - ...iptionSessionCreateResponseClientSecret.cs | 0 ...seInputAudioTranscription.Serialization.cs | 5 - ...onCreateResponseInputAudioTranscription.cs | 0 ...ateResponseInputAudioTranscriptionModel.cs | 0 ...nscriptionSessionCreateResponseModality.cs | 0 ...eateResponseTurnDetection.Serialization.cs | 5 - ...ptionSessionCreateResponseTurnDetection.cs | 0 ...riptTextDeltaEventLogprob.Serialization.cs | 5 - ...InternalTranscriptTextDeltaEventLogprob.cs | 0 ...criptTextDoneEventLogprob.Serialization.cs | 5 - .../InternalTranscriptTextDoneEventLogprob.cs | 0 ...altimeAudioNoiseReduction.Serialization.cs | 5 - ...ernalUnknownRealtimeAudioNoiseReduction.cs | 0 .../InternalVadConfig.Serialization.cs | 5 - .../{ => Realtime}/InternalVadConfig.cs | 0 .../ItemCreatedUpdate.Serialization.cs | 5 - .../{ => Realtime}/ItemCreatedUpdate.cs | 2 + .../ItemDeletedUpdate.Serialization.cs | 5 - .../{ => Realtime}/ItemDeletedUpdate.cs | 2 + .../ItemRetrievedUpdate.Serialization.cs | 5 - .../{ => Realtime}/ItemRetrievedUpdate.cs | 2 + .../ItemTruncatedUpdate.Serialization.cs | 5 - .../{ => Realtime}/ItemTruncatedUpdate.cs | 2 + ...OutputAudioFinishedUpdate.Serialization.cs | 5 - .../OutputAudioFinishedUpdate.cs | 2 + ...anscriptionFinishedUpdate.Serialization.cs | 5 - .../OutputAudioTranscriptionFinishedUpdate.cs | 2 + ...utStreamingFinishedUpdate.Serialization.cs | 5 - .../OutputStreamingFinishedUpdate.cs | 2 + ...putStreamingStartedUpdate.Serialization.cs | 5 - .../OutputStreamingStartedUpdate.cs | 2 + .../OutputTextFinishedUpdate.Serialization.cs | 5 - .../OutputTextFinishedUpdate.cs | 2 + .../RateLimitsUpdate.Serialization.cs | 5 - .../Models/{ => Realtime}/RateLimitsUpdate.cs | 2 + .../{ => Realtime}/RealtimeAudioFormat.cs | 2 + .../RealtimeErrorUpdate.Serialization.cs | 5 - .../{ => Realtime}/RealtimeErrorUpdate.cs | 2 + .../RealtimeItem.Serialization.cs | 5 - .../Models/{ => Realtime}/RealtimeItem.cs | 2 + .../RealtimeUpdate.Serialization.cs | 5 - .../Models/{ => Realtime}/RealtimeUpdate.cs | 2 + .../RealtimeUpdateKind.Serialization.cs | 0 .../ResponseConversationSelection.cs | 2 + .../ResponseFinishedUpdate.Serialization.cs | 5 - .../{ => Realtime}/ResponseFinishedUpdate.cs | 2 + .../ResponseStartedUpdate.Serialization.cs | 5 - .../{ => Realtime}/ResponseStartedUpdate.cs | 2 + ...onSessionConfiguredUpdate.Serialization.cs | 5 - .../TranscriptionSessionConfiguredUpdate.cs | 2 + ...anscriptionSessionOptions.Serialization.cs | 5 - .../TranscriptionSessionOptions.cs | 2 + .../TurnDetectionKind.Serialization.cs | 0 .../TurnDetectionOptions.Serialization.cs | 5 - .../{ => Realtime}/TurnDetectionOptions.cs | 2 + ...nknownRealtimeClientEvent.Serialization.cs | 5 - .../UnknownRealtimeClientEvent.cs | 0 ...nknownRealtimeContentPart.Serialization.cs | 5 - .../UnknownRealtimeContentPart.cs | 0 ...nknownRealtimeRequestItem.Serialization.cs | 5 - .../UnknownRealtimeRequestItem.cs | 0 ...ealtimeRequestMessageItem.Serialization.cs | 5 - .../UnknownRealtimeRequestMessageItem.cs | 0 ...knownRealtimeResponseItem.Serialization.cs | 5 - .../UnknownRealtimeResponseItem.cs | 0 ...nknownRealtimeServerEvent.Serialization.cs | 5 - .../UnknownRealtimeServerEvent.cs | 0 .../UnknownRealtimeTool.Serialization.cs | 5 - .../{ => Realtime}/UnknownRealtimeTool.cs | 0 ...nRealtimeToolChoiceObject.Serialization.cs | 5 - .../UnknownRealtimeToolChoiceObject.cs | 0 ...nownRealtimeTurnDetection.Serialization.cs | 5 - .../UnknownRealtimeTurnDetection.cs | 0 .../ComputerCallAction.Serialization.cs | 5 - .../{ => Responses}/ComputerCallAction.cs | 2 + .../ComputerCallActionKind.Serialization.cs | 0 ...uterCallActionMouseButton.Serialization.cs | 0 ...terCallOutputResponseItem.Serialization.cs | 5 - .../ComputerCallOutputResponseItem.cs | 2 + .../ComputerCallOutputStatus.Serialization.cs | 0 .../ComputerCallResponseItem.Serialization.cs | 5 - .../ComputerCallResponseItem.cs | 2 + .../ComputerCallSafetyCheck.Serialization.cs | 5 - .../ComputerCallSafetyCheck.cs | 2 + .../ComputerCallStatus.Serialization.cs | 0 .../ComputerOutput.Serialization.cs | 5 - .../Models/{ => Responses}/ComputerOutput.cs | 2 + .../ComputerToolEnvironment.cs | 2 + ...ileSearchCallResponseItem.Serialization.cs | 5 - .../FileSearchCallResponseItem.cs | 2 + .../FileSearchCallResult.Serialization.cs | 5 - .../{ => Responses}/FileSearchCallResult.cs | 2 + .../FileSearchCallStatus.Serialization.cs | 0 .../{ => Responses}/FileSearchToolRanker.cs | 2 + ...eSearchToolRankingOptions.Serialization.cs | 5 - .../FileSearchToolRankingOptions.cs | 2 + ...ionCallOutputResponseItem.Serialization.cs | 5 - .../FunctionCallOutputResponseItem.cs | 2 + .../FunctionCallOutputStatus.Serialization.cs | 0 .../FunctionCallResponseItem.Serialization.cs | 5 - .../FunctionCallResponseItem.cs | 2 + .../FunctionCallStatus.Serialization.cs | 0 ...nalAnnotationFileCitation.Serialization.cs | 5 - .../InternalAnnotationFileCitation.cs | 0 ...nternalAnnotationFilePath.Serialization.cs | 5 - .../InternalAnnotationFilePath.cs | 0 ...rnalAnnotationUrlCitation.Serialization.cs | 5 - .../InternalAnnotationUrlCitation.cs | 0 ...ternalApproximateLocation.Serialization.cs | 5 - .../InternalApproximateLocation.cs | 0 ...CodeInterpreterFileOutput.Serialization.cs | 5 - .../InternalCodeInterpreterFileOutput.cs | 0 ...InterpreterFileOutputFile.Serialization.cs | 5 - .../InternalCodeInterpreterFileOutputFile.cs | 0 ...CodeInterpreterTextOutput.Serialization.cs | 5 - .../InternalCodeInterpreterTextOutput.cs | 0 ...ternalCodeInterpreterTool.Serialization.cs | 5 - .../InternalCodeInterpreterTool.cs | 0 ...alCodeInterpreterToolAuto.Serialization.cs | 5 - .../InternalCodeInterpreterToolAuto.cs | 0 ...erpreterToolCallItemParam.Serialization.cs | 5 - ...nternalCodeInterpreterToolCallItemParam.cs | 0 ...reterToolCallItemResource.Serialization.cs | 5 - ...rnalCodeInterpreterToolCallItemResource.cs | 0 ...deInterpreterToolCallItemResourceStatus.cs | 0 .../InternalComparisonFilter.Serialization.cs | 5 - .../InternalComparisonFilter.cs | 0 ...nalComparisonFilterEquals.Serialization.cs | 5 - .../InternalComparisonFilterEquals.cs | 0 ...mparisonFilterGreaterThan.Serialization.cs | 5 - .../InternalComparisonFilterGreaterThan.cs | 0 ...FilterGreaterThanOrEquals.Serialization.cs | 5 - ...rnalComparisonFilterGreaterThanOrEquals.cs | 0 ...lComparisonFilterLessThan.Serialization.cs | 5 - .../InternalComparisonFilterLessThan.cs | 0 ...sonFilterLessThanOrEquals.Serialization.cs | 5 - ...nternalComparisonFilterLessThanOrEquals.cs | 0 ...ComparisonFilterNotEquals.Serialization.cs | 5 - .../InternalComparisonFilterNotEquals.cs | 0 .../InternalComparisonFilterType.cs | 0 .../InternalCompoundFilter.Serialization.cs | 5 - .../{ => Responses}/InternalCompoundFilter.cs | 0 ...InternalCompoundFilterAnd.Serialization.cs | 5 - .../InternalCompoundFilterAnd.cs | 0 .../InternalCompoundFilterOr.Serialization.cs | 5 - .../InternalCompoundFilterOr.cs | 0 .../InternalCompoundFilterType.cs | 0 ...ternalComputerActionClick.Serialization.cs | 5 - .../InternalComputerActionClick.cs | 0 ...ComputerActionDoubleClick.Serialization.cs | 5 - .../InternalComputerActionDoubleClick.cs | 0 ...nternalComputerActionDrag.Serialization.cs | 5 - .../InternalComputerActionDrag.cs | 0 ...nalComputerActionKeyPress.Serialization.cs | 5 - .../InternalComputerActionKeyPress.cs | 0 ...nternalComputerActionMove.Serialization.cs | 5 - .../InternalComputerActionMove.cs | 0 ...lComputerActionScreenshot.Serialization.cs | 5 - .../InternalComputerActionScreenshot.cs | 0 ...ernalComputerActionScroll.Serialization.cs | 5 - .../InternalComputerActionScroll.cs | 0 ...nalComputerActionTypeKeys.Serialization.cs | 5 - .../InternalComputerActionTypeKeys.cs | 0 ...nternalComputerActionWait.Serialization.cs | 5 - .../InternalComputerActionWait.cs | 0 ...mOutputComputerScreenshot.Serialization.cs | 5 - ...lCallOutputItemOutputComputerScreenshot.cs | 0 ...nalComputerUsePreviewTool.Serialization.cs | 5 - .../InternalComputerUsePreviewTool.cs | 0 ...ePreviewToolCallItemParam.Serialization.cs | 5 - ...rnalComputerUsePreviewToolCallItemParam.cs | 0 ...ewToolCallOutputItemParam.Serialization.cs | 5 - ...mputerUsePreviewToolCallOutputItemParam.cs | 0 ...puterUsePreviewToolCallOutputOutputType.cs | 0 .../InternalCoordinate.Serialization.cs | 5 - .../{ => Responses}/InternalCoordinate.cs | 0 ...SearchApproximateLocation.Serialization.cs | 5 - ...netResponseWebSearchApproximateLocation.cs | 0 .../InternalFileSearchTool.Serialization.cs | 5 - .../{ => Responses}/InternalFileSearchTool.cs | 0 ...leSearchToolCallItemParam.Serialization.cs | 5 - .../InternalFileSearchToolCallItemParam.cs | 0 .../InternalFunctionTool.Serialization.cs | 5 - .../{ => Responses}/InternalFunctionTool.cs | 0 ...FunctionToolCallItemParam.Serialization.cs | 5 - .../InternalFunctionToolCallItemParam.cs | 0 ...onToolCallOutputItemParam.Serialization.cs | 5 - ...InternalFunctionToolCallOutputItemParam.cs | 0 .../InternalImageGenTool.Serialization.cs | 5 - .../{ => Responses}/InternalImageGenTool.cs | 0 .../InternalImageGenToolBackground.cs | 0 ...ImageGenToolCallItemParam.Serialization.cs | 5 - .../InternalImageGenToolCallItemParam.cs | 0 ...geGenToolCallItemResource.Serialization.cs | 5 - .../InternalImageGenToolCallItemResource.cs | 0 ...ernalImageGenToolCallItemResourceStatus.cs | 0 ...mageGenToolInputImageMask.Serialization.cs | 5 - .../InternalImageGenToolInputImageMask.cs | 0 .../InternalImageGenToolModeration.cs | 0 .../InternalImageGenToolOutputFormat.cs | 0 .../InternalImageGenToolQuality.cs | 0 .../InternalImageGenToolSize.cs | 0 ...ternalImplicitUserMessage.Serialization.cs | 5 - .../InternalImplicitUserMessage.cs | 0 .../{ => Responses}/InternalIncludable.cs | 0 ...rnalItemContentInputAudio.Serialization.cs | 5 - .../InternalItemContentInputAudio.cs | 0 .../InternalItemContentInputAudioFormat.cs | 0 ...ernalItemContentInputFile.Serialization.cs | 5 - .../InternalItemContentInputFile.cs | 0 ...rnalItemContentInputImage.Serialization.cs | 5 - .../InternalItemContentInputImage.cs | 0 ...ernalItemContentInputText.Serialization.cs | 5 - .../InternalItemContentInputText.cs | 0 ...nalItemContentOutputAudio.Serialization.cs | 5 - .../InternalItemContentOutputAudio.cs | 0 ...rnalItemContentOutputText.Serialization.cs | 5 - .../InternalItemContentOutputText.cs | 0 ...nternalItemContentRefusal.Serialization.cs | 5 - .../InternalItemContentRefusal.cs | 0 .../InternalItemContentType.cs | 0 .../InternalItemParam.Serialization.cs | 5 - .../{ => Responses}/InternalItemParam.cs | 0 ...nalItemReferenceItemParam.Serialization.cs | 5 - .../InternalItemReferenceItemParam.cs | 0 .../{ => Responses}/InternalItemType.cs | 0 ...ernalLocalShellExecAction.Serialization.cs | 5 - .../InternalLocalShellExecAction.cs | 0 .../InternalLocalShellTool.Serialization.cs | 5 - .../{ => Responses}/InternalLocalShellTool.cs | 0 ...calShellToolCallItemParam.Serialization.cs | 5 - .../InternalLocalShellToolCallItemParam.cs | 0 ...ShellToolCallItemResource.Serialization.cs | 5 - .../InternalLocalShellToolCallItemResource.cs | 0 ...nalLocalShellToolCallItemResourceStatus.cs | 0 ...llToolCallOutputItemParam.Serialization.cs | 5 - ...ternalLocalShellToolCallOutputItemParam.cs | 0 ...oolCallOutputItemResource.Serialization.cs | 5 - ...nalLocalShellToolCallOutputItemResource.cs | 0 ...alShellToolCallOutputItemResourceStatus.cs | 0 .../InternalLocation.Serialization.cs | 5 - .../{ => Responses}/InternalLocation.cs | 0 .../InternalLogProb.Serialization.cs | 5 - .../Models/{ => Responses}/InternalLogProb.cs | 0 ...PApprovalRequestItemParam.Serialization.cs | 5 - .../InternalMCPApprovalRequestItemParam.cs | 0 ...provalRequestItemResource.Serialization.cs | 5 - .../InternalMCPApprovalRequestItemResource.cs | 0 ...ApprovalResponseItemParam.Serialization.cs | 5 - .../InternalMCPApprovalResponseItemParam.cs | 0 ...rovalResponseItemResource.Serialization.cs | 5 - ...InternalMCPApprovalResponseItemResource.cs | 0 .../InternalMCPCallItemParam.Serialization.cs | 5 - .../InternalMCPCallItemParam.cs | 0 ...ternalMCPCallItemResource.Serialization.cs | 5 - .../InternalMCPCallItemResource.cs | 0 ...rnalMCPListToolsItemParam.Serialization.cs | 5 - .../InternalMCPListToolsItemParam.cs | 0 ...lMCPListToolsItemResource.Serialization.cs | 5 - .../InternalMCPListToolsItemResource.cs | 0 .../InternalMCPListToolsTool.Serialization.cs | 5 - .../InternalMCPListToolsTool.cs | 0 .../InternalMCPTool.Serialization.cs | 5 - .../Models/{ => Responses}/InternalMCPTool.cs | 0 ...ernalMCPToolAllowedTools1.Serialization.cs | 5 - .../InternalMCPToolAllowedTools1.cs | 0 ...alMCPToolRequireApproval1.Serialization.cs | 5 - .../InternalMCPToolRequireApproval1.cs | 0 ...ToolRequireApprovalAlways.Serialization.cs | 5 - .../InternalMCPToolRequireApprovalAlways.cs | 0 ...PToolRequireApprovalNever.Serialization.cs | 5 - .../InternalMCPToolRequireApprovalNever.cs | 0 .../InternalModelIdsResponses.cs | 0 .../InternalReasoningGenerateSummary.cs | 0 ...nternalReasoningItemParam.Serialization.cs | 5 - .../InternalReasoningItemParam.cs | 0 .../InternalReasoningItemSummaryPartType.cs | 0 ...rpreterCallCodeDeltaEvent.Serialization.cs | 5 - ...sponseCodeInterpreterCallCodeDeltaEvent.cs | 0 ...erpreterCallCodeDoneEvent.Serialization.cs | 5 - ...esponseCodeInterpreterCallCodeDoneEvent.cs | 0 ...rpreterCallCompletedEvent.Serialization.cs | 5 - ...sponseCodeInterpreterCallCompletedEvent.cs | 0 ...preterCallInProgressEvent.Serialization.cs | 5 - ...ponseCodeInterpreterCallInProgressEvent.cs | 0 ...eterCallInterpretingEvent.Serialization.cs | 5 - ...nseCodeInterpreterCallInterpretingEvent.cs | 0 ...rnalResponseErrorResponse.Serialization.cs | 5 - .../InternalResponseErrorResponse.cs | 0 ...mageGenCallCompletedEvent.Serialization.cs | 5 - ...ernalResponseImageGenCallCompletedEvent.cs | 0 ...ageGenCallGeneratingEvent.Serialization.cs | 5 - ...rnalResponseImageGenCallGeneratingEvent.cs | 0 ...ageGenCallInProgressEvent.Serialization.cs | 5 - ...rnalResponseImageGenCallInProgressEvent.cs | 0 ...eGenCallPartialImageEvent.Serialization.cs | 5 - ...alResponseImageGenCallPartialImageEvent.cs | 0 .../InternalResponseItemList.Serialization.cs | 5 - .../InternalResponseItemList.cs | 0 ...CPCallArgumentsDeltaEvent.Serialization.cs | 5 - ...ernalResponseMCPCallArgumentsDeltaEvent.cs | 0 ...MCPCallArgumentsDoneEvent.Serialization.cs | 5 - ...ternalResponseMCPCallArgumentsDoneEvent.cs | 0 ...onseMCPCallCompletedEvent.Serialization.cs | 5 - .../InternalResponseMCPCallCompletedEvent.cs | 0 ...esponseMCPCallFailedEvent.Serialization.cs | 5 - .../InternalResponseMCPCallFailedEvent.cs | 0 ...nseMCPCallInProgressEvent.Serialization.cs | 5 - .../InternalResponseMCPCallInProgressEvent.cs | 0 ...CPListToolsCompletedEvent.Serialization.cs | 5 - ...ernalResponseMCPListToolsCompletedEvent.cs | 0 ...seMCPListToolsFailedEvent.Serialization.cs | 5 - ...InternalResponseMCPListToolsFailedEvent.cs | 0 ...PListToolsInProgressEvent.Serialization.cs | 5 - ...rnalResponseMCPListToolsInProgressEvent.cs | 0 ...sponseReasoningDeltaEvent.Serialization.cs | 5 - .../InternalResponseReasoningDeltaEvent.cs | 0 ...esponseReasoningDoneEvent.Serialization.cs | 5 - .../InternalResponseReasoningDoneEvent.cs | 0 ...easoningSummaryDeltaEvent.Serialization.cs | 5 - ...ernalResponseReasoningSummaryDeltaEvent.cs | 0 ...ReasoningSummaryDoneEvent.Serialization.cs | 5 - ...ternalResponseReasoningSummaryDoneEvent.cs | 0 ...ningSummaryPartAddedEvent.Serialization.cs | 5 - ...lResponseReasoningSummaryPartAddedEvent.cs | 0 ...oningSummaryPartDoneEvent.Serialization.cs | 5 - ...alResponseReasoningSummaryPartDoneEvent.cs | 0 ...ningSummaryTextDeltaEvent.Serialization.cs | 5 - ...lResponseReasoningSummaryTextDeltaEvent.cs | 0 ...oningSummaryTextDoneEvent.Serialization.cs | 5 - ...alResponseReasoningSummaryTextDoneEvent.cs | 0 .../InternalResponseStreamEventType.cs | 0 ...ResponsesAssistantMessage.Serialization.cs | 5 - .../InternalResponsesAssistantMessage.cs | 0 ...AssistantMessageItemParam.Serialization.cs | 5 - ...ernalResponsesAssistantMessageItemParam.cs | 0 ...ResponsesDeveloperMessage.Serialization.cs | 5 - .../InternalResponsesDeveloperMessage.cs | 0 ...DeveloperMessageItemParam.Serialization.cs | 5 - ...ernalResponsesDeveloperMessageItemParam.cs | 0 ...ResponsesMessageItemParam.Serialization.cs | 5 - .../InternalResponsesMessageItemParam.cs | 0 .../InternalResponsesMessageRole.cs | 0 ...nalResponsesSystemMessage.Serialization.cs | 5 - .../InternalResponsesSystemMessage.cs | 0 ...sesSystemMessageItemParam.Serialization.cs | 5 - ...InternalResponsesSystemMessageItemParam.cs | 0 ...onsesTextFormatJsonObject.Serialization.cs | 5 - .../InternalResponsesTextFormatJsonObject.cs | 0 ...onsesTextFormatJsonSchema.Serialization.cs | 5 - .../InternalResponsesTextFormatJsonSchema.cs | 0 ...alResponsesTextFormatText.Serialization.cs | 5 - .../InternalResponsesTextFormatText.cs | 0 .../InternalResponsesTextFormatType.cs | 0 ...ernalResponsesUserMessage.Serialization.cs | 5 - .../InternalResponsesUserMessage.cs | 0 ...onsesUserMessageItemParam.Serialization.cs | 5 - .../InternalResponsesUserMessageItemParam.cs | 0 .../InternalToolChoiceObject.Serialization.cs | 5 - .../InternalToolChoiceObject.cs | 0 ...oiceObjectCodeInterpreter.Serialization.cs | 5 - ...InternalToolChoiceObjectCodeInterpreter.cs | 0 ...lToolChoiceObjectComputer.Serialization.cs | 5 - .../InternalToolChoiceObjectComputer.cs | 0 ...oolChoiceObjectFileSearch.Serialization.cs | 5 - .../InternalToolChoiceObjectFileSearch.cs | 0 ...lToolChoiceObjectFunction.Serialization.cs | 5 - .../InternalToolChoiceObjectFunction.cs | 0 ...lToolChoiceObjectImageGen.Serialization.cs | 5 - .../InternalToolChoiceObjectImageGen.cs | 0 ...ternalToolChoiceObjectMCP.Serialization.cs | 5 - .../InternalToolChoiceObjectMCP.cs | 0 .../InternalToolChoiceObjectType.cs | 0 ...ToolChoiceObjectWebSearch.Serialization.cs | 5 - .../InternalToolChoiceObjectWebSearch.cs | 0 .../InternalToolChoiceOptions.cs | 0 .../{ => Responses}/InternalToolType.cs | 0 .../InternalTopLogProb.Serialization.cs | 5 - .../{ => Responses}/InternalTopLogProb.cs | 0 ...InternalUnknownAnnotation.Serialization.cs | 5 - .../InternalUnknownAnnotation.cs | 0 ...alUnknownComparisonFilter.Serialization.cs | 5 - .../InternalUnknownComparisonFilter.cs | 0 ...rnalUnknownCompoundFilter.Serialization.cs | 5 - .../InternalUnknownCompoundFilter.cs | 0 ...rnalUnknownComputerAction.Serialization.cs | 5 - .../InternalUnknownComputerAction.cs | 0 ...rToolCallOutputItemOutput.Serialization.cs | 5 - ...UnknownComputerToolCallOutputItemOutput.cs | 0 ...ResponseWebSearchLocation.Serialization.cs | 5 - ...lUnknownDotnetResponseWebSearchLocation.cs | 0 ...nternalUnknownItemContent.Serialization.cs | 5 - .../InternalUnknownItemContent.cs | 0 .../InternalUnknownItemParam.Serialization.cs | 5 - .../InternalUnknownItemParam.cs | 0 ...ternalUnknownItemResource.Serialization.cs | 5 - .../InternalUnknownItemResource.cs | 0 .../InternalUnknownLocation.Serialization.cs | 5 - .../InternalUnknownLocation.cs | 0 ...nReasoningItemSummaryPart.Serialization.cs | 5 - ...InternalUnknownReasoningItemSummaryPart.cs | 0 ...seTextFormatConfiguration.Serialization.cs | 5 - ...lUnknownResponseTextFormatConfiguration.cs | 0 ...ponsesMessageItemResource.Serialization.cs | 5 - ...rnalUnknownResponsesMessageItemResource.cs | 0 ...sageItemResourceItemParam.Serialization.cs | 5 - ...wnResponsesMessageItemResourceItemParam.cs | 0 .../InternalUnknownTool.Serialization.cs | 5 - .../{ => Responses}/InternalUnknownTool.cs | 0 ...alUnknownToolChoiceObject.Serialization.cs | 5 - .../InternalUnknownToolChoiceObject.cs | 0 ...alWebSearchPreviewToolSearchContextSize.cs | 0 .../InternalWebSearchTool.Serialization.cs | 5 - .../{ => Responses}/InternalWebSearchTool.cs | 0 ...ebSearchToolCallItemParam.Serialization.cs | 5 - .../InternalWebSearchToolCallItemParam.cs | 0 .../InternalWebSearchUserLocationKind.cs | 0 .../MessageResponseItem.Serialization.cs | 5 - .../{ => Responses}/MessageResponseItem.cs | 2 + .../MessageStatus.Serialization.cs | 0 .../OpenAIResponse.Serialization.cs | 5 - .../Models/{ => Responses}/OpenAIResponse.cs | 2 + .../ReasoningResponseItem.Serialization.cs | 5 - .../{ => Responses}/ReasoningResponseItem.cs | 2 + .../ReasoningSummaryPart.Serialization.cs | 5 - .../{ => Responses}/ReasoningSummaryPart.cs | 2 + .../ReasoningSummaryTextPart.Serialization.cs | 5 - .../ReasoningSummaryTextPart.cs | 2 + .../ReferenceResponseItem.Serialization.cs | 5 - .../{ => Responses}/ReferenceResponseItem.cs | 2 + .../ResponseContentPart.Serialization.cs | 5 - .../{ => Responses}/ResponseContentPart.cs | 2 + .../ResponseCreationOptions.Serialization.cs | 5 - .../ResponseCreationOptions.cs | 2 + .../ResponseDeletionResult.Serialization.cs | 5 - .../{ => Responses}/ResponseDeletionResult.cs | 2 + .../ResponseError.Serialization.cs | 5 - .../Models/{ => Responses}/ResponseError.cs | 2 + .../{ => Responses}/ResponseErrorCode.cs | 2 + .../ResponseImageDetailLevel.cs | 2 + ...seIncompleteStatusDetails.Serialization.cs | 5 - .../ResponseIncompleteStatusDetails.cs | 2 + .../ResponseIncompleteStatusReason.cs | 2 + ...nseInputTokenUsageDetails.Serialization.cs | 5 - .../ResponseInputTokenUsageDetails.cs | 2 + .../ResponseItem.Serialization.cs | 9 +- .../Models/{ => Responses}/ResponseItem.cs | 2 + ...ResponseMessageAnnotation.Serialization.cs | 5 - .../ResponseMessageAnnotation.cs | 2 + ...onseMessageAnnotationKind.Serialization.cs | 0 ...seOutputTokenUsageDetails.Serialization.cs | 5 - .../ResponseOutputTokenUsageDetails.cs | 2 + .../ResponseReasoningEffortLevel.cs | 2 + .../ResponseReasoningOptions.Serialization.cs | 5 - .../ResponseReasoningOptions.cs | 2 + .../ResponseReasoningSummaryVerbosity.cs | 2 + .../ResponseStatus.Serialization.cs | 0 .../ResponseTextFormat.Serialization.cs | 5 - .../{ => Responses}/ResponseTextFormat.cs | 2 + .../ResponseTextOptions.Serialization.cs | 5 - .../{ => Responses}/ResponseTextOptions.cs | 2 + .../ResponseTokenUsage.Serialization.cs | 5 - .../{ => Responses}/ResponseTokenUsage.cs | 2 + .../ResponseTool.Serialization.cs | 5 - .../Models/{ => Responses}/ResponseTool.cs | 2 + .../{ => Responses}/ResponseTruncationMode.cs | 2 + ...ngResponseCompletedUpdate.Serialization.cs | 5 - .../StreamingResponseCompletedUpdate.cs | 2 + ...nseContentPartAddedUpdate.Serialization.cs | 5 - ...StreamingResponseContentPartAddedUpdate.cs | 2 + ...onseContentPartDoneUpdate.Serialization.cs | 5 - .../StreamingResponseContentPartDoneUpdate.cs | 2 + ...mingResponseCreatedUpdate.Serialization.cs | 5 - .../StreamingResponseCreatedUpdate.cs | 2 + ...eamingResponseErrorUpdate.Serialization.cs | 5 - .../StreamingResponseErrorUpdate.cs | 2 + ...amingResponseFailedUpdate.Serialization.cs | 5 - .../StreamingResponseFailedUpdate.cs | 2 + ...SearchCallCompletedUpdate.Serialization.cs | 5 - ...ngResponseFileSearchCallCompletedUpdate.cs | 2 + ...earchCallInProgressUpdate.Serialization.cs | 5 - ...gResponseFileSearchCallInProgressUpdate.cs | 2 + ...SearchCallSearchingUpdate.Serialization.cs | 5 - ...ngResponseFileSearchCallSearchingUpdate.cs | 2 + ...nCallArgumentsDeltaUpdate.Serialization.cs | 5 - ...esponseFunctionCallArgumentsDeltaUpdate.cs | 2 + ...onCallArgumentsDoneUpdate.Serialization.cs | 5 - ...ResponseFunctionCallArgumentsDoneUpdate.cs | 2 + ...gResponseInProgressUpdate.Serialization.cs | 5 - .../StreamingResponseInProgressUpdate.cs | 2 + ...gResponseIncompleteUpdate.Serialization.cs | 5 - .../StreamingResponseIncompleteUpdate.cs | 2 + ...onseOutputItemAddedUpdate.Serialization.cs | 5 - .../StreamingResponseOutputItemAddedUpdate.cs | 2 + ...ponseOutputItemDoneUpdate.Serialization.cs | 5 - .../StreamingResponseOutputItemDoneUpdate.cs | 2 + ...onseOutputTextDeltaUpdate.Serialization.cs | 5 - .../StreamingResponseOutputTextDeltaUpdate.cs | 2 + ...ponseOutputTextDoneUpdate.Serialization.cs | 5 - .../StreamingResponseOutputTextDoneUpdate.cs | 2 + ...amingResponseQueuedUpdate.Serialization.cs | 5 - .../StreamingResponseQueuedUpdate.cs | 2 + ...esponseRefusalDeltaUpdate.Serialization.cs | 5 - .../StreamingResponseRefusalDeltaUpdate.cs | 2 + ...ResponseRefusalDoneUpdate.Serialization.cs | 5 - .../StreamingResponseRefusalDoneUpdate.cs | 2 + ...TextAnnotationAddedUpdate.Serialization.cs | 179 + ...eamingResponseTextAnnotationAddedUpdate.cs | 42 + .../StreamingResponseUpdate.Serialization.cs | 5 - .../StreamingResponseUpdate.cs | 2 + ...SearchCallCompletedUpdate.Serialization.cs | 5 - ...ingResponseWebSearchCallCompletedUpdate.cs | 2 + ...earchCallInProgressUpdate.Serialization.cs | 5 - ...ngResponseWebSearchCallInProgressUpdate.cs | 2 + ...SearchCallSearchingUpdate.Serialization.cs | 5 - ...ingResponseWebSearchCallSearchingUpdate.cs | 2 + ...nknownResponseStreamEvent.Serialization.cs | 5 - .../UnknownResponseStreamEvent.cs | 0 ...WebSearchCallResponseItem.Serialization.cs | 5 - .../WebSearchCallResponseItem.cs | 2 + .../WebSearchCallStatus.Serialization.cs | 0 .../{ => Responses}/WebSearchContextSize.cs | 2 + .../WebSearchUserLocation.Serialization.cs | 5 - .../{ => Responses}/WebSearchUserLocation.cs | 2 + .../FileChunkingStrategy.Serialization.cs | 5 - .../FileChunkingStrategy.cs | 9 +- ...ileFromStoreRemovalResult.Serialization.cs | 5 - .../FileFromStoreRemovalResult.cs | 2 + ...nkingStrategyRequestParam.Serialization.cs | 5 - ...nternalAutoChunkingStrategyRequestParam.cs | 0 ...nkingStrategyRequestParam.Serialization.cs | 5 - .../InternalChunkingStrategyRequestParam.cs | 0 ...nternalChunkingStrategyRequestParamType.cs | 0 ...kingStrategyResponseParam.Serialization.cs | 9 +- .../InternalChunkingStrategyResponseParam.cs | 0 ...ternalChunkingStrategyResponseParamType.cs | 0 ...ctorStoreFileBatchRequest.Serialization.cs | 5 - ...ternalCreateVectorStoreFileBatchRequest.cs | 0 ...ateVectorStoreFileRequest.Serialization.cs | 5 - .../InternalCreateVectorStoreFileRequest.cs | 0 ...AutoChunkingStrategyParam.Serialization.cs | 10 +- ...DotNetCombinedAutoChunkingStrategyParam.cs | 5 +- ...otNetCombinedChunkingStrategyParamType.cs} | 22 +- ...therChunkingStrategyParam.Serialization.cs | 10 +- ...otNetCombinedOtherChunkingStrategyParam.cs | 5 +- ...tVectorStoreFilesResponse.Serialization.cs | 5 - .../InternalListVectorStoreFilesResponse.cs | 0 ...lListVectorStoresResponse.Serialization.cs | 5 - .../InternalListVectorStoresResponse.cs | 0 ...kingStrategyResponseParam.Serialization.cs | 5 - ...ernalOtherChunkingStrategyResponseParam.cs | 0 ...nalStaticChunkingStrategy.Serialization.cs | 5 - .../InternalStaticChunkingStrategy.cs | 0 ...nkingStrategyRequestParam.Serialization.cs | 5 - ...ernalStaticChunkingStrategyRequestParam.cs | 0 ...kingStrategyResponseParam.Serialization.cs | 5 - ...rnalStaticChunkingStrategyResponseParam.cs | 0 ...StrategyRequestParamProxy.Serialization.cs | 5 - ...nknownChunkingStrategyRequestParamProxy.cs | 0 ...kingStrategyResponseParam.Serialization.cs | 5 - ...nalUnknownChunkingStrategyResponseParam.cs | 0 ...inedChunkingStrategyParam.Serialization.cs | 10 +- ...nownDotNetCombinedChunkingStrategyParam.cs | 3 +- ...toreFileAttributesRequest.Serialization.cs | 5 - ...lUpdateVectorStoreFileAttributesRequest.cs | 0 ...FileBatchObjectFileCounts.Serialization.cs | 5 - ...nalVectorStoreFileBatchObjectFileCounts.cs | 0 ...rStoreFileContentResponse.Serialization.cs | 5 - .../InternalVectorStoreFileContentResponse.cs | 0 ...eFileContentResponseDatum.Serialization.cs | 5 - ...rnalVectorStoreFileContentResponseDatum.cs | 0 ...lVectorStoreSearchRequest.Serialization.cs | 5 - .../InternalVectorStoreSearchRequest.cs | 0 ...archRequestRankingOptions.Serialization.cs | 5 - ...lVectorStoreSearchRequestRankingOptions.cs | 0 ...rStoreSearchRequestRankingOptionsRanker.cs | 0 ...SearchResultContentObject.Serialization.cs | 5 - ...nalVectorStoreSearchResultContentObject.cs | 0 ...ctorStoreSearchResultItem.Serialization.cs | 5 - .../InternalVectorStoreSearchResultItem.cs | 0 ...torStoreSearchResultsPage.Serialization.cs | 5 - .../InternalVectorStoreSearchResultsPage.cs | 0 ...taticFileChunkingStrategy.Serialization.cs | 12 +- .../StaticFileChunkingStrategy.cs | 7 +- .../VectorStore.Serialization.cs | 5 - .../Models/{ => VectorStores}/VectorStore.cs | 2 + .../VectorStoreBatchFileJob.Serialization.cs | 5 - .../VectorStoreBatchFileJob.cs | 2 + .../VectorStoreBatchFileJobStatus.cs | 2 + .../VectorStoreCollectionOrder.cs | 2 + ...ectorStoreCreationOptions.Serialization.cs | 5 - .../VectorStoreCreationOptions.cs | 2 + ...VectorStoreDeletionResult.Serialization.cs | 5 - .../VectorStoreDeletionResult.cs | 2 + ...ctorStoreExpirationAnchor.Serialization.cs | 0 ...ctorStoreExpirationPolicy.Serialization.cs | 5 - .../VectorStoreExpirationPolicy.cs | 2 + ...ectorStoreFileAssociation.Serialization.cs | 5 - .../VectorStoreFileAssociation.cs | 2 + ...StoreFileAssociationError.Serialization.cs | 5 - .../VectorStoreFileAssociationError.cs | 2 + .../VectorStoreFileAssociationErrorCode.cs | 2 + ...toreFileAssociationStatus.Serialization.cs | 0 .../VectorStoreFileCounts.Serialization.cs | 5 - .../VectorStoreFileCounts.cs | 2 + .../VectorStoreFileStatusFilter.cs | 2 + ...rStoreModificationOptions.Serialization.cs | 5 - .../VectorStoreModificationOptions.cs | 2 + .../VectorStoreStatus.Serialization.cs | 0 src/Generated/ModerationClient.RestClient.cs | 2 +- src/Generated/ModerationClient.cs | 19 + src/Generated/OpenAIFileClient.RestClient.cs | 4 +- src/Generated/OpenAIFileClient.cs | 79 + src/Generated/OpenAIModelFactory.cs | 654 +-- src/Generated/OpenAIResponseClient.cs | 34 + src/Generated/RealtimeClient.cs | 2 + src/Generated/VectorStoreClient.RestClient.cs | 6 +- src/Generated/VectorStoreClient.cs | 90 + 2064 files changed, 9919 insertions(+), 6674 deletions(-) create mode 100644 codegen/emitter/src/emitter.ts create mode 100644 codegen/emitter/src/index.ts create mode 100644 codegen/generator/OpenAI.Library.Plugin.sln create mode 100644 codegen/generator/src/OpenAI.Library.Plugin.csproj create mode 100644 codegen/generator/src/OpenAILibraryGenerator.cs create mode 100644 codegen/generator/src/OpenAILibraryVisitor.cs create mode 100644 codegen/generator/src/Visitors/ConstructorFixupVisitor.cs create mode 100644 codegen/generator/src/Visitors/ContentInnerCollectionDefinedVisitor.cs create mode 100644 codegen/generator/src/Visitors/ExperimentalAttributeVisitor.cs create mode 100644 codegen/generator/src/Visitors/ExplicitConversionFromClientResultVisitor.cs create mode 100644 codegen/generator/src/Visitors/ImplicitConversionToBinaryContentVisitor.cs create mode 100644 codegen/generator/src/Visitors/InvariantFormatAdditionalPropertiesVisitor.cs create mode 100644 codegen/generator/src/Visitors/KindRenameVisitor.cs create mode 100644 codegen/generator/src/Visitors/ModelDirectoryVisitor.cs create mode 100644 codegen/generator/src/Visitors/ModelSerializationVisitor.cs create mode 100644 codegen/generator/src/Visitors/NonAbstractPublicTypesVisitor.cs create mode 100644 codegen/generator/src/Visitors/OmittedTypesVisitor.cs create mode 100644 codegen/generator/src/Visitors/PageOrderRemovalVisitor.cs create mode 100644 codegen/generator/src/Visitors/ProhibitedNamespaceVisitor.cs create mode 100644 codegen/generator/src/Visitors/VirtualMessageCreationVisitor.cs create mode 100644 codegen/generator/src/Visitors/VisibilityVisitor.cs create mode 100644 codegen/generator/src/Visitors/VisitorHelpers.cs create mode 100644 codegen/package.json create mode 100644 codegen/tsconfig.build.json create mode 100644 codegen/tsconfig.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 scripts/Export-Api.ps1 create mode 100644 scripts/Invoke-CodeGen.ps1 create mode 100644 scripts/Test-AotCompatibility.ps1 create mode 100644 scripts/Test-ApiCompatibility.ps1 create mode 100644 specification/client/assistants.client.tsp create mode 100644 specification/client/audio.client.tsp create mode 100644 specification/client/batch.client.tsp create mode 100644 specification/client/chat.client.tsp create mode 100644 specification/client/embeddings.client.tsp create mode 100644 specification/client/files.client.tsp create mode 100644 specification/client/fine-tuning.client.tsp create mode 100644 specification/client/images.client.tsp create mode 100644 specification/client/messages.client.tsp create mode 100644 specification/client/models/audio.models.tsp create mode 100644 specification/client/models/common.models.tsp create mode 100644 specification/client/models/responses.models.tsp create mode 100644 specification/client/models/vector-stores.models.tsp create mode 100644 specification/client/moderations.client.tsp create mode 100644 specification/client/runs.client.tsp create mode 100644 specification/client/threads.client.tsp create mode 100644 specification/client/vector-stores.client.tsp create mode 100644 specification/main.tsp create mode 100644 specification/tspconfig.yaml delete mode 100644 src/Custom/Audio/AudioClient.Protocol.cs delete mode 100644 src/Custom/Embeddings/EmbeddingClient.Protocol.cs delete mode 100644 src/Custom/Images/ImageClient.Protocol.cs delete mode 100644 src/Custom/Moderations/ModerationClient.Protocol.cs rename src/Generated/Models/{ => Assistants}/Assistant.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/Assistant.cs (97%) rename src/Generated/Models/{ => Assistants}/AssistantCreationOptions.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/AssistantCreationOptions.cs (96%) rename src/Generated/Models/{ => Assistants}/AssistantDeletionResult.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/AssistantDeletionResult.cs (93%) rename src/Generated/Models/{ => Assistants}/AssistantModificationOptions.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/AssistantModificationOptions.cs (96%) rename src/Generated/Models/{ => Assistants}/AssistantResponseFormat.Serialization.cs (95%) rename src/Generated/Models/{ => Assistants}/AssistantResponseFormat.cs (93%) rename src/Generated/Models/{ => Assistants}/AssistantThread.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/AssistantThread.cs (95%) rename src/Generated/Models/{ => Assistants}/CodeInterpreterToolDefinition.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/CodeInterpreterToolDefinition.cs (88%) rename src/Generated/Models/{ => Assistants}/CodeInterpreterToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/CodeInterpreterToolResources.cs (93%) rename src/Generated/Models/{ => Assistants}/FileSearchRanker.cs (95%) rename src/Generated/Models/{ => Assistants}/FileSearchRankingOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/FileSearchRankingOptions.cs (93%) rename src/Generated/Models/{ => Assistants}/FileSearchToolDefinition.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/FileSearchToolDefinition.cs (89%) rename src/Generated/Models/{ => Assistants}/FileSearchToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/FileSearchToolResources.cs (94%) rename src/Generated/Models/{ => Assistants}/FunctionToolDefinition.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/FunctionToolDefinition.cs (88%) rename src/Generated/Models/{ => Assistants}/InternalAssistantSupportedModels.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalAssistantToolDefinitionType.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalAssistantToolsFileSearchFileSearch.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalAssistantToolsFileSearchFileSearch.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalAssistantToolsFileSearchTypeOnly.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalAssistantsNamedToolChoiceFunction.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalAssistantsNamedToolChoiceFunction.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalAssistantsNamedToolChoiceType.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateAssistantRequestToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalCreateAssistantRequestToolResources.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalCreateAssistantRequestToolResourcesCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadAndRunRequest.Serialization.cs (99%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadAndRunRequest.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadAndRunRequestModel.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadAndRunRequestToolChoice.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadAndRunRequestToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadAndRunRequestToolResources.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadRequestToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadRequestToolResources.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadRequestToolResourcesCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalCreateThreadRequestToolResourcesFileSearchBase.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/InternalDotNetAssistantResponseFormatJsonObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalDotNetAssistantResponseFormatJsonSchema.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalDotNetAssistantResponseFormatText.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/InternalDotNetAssistantResponseFormatText.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalIncludedRunStepProperty.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalListAssistantsResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalListAssistantsResponse.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalListMessagesResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalListMessagesResponse.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalListRunStepsResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalListRunStepsResponse.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalListRunsResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalListRunsResponse.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentImageFileObject.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentImageFileObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentImageFileObjectImageFileDetail.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentImageUrlObject.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentImageUrlObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentImageUrlObjectImageUrl.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentImageUrlObjectImageUrlDetail.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentItemFileObjectImageFile.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentItemFileObjectImageFile.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentRefusalObject.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentRefusalObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationType.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationsFileCitationObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationsFilePathObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextAnnotationsFilePathObjectFilePath.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextObject.Serialization.cs (95%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextObjectAnnotation.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextObjectAnnotation.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextObjectText1.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentTextObjectText1.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageContentType.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContent.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContent.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageFileObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageFileObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageFileObjectImageFile.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageFileObjectImageFileDetail.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageUrlObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageUrlObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageUrlObjectImageUrl.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentImageUrlObjectImageUrlDetail.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentRefusalObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentRefusalObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextAnnotationsFileCitationObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextAnnotationsFilePathObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextObjectText.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaContentTextObjectText.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaObjectDelta.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaObjectDelta.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaObjectDeltaRole.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaTextContentAnnotation.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageDeltaTextContentAnnotation.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageObjectAttachment.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalMessageObjectAttachment.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalMessageObjectRole.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalModifyAssistantRequestToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalModifyAssistantRequestToolResources.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalModifyAssistantRequestToolResourcesCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalModifyThreadRequestToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalModifyThreadRequestToolResources.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalModifyThreadRequestToolResourcesCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRequiredFunctionToolCall.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRequiredFunctionToolCall.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunObjectRequiredActionSubmitToolOutputs.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunRequiredAction.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunRequiredAction.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepCodeInterpreterLogOutput.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/InternalRunStepCodeInterpreterLogOutput.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDelta.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDelta.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaObjectDelta.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaObjectDelta.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetails.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsMessageCreationObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsCodeInterpreterOutputType.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsMessageCreationObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsMessageCreationObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsMessageCreationObjectMessageCreation.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsCodeObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsCodeOutputImageObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFileSearchObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFunctionObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsFunctionObjectFunction.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsObject.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsToolCallsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunStepDetailsType.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalRunToolCallObjectFunction.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalRunToolCallObjectFunction.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalSubmitToolOutputsRunRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalSubmitToolOutputsRunRequest.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalThreadObjectToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalThreadObjectToolResources.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalThreadObjectToolResourcesCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalThreadObjectToolResourcesFileSearch.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalThreadObjectToolResourcesFileSearch.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalToolResourcesFileSearchIdsOnly.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/InternalToolResourcesFileSearchIdsOnly.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalTruncationObjectType.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/InternalUnknownDotNetAssistantResponseFormat.cs (100%) rename src/Generated/Models/{ => Assistants}/InternalUnknownMessageContent.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/InternalUnknownMessageContent.cs (100%) rename src/Generated/Models/{ => Assistants}/MessageContent.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/MessageContent.cs (92%) rename src/Generated/Models/{ => Assistants}/MessageCreationAttachment.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/MessageCreationAttachment.cs (94%) rename src/Generated/Models/{ => Assistants}/MessageCreationOptions.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/MessageCreationOptions.cs (94%) rename src/Generated/Models/{ => Assistants}/MessageDeletionResult.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/MessageDeletionResult.cs (93%) rename src/Generated/Models/{ => Assistants}/MessageFailureDetails.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/MessageFailureDetails.cs (92%) rename src/Generated/Models/{ => Assistants}/MessageFailureReason.cs (96%) rename src/Generated/Models/{ => Assistants}/MessageModificationOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/MessageModificationOptions.cs (93%) rename src/Generated/Models/{ => Assistants}/MessageRole.Serialization.cs (100%) rename src/Generated/Models/{ => Assistants}/MessageStatus.cs (96%) rename src/Generated/Models/{ => Assistants}/RunCreationOptions.Serialization.cs (99%) rename src/Generated/Models/{ => Assistants}/RunCreationOptions.cs (96%) rename src/Generated/Models/{ => Assistants}/RunError.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/RunError.cs (93%) rename src/Generated/Models/{ => Assistants}/RunErrorCode.cs (96%) rename src/Generated/Models/{ => Assistants}/RunIncompleteDetails.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/RunIncompleteDetails.cs (92%) rename src/Generated/Models/{ => Assistants}/RunIncompleteReason.cs (95%) rename src/Generated/Models/{ => Assistants}/RunModificationOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunModificationOptions.cs (93%) rename src/Generated/Models/{ => Assistants}/RunStatus.cs (97%) rename src/Generated/Models/{ => Assistants}/RunStep.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/RunStep.cs (97%) rename src/Generated/Models/{ => Assistants}/RunStepCodeInterpreterOutput.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunStepCodeInterpreterOutput.cs (93%) rename src/Generated/Models/{ => Assistants}/RunStepDetails.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/RunStepDetails.cs (92%) rename src/Generated/Models/{ => Assistants}/RunStepError.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/RunStepError.cs (93%) rename src/Generated/Models/{ => Assistants}/RunStepErrorCode.cs (95%) rename src/Generated/Models/{ => Assistants}/RunStepFileSearchResult.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunStepFileSearchResult.cs (95%) rename src/Generated/Models/{ => Assistants}/RunStepFileSearchResultContent.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunStepFileSearchResultContent.cs (93%) rename src/Generated/Models/{ => Assistants}/RunStepFileSearchResultContentKind.Serialization.cs (100%) rename src/Generated/Models/{ => Assistants}/RunStepKind.Serialization.cs (100%) rename src/Generated/Models/{ => Assistants}/RunStepStatus.cs (96%) rename src/Generated/Models/{ => Assistants}/RunStepTokenUsage.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunStepTokenUsage.cs (94%) rename src/Generated/Models/{ => Assistants}/RunStepToolCall.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunStepToolCall.cs (93%) rename src/Generated/Models/{ => Assistants}/RunStepToolCallKind.Serialization.cs (100%) rename src/Generated/Models/{ => Assistants}/RunStepUpdateCodeInterpreterOutput.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunStepUpdateCodeInterpreterOutput.cs (93%) rename src/Generated/Models/{ => Assistants}/RunTokenUsage.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunTokenUsage.cs (94%) rename src/Generated/Models/{ => Assistants}/RunTruncationStrategy.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/RunTruncationStrategy.cs (92%) rename src/Generated/Models/{ => Assistants}/ThreadCreationOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/ThreadCreationOptions.cs (94%) rename src/Generated/Models/{ => Assistants}/ThreadDeletionResult.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/ThreadDeletionResult.cs (93%) rename src/Generated/Models/{ => Assistants}/ThreadMessage.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/ThreadMessage.cs (97%) rename src/Generated/Models/{ => Assistants}/ThreadModificationOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/ThreadModificationOptions.cs (94%) rename src/Generated/Models/{ => Assistants}/ThreadRun.Serialization.cs (99%) rename src/Generated/Models/{ => Assistants}/ThreadRun.cs (98%) rename src/Generated/Models/{ => Assistants}/ToolConstraint.Serialization.cs (95%) rename src/Generated/Models/{ => Assistants}/ToolConstraint.cs (93%) rename src/Generated/Models/{ => Assistants}/ToolDefinition.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/ToolDefinition.cs (92%) rename src/Generated/Models/{ => Assistants}/ToolOutput.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/ToolOutput.cs (92%) rename src/Generated/Models/{ => Assistants}/ToolResources.Serialization.cs (97%) rename src/Generated/Models/{ => Assistants}/ToolResources.cs (92%) rename src/Generated/Models/{ => Assistants}/UnknownAssistantToolDefinition.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownAssistantToolDefinition.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownMessageContentTextObjectAnnotation.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownMessageContentTextObjectAnnotation.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownMessageDeltaContent.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownMessageDeltaContent.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownMessageDeltaTextContentAnnotation.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownMessageDeltaTextContentAnnotation.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDeltaStepDetails.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDeltaStepDetails.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepDetailsToolCallsObjectToolCallsObject.cs (100%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepObjectStepDetails.Serialization.cs (96%) rename src/Generated/Models/{ => Assistants}/UnknownRunStepObjectStepDetails.cs (100%) rename src/Generated/Models/{ => Assistants}/VectorStoreCreationHelper.Serialization.cs (98%) rename src/Generated/Models/{ => Assistants}/VectorStoreCreationHelper.cs (94%) rename src/Generated/Models/{ => Audio}/AudioTokenLogProbabilityDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Audio}/AudioTokenLogProbabilityDetails.cs (94%) rename src/Generated/Models/{ => Audio}/AudioTranscription.Serialization.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranscription.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranscriptionFormat.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranscriptionOptions.Serialization.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranscriptionOptions.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranslation.Serialization.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranslation.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranslationFormat.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranslationOptions.Serialization.cs (100%) rename src/Generated/Models/{ => Audio}/AudioTranslationOptions.cs (100%) rename src/Generated/Models/{ => Audio}/GeneratedSpeechFormat.cs (100%) rename src/Generated/Models/{ => Audio}/GeneratedSpeechVoice.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateSpeechRequestModel.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionRequestAccept.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionRequestModel.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionRequestTimestampGranularities.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionResponseJson.Serialization.cs (97%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionResponseJson.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs (97%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionResponseJsonLogprob.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs (98%) rename src/Generated/Models/{ => Audio}/InternalCreateTranscriptionResponseVerboseJson.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateTranslationRequestModel.cs (100%) rename src/Generated/Models/{ => Audio}/InternalCreateTranslationResponseJson.Serialization.cs (97%) rename src/Generated/Models/{ => Audio}/InternalCreateTranslationResponseJson.cs (100%) rename src/Generated/Models/{ => Audio}/InternalTranscriptionInclude.cs (100%) rename src/Generated/Models/{ => Audio}/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Audio}/InternalUnknownCreateTranscriptionResponseStreamEvent.cs (100%) rename src/Generated/Models/{ => Audio}/SpeechGenerationOptions.Serialization.cs (100%) rename src/Generated/Models/{ => Audio}/SpeechGenerationOptions.cs (100%) rename src/Generated/Models/{ => Audio}/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Audio}/StreamingAudioTranscriptionTextDeltaUpdate.cs (94%) rename src/Generated/Models/{ => Audio}/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Audio}/StreamingAudioTranscriptionTextDoneUpdate.cs (94%) rename src/Generated/Models/{ => Audio}/StreamingAudioTranscriptionUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Audio}/StreamingAudioTranscriptionUpdate.cs (93%) rename src/Generated/Models/{ => Audio}/StreamingAudioTranscriptionUpdateKind.cs (96%) rename src/Generated/Models/{ => Audio}/TranscribedSegment.Serialization.cs (98%) rename src/Generated/Models/{ => Audio}/TranscribedSegment.cs (100%) rename src/Generated/Models/{ => Audio}/TranscribedWord.Serialization.cs (97%) rename src/Generated/Models/{ => Audio}/TranscribedWord.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchError.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalBatchError.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchErrors.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalBatchErrors.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchJob.Serialization.cs (99%) rename src/Generated/Models/{ => Batch}/InternalBatchJob.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestCounts.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestCounts.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestInput.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestInput.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestOutput.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestOutput.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestOutputError.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestOutputError.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestOutputResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalBatchRequestOutputResponse.cs (100%) rename src/Generated/Models/{ => Batch}/InternalBatchStatus.cs (100%) rename src/Generated/Models/{ => Batch}/InternalCreateBatchRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalCreateBatchRequest.cs (100%) rename src/Generated/Models/{ => Batch}/InternalCreateBatchRequestEndpoint.cs (100%) rename src/Generated/Models/{ => Batch}/InternalListBatchesResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Batch}/InternalListBatchesResponse.cs (100%) rename src/Generated/Models/{ => Chat}/AssistantChatMessage.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/AssistantChatMessage.cs (100%) rename src/Generated/Models/{ => Chat}/ChatAudioOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/ChatAudioOptions.cs (93%) rename src/Generated/Models/{ => Chat}/ChatCompletion.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatCompletion.cs (100%) rename src/Generated/Models/{ => Chat}/ChatCompletionDeletionResult.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/ChatCompletionDeletionResult.cs (93%) rename src/Generated/Models/{ => Chat}/ChatCompletionOptions.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatCompletionOptions.cs (100%) rename src/Generated/Models/{ => Chat}/ChatFinishReason.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatFunction.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatFunction.cs (100%) rename src/Generated/Models/{ => Chat}/ChatFunctionCall.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatFunctionCall.cs (100%) rename src/Generated/Models/{ => Chat}/ChatFunctionChoice.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatFunctionChoice.cs (100%) rename src/Generated/Models/{ => Chat}/ChatImageDetailLevel.cs (100%) rename src/Generated/Models/{ => Chat}/ChatInputAudioFormat.cs (95%) rename src/Generated/Models/{ => Chat}/ChatInputTokenUsageDetails.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatInputTokenUsageDetails.cs (100%) rename src/Generated/Models/{ => Chat}/ChatMessage.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatMessage.cs (100%) rename src/Generated/Models/{ => Chat}/ChatMessageAnnotation.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/ChatMessageAnnotation.cs (93%) rename src/Generated/Models/{ => Chat}/ChatMessageContentPart.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatMessageContentPart.cs (100%) rename src/Generated/Models/{ => Chat}/ChatMessageContentPartKind.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatMessageRole.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatOutputAudio.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/ChatOutputAudio.cs (94%) rename src/Generated/Models/{ => Chat}/ChatOutputAudioFormat.cs (96%) rename src/Generated/Models/{ => Chat}/ChatOutputAudioReference.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/ChatOutputAudioReference.cs (92%) rename src/Generated/Models/{ => Chat}/ChatOutputAudioVoice.cs (97%) rename src/Generated/Models/{ => Chat}/ChatOutputPrediction.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/ChatOutputPrediction.cs (92%) rename src/Generated/Models/{ => Chat}/ChatOutputTokenUsageDetails.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatOutputTokenUsageDetails.cs (100%) rename src/Generated/Models/{ => Chat}/ChatReasoningEffortLevel.cs (96%) rename src/Generated/Models/{ => Chat}/ChatResponseFormat.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatResponseFormat.cs (100%) rename src/Generated/Models/{ => Chat}/ChatTokenLogProbabilityDetails.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatTokenLogProbabilityDetails.cs (100%) rename src/Generated/Models/{ => Chat}/ChatTokenTopLogProbabilityDetails.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatTokenTopLogProbabilityDetails.cs (100%) rename src/Generated/Models/{ => Chat}/ChatTokenUsage.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatTokenUsage.cs (100%) rename src/Generated/Models/{ => Chat}/ChatTool.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatTool.cs (100%) rename src/Generated/Models/{ => Chat}/ChatToolCall.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatToolCall.cs (100%) rename src/Generated/Models/{ => Chat}/ChatToolCallKind.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatToolChoice.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatToolChoice.cs (100%) rename src/Generated/Models/{ => Chat}/ChatToolKind.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ChatWebSearchOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/ChatWebSearchOptions.cs (93%) rename src/Generated/Models/{ => Chat}/DeveloperChatMessage.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/DeveloperChatMessage.cs (89%) rename src/Generated/Models/{ => Chat}/FunctionChatMessage.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/FunctionChatMessage.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionFunctionCallOption.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionFunctionCallOption.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionList.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionList.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionMessageList.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionMessageList.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionMessageListDatum.Serialization.cs (98%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionMessageListDatum.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionMessageToolCallChunkFunction.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionMessageToolCallFunction.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionMessageToolCallFunction.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionNamedToolChoice.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionNamedToolChoice.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionNamedToolChoiceFunction.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartAudio.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartAudioInputAudio.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartFile.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartFileFile.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartImage.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartRefusal.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartText.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionRequestMessageContentPartText.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionResponseMessage.Serialization.cs (98%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionResponseMessage.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionResponseMessageAnnotationUrlCitation.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionResponseMessageFunctionCall.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionStreamOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionStreamOptions.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionStreamResponseDelta.Serialization.cs (98%) rename src/Generated/Models/{ => Chat}/InternalChatCompletionStreamResponseDelta.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatOutputPredictionContent.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalChatOutputPredictionContent.cs (100%) rename src/Generated/Models/{ => Chat}/InternalChatOutputPredictionKind.cs (100%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionRequestModality.cs (100%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionRequestToolChoice.cs (100%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs (100%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionResponseChoice.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionResponseChoice.cs (100%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionResponseChoiceLogprobs.cs (100%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionStreamResponseChoice.cs (100%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionStreamResponseChoiceFinishReason.cs (100%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalCreateChatCompletionStreamResponseChoiceLogprobs.cs (100%) rename src/Generated/Models/{ => Chat}/InternalDotNetChatResponseFormatJsonObject.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalDotNetChatResponseFormatJsonObject.cs (100%) rename src/Generated/Models/{ => Chat}/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalDotNetChatResponseFormatJsonSchema.cs (100%) rename src/Generated/Models/{ => Chat}/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.cs (100%) rename src/Generated/Models/{ => Chat}/InternalDotNetChatResponseFormatText.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalDotNetChatResponseFormatText.cs (100%) rename src/Generated/Models/{ => Chat}/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalUnknownChatCompletionRequestMessageContentPart.cs (100%) rename src/Generated/Models/{ => Chat}/InternalUnknownChatMessage.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalUnknownChatMessage.cs (100%) rename src/Generated/Models/{ => Chat}/InternalUnknownChatOutputPrediction.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalUnknownChatOutputPrediction.cs (100%) rename src/Generated/Models/{ => Chat}/InternalUnknownChatResponseFormat.Serialization.cs (96%) rename src/Generated/Models/{ => Chat}/InternalUnknownChatResponseFormat.cs (100%) rename src/Generated/Models/{ => Chat}/StreamingChatCompletionUpdate.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/StreamingChatCompletionUpdate.cs (100%) rename src/Generated/Models/{ => Chat}/StreamingChatFunctionCallUpdate.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/StreamingChatFunctionCallUpdate.cs (100%) rename src/Generated/Models/{ => Chat}/StreamingChatOutputAudioUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Chat}/StreamingChatOutputAudioUpdate.cs (93%) rename src/Generated/Models/{ => Chat}/StreamingChatToolCallUpdate.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/StreamingChatToolCallUpdate.cs (100%) rename src/Generated/Models/{ => Chat}/SystemChatMessage.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/SystemChatMessage.cs (100%) rename src/Generated/Models/{ => Chat}/ToolChatMessage.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/ToolChatMessage.cs (100%) rename src/Generated/Models/{ => Chat}/UserChatMessage.Serialization.cs (100%) rename src/Generated/Models/{ => Chat}/UserChatMessage.cs (100%) rename src/Generated/Models/{ => Containers}/InternalContainerFileListResource.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalContainerFileListResource.cs (100%) rename src/Generated/Models/{ => Containers}/InternalContainerFileResource.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalContainerFileResource.cs (100%) rename src/Generated/Models/{ => Containers}/InternalContainerListResource.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalContainerListResource.cs (100%) rename src/Generated/Models/{ => Containers}/InternalContainerResource.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalContainerResource.cs (100%) rename src/Generated/Models/{ => Containers}/InternalContainerResourceExpiresAfter.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalContainerResourceExpiresAfter.cs (100%) rename src/Generated/Models/{ => Containers}/InternalCreateContainerBody.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalCreateContainerBody.cs (100%) rename src/Generated/Models/{ => Containers}/InternalCreateContainerBodyExpiresAfter.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalCreateContainerBodyExpiresAfter.cs (100%) rename src/Generated/Models/{ => Containers}/InternalCreateContainerFileBody.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalCreateContainerFileBody.cs (100%) rename src/Generated/Models/{ => Containers}/InternalDeleteContainerFileResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalDeleteContainerFileResponse.cs (100%) rename src/Generated/Models/{ => Containers}/InternalDeleteContainerResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Containers}/InternalDeleteContainerResponse.cs (100%) rename src/Generated/Models/{ => Embeddings}/EmbeddingGenerationOptions.Serialization.cs (100%) rename src/Generated/Models/{ => Embeddings}/EmbeddingGenerationOptions.cs (100%) rename src/Generated/Models/{ => Embeddings}/EmbeddingTokenUsage.Serialization.cs (100%) rename src/Generated/Models/{ => Embeddings}/EmbeddingTokenUsage.cs (100%) rename src/Generated/Models/{ => Embeddings}/InternalCreateEmbeddingRequestEncodingFormat.cs (100%) rename src/Generated/Models/{ => Embeddings}/InternalCreateEmbeddingRequestModel.cs (100%) rename src/Generated/Models/{ => Embeddings}/OpenAIEmbedding.Serialization.cs (100%) rename src/Generated/Models/{ => Embeddings}/OpenAIEmbedding.cs (100%) rename src/Generated/Models/{ => Embeddings}/OpenAIEmbeddingCollection.Serialization.cs (100%) rename src/Generated/Models/{ => Embeddings}/OpenAIEmbeddingCollection.cs (100%) rename src/Generated/Models/{ => Evals}/InternalCreateEvalRequest.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalCreateEvalRequest.cs (100%) rename src/Generated/Models/{ => Evals}/InternalCreateEvalRunRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalCreateEvalRunRequest.cs (100%) rename src/Generated/Models/{ => Evals}/InternalDeleteEvalResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalDeleteEvalResponse.cs (100%) rename src/Generated/Models/{ => Evals}/InternalDeleteEvalRunResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalDeleteEvalRunResponse.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEval.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEval.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalApiError.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalApiError.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalCompletionsRunDataSourceParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalCompletionsRunDataSourceParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalCompletionsRunDataSourceParamsSamplingParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalCustomDataSourceConfigParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalCustomDataSourceConfigParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalCustomDataSourceConfigResource.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalCustomDataSourceConfigResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalDataSourceConfigParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalDataSourceConfigParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalDataSourceConfigResource.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalDataSourceConfigResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalDataSourceConfigType.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderLabelModelParams.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderLabelModelParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderLabelModelParamsInput.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderLabelModelParamsInput.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderLabelModelResource.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderLabelModelResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderPythonParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderPythonParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderPythonResource.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderPythonResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderResource.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderScoreModelParams.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderScoreModelParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderScoreModelResource.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderScoreModelResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderStringCheckParams.Serialization.cs (95%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderStringCheckParams.cs (78%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderTextSimilarityParams.Serialization.cs (94%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderTextSimilarityParams.cs (75%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderTextSimilarityResource.Serialization.cs (94%) rename src/Generated/Models/{ => Evals}/InternalEvalGraderTextSimilarityResource.cs (71%) rename src/Generated/Models/{ => Evals}/InternalEvalItem.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalItem.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalItemContent.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalEvalItemContent.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalItemContentInputText.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalEvalItemContentInputText.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalItemContentOutputText.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalEvalItemContentOutputText.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalItemContentType.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalItemRole.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalJsonlRunDataSourceParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalJsonlRunDataSourceParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalList.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalList.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalLogsDataSourceConfigParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalLogsDataSourceConfigParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalLogsDataSourceConfigResource.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalLogsDataSourceConfigResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsSamplingParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRun.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalRun.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunDataContentSource.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunDataContentSource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunDataContentSourceType.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunDataSourceParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunDataSourceParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunDataSourceResource.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunDataSourceResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunDataSourceType.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunFileContentDataContentSource.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunFileContentDataContentSource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalRunFileContentDataContentSourceContent.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunFileIdDataContentSource.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalEvalRunFileIdDataContentSource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunList.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunList.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItem.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItem.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemList.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemList.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemSample.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemSample.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemSampleInput.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemSampleInput.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemSampleOutput.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemSampleOutput.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemSampleUsage.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunOutputItemSampleUsage.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunPerModelUsage.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunPerModelUsage.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunPerTestingCriteriaResult.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunPerTestingCriteriaResult.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunResponsesDataContentSource.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalRunResponsesDataContentSource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunResultCounts.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalRunResultCounts.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalRunStoredCompletionsDataContentSource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalEvalStoredCompletionsDataSourceConfigParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs (98%) rename src/Generated/Models/{ => Evals}/InternalEvalStoredCompletionsDataSourceConfigResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalGetEvalRunOutputItemsRequestStatus.cs (100%) rename src/Generated/Models/{ => Evals}/InternalGetEvalRunsRequestStatus.cs (100%) rename src/Generated/Models/{ => Evals}/InternalListEvalsRequestOrderBy.cs (100%) rename src/Generated/Models/{ => Evals}/InternalMetadataPropertyForRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalMetadataPropertyForRequest.cs (100%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalDataSourceConfigParams.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalDataSourceConfigParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalDataSourceConfigResource.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalDataSourceConfigResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalGraderParams.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalGraderParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalGraderResource.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalGraderResource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalItemContent.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalItemContent.cs (100%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalRunDataContentSource.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalRunDataContentSource.cs (100%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalRunDataSourceParams.Serialization.cs (96%) rename src/Generated/Models/{ => Evals}/InternalUnknownEvalRunDataSourceParams.cs (100%) rename src/Generated/Models/{ => Evals}/InternalUpdateEvalRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Evals}/InternalUpdateEvalRequest.cs (100%) rename src/Generated/Models/{ => Files}/FileDeletionResult.Serialization.cs (100%) rename src/Generated/Models/{ => Files}/FileDeletionResult.cs (100%) rename src/Generated/Models/{ => Files}/FilePurpose.Serialization.cs (100%) rename src/Generated/Models/{ => Files}/FileStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Files}/FileUploadPurpose.cs (100%) rename src/Generated/Models/{ => Files}/InternalAddUploadPartRequest.Serialization.cs (96%) rename src/Generated/Models/{ => Files}/InternalAddUploadPartRequest.cs (100%) rename src/Generated/Models/{ => Files}/InternalCompleteUploadRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Files}/InternalCompleteUploadRequest.cs (100%) rename src/Generated/Models/{ => Files}/InternalCreateUploadRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Files}/InternalCreateUploadRequest.cs (100%) rename src/Generated/Models/{ => Files}/InternalCreateUploadRequestPurpose.cs (100%) rename src/Generated/Models/{ => Files}/InternalFileUploadOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Files}/InternalFileUploadOptions.cs (100%) rename src/Generated/Models/{ => Files}/InternalUpload.Serialization.cs (98%) rename src/Generated/Models/{ => Files}/InternalUpload.cs (100%) rename src/Generated/Models/{ => Files}/InternalUploadPart.Serialization.cs (97%) rename src/Generated/Models/{ => Files}/InternalUploadPart.cs (100%) rename src/Generated/Models/{ => Files}/InternalUploadStatus.cs (100%) rename src/Generated/Models/{ => Files}/OpenAIFile.Serialization.cs (100%) rename src/Generated/Models/{ => Files}/OpenAIFile.cs (100%) rename src/Generated/Models/{ => Files}/OpenAIFileCollection.Serialization.cs (100%) rename src/Generated/Models/{ => Files}/OpenAIFileCollection.cs (100%) rename src/Generated/Models/{ => FineTuning}/FineTuningCheckpoint.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/FineTuningCheckpoint.cs (95%) rename src/Generated/Models/{ => FineTuning}/FineTuningCheckpointMetrics.Serialization.cs (98%) rename src/Generated/Models/{ => FineTuning}/FineTuningCheckpointMetrics.cs (95%) rename src/Generated/Models/{ => FineTuning}/FineTuningError.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/FineTuningError.cs (94%) rename src/Generated/Models/{ => FineTuning}/FineTuningEvent.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/FineTuningEvent.cs (95%) rename src/Generated/Models/{ => FineTuning}/FineTuningHyperparameters.Serialization.cs (98%) rename src/Generated/Models/{ => FineTuning}/FineTuningHyperparameters.cs (93%) rename src/Generated/Models/{ => FineTuning}/FineTuningIntegration.Serialization.cs (96%) rename src/Generated/Models/{ => FineTuning}/FineTuningIntegration.cs (93%) rename src/Generated/Models/{ => FineTuning}/FineTuningIntegrationWandbWandb.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/FineTuningIntegrationWandbWandb.cs (100%) rename src/Generated/Models/{ => FineTuning}/FineTuningJobEventKind.cs (95%) rename src/Generated/Models/{ => FineTuning}/FineTuningJobEventLevel.Serialization.cs (100%) rename src/Generated/Models/{ => FineTuning}/FineTuningOptions.Serialization.cs (98%) rename src/Generated/Models/{ => FineTuning}/FineTuningOptions.cs (95%) rename src/Generated/Models/{ => FineTuning}/FineTuningStatus.cs (96%) rename src/Generated/Models/{ => FineTuning}/FineTuningTrainingMethod.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/FineTuningTrainingMethod.cs (94%) rename src/Generated/Models/{ => FineTuning}/HyperparameterOptions.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/HyperparameterOptions.cs (100%) rename src/Generated/Models/{ => FineTuning}/HyperparametersForDPO.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/HyperparametersForDPO.cs (93%) rename src/Generated/Models/{ => FineTuning}/HyperparametersForSupervised.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/HyperparametersForSupervised.cs (93%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningCheckpointPermissionRequest.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningJobRequestHyperparametersBetaChoiceEnum.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningJobRequestIntegrationType.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningJobRequestModel.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs (98%) rename src/Generated/Models/{ => FineTuning}/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalDeleteFineTuningCheckpointPermissionResponse.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuneChatCompletionRequestAssistantMessageWeight.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuneMethodType.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuneReinforcementHyperparametersReasoningEffort.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuneReinforcementMethod.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuneReinforcementMethod.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningCheckpointPermission.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningCheckpointPermission.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningIntegration.Serialization.cs (96%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningIntegration.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningIntegrationType.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningIntegrationWandb.Serialization.cs (96%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningIntegrationWandb.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningJob.Serialization.cs (99%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningJob.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningJobRequestMethodDpo.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningJobRequestMethodDpo.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningJobRequestMethodSupervised.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningJobRequestMethodSupervised.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningJobsPageToken.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalFineTuningJobsPageToken.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs (98%) rename src/Generated/Models/{ => FineTuning}/InternalListFineTuningCheckpointPermissionResponse.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalListFineTuningJobCheckpointsResponse.Serialization.cs (98%) rename src/Generated/Models/{ => FineTuning}/InternalListFineTuningJobCheckpointsResponse.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalListFineTuningJobEventsResponse.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalListFineTuningJobEventsResponse.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalListPaginatedFineTuningJobsResponse.Serialization.cs (97%) rename src/Generated/Models/{ => FineTuning}/InternalListPaginatedFineTuningJobsResponse.cs (100%) rename src/Generated/Models/{ => FineTuning}/InternalTodoFineTuneChatRequestInput.Serialization.cs (98%) rename src/Generated/Models/{ => FineTuning}/InternalTodoFineTuneChatRequestInput.cs (100%) rename src/Generated/Models/{ => FineTuning}/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs (96%) rename src/Generated/Models/{ => FineTuning}/UnknownCreateFineTuningJobRequestIntegration.cs (100%) rename src/Generated/Models/{ => FineTuning}/UnknownFineTuningIntegration.Serialization.cs (96%) rename src/Generated/Models/{ => FineTuning}/UnknownFineTuningIntegration.cs (100%) rename src/Generated/Models/{ => FineTuning}/WeightsAndBiasesIntegration.Serialization.cs (96%) rename src/Generated/Models/{ => FineTuning}/WeightsAndBiasesIntegration.cs (88%) rename src/Generated/Models/{ => Graders}/InternalFineTuneReinforcementHyperparameters.Serialization.cs (98%) rename src/Generated/Models/{ => Graders}/InternalFineTuneReinforcementHyperparameters.cs (100%) rename src/Generated/Models/{ => Graders}/InternalGrader.Serialization.cs (97%) rename src/Generated/Models/{ => Graders}/InternalGrader.cs (100%) rename src/Generated/Models/{ => Graders}/InternalGraderLabelModel.Serialization.cs (98%) rename src/Generated/Models/{ => Graders}/InternalGraderLabelModel.cs (100%) rename src/Generated/Models/{ => Graders}/InternalGraderMulti.Serialization.cs (97%) rename src/Generated/Models/{ => Graders}/InternalGraderMulti.cs (100%) rename src/Generated/Models/{ => Graders}/InternalGraderPython.Serialization.cs (97%) rename src/Generated/Models/{ => Graders}/InternalGraderPython.cs (100%) rename src/Generated/Models/{ => Graders}/InternalGraderScoreModel.Serialization.cs (97%) rename src/Generated/Models/{ => Graders}/InternalGraderScoreModel.cs (100%) rename src/Generated/Models/{ => Graders}/InternalGraderStringCheck.Serialization.cs (94%) rename src/Generated/Models/{ => Graders}/InternalGraderStringCheck.cs (72%) create mode 100644 src/Generated/Models/Graders/InternalGraderStringCheckOperation.cs rename src/Generated/Models/{ => Graders}/InternalGraderTextSimilarity.Serialization.cs (94%) rename src/Generated/Models/{ => Graders}/InternalGraderTextSimilarity.cs (71%) create mode 100644 src/Generated/Models/Graders/InternalGraderTextSimilarityEvaluationMetric.cs rename src/Generated/Models/{ => Graders}/InternalGraderType.cs (100%) rename src/Generated/Models/{ => Graders}/InternalRunGraderRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Graders}/InternalRunGraderRequest.cs (100%) rename src/Generated/Models/{ => Graders}/InternalRunGraderResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Graders}/InternalRunGraderResponse.cs (100%) rename src/Generated/Models/{ => Graders}/InternalRunGraderResponseMetadata.Serialization.cs (98%) rename src/Generated/Models/{ => Graders}/InternalRunGraderResponseMetadata.cs (100%) rename src/Generated/Models/{ => Graders}/InternalRunGraderResponseMetadataErrors.Serialization.cs (98%) rename src/Generated/Models/{ => Graders}/InternalRunGraderResponseMetadataErrors.cs (100%) rename src/Generated/Models/{ => Graders}/InternalUnknownGrader.Serialization.cs (96%) rename src/Generated/Models/{ => Graders}/InternalUnknownGrader.cs (100%) rename src/Generated/Models/{ => Graders}/InternalValidateGraderRequest.Serialization.cs (97%) rename src/Generated/Models/{ => Graders}/InternalValidateGraderRequest.cs (100%) rename src/Generated/Models/{ => Graders}/InternalValidateGraderResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Graders}/InternalValidateGraderResponse.cs (100%) rename src/Generated/Models/{ => Images}/GeneratedImage.Serialization.cs (100%) rename src/Generated/Models/{ => Images}/GeneratedImage.cs (100%) rename src/Generated/Models/{ => Images}/GeneratedImageBackground.cs (96%) rename src/Generated/Models/{ => Images}/GeneratedImageCollection.Serialization.cs (100%) rename src/Generated/Models/{ => Images}/GeneratedImageCollection.cs (100%) rename src/Generated/Models/{ => Images}/GeneratedImageFileFormat.cs (96%) rename src/Generated/Models/{ => Images}/GeneratedImageFormat.cs (100%) rename src/Generated/Models/{ => Images}/GeneratedImageModerationLevel.cs (96%) rename src/Generated/Models/{ => Images}/GeneratedImageQuality.cs (100%) rename src/Generated/Models/{ => Images}/GeneratedImageSize.cs (100%) rename src/Generated/Models/{ => Images}/GeneratedImageStyle.cs (100%) rename src/Generated/Models/{ => Images}/ImageEditOptions.Serialization.cs (100%) rename src/Generated/Models/{ => Images}/ImageEditOptions.cs (100%) rename src/Generated/Models/{ => Images}/ImageGenerationOptions.Serialization.cs (100%) rename src/Generated/Models/{ => Images}/ImageGenerationOptions.cs (100%) rename src/Generated/Models/{ => Images}/ImageInputTokenUsageDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Images}/ImageInputTokenUsageDetails.cs (93%) rename src/Generated/Models/{ => Images}/ImageTokenUsage.Serialization.cs (97%) rename src/Generated/Models/{ => Images}/ImageTokenUsage.cs (94%) rename src/Generated/Models/{ => Images}/ImageVariationOptions.Serialization.cs (100%) rename src/Generated/Models/{ => Images}/ImageVariationOptions.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageEditRequestBackground.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageEditRequestModel.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageEditRequestQuality.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageEditRequestResponseFormat.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageEditRequestSize.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageRequestModel.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageVariationRequestModel.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageVariationRequestResponseFormat.cs (100%) rename src/Generated/Models/{ => Images}/InternalCreateImageVariationRequestSize.cs (100%) rename src/Generated/Models/{ => Internal}/InternalLogProbProperties.Serialization.cs (97%) rename src/Generated/Models/{ => Internal}/InternalLogProbProperties.cs (100%) rename src/Generated/Models/{ => Internal}/InternalModelIdsShared.cs (100%) rename src/Generated/Models/{ => Internal}/InternalResponseFormat.Serialization.cs (96%) rename src/Generated/Models/{ => Internal}/InternalResponseFormat.cs (100%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatJsonObject.Serialization.cs (96%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatJsonObject.cs (100%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatJsonSchema.Serialization.cs (96%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatJsonSchema.cs (100%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs (97%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatJsonSchemaJsonSchema.cs (100%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatJsonSchemaSchema.Serialization.cs (96%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatJsonSchemaSchema.cs (100%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatText.Serialization.cs (96%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatText.cs (100%) rename src/Generated/Models/{ => Internal}/InternalResponseFormatType.cs (100%) rename src/Generated/Models/{ => Internal}/InternalServiceTier.cs (100%) rename src/Generated/Models/{ => Internal}/InternalUnknownResponseFormat.Serialization.cs (96%) rename src/Generated/Models/{ => Internal}/InternalUnknownResponseFormat.cs (100%) rename src/Generated/Models/{ => Internal}/InternalVoiceIdsShared.cs (100%) rename src/Generated/Models/{ => Internal}/InternalWebSearchContextSize.cs (100%) rename src/Generated/Models/{ => Internal}/InternalWebSearchLocation.Serialization.cs (97%) rename src/Generated/Models/{ => Internal}/InternalWebSearchLocation.cs (100%) rename src/Generated/Models/{ => Internal}/OpenAIError.Serialization.cs (97%) rename src/Generated/Models/{ => Internal}/OpenAIError.cs (100%) rename src/Generated/Models/{ => Internal}/OpenAIErrorResponse.Serialization.cs (96%) rename src/Generated/Models/{ => Internal}/OpenAIErrorResponse.cs (100%) delete mode 100644 src/Generated/Models/InternalEvalGraderStringCheckParamsOperation.cs delete mode 100644 src/Generated/Models/InternalEvalGraderTextSimilarityResourceEvaluationMetric.cs rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionRequest.Serialization.cs (99%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionRequest.cs (100%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionRequestModel.cs (100%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionResponse.Serialization.cs (98%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionResponse.cs (100%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionResponseChoice.Serialization.cs (97%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionResponseChoice.cs (100%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionResponseChoiceFinishReason.cs (100%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs (98%) rename src/Generated/Models/{ => LegacyCompletions}/InternalCreateCompletionResponseChoiceLogprobs.cs (100%) rename src/Generated/Models/{ => Models}/ModelDeletionResult.Serialization.cs (100%) rename src/Generated/Models/{ => Models}/ModelDeletionResult.cs (100%) rename src/Generated/Models/{ => Models}/OpenAIModel.Serialization.cs (100%) rename src/Generated/Models/{ => Models}/OpenAIModel.cs (100%) rename src/Generated/Models/{ => Models}/OpenAIModelCollection.Serialization.cs (100%) rename src/Generated/Models/{ => Models}/OpenAIModelCollection.cs (100%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationRequestInput2.Serialization.cs (97%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationRequestInput2.cs (100%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationRequestInput3.Serialization.cs (97%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationRequestInput3.cs (100%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationRequestInputImageUrl.Serialization.cs (97%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationRequestInputImageUrl.cs (100%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationRequestModel.cs (100%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs (99%) rename src/Generated/Models/{ => Moderations}/InternalCreateModerationResponseResultCategoryAppliedInputTypes.cs (100%) rename src/Generated/Models/{ => Moderations}/InternalModerationCategories.Serialization.cs (98%) rename src/Generated/Models/{ => Moderations}/InternalModerationCategories.cs (100%) rename src/Generated/Models/{ => Moderations}/InternalModerationCategoryScores.Serialization.cs (98%) rename src/Generated/Models/{ => Moderations}/InternalModerationCategoryScores.cs (100%) rename src/Generated/Models/{ => Moderations}/ModerationApplicableInputKinds.Serialization.cs (100%) rename src/Generated/Models/{ => Moderations}/ModerationOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Moderations}/ModerationOptions.cs (100%) rename src/Generated/Models/{ => Moderations}/ModerationResult.Serialization.cs (100%) rename src/Generated/Models/{ => Moderations}/ModerationResult.cs (100%) rename src/Generated/Models/{ => Moderations}/ModerationResultCollection.Serialization.cs (100%) rename src/Generated/Models/{ => Moderations}/ModerationResultCollection.cs (100%) rename src/Generated/Models/{ => Realtime}/ConversationContentPart.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationContentPart.cs (92%) rename src/Generated/Models/{ => Realtime}/ConversationContentPartKind.cs (96%) rename src/Generated/Models/{ => Realtime}/ConversationFunctionTool.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationFunctionTool.cs (91%) rename src/Generated/Models/{ => Realtime}/ConversationIncompleteReason.cs (96%) rename src/Generated/Models/{ => Realtime}/ConversationInputTokenUsageDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationInputTokenUsageDetails.cs (93%) rename src/Generated/Models/{ => Realtime}/ConversationItemStatus.cs (96%) rename src/Generated/Models/{ => Realtime}/ConversationMessageRole.cs (96%) rename src/Generated/Models/{ => Realtime}/ConversationOutputTokenUsageDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationOutputTokenUsageDetails.cs (92%) rename src/Generated/Models/{ => Realtime}/ConversationRateLimitDetailsItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationRateLimitDetailsItem.cs (94%) rename src/Generated/Models/{ => Realtime}/ConversationResponseOptions.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/ConversationResponseOptions.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationSessionConfiguredUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationSessionConfiguredUpdate.cs (91%) rename src/Generated/Models/{ => Realtime}/ConversationSessionOptions.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/ConversationSessionOptions.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationSessionStartedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationSessionStartedUpdate.cs (91%) rename src/Generated/Models/{ => Realtime}/ConversationStatus.cs (96%) rename src/Generated/Models/{ => Realtime}/ConversationStatusDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationStatusDetails.cs (94%) rename src/Generated/Models/{ => Realtime}/ConversationTokenUsage.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ConversationTokenUsage.cs (94%) rename src/Generated/Models/{ => Realtime}/ConversationTool.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/ConversationTool.cs (92%) rename src/Generated/Models/{ => Realtime}/ConversationToolChoiceKind.Serialization.cs (100%) rename src/Generated/Models/{ => Realtime}/ConversationToolKind.cs (95%) rename src/Generated/Models/{ => Realtime}/ConversationVoice.cs (97%) rename src/Generated/Models/{ => Realtime}/InputAudioClearedUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InputAudioClearedUpdate.cs (88%) rename src/Generated/Models/{ => Realtime}/InputAudioCommittedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InputAudioCommittedUpdate.cs (92%) rename src/Generated/Models/{ => Realtime}/InputAudioSpeechFinishedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InputAudioSpeechFinishedUpdate.cs (91%) rename src/Generated/Models/{ => Realtime}/InputAudioSpeechStartedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InputAudioSpeechStartedUpdate.cs (91%) rename src/Generated/Models/{ => Realtime}/InputAudioTranscriptionDeltaUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InputAudioTranscriptionDeltaUpdate.cs (94%) rename src/Generated/Models/{ => Realtime}/InputAudioTranscriptionFailedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InputAudioTranscriptionFailedUpdate.cs (93%) rename src/Generated/Models/{ => Realtime}/InputAudioTranscriptionFinishedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InputAudioTranscriptionFinishedUpdate.cs (95%) rename src/Generated/Models/{ => Realtime}/InputNoiseReductionKind.Serialization.cs (100%) rename src/Generated/Models/{ => Realtime}/InputNoiseReductionOptions.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InputNoiseReductionOptions.cs (92%) rename src/Generated/Models/{ => Realtime}/InputTranscriptionModel.cs (95%) rename src/Generated/Models/{ => Realtime}/InputTranscriptionOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InputTranscriptionOptions.cs (93%) rename src/Generated/Models/{ => Realtime}/InternalDotNetRealtimeLogProbProperties.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalDotNetRealtimeLogProbProperties.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeAudioFarFieldNoiseReduction.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeAudioNearFieldNoiseReduction.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEvent.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventConversationItemCreate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventConversationItemCreate.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventConversationItemDelete.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventConversationItemDelete.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventConversationItemRetrieve.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventConversationItemTruncate.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventInputAudioBufferAppend.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventInputAudioBufferClear.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventInputAudioBufferCommit.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventOutputAudioBufferClear.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventResponseCancel.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventResponseCancel.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventResponseCreate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventResponseCreate.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventSessionUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventSessionUpdate.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventTranscriptionSessionUpdate.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeClientEventType.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeItemType.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestAssistantMessageItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestAssistantMessageItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestAudioContentPart.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestAudioContentPart.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestFunctionCallItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestFunctionCallItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestFunctionCallOutputItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestMessageItem.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestMessageItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestSessionModality.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestSessionModel.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestSystemMessageItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestSystemMessageItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestTextContentPart.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestTextContentPart.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestUserMessageItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeRequestUserMessageItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponse.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponse.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseAudioContentPart.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseAudioContentPart.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseFunctionCallItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseFunctionCallItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseFunctionCallOutputItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseMessageItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseMessageItem.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseModality.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseOutputAudioFormat.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseSession.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseSession.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseStatusDetailsError.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseStatusDetailsError.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseStatusDetailsType.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseTextContentPart.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeResponseTextContentPart.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSemanticVadTurnDetection.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSemanticVadTurnDetection.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSemanticVadTurnDetectionEagerness.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventConversationCreated.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventConversationCreated.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventConversationCreatedConversation.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventErrorError.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventErrorError.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventOutputAudioBufferCleared.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventOutputAudioBufferStarted.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventOutputAudioBufferStopped.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseAudioDelta.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseAudioTranscriptDelta.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseContentPartAdded.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseContentPartDone.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseTextDelta.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerEventResponseTextDelta.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerVadTurnDetection.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeServerVadTurnDetection.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequest.Serialization.cs (99%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequest.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestClientSecret.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestInputAudioNoiseReductionType.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestInputAudioTranscription.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestModel.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestTracing1.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestTurnDetection.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestTurnDetectionEagerness.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateRequestTurnDetectionType.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponse.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponse.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponseClientSecret.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponseInputAudioTranscription.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponseTracing1.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeSessionCreateResponseTurnDetection.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeToolChoiceFunctionObject.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeToolChoiceFunctionObject.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeToolChoiceFunctionObjectFunction.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeToolChoiceObject.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeToolChoiceObject.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestInputAudioFormat.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestModality.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionType.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponse.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponseModality.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalTranscriptTextDeltaEventLogprob.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalTranscriptTextDeltaEventLogprob.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalTranscriptTextDoneEventLogprob.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalTranscriptTextDoneEventLogprob.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/InternalUnknownRealtimeAudioNoiseReduction.cs (100%) rename src/Generated/Models/{ => Realtime}/InternalVadConfig.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/InternalVadConfig.cs (100%) rename src/Generated/Models/{ => Realtime}/ItemCreatedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ItemCreatedUpdate.cs (92%) rename src/Generated/Models/{ => Realtime}/ItemDeletedUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/ItemDeletedUpdate.cs (89%) rename src/Generated/Models/{ => Realtime}/ItemRetrievedUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/ItemRetrievedUpdate.cs (89%) rename src/Generated/Models/{ => Realtime}/ItemTruncatedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/ItemTruncatedUpdate.cs (92%) rename src/Generated/Models/{ => Realtime}/OutputAudioFinishedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/OutputAudioFinishedUpdate.cs (94%) rename src/Generated/Models/{ => Realtime}/OutputAudioTranscriptionFinishedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/OutputAudioTranscriptionFinishedUpdate.cs (94%) rename src/Generated/Models/{ => Realtime}/OutputStreamingFinishedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/OutputStreamingFinishedUpdate.cs (93%) rename src/Generated/Models/{ => Realtime}/OutputStreamingStartedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/OutputStreamingStartedUpdate.cs (93%) rename src/Generated/Models/{ => Realtime}/OutputTextFinishedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/OutputTextFinishedUpdate.cs (94%) rename src/Generated/Models/{ => Realtime}/RateLimitsUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/RateLimitsUpdate.cs (92%) rename src/Generated/Models/{ => Realtime}/RealtimeAudioFormat.cs (96%) rename src/Generated/Models/{ => Realtime}/RealtimeErrorUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/RealtimeErrorUpdate.cs (90%) rename src/Generated/Models/{ => Realtime}/RealtimeItem.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/RealtimeItem.cs (93%) rename src/Generated/Models/{ => Realtime}/RealtimeUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/RealtimeUpdate.cs (93%) rename src/Generated/Models/{ => Realtime}/RealtimeUpdateKind.Serialization.cs (100%) rename src/Generated/Models/{ => Realtime}/ResponseConversationSelection.cs (96%) rename src/Generated/Models/{ => Realtime}/ResponseFinishedUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/ResponseFinishedUpdate.cs (90%) rename src/Generated/Models/{ => Realtime}/ResponseStartedUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/ResponseStartedUpdate.cs (90%) rename src/Generated/Models/{ => Realtime}/TranscriptionSessionConfiguredUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/TranscriptionSessionConfiguredUpdate.cs (91%) rename src/Generated/Models/{ => Realtime}/TranscriptionSessionOptions.Serialization.cs (98%) rename src/Generated/Models/{ => Realtime}/TranscriptionSessionOptions.cs (96%) rename src/Generated/Models/{ => Realtime}/TurnDetectionKind.Serialization.cs (100%) rename src/Generated/Models/{ => Realtime}/TurnDetectionOptions.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/TurnDetectionOptions.cs (93%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeClientEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeClientEvent.cs (100%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeContentPart.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeContentPart.cs (100%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeRequestItem.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeRequestItem.cs (100%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeRequestMessageItem.Serialization.cs (97%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeRequestMessageItem.cs (100%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeResponseItem.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeResponseItem.cs (100%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeServerEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeServerEvent.cs (100%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeTool.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeTool.cs (100%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeToolChoiceObject.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeToolChoiceObject.cs (100%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeTurnDetection.Serialization.cs (96%) rename src/Generated/Models/{ => Realtime}/UnknownRealtimeTurnDetection.cs (100%) rename src/Generated/Models/{ => Responses}/ComputerCallAction.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ComputerCallAction.cs (92%) rename src/Generated/Models/{ => Responses}/ComputerCallActionKind.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/ComputerCallActionMouseButton.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/ComputerCallOutputResponseItem.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ComputerCallOutputResponseItem.cs (94%) rename src/Generated/Models/{ => Responses}/ComputerCallOutputStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/ComputerCallResponseItem.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ComputerCallResponseItem.cs (94%) rename src/Generated/Models/{ => Responses}/ComputerCallSafetyCheck.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ComputerCallSafetyCheck.cs (94%) rename src/Generated/Models/{ => Responses}/ComputerCallStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/ComputerOutput.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/ComputerOutput.cs (92%) rename src/Generated/Models/{ => Responses}/ComputerToolEnvironment.cs (96%) rename src/Generated/Models/{ => Responses}/FileSearchCallResponseItem.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/FileSearchCallResponseItem.cs (94%) rename src/Generated/Models/{ => Responses}/FileSearchCallResult.Serialization.cs (98%) rename src/Generated/Models/{ => Responses}/FileSearchCallResult.cs (95%) rename src/Generated/Models/{ => Responses}/FileSearchCallStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/FileSearchToolRanker.cs (95%) rename src/Generated/Models/{ => Responses}/FileSearchToolRankingOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/FileSearchToolRankingOptions.cs (93%) rename src/Generated/Models/{ => Responses}/FunctionCallOutputResponseItem.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/FunctionCallOutputResponseItem.cs (92%) rename src/Generated/Models/{ => Responses}/FunctionCallOutputStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/FunctionCallResponseItem.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/FunctionCallResponseItem.cs (93%) rename src/Generated/Models/{ => Responses}/FunctionCallStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/InternalAnnotationFileCitation.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalAnnotationFileCitation.cs (100%) rename src/Generated/Models/{ => Responses}/InternalAnnotationFilePath.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalAnnotationFilePath.cs (100%) rename src/Generated/Models/{ => Responses}/InternalAnnotationUrlCitation.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalAnnotationUrlCitation.cs (100%) rename src/Generated/Models/{ => Responses}/InternalApproximateLocation.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalApproximateLocation.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterFileOutput.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterFileOutput.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterFileOutputFile.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterFileOutputFile.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterTextOutput.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterTextOutput.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterTool.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterToolAuto.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterToolAuto.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterToolCallItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterToolCallItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterToolCallItemResource.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterToolCallItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCodeInterpreterToolCallItemResourceStatus.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilter.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilter.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterEquals.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterEquals.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterGreaterThan.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterGreaterThan.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterGreaterThanOrEquals.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterGreaterThanOrEquals.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterLessThan.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterLessThan.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterLessThanOrEquals.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterLessThanOrEquals.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterNotEquals.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterNotEquals.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComparisonFilterType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCompoundFilter.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalCompoundFilter.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCompoundFilterAnd.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalCompoundFilterAnd.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCompoundFilterOr.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalCompoundFilterOr.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCompoundFilterType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionClick.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComputerActionClick.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionDoubleClick.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComputerActionDoubleClick.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionDrag.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComputerActionDrag.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionKeyPress.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComputerActionKeyPress.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionMove.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComputerActionMove.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionScreenshot.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComputerActionScreenshot.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionScroll.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComputerActionScroll.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionTypeKeys.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComputerActionTypeKeys.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerActionWait.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalComputerActionWait.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerToolCallOutputItemOutputComputerScreenshot.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComputerToolCallOutputItemOutputComputerScreenshot.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerUsePreviewTool.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComputerUsePreviewTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerUsePreviewToolCallItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComputerUsePreviewToolCallItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerUsePreviewToolCallOutputItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalComputerUsePreviewToolCallOutputItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalComputerUsePreviewToolCallOutputOutputType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalCoordinate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalCoordinate.cs (100%) rename src/Generated/Models/{ => Responses}/InternalDotnetResponseWebSearchApproximateLocation.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalDotnetResponseWebSearchApproximateLocation.cs (100%) rename src/Generated/Models/{ => Responses}/InternalFileSearchTool.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalFileSearchTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalFileSearchToolCallItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalFileSearchToolCallItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalFunctionTool.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalFunctionTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalFunctionToolCallItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalFunctionToolCallItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalFunctionToolCallOutputItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalFunctionToolCallOutputItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenTool.Serialization.cs (98%) rename src/Generated/Models/{ => Responses}/InternalImageGenTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolBackground.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolCallItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolCallItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolCallItemResource.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolCallItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolCallItemResourceStatus.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolInputImageMask.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolInputImageMask.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolModeration.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolOutputFormat.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolQuality.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImageGenToolSize.cs (100%) rename src/Generated/Models/{ => Responses}/InternalImplicitUserMessage.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalImplicitUserMessage.cs (100%) rename src/Generated/Models/{ => Responses}/InternalIncludable.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputAudio.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputAudio.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputAudioFormat.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputFile.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputFile.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputImage.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputImage.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputText.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalItemContentInputText.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentOutputAudio.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalItemContentOutputAudio.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentOutputText.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalItemContentOutputText.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentRefusal.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalItemContentRefusal.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemContentType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemReferenceItemParam.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalItemReferenceItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalItemType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocalShellExecAction.Serialization.cs (98%) rename src/Generated/Models/{ => Responses}/InternalLocalShellExecAction.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocalShellTool.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalLocalShellTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallItemResource.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallItemResourceStatus.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallOutputItemParam.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallOutputItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallOutputItemResource.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallOutputItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocalShellToolCallOutputItemResourceStatus.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLocation.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalLocation.cs (100%) rename src/Generated/Models/{ => Responses}/InternalLogProb.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalLogProb.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPApprovalRequestItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPApprovalRequestItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPApprovalRequestItemResource.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPApprovalRequestItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPApprovalResponseItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPApprovalResponseItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPApprovalResponseItemResource.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPApprovalResponseItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPCallItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPCallItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPCallItemResource.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPCallItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPListToolsItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPListToolsItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPListToolsItemResource.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPListToolsItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPListToolsTool.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPListToolsTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPTool.Serialization.cs (98%) rename src/Generated/Models/{ => Responses}/InternalMCPTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPToolAllowedTools1.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPToolAllowedTools1.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPToolRequireApproval1.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPToolRequireApproval1.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPToolRequireApprovalAlways.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPToolRequireApprovalAlways.cs (100%) rename src/Generated/Models/{ => Responses}/InternalMCPToolRequireApprovalNever.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalMCPToolRequireApprovalNever.cs (100%) rename src/Generated/Models/{ => Responses}/InternalModelIdsResponses.cs (100%) rename src/Generated/Models/{ => Responses}/InternalReasoningGenerateSummary.cs (100%) rename src/Generated/Models/{ => Responses}/InternalReasoningItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalReasoningItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalReasoningItemSummaryPartType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallCodeDeltaEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallCodeDeltaEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallCodeDoneEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallCodeDoneEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallCompletedEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallCompletedEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallInProgressEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallInProgressEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallInterpretingEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseCodeInterpreterCallInterpretingEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseErrorResponse.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseErrorResponse.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseImageGenCallCompletedEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseImageGenCallCompletedEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseImageGenCallGeneratingEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseImageGenCallGeneratingEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseImageGenCallInProgressEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseImageGenCallInProgressEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseImageGenCallPartialImageEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseImageGenCallPartialImageEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseItemList.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseItemList.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallArgumentsDeltaEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallArgumentsDeltaEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallArgumentsDoneEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallArgumentsDoneEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallCompletedEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallCompletedEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallFailedEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallFailedEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallInProgressEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPCallInProgressEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPListToolsCompletedEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPListToolsCompletedEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPListToolsFailedEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPListToolsFailedEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPListToolsInProgressEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalResponseMCPListToolsInProgressEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningDeltaEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningDeltaEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningDoneEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningDoneEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryDeltaEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryDeltaEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryDoneEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryDoneEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryPartAddedEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryPartAddedEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryPartDoneEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryPartDoneEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryTextDeltaEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryTextDeltaEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryTextDoneEvent.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponseReasoningSummaryTextDoneEvent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponseStreamEventType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesAssistantMessage.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesAssistantMessage.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesAssistantMessageItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesAssistantMessageItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesDeveloperMessage.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesDeveloperMessage.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesDeveloperMessageItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesDeveloperMessageItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesMessageItemParam.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalResponsesMessageItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesMessageRole.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesSystemMessage.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesSystemMessage.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesSystemMessageItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesSystemMessageItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesTextFormatJsonObject.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalResponsesTextFormatJsonObject.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesTextFormatJsonSchema.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesTextFormatJsonSchema.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesTextFormatText.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalResponsesTextFormatText.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesTextFormatType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesUserMessage.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesUserMessage.cs (100%) rename src/Generated/Models/{ => Responses}/InternalResponsesUserMessageItemParam.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalResponsesUserMessageItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObject.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObject.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectCodeInterpreter.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectCodeInterpreter.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectComputer.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectComputer.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectFileSearch.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectFileSearch.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectFunction.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectFunction.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectImageGen.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectImageGen.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectMCP.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectMCP.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectWebSearch.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceObjectWebSearch.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolChoiceOptions.cs (100%) rename src/Generated/Models/{ => Responses}/InternalToolType.cs (100%) rename src/Generated/Models/{ => Responses}/InternalTopLogProb.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalTopLogProb.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownAnnotation.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownAnnotation.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownComparisonFilter.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownComparisonFilter.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownCompoundFilter.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownCompoundFilter.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownComputerAction.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownComputerAction.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownComputerToolCallOutputItemOutput.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownComputerToolCallOutputItemOutput.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownDotnetResponseWebSearchLocation.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownDotnetResponseWebSearchLocation.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownItemContent.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownItemContent.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownItemParam.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownItemResource.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownLocation.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownLocation.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownReasoningItemSummaryPart.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownReasoningItemSummaryPart.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownResponseTextFormatConfiguration.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownResponseTextFormatConfiguration.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownResponsesMessageItemResource.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownResponsesMessageItemResource.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownResponsesMessageItemResourceItemParam.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownResponsesMessageItemResourceItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownTool.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalUnknownToolChoiceObject.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalUnknownToolChoiceObject.cs (100%) rename src/Generated/Models/{ => Responses}/InternalWebSearchPreviewToolSearchContextSize.cs (100%) rename src/Generated/Models/{ => Responses}/InternalWebSearchTool.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/InternalWebSearchTool.cs (100%) rename src/Generated/Models/{ => Responses}/InternalWebSearchToolCallItemParam.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/InternalWebSearchToolCallItemParam.cs (100%) rename src/Generated/Models/{ => Responses}/InternalWebSearchUserLocationKind.cs (100%) rename src/Generated/Models/{ => Responses}/MessageResponseItem.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/MessageResponseItem.cs (91%) rename src/Generated/Models/{ => Responses}/MessageStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/OpenAIResponse.Serialization.cs (99%) rename src/Generated/Models/{ => Responses}/OpenAIResponse.cs (98%) rename src/Generated/Models/{ => Responses}/ReasoningResponseItem.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ReasoningResponseItem.cs (93%) rename src/Generated/Models/{ => Responses}/ReasoningSummaryPart.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/ReasoningSummaryPart.cs (93%) rename src/Generated/Models/{ => Responses}/ReasoningSummaryTextPart.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/ReasoningSummaryTextPart.cs (91%) rename src/Generated/Models/{ => Responses}/ReferenceResponseItem.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/ReferenceResponseItem.cs (84%) rename src/Generated/Models/{ => Responses}/ResponseContentPart.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseContentPart.cs (92%) rename src/Generated/Models/{ => Responses}/ResponseCreationOptions.Serialization.cs (99%) rename src/Generated/Models/{ => Responses}/ResponseCreationOptions.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseDeletionResult.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseDeletionResult.cs (93%) rename src/Generated/Models/{ => Responses}/ResponseError.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseError.cs (93%) rename src/Generated/Models/{ => Responses}/ResponseErrorCode.cs (98%) rename src/Generated/Models/{ => Responses}/ResponseImageDetailLevel.cs (96%) rename src/Generated/Models/{ => Responses}/ResponseIncompleteStatusDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseIncompleteStatusDetails.cs (92%) rename src/Generated/Models/{ => Responses}/ResponseIncompleteStatusReason.cs (96%) rename src/Generated/Models/{ => Responses}/ResponseInputTokenUsageDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseInputTokenUsageDetails.cs (92%) rename src/Generated/Models/{ => Responses}/ResponseItem.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseItem.cs (92%) rename src/Generated/Models/{ => Responses}/ResponseMessageAnnotation.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/ResponseMessageAnnotation.cs (93%) rename src/Generated/Models/{ => Responses}/ResponseMessageAnnotationKind.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/ResponseOutputTokenUsageDetails.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseOutputTokenUsageDetails.cs (92%) rename src/Generated/Models/{ => Responses}/ResponseReasoningEffortLevel.cs (96%) rename src/Generated/Models/{ => Responses}/ResponseReasoningOptions.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseReasoningOptions.cs (94%) rename src/Generated/Models/{ => Responses}/ResponseReasoningSummaryVerbosity.cs (96%) rename src/Generated/Models/{ => Responses}/ResponseStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/ResponseTextFormat.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/ResponseTextFormat.cs (92%) rename src/Generated/Models/{ => Responses}/ResponseTextOptions.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/ResponseTextOptions.cs (91%) rename src/Generated/Models/{ => Responses}/ResponseTokenUsage.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseTokenUsage.cs (95%) rename src/Generated/Models/{ => Responses}/ResponseTool.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/ResponseTool.cs (92%) rename src/Generated/Models/{ => Responses}/ResponseTruncationMode.cs (95%) rename src/Generated/Models/{ => Responses}/StreamingResponseCompletedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseCompletedUpdate.cs (91%) rename src/Generated/Models/{ => Responses}/StreamingResponseContentPartAddedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseContentPartAddedUpdate.cs (94%) rename src/Generated/Models/{ => Responses}/StreamingResponseContentPartDoneUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseContentPartDoneUpdate.cs (94%) rename src/Generated/Models/{ => Responses}/StreamingResponseCreatedUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/StreamingResponseCreatedUpdate.cs (91%) rename src/Generated/Models/{ => Responses}/StreamingResponseErrorUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseErrorUpdate.cs (93%) rename src/Generated/Models/{ => Responses}/StreamingResponseFailedUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/StreamingResponseFailedUpdate.cs (91%) rename src/Generated/Models/{ => Responses}/StreamingResponseFileSearchCallCompletedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseFileSearchCallCompletedUpdate.cs (93%) rename src/Generated/Models/{ => Responses}/StreamingResponseFileSearchCallInProgressUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseFileSearchCallInProgressUpdate.cs (93%) rename src/Generated/Models/{ => Responses}/StreamingResponseFileSearchCallSearchingUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseFileSearchCallSearchingUpdate.cs (93%) rename src/Generated/Models/{ => Responses}/StreamingResponseFunctionCallArgumentsDeltaUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs (93%) rename src/Generated/Models/{ => Responses}/StreamingResponseFunctionCallArgumentsDoneUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseFunctionCallArgumentsDoneUpdate.cs (94%) rename src/Generated/Models/{ => Responses}/StreamingResponseInProgressUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseInProgressUpdate.cs (91%) rename src/Generated/Models/{ => Responses}/StreamingResponseIncompleteUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseIncompleteUpdate.cs (91%) rename src/Generated/Models/{ => Responses}/StreamingResponseOutputItemAddedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseOutputItemAddedUpdate.cs (92%) rename src/Generated/Models/{ => Responses}/StreamingResponseOutputItemDoneUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseOutputItemDoneUpdate.cs (92%) rename src/Generated/Models/{ => Responses}/StreamingResponseOutputTextDeltaUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseOutputTextDeltaUpdate.cs (94%) rename src/Generated/Models/{ => Responses}/StreamingResponseOutputTextDoneUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseOutputTextDoneUpdate.cs (94%) rename src/Generated/Models/{ => Responses}/StreamingResponseQueuedUpdate.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/StreamingResponseQueuedUpdate.cs (91%) rename src/Generated/Models/{ => Responses}/StreamingResponseRefusalDeltaUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseRefusalDeltaUpdate.cs (94%) rename src/Generated/Models/{ => Responses}/StreamingResponseRefusalDoneUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseRefusalDoneUpdate.cs (94%) create mode 100644 src/Generated/Models/Responses/StreamingResponseTextAnnotationAddedUpdate.Serialization.cs create mode 100644 src/Generated/Models/Responses/StreamingResponseTextAnnotationAddedUpdate.cs rename src/Generated/Models/{ => Responses}/StreamingResponseUpdate.Serialization.cs (98%) rename src/Generated/Models/{ => Responses}/StreamingResponseUpdate.cs (94%) rename src/Generated/Models/{ => Responses}/StreamingResponseWebSearchCallCompletedUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseWebSearchCallCompletedUpdate.cs (93%) rename src/Generated/Models/{ => Responses}/StreamingResponseWebSearchCallInProgressUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseWebSearchCallInProgressUpdate.cs (93%) rename src/Generated/Models/{ => Responses}/StreamingResponseWebSearchCallSearchingUpdate.Serialization.cs (97%) rename src/Generated/Models/{ => Responses}/StreamingResponseWebSearchCallSearchingUpdate.cs (93%) rename src/Generated/Models/{ => Responses}/UnknownResponseStreamEvent.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/UnknownResponseStreamEvent.cs (100%) rename src/Generated/Models/{ => Responses}/WebSearchCallResponseItem.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/WebSearchCallResponseItem.cs (90%) rename src/Generated/Models/{ => Responses}/WebSearchCallStatus.Serialization.cs (100%) rename src/Generated/Models/{ => Responses}/WebSearchContextSize.cs (96%) rename src/Generated/Models/{ => Responses}/WebSearchUserLocation.Serialization.cs (96%) rename src/Generated/Models/{ => Responses}/WebSearchUserLocation.cs (93%) rename src/Generated/Models/{ => VectorStores}/FileChunkingStrategy.Serialization.cs (96%) rename src/Generated/Models/{ => VectorStores}/FileChunkingStrategy.cs (79%) rename src/Generated/Models/{ => VectorStores}/FileFromStoreRemovalResult.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/FileFromStoreRemovalResult.cs (93%) rename src/Generated/Models/{ => VectorStores}/InternalAutoChunkingStrategyRequestParam.Serialization.cs (96%) rename src/Generated/Models/{ => VectorStores}/InternalAutoChunkingStrategyRequestParam.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalChunkingStrategyRequestParam.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalChunkingStrategyRequestParam.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalChunkingStrategyRequestParamType.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalChunkingStrategyResponseParam.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalChunkingStrategyResponseParam.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalChunkingStrategyResponseParamType.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalCreateVectorStoreFileBatchRequest.Serialization.cs (98%) rename src/Generated/Models/{ => VectorStores}/InternalCreateVectorStoreFileBatchRequest.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalCreateVectorStoreFileRequest.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalCreateVectorStoreFileRequest.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalDotNetCombinedAutoChunkingStrategyParam.Serialization.cs (94%) rename src/Generated/Models/{ => VectorStores}/InternalDotNetCombinedAutoChunkingStrategyParam.cs (60%) rename src/Generated/Models/{InternalDotNetCombinedChunkingStrategyParamType2.cs => VectorStores/InternalDotNetCombinedChunkingStrategyParamType.cs} (57%) rename src/Generated/Models/{ => VectorStores}/InternalDotNetCombinedOtherChunkingStrategyParam.Serialization.cs (94%) rename src/Generated/Models/{ => VectorStores}/InternalDotNetCombinedOtherChunkingStrategyParam.cs (60%) rename src/Generated/Models/{ => VectorStores}/InternalListVectorStoreFilesResponse.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalListVectorStoreFilesResponse.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalListVectorStoresResponse.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalListVectorStoresResponse.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalOtherChunkingStrategyResponseParam.Serialization.cs (96%) rename src/Generated/Models/{ => VectorStores}/InternalOtherChunkingStrategyResponseParam.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalStaticChunkingStrategy.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalStaticChunkingStrategy.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalStaticChunkingStrategyRequestParam.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalStaticChunkingStrategyRequestParam.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalStaticChunkingStrategyResponseParam.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalStaticChunkingStrategyResponseParam.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalUnknownChunkingStrategyRequestParamProxy.Serialization.cs (96%) rename src/Generated/Models/{ => VectorStores}/InternalUnknownChunkingStrategyRequestParamProxy.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalUnknownChunkingStrategyResponseParam.Serialization.cs (96%) rename src/Generated/Models/{ => VectorStores}/InternalUnknownChunkingStrategyResponseParam.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalUnknownDotNetCombinedChunkingStrategyParam.Serialization.cs (93%) rename src/Generated/Models/{ => VectorStores}/InternalUnknownDotNetCombinedChunkingStrategyParam.cs (59%) rename src/Generated/Models/{ => VectorStores}/InternalUpdateVectorStoreFileAttributesRequest.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalUpdateVectorStoreFileAttributesRequest.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreFileBatchObjectFileCounts.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreFileBatchObjectFileCounts.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreFileContentResponse.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreFileContentResponse.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreFileContentResponseDatum.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreFileContentResponseDatum.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchRequest.Serialization.cs (98%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchRequest.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchRequestRankingOptions.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchRequestRankingOptions.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchRequestRankingOptionsRanker.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchResultContentObject.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchResultContentObject.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchResultItem.Serialization.cs (98%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchResultItem.cs (100%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchResultsPage.Serialization.cs (98%) rename src/Generated/Models/{ => VectorStores}/InternalVectorStoreSearchResultsPage.cs (100%) rename src/Generated/Models/{ => VectorStores}/StaticFileChunkingStrategy.Serialization.cs (93%) rename src/Generated/Models/{ => VectorStores}/StaticFileChunkingStrategy.cs (68%) rename src/Generated/Models/{ => VectorStores}/VectorStore.Serialization.cs (98%) rename src/Generated/Models/{ => VectorStores}/VectorStore.cs (97%) rename src/Generated/Models/{ => VectorStores}/VectorStoreBatchFileJob.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/VectorStoreBatchFileJob.cs (95%) rename src/Generated/Models/{ => VectorStores}/VectorStoreBatchFileJobStatus.cs (96%) rename src/Generated/Models/{ => VectorStores}/VectorStoreCollectionOrder.cs (95%) rename src/Generated/Models/{ => VectorStores}/VectorStoreCreationOptions.Serialization.cs (98%) rename src/Generated/Models/{ => VectorStores}/VectorStoreCreationOptions.cs (95%) rename src/Generated/Models/{ => VectorStores}/VectorStoreDeletionResult.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/VectorStoreDeletionResult.cs (93%) rename src/Generated/Models/{ => VectorStores}/VectorStoreExpirationAnchor.Serialization.cs (100%) rename src/Generated/Models/{ => VectorStores}/VectorStoreExpirationPolicy.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/VectorStoreExpirationPolicy.cs (92%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileAssociation.Serialization.cs (98%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileAssociation.cs (96%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileAssociationError.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileAssociationError.cs (93%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileAssociationErrorCode.cs (96%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileAssociationStatus.Serialization.cs (100%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileCounts.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileCounts.cs (95%) rename src/Generated/Models/{ => VectorStores}/VectorStoreFileStatusFilter.cs (96%) rename src/Generated/Models/{ => VectorStores}/VectorStoreModificationOptions.Serialization.cs (97%) rename src/Generated/Models/{ => VectorStores}/VectorStoreModificationOptions.cs (94%) rename src/Generated/Models/{ => VectorStores}/VectorStoreStatus.Serialization.cs (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4570dfa4e..b8a07e975 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -114,4 +114,4 @@ jobs: ${{ github.workspace }}/build-artifacts/packages/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} - --skip-duplicate + --skip-duplicate \ No newline at end of file diff --git a/.gitignore b/.gitignore index 427b8858f..ce5276479 100644 --- a/.gitignore +++ b/.gitignore @@ -181,3 +181,11 @@ TempTypeSpecFiles/ # Artifacts from the generator tspCodeModel.json Configuration.json + +# Base specification files +specification/base/ + +# Generator default TypeSpec output +codegen/tsp-output/ +codegen/temp/ +codegen/emitter/temp/tsconfig.tsbuildinfo \ No newline at end of file diff --git a/api/OpenAI.net8.0.cs b/api/OpenAI.net8.0.cs index aee0988c7..da11ac826 100644 --- a/api/OpenAI.net8.0.cs +++ b/api/OpenAI.net8.0.cs @@ -55,13 +55,9 @@ public class Assistant : IJsonModel, IPersistableModel { public float? Temperature { get; } public ToolResources ToolResources { get; } public IReadOnlyList Tools { get; } - [Experimental("OPENAI001")] protected virtual Assistant JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual Assistant PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -72,152 +68,106 @@ public class AssistantClient { protected internal AssistantClient(ClientPipeline pipeline, OpenAIClientOptions options); public AssistantClient(string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CancelRun(string threadId, string runId, RequestOptions options); public virtual ClientResult CancelRun(string threadId, string runId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CancelRunAsync(string threadId, string runId, RequestOptions options); public virtual Task> CancelRunAsync(string threadId, string runId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateAssistant(BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateAssistant(string model, AssistantCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateAssistantAsync(BinaryContent content, RequestOptions options = null); public virtual Task> CreateAssistantAsync(string model, AssistantCreationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult CreateMessage(string threadId, MessageRole role, IEnumerable content, MessageCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateMessage(string threadId, BinaryContent content, RequestOptions options = null); public virtual Task> CreateMessageAsync(string threadId, MessageRole role, IEnumerable content, MessageCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateMessageAsync(string threadId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateRun(string threadId, BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateRun(string threadId, string assistantId, RunCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateRunAsync(string threadId, BinaryContent content, RequestOptions options = null); public virtual Task> CreateRunAsync(string threadId, string assistantId, RunCreationOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult CreateRunStreaming(string threadId, string assistantId, RunCreationOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult CreateRunStreamingAsync(string threadId, string assistantId, RunCreationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult CreateThread(ThreadCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateThread(BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateThreadAndRun(BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateThreadAndRun(string assistantId, ThreadCreationOptions threadOptions = null, RunCreationOptions runOptions = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateThreadAndRunAsync(BinaryContent content, RequestOptions options = null); public virtual Task> CreateThreadAndRunAsync(string assistantId, ThreadCreationOptions threadOptions = null, RunCreationOptions runOptions = null, CancellationToken cancellationToken = default); public virtual CollectionResult CreateThreadAndRunStreaming(string assistantId, ThreadCreationOptions threadOptions = null, RunCreationOptions runOptions = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult CreateThreadAndRunStreamingAsync(string assistantId, ThreadCreationOptions threadOptions = null, RunCreationOptions runOptions = null, CancellationToken cancellationToken = default); public virtual Task> CreateThreadAsync(ThreadCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateThreadAsync(BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteAssistant(string assistantId, RequestOptions options); public virtual ClientResult DeleteAssistant(string assistantId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteAssistantAsync(string assistantId, RequestOptions options); public virtual Task> DeleteAssistantAsync(string assistantId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteMessage(string threadId, string messageId, RequestOptions options); public virtual ClientResult DeleteMessage(string threadId, string messageId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteMessageAsync(string threadId, string messageId, RequestOptions options); public virtual Task> DeleteMessageAsync(string threadId, string messageId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteThread(string threadId, RequestOptions options); public virtual ClientResult DeleteThread(string threadId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteThreadAsync(string threadId, RequestOptions options); public virtual Task> DeleteThreadAsync(string threadId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetAssistant(string assistantId, RequestOptions options); public virtual ClientResult GetAssistant(string assistantId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetAssistantAsync(string assistantId, RequestOptions options); public virtual Task> GetAssistantAsync(string assistantId, CancellationToken cancellationToken = default); public virtual CollectionResult GetAssistants(AssistantCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetAssistants(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetAssistants(int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetAssistantsAsync(AssistantCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetAssistantsAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetAssistantsAsync(int? limit, string order, string after, string before, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetMessage(string threadId, string messageId, RequestOptions options); public virtual ClientResult GetMessage(string threadId, string messageId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetMessageAsync(string threadId, string messageId, RequestOptions options); public virtual Task> GetMessageAsync(string threadId, string messageId, CancellationToken cancellationToken = default); public virtual CollectionResult GetMessages(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual CollectionResult GetMessages(string threadId, MessageCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetMessages(string threadId, int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetMessagesAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetMessagesAsync(string threadId, MessageCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetMessagesAsync(string threadId, int? limit, string order, string after, string before, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetRun(string threadId, string runId, RequestOptions options); public virtual ClientResult GetRun(string threadId, string runId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetRunAsync(string threadId, string runId, RequestOptions options); public virtual Task> GetRunAsync(string threadId, string runId, CancellationToken cancellationToken = default); public virtual CollectionResult GetRuns(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual CollectionResult GetRuns(string threadId, RunCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetRuns(string threadId, int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetRunsAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetRunsAsync(string threadId, RunCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetRunsAsync(string threadId, int? limit, string order, string after, string before, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetRunStep(string threadId, string runId, string stepId, RequestOptions options); public virtual ClientResult GetRunStep(string threadId, string runId, string stepId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetRunStepAsync(string threadId, string runId, string stepId, RequestOptions options); public virtual Task> GetRunStepAsync(string threadId, string runId, string stepId, CancellationToken cancellationToken = default); public virtual CollectionResult GetRunSteps(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual CollectionResult GetRunSteps(string threadId, string runId, RunStepCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetRunSteps(string threadId, string runId, int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetRunStepsAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetRunStepsAsync(string threadId, string runId, RunStepCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetRunStepsAsync(string threadId, string runId, int? limit, string order, string after, string before, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetThread(string threadId, RequestOptions options); public virtual ClientResult GetThread(string threadId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetThreadAsync(string threadId, RequestOptions options); public virtual Task> GetThreadAsync(string threadId, CancellationToken cancellationToken = default); public virtual ClientResult ModifyAssistant(string assistantId, AssistantModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyAssistant(string assistantId, BinaryContent content, RequestOptions options = null); public virtual Task> ModifyAssistantAsync(string assistantId, AssistantModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyAssistantAsync(string assistantId, BinaryContent content, RequestOptions options = null); public virtual ClientResult ModifyMessage(string threadId, string messageId, MessageModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyMessage(string threadId, string messageId, BinaryContent content, RequestOptions options = null); public virtual Task> ModifyMessageAsync(string threadId, string messageId, MessageModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyMessageAsync(string threadId, string messageId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyRun(string threadId, string runId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyRunAsync(string threadId, string runId, BinaryContent content, RequestOptions options = null); public virtual ClientResult ModifyThread(string threadId, ThreadModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyThread(string threadId, BinaryContent content, RequestOptions options = null); public virtual Task> ModifyThreadAsync(string threadId, ThreadModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyThreadAsync(string threadId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult SubmitToolOutputsToRun(string threadId, string runId, BinaryContent content, RequestOptions options = null); public virtual ClientResult SubmitToolOutputsToRun(string threadId, string runId, IEnumerable toolOutputs, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task SubmitToolOutputsToRunAsync(string threadId, string runId, BinaryContent content, RequestOptions options = null); public virtual Task> SubmitToolOutputsToRunAsync(string threadId, string runId, IEnumerable toolOutputs, CancellationToken cancellationToken = default); public virtual CollectionResult SubmitToolOutputsToRunStreaming(string threadId, string runId, IEnumerable toolOutputs, CancellationToken cancellationToken = default); @@ -256,26 +206,18 @@ public class AssistantCreationOptions : IJsonModel, IP public float? Temperature { get; set; } public ToolResources ToolResources { get; set; } public IList Tools { get; } - [Experimental("OPENAI001")] protected virtual AssistantCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual AssistantCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class AssistantDeletionResult : IJsonModel, IPersistableModel { public string AssistantId { get; } public bool Deleted { get; } - [Experimental("OPENAI001")] protected virtual AssistantDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual AssistantDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -290,13 +232,9 @@ public class AssistantModificationOptions : IJsonModel, IEqu public override bool Equals(object obj); [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode(); - [Experimental("OPENAI001")] protected virtual AssistantResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); [EditorBrowsable(EditorBrowsableState.Never)] public static bool operator ==(AssistantResponseFormat first, AssistantResponseFormat second); @@ -322,9 +258,7 @@ public class AssistantResponseFormat : IEquatable, IEqu public static implicit operator AssistantResponseFormat(string plainTextFormat); [EditorBrowsable(EditorBrowsableState.Never)] public static bool operator !=(AssistantResponseFormat first, AssistantResponseFormat second); - [Experimental("OPENAI001")] protected virtual AssistantResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); [EditorBrowsable(EditorBrowsableState.Never)] bool IEquatable.Equals(AssistantResponseFormat other); @@ -338,37 +272,25 @@ public class AssistantThread : IJsonModel, IPersistableModel Metadata { get; } public ToolResources ToolResources { get; } - [Experimental("OPENAI001")] protected virtual AssistantThread JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual AssistantThread PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class CodeInterpreterToolDefinition : ToolDefinition, IJsonModel, IPersistableModel { public CodeInterpreterToolDefinition(); - [Experimental("OPENAI001")] protected override ToolDefinition JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ToolDefinition PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class CodeInterpreterToolResources : IJsonModel, IPersistableModel { public IList FileIds { get; } - [Experimental("OPENAI001")] protected virtual CodeInterpreterToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual CodeInterpreterToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -391,13 +313,9 @@ public class FileSearchRankingOptions : IJsonModel, IP public FileSearchRankingOptions(float scoreThreshold); public FileSearchRanker? Ranker { get; set; } public float ScoreThreshold { get; set; } - [Experimental("OPENAI001")] protected virtual FileSearchRankingOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FileSearchRankingOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -405,26 +323,18 @@ public class FileSearchToolDefinition : ToolDefinition, IJsonModel, IPersistableModel { public IList NewVectorStores { get; } public IList VectorStoreIds { get; } - [Experimental("OPENAI001")] protected virtual FileSearchToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FileSearchToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -435,13 +345,9 @@ public class FunctionToolDefinition : ToolDefinition, IJsonModel, IPersistableM public static MessageContent FromImageFileId(string imageFileId, MessageImageDetail? detail = null); public static MessageContent FromImageUri(Uri imageUri, MessageImageDetail? detail = null); public static MessageContent FromText(string text); - [Experimental("OPENAI001")] protected virtual MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); public static implicit operator MessageContent(string value); - [Experimental("OPENAI001")] protected virtual MessageContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -503,51 +405,35 @@ public class MessageCreationAttachment : IJsonModel, public MessageCreationAttachment(string fileId, IEnumerable tools); public string FileId { get; } public IReadOnlyList Tools { get; } - [Experimental("OPENAI001")] protected virtual MessageCreationAttachment JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual MessageCreationAttachment PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class MessageCreationOptions : IJsonModel, IPersistableModel { public IList Attachments { get; set; } public IDictionary Metadata { get; } - [Experimental("OPENAI001")] protected virtual MessageCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual MessageCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class MessageDeletionResult : IJsonModel, IPersistableModel { public bool Deleted { get; } public string MessageId { get; } - [Experimental("OPENAI001")] protected virtual MessageDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual MessageDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class MessageFailureDetails : IJsonModel, IPersistableModel { public MessageFailureReason Reason { get; } - [Experimental("OPENAI001")] protected virtual MessageFailureDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual MessageFailureDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -577,13 +463,9 @@ public enum MessageImageDetail { [Experimental("OPENAI001")] public class MessageModificationOptions : IJsonModel, IPersistableModel { public IDictionary Metadata { get; } - [Experimental("OPENAI001")] protected virtual MessageModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual MessageModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -661,26 +543,18 @@ public class RunCreationOptions : IJsonModel, IPersistableMo public ToolConstraint ToolConstraint { get; set; } public IList ToolsOverride { get; } public RunTruncationStrategy TruncationStrategy { get; set; } - [Experimental("OPENAI001")] protected virtual RunCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class RunError : IJsonModel, IPersistableModel { public RunErrorCode Code { get; } public string Message { get; } - [Experimental("OPENAI001")] protected virtual RunError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -702,13 +576,9 @@ public class RunError : IJsonModel, IPersistableModel { [Experimental("OPENAI001")] public class RunIncompleteDetails : IJsonModel, IPersistableModel { public RunIncompleteReason? Reason { get; } - [Experimental("OPENAI001")] protected virtual RunIncompleteDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunIncompleteDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -729,13 +599,9 @@ public class RunIncompleteDetails : IJsonModel, IPersistab [Experimental("OPENAI001")] public class RunModificationOptions : IJsonModel, IPersistableModel { public IDictionary Metadata { get; } - [Experimental("OPENAI001")] protected virtual RunModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -778,26 +644,18 @@ public class RunStep : IJsonModel, IPersistableModel { public RunStepStatus Status { get; } public string ThreadId { get; } public RunStepTokenUsage Usage { get; } - [Experimental("OPENAI001")] protected virtual RunStep JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunStep PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public abstract class RunStepCodeInterpreterOutput : IJsonModel, IPersistableModel { public string ImageFileId { get; } public string Logs { get; } - [Experimental("OPENAI001")] protected virtual RunStepCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunStepCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -826,13 +684,9 @@ public class RunStepCollectionOptions { public abstract class RunStepDetails : IJsonModel, IPersistableModel { public string CreatedMessageId { get; } public IReadOnlyList ToolCalls { get; } - [Experimental("OPENAI001")] protected virtual RunStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -853,13 +707,9 @@ public class RunStepDetailsUpdate : StreamingUpdate { public class RunStepError : IJsonModel, IPersistableModel { public RunStepErrorCode Code { get; } public string Message { get; } - [Experimental("OPENAI001")] protected virtual RunStepError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunStepError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -883,26 +733,18 @@ public class RunStepFileSearchResult : IJsonModel, IPer public string FileId { get; } public string FileName { get; } public float Score { get; } - [Experimental("OPENAI001")] protected virtual RunStepFileSearchResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunStepFileSearchResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class RunStepFileSearchResultContent : IJsonModel, IPersistableModel { public RunStepFileSearchResultContentKind Kind { get; } public string Text { get; } - [Experimental("OPENAI001")] protected virtual RunStepFileSearchResultContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunStepFileSearchResultContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -937,13 +779,9 @@ public class RunStepTokenUsage : IJsonModel, IPersistableMode public int InputTokenCount { get; } public int OutputTokenCount { get; } public int TotalTokenCount { get; } - [Experimental("OPENAI001")] protected virtual RunStepTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunStepTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -957,13 +795,9 @@ public class RunStepToolCall : IJsonModel, IPersistableModel, IPersistableModel, IPersist public static RunTruncationStrategy Auto { get; } public int? LastMessages { get; } public static RunTruncationStrategy CreateLastMessagesStrategy(int lastMessageCount); - [Experimental("OPENAI001")] protected virtual RunTruncationStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RunTruncationStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -1080,26 +902,18 @@ public class ThreadCreationOptions : IJsonModel, IPersist public IList InitialMessages { get; } public IDictionary Metadata { get; } public ToolResources ToolResources { get; set; } - [Experimental("OPENAI001")] protected virtual ThreadCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ThreadCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class ThreadDeletionResult : IJsonModel, IPersistableModel { public bool Deleted { get; } public string ThreadId { get; } - [Experimental("OPENAI001")] protected virtual ThreadDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ThreadDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -1122,26 +936,18 @@ public class ThreadMessage : IJsonModel, IPersistableModel, IPersistableModel { public IDictionary Metadata { get; } public ToolResources ToolResources { get; set; } - [Experimental("OPENAI001")] protected virtual ThreadModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ThreadModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -1172,13 +978,9 @@ public class ThreadRun : IJsonModel, IPersistableModel { public IReadOnlyList Tools { get; } public RunTruncationStrategy TruncationStrategy { get; } public RunTokenUsage Usage { get; } - [Experimental("OPENAI001")] protected virtual ThreadRun JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ThreadRun PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -1194,13 +996,9 @@ public class ToolConstraint : IJsonModel, IPersistableModel, IPersistableModel, IPersistableModel public ToolOutput(string toolCallId, string output); public string Output { get; set; } public string ToolCallId { get; set; } - [Experimental("OPENAI001")] protected virtual ToolOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ToolOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class ToolResources : IJsonModel, IPersistableModel { public CodeInterpreterToolResources CodeInterpreter { get; set; } public FileSearchToolResources FileSearch { get; set; } - [Experimental("OPENAI001")] protected virtual ToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -1253,13 +1039,9 @@ public class VectorStoreCreationHelper : IJsonModel, public FileChunkingStrategy ChunkingStrategy { get; set; } public IList FileIds { get; } public IDictionary Metadata { get; } - [Experimental("OPENAI001")] protected virtual VectorStoreCreationHelper JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual VectorStoreCreationHelper PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } } @@ -1271,17 +1053,13 @@ public class AudioClient { public AudioClient(string model, ApiKeyCredential credential); public AudioClient(string model, string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateSpeech(BinaryContent content, RequestOptions options = null); public virtual ClientResult GenerateSpeech(string text, GeneratedSpeechVoice voice, SpeechGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateSpeechAsync(BinaryContent content, RequestOptions options = null); public virtual Task> GenerateSpeechAsync(string text, GeneratedSpeechVoice voice, SpeechGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult TranscribeAudio(BinaryContent content, string contentType, RequestOptions options = null); public virtual ClientResult TranscribeAudio(Stream audio, string audioFilename, AudioTranscriptionOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult TranscribeAudio(string audioFilePath, AudioTranscriptionOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task TranscribeAudioAsync(BinaryContent content, string contentType, RequestOptions options = null); public virtual Task> TranscribeAudioAsync(Stream audio, string audioFilename, AudioTranscriptionOptions options = null, CancellationToken cancellationToken = default); public virtual Task> TranscribeAudioAsync(string audioFilePath, AudioTranscriptionOptions options = null); @@ -1311,13 +1089,9 @@ public class AudioTokenLogProbabilityDetails : IJsonModel Utf8Bytes { get; } - [Experimental("OPENAI001")] protected virtual AudioTokenLogProbabilityDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual AudioTokenLogProbabilityDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } public class AudioTranscription : IJsonModel, IPersistableModel { @@ -1496,37 +1270,25 @@ public class SpeechGenerationOptions : IJsonModel, IPer public class StreamingAudioTranscriptionTextDeltaUpdate : StreamingAudioTranscriptionUpdate, IJsonModel, IPersistableModel { public string Delta { get; } public IReadOnlyList TranscriptionTokenLogProbabilities { get; } - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingAudioTranscriptionTextDoneUpdate : StreamingAudioTranscriptionUpdate, IJsonModel, IPersistableModel { public string Text { get; } public IReadOnlyList TranscriptionTokenLogProbabilities { get; } - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingAudioTranscriptionUpdate : IJsonModel, IPersistableModel { - [Experimental("OPENAI001")] protected virtual StreamingAudioTranscriptionUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual StreamingAudioTranscriptionUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -1573,6 +1335,8 @@ public class BatchClient { public ClientPipeline Pipeline { get; } public virtual CreateBatchOperation CreateBatch(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual Task CreateBatchAsync(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); + public virtual ClientResult GetBatch(string batchId, RequestOptions options); + public virtual Task GetBatchAsync(string batchId, RequestOptions options); public virtual CollectionResult GetBatches(string after, int? limit, RequestOptions options); public virtual AsyncCollectionResult GetBatchesAsync(string after, int? limit, RequestOptions options); } @@ -1624,13 +1388,9 @@ public class ChatAudioOptions : IJsonModel, IPersistableModel< public ChatAudioOptions(ChatOutputAudioVoice outputAudioVoice, ChatOutputAudioFormat outputAudioFormat); public ChatOutputAudioFormat OutputAudioFormat { get; } public ChatOutputAudioVoice OutputAudioVoice { get; } - [Experimental("OPENAI001")] protected virtual ChatAudioOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ChatAudioOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } public class ChatClient { @@ -1641,11 +1401,9 @@ public class ChatClient { public ChatClient(string model, string apiKey); public ClientPipeline Pipeline { get; } public virtual ClientResult CompleteChat(params ChatMessage[] messages); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CompleteChat(BinaryContent content, RequestOptions options = null); public virtual ClientResult CompleteChat(IEnumerable messages, ChatCompletionOptions options = null, CancellationToken cancellationToken = default); public virtual Task> CompleteChatAsync(params ChatMessage[] messages); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CompleteChatAsync(BinaryContent content, RequestOptions options = null); public virtual Task> CompleteChatAsync(IEnumerable messages, ChatCompletionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult CompleteChatStreaming(params ChatMessage[] messages); @@ -1701,13 +1459,9 @@ public class ChatCompletion : IJsonModel, IPersistableModel, IPersistableModel { public string ChatCompletionId { get; } public bool Deleted { get; } - [Experimental("OPENAI001")] protected virtual ChatCompletionDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ChatCompletionDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } public class ChatCompletionOptions : IJsonModel, IPersistableModel { @@ -1887,13 +1641,9 @@ public class ChatMessageAnnotation : IJsonModel, IPersist public int StartIndex { get; } public string WebResourceTitle { get; } public Uri WebResourceUri { get; } - [Experimental("OPENAI001")] protected virtual ChatMessageAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ChatMessageAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } public class ChatMessageContent : ObjectModel.Collection { @@ -1963,13 +1713,9 @@ public class ChatOutputAudio : IJsonModel, IPersistableModel, IPersistableModel, IPersistableModel { public ChatOutputAudioReference(string id); public string Id { get; } - [Experimental("OPENAI001")] protected virtual ChatOutputAudioReference JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ChatOutputAudioReference PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -2032,13 +1774,9 @@ public class ChatOutputAudioReference : IJsonModel, IP public class ChatOutputPrediction : IJsonModel, IPersistableModel { public static ChatOutputPrediction CreateStaticContentPrediction(IEnumerable staticContentParts); public static ChatOutputPrediction CreateStaticContentPrediction(string staticContent); - [Experimental("OPENAI001")] protected virtual ChatOutputPrediction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ChatOutputPrediction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } public class ChatOutputTokenUsageDetails : IJsonModel, IPersistableModel { @@ -2188,13 +1926,9 @@ public enum ChatToolKind { } [Experimental("OPENAI001")] public class ChatWebSearchOptions : IJsonModel, IPersistableModel { - [Experimental("OPENAI001")] protected virtual ChatWebSearchOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ChatWebSearchOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -2203,13 +1937,9 @@ public class DeveloperChatMessage : ChatMessage, IJsonModel contentParts); public DeveloperChatMessage(string content); public string ParticipantName { get; set; } - [Experimental("OPENAI001")] protected override ChatMessage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ChatMessage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Obsolete("This class is obsolete. Please use ToolChatMessage instead.")] @@ -2301,13 +2031,9 @@ public class StreamingChatOutputAudioUpdate : IJsonModel, IPersistableModel { @@ -2378,11 +2104,9 @@ public class EmbeddingClient { public ClientPipeline Pipeline { get; } public virtual ClientResult GenerateEmbedding(string input, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateEmbeddingAsync(string input, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateEmbeddings(BinaryContent content, RequestOptions options = null); public virtual ClientResult GenerateEmbeddings(IEnumerable> inputs, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateEmbeddings(IEnumerable inputs, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateEmbeddingsAsync(BinaryContent content, RequestOptions options = null); public virtual Task> GenerateEmbeddingsAsync(IEnumerable> inputs, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateEmbeddingsAsync(IEnumerable inputs, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); @@ -2573,39 +2297,29 @@ public class OpenAIFileClient { public virtual ClientResult CreateUpload(BinaryContent content, RequestOptions options = null); [Experimental("OPENAI001")] public virtual Task CreateUploadAsync(BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteFile(string fileId, RequestOptions options); public virtual ClientResult DeleteFile(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteFileAsync(string fileId, RequestOptions options); public virtual Task> DeleteFileAsync(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DownloadFile(string fileId, RequestOptions options); public virtual ClientResult DownloadFile(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DownloadFileAsync(string fileId, RequestOptions options); public virtual Task> DownloadFileAsync(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFile(string fileId, RequestOptions options); public virtual ClientResult GetFile(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFileAsync(string fileId, RequestOptions options); public virtual Task> GetFileAsync(string fileId, CancellationToken cancellationToken = default); public virtual ClientResult GetFiles(FilePurpose purpose, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFiles(string purpose, RequestOptions options); public virtual ClientResult GetFiles(CancellationToken cancellationToken = default); public virtual Task> GetFilesAsync(FilePurpose purpose, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFilesAsync(string purpose, RequestOptions options); public virtual Task> GetFilesAsync(CancellationToken cancellationToken = default); public virtual ClientResult UploadFile(BinaryData file, string filename, FileUploadPurpose purpose); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult UploadFile(BinaryContent content, string contentType, RequestOptions options = null); public virtual ClientResult UploadFile(Stream file, string filename, FileUploadPurpose purpose, CancellationToken cancellationToken = default); public virtual ClientResult UploadFile(string filePath, FileUploadPurpose purpose); public virtual Task> UploadFileAsync(BinaryData file, string filename, FileUploadPurpose purpose); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task UploadFileAsync(BinaryContent content, string contentType, RequestOptions options = null); public virtual Task> UploadFileAsync(Stream file, string filename, FileUploadPurpose purpose, CancellationToken cancellationToken = default); public virtual Task> UploadFileAsync(string filePath, FileUploadPurpose purpose); @@ -2638,13 +2352,9 @@ public class FineTuningCheckpoint : IJsonModel, IPersistab public FineTuningCheckpointMetrics Metrics { get; } public string ModelId { get; } public int StepNumber { get; } - [Experimental("OPENAI001")] protected virtual FineTuningCheckpoint JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FineTuningCheckpoint PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); public override string ToString(); } @@ -2657,13 +2367,9 @@ public class FineTuningCheckpointMetrics : IJsonModel, IPersistableModel, IPersistableModel, IPersistableModel, IPersistableModel { - [Experimental("OPENAI001")] protected virtual FineTuningIntegration JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FineTuningIntegration PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -2817,13 +2511,9 @@ public class FineTuningOptions : IJsonModel, IPersistableMode public string Suffix { get; set; } public FineTuningTrainingMethod TrainingMethod { get; set; } public string ValidationFile { get; set; } - [Experimental("OPENAI001")] protected virtual FineTuningOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FineTuningOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -2851,13 +2541,9 @@ public class FineTuningOptions : IJsonModel, IPersistableMode public class FineTuningTrainingMethod : IJsonModel, IPersistableModel { public static FineTuningTrainingMethod CreateDirectPreferenceOptimization(HyperparameterBatchSize batchSize = null, HyperparameterEpochCount epochCount = null, HyperparameterLearningRate learningRate = null, HyperparameterBetaFactor betaFactor = null); public static FineTuningTrainingMethod CreateSupervised(HyperparameterBatchSize batchSize = null, HyperparameterEpochCount epochCount = null, HyperparameterLearningRate learningRate = null); - [Experimental("OPENAI001")] protected virtual FineTuningTrainingMethod JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FineTuningTrainingMethod PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -2954,13 +2640,9 @@ public class HyperparametersForDPO : MethodHyperparameters, IJsonModel Tags { get; } - [Experimental("OPENAI001")] protected override FineTuningIntegration JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override FineTuningIntegration PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } } @@ -3158,33 +2832,27 @@ public class ImageClient { public virtual Task> GenerateImageEditAsync(Stream image, string imageFilename, string prompt, Stream mask, string maskFilename, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageEditAsync(string imageFilePath, string prompt, ImageEditOptions options = null); public virtual Task> GenerateImageEditAsync(string imageFilePath, string prompt, string maskFilePath, ImageEditOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateImageEdits(BinaryContent content, string contentType, RequestOptions options = null); public virtual ClientResult GenerateImageEdits(Stream image, string imageFilename, string prompt, int imageCount, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageEdits(Stream image, string imageFilename, string prompt, Stream mask, string maskFilename, int imageCount, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageEdits(string imageFilePath, string prompt, int imageCount, ImageEditOptions options = null); public virtual ClientResult GenerateImageEdits(string imageFilePath, string prompt, string maskFilePath, int imageCount, ImageEditOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateImageEditsAsync(BinaryContent content, string contentType, RequestOptions options = null); public virtual Task> GenerateImageEditsAsync(Stream image, string imageFilename, string prompt, int imageCount, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageEditsAsync(Stream image, string imageFilename, string prompt, Stream mask, string maskFilename, int imageCount, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageEditsAsync(string imageFilePath, string prompt, int imageCount, ImageEditOptions options = null); public virtual Task> GenerateImageEditsAsync(string imageFilePath, string prompt, string maskFilePath, int imageCount, ImageEditOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateImages(BinaryContent content, RequestOptions options = null); public virtual ClientResult GenerateImages(string prompt, int imageCount, ImageGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateImagesAsync(BinaryContent content, RequestOptions options = null); public virtual Task> GenerateImagesAsync(string prompt, int imageCount, ImageGenerationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageVariation(Stream image, string imageFilename, ImageVariationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageVariation(string imageFilePath, ImageVariationOptions options = null); public virtual Task> GenerateImageVariationAsync(Stream image, string imageFilename, ImageVariationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageVariationAsync(string imageFilePath, ImageVariationOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateImageVariations(BinaryContent content, string contentType, RequestOptions options = null); public virtual ClientResult GenerateImageVariations(Stream image, string imageFilename, int imageCount, ImageVariationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageVariations(string imageFilePath, int imageCount, ImageVariationOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateImageVariationsAsync(BinaryContent content, string contentType, RequestOptions options = null); public virtual Task> GenerateImageVariationsAsync(Stream image, string imageFilename, int imageCount, ImageVariationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageVariationsAsync(string imageFilePath, int imageCount, ImageVariationOptions options = null); @@ -3229,13 +2897,9 @@ public class ImageGenerationOptions : IJsonModel, IPersi public class ImageInputTokenUsageDetails : IJsonModel, IPersistableModel { public int ImageTokenCount { get; } public int TextTokenCount { get; } - [Experimental("OPENAI001")] protected virtual ImageInputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ImageInputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -3244,13 +2908,9 @@ public class ImageTokenUsage : IJsonModel, IPersistableModel, IPersistableModel { @@ -3307,22 +2967,16 @@ public class OpenAIModelClient { protected internal OpenAIModelClient(ClientPipeline pipeline, OpenAIClientOptions options); public OpenAIModelClient(string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteModel(string model, RequestOptions options); public virtual ClientResult DeleteModel(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteModelAsync(string model, RequestOptions options); public virtual Task> DeleteModelAsync(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetModel(string model, RequestOptions options); public virtual ClientResult GetModel(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetModelAsync(string model, RequestOptions options); public virtual Task> GetModelAsync(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetModels(RequestOptions options); public virtual ClientResult GetModels(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetModelsAsync(RequestOptions options); public virtual Task> GetModelsAsync(CancellationToken cancellationToken = default); } @@ -3354,11 +3008,9 @@ public class ModerationClient { public ModerationClient(string model, ApiKeyCredential credential); public ModerationClient(string model, string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ClassifyText(BinaryContent content, RequestOptions options = null); public virtual ClientResult ClassifyText(IEnumerable inputs, CancellationToken cancellationToken = default); public virtual ClientResult ClassifyText(string input, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ClassifyTextAsync(BinaryContent content, RequestOptions options = null); public virtual Task> ClassifyTextAsync(IEnumerable inputs, CancellationToken cancellationToken = default); public virtual Task> ClassifyTextAsync(string input, CancellationToken cancellationToken = default); @@ -3417,14 +3069,10 @@ public class ConversationContentPart : IJsonModel, IPer public static ConversationContentPart CreateInputTextPart(string text); public static ConversationContentPart CreateOutputAudioTranscriptPart(string transcript = null); public static ConversationContentPart CreateOutputTextPart(string text); - [Experimental("OPENAI001")] protected virtual ConversationContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); public static implicit operator ConversationContentPart(string text); - [Experimental("OPENAI001")] protected virtual ConversationContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3450,13 +3098,9 @@ public class ConversationFunctionTool : ConversationTool, IJsonModel, IPersistableModel { public int AudioTokenCount { get; } public int TextTokenCount { get; } - [Experimental("OPENAI001")] protected virtual ConversationOutputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ConversationOutputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3550,13 +3186,9 @@ public class ConversationRateLimitDetailsItem : IJsonModel Tools { get; } - [Experimental("OPENAI001")] protected virtual ConversationResponseOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ConversationResponseOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3596,13 +3224,9 @@ public class ConversationSessionConfiguredUpdate : RealtimeUpdate, IJsonModel Tools { get; } public TurnDetectionOptions TurnDetectionOptions { get; } public ConversationVoice Voice { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3619,13 +3243,9 @@ public class ConversationSessionOptions : IJsonModel public IList Tools { get; } public TurnDetectionOptions TurnDetectionOptions { get; set; } public ConversationVoice? Voice { get; set; } - [Experimental("OPENAI001")] protected virtual ConversationSessionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ConversationSessionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3643,13 +3263,9 @@ public class ConversationSessionStartedUpdate : RealtimeUpdate, IJsonModel Tools { get; } public TurnDetectionOptions TurnDetectionOptions { get; } public ConversationVoice Voice { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3675,13 +3291,9 @@ public class ConversationStatusDetails : IJsonModel, public string ErrorKind { get; } public ConversationIncompleteReason? IncompleteReason { get; } public ConversationStatus StatusKind { get; } - [Experimental("OPENAI001")] protected virtual ConversationStatusDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ConversationStatusDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3691,26 +3303,18 @@ public class ConversationTokenUsage : IJsonModel, IPersi public int OutputTokenCount { get; } public ConversationOutputTokenUsageDetails OutputTokenDetails { get; } public int TotalTokenCount { get; } - [Experimental("OPENAI001")] protected virtual ConversationTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ConversationTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] public class ConversationTool : IJsonModel, IPersistableModel { public ConversationToolKind Kind { get; } public static ConversationTool CreateFunctionTool(string name, string description = null, BinaryData parameters = null); - [Experimental("OPENAI001")] protected virtual ConversationTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ConversationTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3770,52 +3374,36 @@ public enum ConversationToolChoiceKind { } [Experimental("OPENAI002")] public class InputAudioClearedUpdate : RealtimeUpdate, IJsonModel, IPersistableModel { - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] public class InputAudioCommittedUpdate : RealtimeUpdate, IJsonModel, IPersistableModel { public string ItemId { get; } public string PreviousItemId { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] public class InputAudioSpeechFinishedUpdate : RealtimeUpdate, IJsonModel, IPersistableModel { public TimeSpan AudioEndTime { get; } public string ItemId { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] public class InputAudioSpeechStartedUpdate : RealtimeUpdate, IJsonModel, IPersistableModel { public TimeSpan AudioStartTime { get; } public string ItemId { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3823,13 +3411,9 @@ public class InputAudioTranscriptionDeltaUpdate : RealtimeUpdate, IJsonModel public static InputNoiseReductionOptions CreateDisabledOptions(); public static InputNoiseReductionOptions CreateFarFieldOptions(); public static InputNoiseReductionOptions CreateNearFieldOptions(); - [Experimental("OPENAI001")] protected virtual InputNoiseReductionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual InputNoiseReductionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3903,13 +3475,9 @@ public class InputTranscriptionOptions : IJsonModel, public string Language { get; set; } public InputTranscriptionModel? Model { get; set; } public string Prompt { get; set; } - [Experimental("OPENAI001")] protected virtual InputTranscriptionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual InputTranscriptionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3922,37 +3490,25 @@ public class ItemCreatedUpdate : RealtimeUpdate, IJsonModel, public IReadOnlyList MessageContentParts { get; } public ConversationMessageRole? MessageRole { get; } public string PreviousItemId { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] public class ItemDeletedUpdate : RealtimeUpdate, IJsonModel, IPersistableModel { public string ItemId { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] public class ItemRetrievedUpdate : RealtimeUpdate, IJsonModel, IPersistableModel { public RealtimeItem Item { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -3960,13 +3516,9 @@ public class ItemTruncatedUpdate : RealtimeUpdate, IJsonModel MessageContentParts { get; } public ConversationMessageRole? MessageRole { get; } public string ResponseId { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -4070,13 +3606,9 @@ public class OutputTextFinishedUpdate : RealtimeUpdate, IJsonModel, IP public IReadOnlyList AllDetails { get; } public ConversationRateLimitDetailsItem RequestDetails { get; } public ConversationRateLimitDetailsItem TokenDetails { get; } - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -4123,13 +3651,10 @@ public class RealtimeClient { public virtual ClientResult CreateEphemeralTranscriptionToken(BinaryContent content, RequestOptions options = null); public virtual Task CreateEphemeralTranscriptionTokenAsync(BinaryContent content, RequestOptions options = null); public RealtimeSession StartConversationSession(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task StartConversationSessionAsync(string model, RequestOptions options); public virtual Task StartConversationSessionAsync(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task StartSessionAsync(string model, string intent, RequestOptions options); public RealtimeSession StartTranscriptionSession(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task StartTranscriptionSessionAsync(RequestOptions options); public virtual Task StartTranscriptionSessionAsync(CancellationToken cancellationToken = default); } @@ -4146,13 +3671,9 @@ public class RealtimeErrorUpdate : RealtimeUpdate, IJsonModel, IPersistableModel contentItems); public static RealtimeItem CreateUserMessage(IEnumerable contentItems); - [Experimental("OPENAI001")] protected virtual RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI002")] @@ -4195,26 +3712,20 @@ public class RealtimeSession : IDisposable { public virtual void ConfigureSession(ConversationSessionOptions sessionOptions, CancellationToken cancellationToken = default); public virtual void ConfigureTranscriptionSession(TranscriptionSessionOptions sessionOptions, CancellationToken cancellationToken = default); public virtual Task ConfigureTranscriptionSessionAsync(TranscriptionSessionOptions sessionOptions, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] protected internal virtual void Connect(RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] protected internal virtual Task ConnectAsync(RequestOptions options); public virtual void DeleteItem(string itemId, CancellationToken cancellationToken = default); public virtual Task DeleteItemAsync(string itemId, CancellationToken cancellationToken = default); public void Dispose(); public virtual void InterruptResponse(CancellationToken cancellationToken = default); public virtual Task InterruptResponseAsync(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual IEnumerable ReceiveUpdates(RequestOptions options); public virtual IEnumerable ReceiveUpdates(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual IAsyncEnumerable ReceiveUpdatesAsync(RequestOptions options); public virtual IAsyncEnumerable ReceiveUpdatesAsync(CancellationToken cancellationToken = default); public virtual void RequestItemRetrieval(string itemId, CancellationToken cancellationToken = default); public virtual Task RequestItemRetrievalAsync(string itemId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual void SendCommand(BinaryData data, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task SendCommandAsync(BinaryData data, RequestOptions options); public virtual void SendInputAudio(BinaryData audio, CancellationToken cancellationToken = default); public virtual void SendInputAudio(Stream audio, CancellationToken cancellationToken = default); @@ -4232,14 +3743,10 @@ public class RealtimeUpdate : IJsonModel, IPersistableModel, IPersistab public TurnDetectionKind Kind { get; } public static TurnDetectionOptions CreateDisabledTurnDetectionOptions(); public static TurnDetectionOptions CreateServerVoiceActivityTurnDetectionOptions(float? detectionThreshold = null, TimeSpan? prefixPaddingDuration = null, TimeSpan? silenceDuration = null, bool? enableAutomaticResponseCreation = null, bool? enableResponseInterruption = null); - [Experimental("OPENAI001")] protected virtual TurnDetectionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual TurnDetectionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } } @@ -4405,13 +3892,9 @@ public class ComputerCallAction : IJsonModel, IPersistableMo public static ComputerCallAction CreateScrollAction(Drawing.Point scrollCoordinates, int horizontalOffset, int verticalOffset); public static ComputerCallAction CreateTypeAction(string typeText); public static ComputerCallAction CreateWaitAction(); - [Experimental("OPENAI001")] protected virtual ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAICUA001")] @@ -4440,13 +3923,9 @@ public class ComputerCallOutputResponseItem : ResponseItem, IJsonModel PendingSafetyChecks { get; } public ComputerCallStatus? Status { get; } - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAICUA001")] @@ -4477,13 +3952,9 @@ public class ComputerCallSafetyCheck : IJsonModel, IPer public string Code { get; set; } public string Id { get; set; } public string Message { get; set; } - [Experimental("OPENAI001")] protected virtual ComputerCallSafetyCheck JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ComputerCallSafetyCheck PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAICUA001")] @@ -4497,13 +3968,9 @@ public class ComputerOutput : IJsonModel, IPersistableModel Queries { get; } public IList Results { get; } public FileSearchCallStatus? Status { get; } - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4545,13 +4008,9 @@ public class FileSearchCallResult : IJsonModel, IPersistab public string Filename { get; set; } public float? Score { get; set; } public string Text { get; set; } - [Experimental("OPENAI001")] protected virtual FileSearchCallResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FileSearchCallResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4581,13 +4040,9 @@ public enum FileSearchCallStatus { public class FileSearchToolRankingOptions : IJsonModel, IPersistableModel { public FileSearchToolRanker? Ranker { get; set; } public float? ScoreThreshold { get; set; } - [Experimental("OPENAI001")] protected virtual FileSearchToolRankingOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FileSearchToolRankingOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4595,13 +4050,9 @@ public class FunctionCallOutputResponseItem : ResponseItem, IJsonModel public IList Content { get; } public MessageRole Role { get; } public MessageStatus? Status { get; } - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4684,13 +4127,9 @@ public class OpenAIResponse : IJsonModel, IPersistableModel CancelResponse(string responseId, CancellationToken cancellationToken = default); public virtual Task CancelResponseAsync(string responseId, RequestOptions options); public virtual Task> CancelResponseAsync(string responseId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateResponse(BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateResponse(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult CreateResponse(string userInputText, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateResponseAsync(BinaryContent content, RequestOptions options = null); public virtual Task> CreateResponseAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> CreateResponseAsync(string userInputText, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); @@ -4717,23 +4154,17 @@ public class OpenAIResponseClient { public virtual CollectionResult CreateResponseStreaming(string userInputText, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult CreateResponseStreamingAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult CreateResponseStreamingAsync(string userInputText, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteResponse(string responseId, RequestOptions options); public virtual ClientResult DeleteResponse(string responseId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteResponseAsync(string responseId, RequestOptions options); public virtual Task> DeleteResponseAsync(string responseId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetResponse(string responseId, bool? stream, int? startingAfter, RequestOptions options); public virtual ClientResult GetResponse(string responseId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetResponseAsync(string responseId, bool? stream, int? startingAfter, RequestOptions options); public virtual Task> GetResponseAsync(string responseId, CancellationToken cancellationToken = default); public virtual CollectionResult GetResponseInputItems(string responseId, ResponseItemCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetResponseInputItems(string responseId, int? limit, string order, string after, string before, RequestOptions options = null); public virtual AsyncCollectionResult GetResponseInputItemsAsync(string responseId, ResponseItemCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetResponseInputItemsAsync(string responseId, int? limit, string order, string after, string before, RequestOptions options = null); public virtual CollectionResult GetResponseStreaming(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetResponseStreamingAsync(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default); @@ -4746,13 +4177,9 @@ public class ReasoningResponseItem : ResponseItem, IJsonModel SummaryParts { get; } public string GetSummaryText(); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4764,38 +4191,26 @@ public enum ReasoningStatus { [Experimental("OPENAI001")] public class ReasoningSummaryPart : IJsonModel, IPersistableModel { public static ReasoningSummaryPart CreateTextPart(string text); - [Experimental("OPENAI001")] protected virtual ReasoningSummaryPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ReasoningSummaryPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class ReasoningSummaryTextPart : ReasoningSummaryPart, IJsonModel, IPersistableModel { public ReasoningSummaryTextPart(string text); public string Text { get; set; } - [Experimental("OPENAI001")] protected override ReasoningSummaryPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ReasoningSummaryPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class ReferenceResponseItem : ResponseItem, IJsonModel, IPersistableModel { public ReferenceResponseItem(string id); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4818,13 +4233,9 @@ public class ResponseContentPart : IJsonModel, IPersistable public static ResponseContentPart CreateInputTextPart(string text); public static ResponseContentPart CreateOutputTextPart(string text, IEnumerable annotations); public static ResponseContentPart CreateRefusalPart(string refusal); - [Experimental("OPENAI001")] protected virtual ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4853,39 +4264,27 @@ public class ResponseCreationOptions : IJsonModel, IPer public IList Tools { get; } public float? TopP { get; set; } public ResponseTruncationMode? TruncationMode { get; set; } - [Experimental("OPENAI001")] protected virtual ResponseCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class ResponseDeletionResult : IJsonModel, IPersistableModel { public bool Deleted { get; } public string Id { get; } - [Experimental("OPENAI001")] protected virtual ResponseDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class ResponseError : IJsonModel, IPersistableModel { public ResponseErrorCode Code { get; } public string Message { get; } - [Experimental("OPENAI001")] protected virtual ResponseError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4938,13 +4337,9 @@ public class ResponseError : IJsonModel, IPersistableModel, IPersistableModel { public ResponseIncompleteStatusReason? Reason { get; } - [Experimental("OPENAI001")] protected virtual ResponseIncompleteStatusDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseIncompleteStatusDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -4965,13 +4360,9 @@ public class ResponseIncompleteStatusDetails : IJsonModel, IPersistableModel { public int CachedTokenCount { get; } - [Experimental("OPENAI001")] protected virtual ResponseInputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseInputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5000,13 +4391,9 @@ public class ResponseItem : IJsonModel, IPersistableModel contentParts); public static MessageResponseItem CreateUserMessageItem(string inputTextContent); public static WebSearchCallResponseItem CreateWebSearchCallItem(); - [Experimental("OPENAI001")] protected virtual ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5042,13 +4429,9 @@ public class ResponseMessageAnnotation : IJsonModel, public int? UriCitationStartIndex { get; } public string UriCitationTitle { get; } public Uri UriCitationUri { get; } - [Experimental("OPENAI001")] protected virtual ResponseMessageAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseMessageAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5061,13 +4444,9 @@ public enum ResponseMessageAnnotationKind { [Experimental("OPENAI001")] public class ResponseOutputTokenUsageDetails : IJsonModel, IPersistableModel { public int ReasoningTokenCount { get; } - [Experimental("OPENAI001")] protected virtual ResponseOutputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseOutputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5090,13 +4469,9 @@ public class ResponseOutputTokenUsageDetails : IJsonModel, IPersistableModel { public ResponseReasoningEffortLevel? ReasoningEffortLevel { get; set; } public ResponseReasoningSummaryVerbosity? ReasoningSummaryVerbosity { get; set; } - [Experimental("OPENAI001")] protected virtual ResponseReasoningOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseReasoningOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5130,13 +4505,9 @@ public class ResponseTextFormat : IJsonModel, IPersistableMo public static ResponseTextFormat CreateJsonObjectFormat(); public static ResponseTextFormat CreateJsonSchemaFormat(string jsonSchemaFormatName, BinaryData jsonSchema, string jsonSchemaFormatDescription = null, bool? jsonSchemaIsStrict = null); public static ResponseTextFormat CreateTextFormat(); - [Experimental("OPENAI001")] protected virtual ResponseTextFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseTextFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5149,13 +4520,9 @@ public enum ResponseTextFormatKind { [Experimental("OPENAI001")] public class ResponseTextOptions : IJsonModel, IPersistableModel { public ResponseTextFormat TextFormat { get; set; } - [Experimental("OPENAI001")] protected virtual ResponseTextOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseTextOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5165,13 +4532,9 @@ public class ResponseTokenUsage : IJsonModel, IPersistableMo public int OutputTokenCount { get; } public ResponseOutputTokenUsageDetails OutputTokenDetails { get; } public int TotalTokenCount { get; } - [Experimental("OPENAI001")] protected virtual ResponseTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5181,13 +4544,9 @@ public class ResponseTool : IJsonModel, IPersistableModel vectorStoreIds, int? maxResultCount = null, FileSearchToolRankingOptions rankingOptions = null, BinaryData filters = null); public static ResponseTool CreateFunctionTool(string functionName, string functionDescription, BinaryData functionParameters, bool functionSchemaIsStrict = false); public static ResponseTool CreateWebSearchTool(WebSearchUserLocation userLocation = null, WebSearchContextSize? searchContextSize = null); - [Experimental("OPENAI001")] protected virtual ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5232,13 +4591,9 @@ public enum ResponseToolChoiceKind { [Experimental("OPENAI001")] public class StreamingResponseCompletedUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public OpenAIResponse Response { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5247,13 +4602,9 @@ public class StreamingResponseContentPartAddedUpdate : StreamingResponseUpdate, public string ItemId { get; } public int OutputIndex { get; } public ResponseContentPart Part { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5262,25 +4613,17 @@ public class StreamingResponseContentPartDoneUpdate : StreamingResponseUpdate, I public string ItemId { get; } public int OutputIndex { get; } public ResponseContentPart Part { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseCreatedUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public OpenAIResponse Response { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5288,64 +4631,44 @@ public class StreamingResponseErrorUpdate : StreamingResponseUpdate, IJsonModel< public string Code { get; } public string Message { get; } public string Param { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseFailedUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public OpenAIResponse Response { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseFileSearchCallCompletedUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseFileSearchCallInProgressUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseFileSearchCallSearchingUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5353,13 +4676,9 @@ public class StreamingResponseFunctionCallArgumentsDeltaUpdate : StreamingRespon public string Delta { get; } public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5367,63 +4686,43 @@ public class StreamingResponseFunctionCallArgumentsDoneUpdate : StreamingRespons public string Arguments { get; } public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseIncompleteUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public OpenAIResponse Response { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseInProgressUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public OpenAIResponse Response { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseOutputItemAddedUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public ResponseItem Item { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseOutputItemDoneUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public ResponseItem Item { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5432,13 +4731,9 @@ public class StreamingResponseOutputTextDeltaUpdate : StreamingResponseUpdate, I public string Delta { get; } public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5447,25 +4742,17 @@ public class StreamingResponseOutputTextDoneUpdate : StreamingResponseUpdate, IJ public string ItemId { get; } public int OutputIndex { get; } public string Text { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseQueuedUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public OpenAIResponse Response { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5474,13 +4761,9 @@ public class StreamingResponseRefusalDeltaUpdate : StreamingResponseUpdate, IJso public string Delta { get; } public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5489,13 +4772,9 @@ public class StreamingResponseRefusalDoneUpdate : StreamingResponseUpdate, IJson public string ItemId { get; } public int OutputIndex { get; } public string Refusal { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5517,64 +4796,44 @@ public class StreamingResponseTextAnnotationAddedUpdate : StreamingResponseUpdat [Experimental("OPENAI001")] public class StreamingResponseUpdate : IJsonModel, IPersistableModel { public int SequenceNumber { get; } - [Experimental("OPENAI001")] protected virtual StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseWebSearchCallCompletedUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseWebSearchCallInProgressUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class StreamingResponseWebSearchCallSearchingUpdate : StreamingResponseUpdate, IJsonModel, IPersistableModel { public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class WebSearchCallResponseItem : ResponseItem, IJsonModel, IPersistableModel { public WebSearchCallStatus? Status { get; } - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5603,13 +4862,9 @@ public enum WebSearchCallStatus { [Experimental("OPENAI001")] public class WebSearchUserLocation : IJsonModel, IPersistableModel { public static WebSearchUserLocation CreateApproximateLocation(string country = null, string region = null, string city = null, string timezone = null); - [Experimental("OPENAI001")] protected virtual WebSearchUserLocation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual WebSearchUserLocation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } } @@ -5621,10 +4876,8 @@ public class AddFileToVectorStoreOperation : OperationResult { public VectorStoreFileAssociationStatus? Status { get; } public VectorStoreFileAssociation? Value { get; } public string VectorStoreId { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFileAssociation(RequestOptions? options); public virtual ClientResult GetFileAssociation(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFileAssociationAsync(RequestOptions? options); public virtual Task> GetFileAssociationAsync(CancellationToken cancellationToken = default); public static AddFileToVectorStoreOperation Rehydrate(VectorStoreClient client, ContinuationToken rehydrationToken, CancellationToken cancellationToken = default); @@ -5639,16 +4892,12 @@ public class CreateBatchFileJobOperation : OperationResult { public VectorStoreBatchFileJobStatus? Status { get; } public VectorStoreBatchFileJob? Value { get; } public string VectorStoreId { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult Cancel(RequestOptions? options); public virtual ClientResult Cancel(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CancelAsync(RequestOptions? options); public virtual Task> CancelAsync(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFileBatch(RequestOptions? options); public virtual ClientResult GetFileBatch(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFileBatchAsync(RequestOptions? options); public virtual Task> GetFileBatchAsync(CancellationToken cancellationToken = default); public static CreateBatchFileJobOperation Rehydrate(VectorStoreClient client, ContinuationToken rehydrationToken, CancellationToken cancellationToken = default); @@ -5662,10 +4911,8 @@ public class CreateVectorStoreOperation : OperationResult { public VectorStoreStatus? Status { get; } public VectorStore? Value { get; } public string VectorStoreId { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetVectorStore(RequestOptions? options); public virtual ClientResult GetVectorStore(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetVectorStoreAsync(RequestOptions? options); public virtual Task> GetVectorStoreAsync(CancellationToken cancellationToken = default); public static CreateVectorStoreOperation Rehydrate(VectorStoreClient client, ContinuationToken rehydrationToken, CancellationToken cancellationToken = default); @@ -5678,26 +4925,18 @@ public abstract class FileChunkingStrategy : IJsonModel, I public static FileChunkingStrategy Auto { get; } public static FileChunkingStrategy Unknown { get; } public static FileChunkingStrategy CreateStaticStrategy(int maxTokensPerChunk, int overlappingTokenCount); - [Experimental("OPENAI001")] protected virtual FileChunkingStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FileChunkingStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class FileFromStoreRemovalResult : IJsonModel, IPersistableModel { public string FileId { get; } public bool Removed { get; } - [Experimental("OPENAI001")] protected virtual FileFromStoreRemovalResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual FileFromStoreRemovalResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5705,13 +4944,9 @@ public class StaticFileChunkingStrategy : FileChunkingStrategy, IJsonModel, IPersistableModel, IPer public VectorStoreFileCounts FileCounts { get; } public VectorStoreBatchFileJobStatus Status { get; } public string VectorStoreId { get; } - [Experimental("OPENAI001")] protected virtual VectorStoreBatchFileJob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual VectorStoreBatchFileJob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5776,81 +5003,59 @@ public class VectorStoreClient { protected internal VectorStoreClient(ClientPipeline pipeline, OpenAIClientOptions options); public VectorStoreClient(string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AddFileToVectorStoreOperation AddFileToVectorStore(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual AddFileToVectorStoreOperation AddFileToVectorStore(string vectorStoreId, string fileId, bool waitUntilCompleted, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task AddFileToVectorStoreAsync(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual Task AddFileToVectorStoreAsync(string vectorStoreId, string fileId, bool waitUntilCompleted, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CancelBatchFileJob(string vectorStoreId, string batchId, RequestOptions options); public virtual ClientResult CancelBatchFileJob(string vectorStoreId, string batchJobId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CancelBatchFileJobAsync(string vectorStoreId, string batchId, RequestOptions options); public virtual Task> CancelBatchFileJobAsync(string vectorStoreId, string batchJobId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CreateBatchFileJobOperation CreateBatchFileJob(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual CreateBatchFileJobOperation CreateBatchFileJob(string vectorStoreId, IEnumerable fileIds, bool waitUntilCompleted, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateBatchFileJobAsync(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual Task CreateBatchFileJobAsync(string vectorStoreId, IEnumerable fileIds, bool waitUntilCompleted, CancellationToken cancellationToken = default); public virtual CreateVectorStoreOperation CreateVectorStore(bool waitUntilCompleted, VectorStoreCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CreateVectorStoreOperation CreateVectorStore(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual ClientResult CreateVectorStore(BinaryContent content, RequestOptions options = null); public virtual Task CreateVectorStoreAsync(bool waitUntilCompleted, VectorStoreCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateVectorStoreAsync(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual Task CreateVectorStoreAsync(BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteVectorStore(string vectorStoreId, RequestOptions options); public virtual ClientResult DeleteVectorStore(string vectorStoreId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteVectorStoreAsync(string vectorStoreId, RequestOptions options); public virtual Task> DeleteVectorStoreAsync(string vectorStoreId, CancellationToken cancellationToken = default); public virtual ClientResult GetBatchFileJob(string vectorStoreId, string batchJobId, CancellationToken cancellationToken = default); public virtual Task> GetBatchFileJobAsync(string vectorStoreId, string batchJobId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFileAssociation(string vectorStoreId, string fileId, RequestOptions options); public virtual ClientResult GetFileAssociation(string vectorStoreId, string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFileAssociationAsync(string vectorStoreId, string fileId, RequestOptions options); public virtual Task> GetFileAssociationAsync(string vectorStoreId, string fileId, CancellationToken cancellationToken = default); public virtual CollectionResult GetFileAssociations(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual CollectionResult GetFileAssociations(string vectorStoreId, VectorStoreFileAssociationCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetFileAssociations(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options); public virtual CollectionResult GetFileAssociations(string vectorStoreId, string batchJobId, VectorStoreFileAssociationCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetFileAssociations(string vectorStoreId, string batchJobId, ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetFileAssociations(string vectorStoreId, string batchId, int? limit, string order, string after, string before, string filter, RequestOptions options); public virtual AsyncCollectionResult GetFileAssociationsAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, VectorStoreFileAssociationCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options); public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, string batchJobId, VectorStoreFileAssociationCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, string batchJobId, ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, string batchId, int? limit, string order, string after, string before, string filter, RequestOptions options); public virtual ClientResult GetVectorStore(string vectorStoreId, CancellationToken cancellationToken = default); public virtual CollectionResult GetVectorStores(VectorStoreCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetVectorStores(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetVectorStores(int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetVectorStoresAsync(VectorStoreCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetVectorStoresAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetVectorStoresAsync(int? limit, string order, string after, string before, RequestOptions options); public virtual ClientResult ModifyVectorStore(string vectorStoreId, VectorStoreModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyVectorStore(string vectorStoreId, BinaryContent content, RequestOptions options = null); public virtual Task> ModifyVectorStoreAsync(string vectorStoreId, VectorStoreModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyVectorStoreAsync(string vectorStoreId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult RemoveFileFromStore(string vectorStoreId, string fileId, RequestOptions options); public virtual ClientResult RemoveFileFromStore(string vectorStoreId, string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task RemoveFileFromStoreAsync(string vectorStoreId, string fileId, RequestOptions options); public virtual Task> RemoveFileFromStoreAsync(string vectorStoreId, string fileId, CancellationToken cancellationToken = default); public virtual ClientResult RetrieveVectorStoreFileContent(string vectorStoreId, string fileId, RequestOptions options); @@ -5891,26 +5096,18 @@ public class VectorStoreCreationOptions : IJsonModel public IList FileIds { get; } public IDictionary Metadata { get; } public string Name { get; set; } - [Experimental("OPENAI001")] protected virtual VectorStoreCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual VectorStoreCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] public class VectorStoreDeletionResult : IJsonModel, IPersistableModel { public bool Deleted { get; } public string VectorStoreId { get; } - [Experimental("OPENAI001")] protected virtual VectorStoreDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual VectorStoreDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5923,13 +5120,9 @@ public class VectorStoreExpirationPolicy : IJsonModel public int Size { get; } public VectorStoreFileAssociationStatus Status { get; } public string VectorStoreId { get; } - [Experimental("OPENAI001")] protected virtual VectorStoreFileAssociation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileAssociation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -5978,13 +5167,9 @@ public class VectorStoreFileAssociationCollectionOptions { public class VectorStoreFileAssociationError : IJsonModel, IPersistableModel { public VectorStoreFileAssociationErrorCode Code { get; } public string Message { get; } - [Experimental("OPENAI001")] protected virtual VectorStoreFileAssociationError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileAssociationError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -6018,13 +5203,9 @@ public class VectorStoreFileCounts : IJsonModel, IPersist public int Failed { get; } public int InProgress { get; } public int Total { get; } - [Experimental("OPENAI001")] protected virtual VectorStoreFileCounts JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileCounts PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] @@ -6049,13 +5230,9 @@ public class VectorStoreModificationOptions : IJsonModel Metadata { get; } public string Name { get; set; } - [Experimental("OPENAI001")] protected virtual VectorStoreModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual VectorStoreModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] diff --git a/api/OpenAI.netstandard2.0.cs b/api/OpenAI.netstandard2.0.cs index e8b769613..49e2add02 100644 --- a/api/OpenAI.netstandard2.0.cs +++ b/api/OpenAI.netstandard2.0.cs @@ -58,152 +58,106 @@ public class AssistantClient { protected internal AssistantClient(ClientPipeline pipeline, OpenAIClientOptions options); public AssistantClient(string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CancelRun(string threadId, string runId, RequestOptions options); public virtual ClientResult CancelRun(string threadId, string runId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CancelRunAsync(string threadId, string runId, RequestOptions options); public virtual Task> CancelRunAsync(string threadId, string runId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateAssistant(BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateAssistant(string model, AssistantCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateAssistantAsync(BinaryContent content, RequestOptions options = null); public virtual Task> CreateAssistantAsync(string model, AssistantCreationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult CreateMessage(string threadId, MessageRole role, IEnumerable content, MessageCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateMessage(string threadId, BinaryContent content, RequestOptions options = null); public virtual Task> CreateMessageAsync(string threadId, MessageRole role, IEnumerable content, MessageCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateMessageAsync(string threadId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateRun(string threadId, BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateRun(string threadId, string assistantId, RunCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateRunAsync(string threadId, BinaryContent content, RequestOptions options = null); public virtual Task> CreateRunAsync(string threadId, string assistantId, RunCreationOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult CreateRunStreaming(string threadId, string assistantId, RunCreationOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult CreateRunStreamingAsync(string threadId, string assistantId, RunCreationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult CreateThread(ThreadCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateThread(BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateThreadAndRun(BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateThreadAndRun(string assistantId, ThreadCreationOptions threadOptions = null, RunCreationOptions runOptions = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateThreadAndRunAsync(BinaryContent content, RequestOptions options = null); public virtual Task> CreateThreadAndRunAsync(string assistantId, ThreadCreationOptions threadOptions = null, RunCreationOptions runOptions = null, CancellationToken cancellationToken = default); public virtual CollectionResult CreateThreadAndRunStreaming(string assistantId, ThreadCreationOptions threadOptions = null, RunCreationOptions runOptions = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult CreateThreadAndRunStreamingAsync(string assistantId, ThreadCreationOptions threadOptions = null, RunCreationOptions runOptions = null, CancellationToken cancellationToken = default); public virtual Task> CreateThreadAsync(ThreadCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateThreadAsync(BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteAssistant(string assistantId, RequestOptions options); public virtual ClientResult DeleteAssistant(string assistantId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteAssistantAsync(string assistantId, RequestOptions options); public virtual Task> DeleteAssistantAsync(string assistantId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteMessage(string threadId, string messageId, RequestOptions options); public virtual ClientResult DeleteMessage(string threadId, string messageId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteMessageAsync(string threadId, string messageId, RequestOptions options); public virtual Task> DeleteMessageAsync(string threadId, string messageId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteThread(string threadId, RequestOptions options); public virtual ClientResult DeleteThread(string threadId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteThreadAsync(string threadId, RequestOptions options); public virtual Task> DeleteThreadAsync(string threadId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetAssistant(string assistantId, RequestOptions options); public virtual ClientResult GetAssistant(string assistantId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetAssistantAsync(string assistantId, RequestOptions options); public virtual Task> GetAssistantAsync(string assistantId, CancellationToken cancellationToken = default); public virtual CollectionResult GetAssistants(AssistantCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetAssistants(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetAssistants(int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetAssistantsAsync(AssistantCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetAssistantsAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetAssistantsAsync(int? limit, string order, string after, string before, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetMessage(string threadId, string messageId, RequestOptions options); public virtual ClientResult GetMessage(string threadId, string messageId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetMessageAsync(string threadId, string messageId, RequestOptions options); public virtual Task> GetMessageAsync(string threadId, string messageId, CancellationToken cancellationToken = default); public virtual CollectionResult GetMessages(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual CollectionResult GetMessages(string threadId, MessageCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetMessages(string threadId, int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetMessagesAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetMessagesAsync(string threadId, MessageCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetMessagesAsync(string threadId, int? limit, string order, string after, string before, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetRun(string threadId, string runId, RequestOptions options); public virtual ClientResult GetRun(string threadId, string runId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetRunAsync(string threadId, string runId, RequestOptions options); public virtual Task> GetRunAsync(string threadId, string runId, CancellationToken cancellationToken = default); public virtual CollectionResult GetRuns(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual CollectionResult GetRuns(string threadId, RunCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetRuns(string threadId, int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetRunsAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetRunsAsync(string threadId, RunCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetRunsAsync(string threadId, int? limit, string order, string after, string before, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetRunStep(string threadId, string runId, string stepId, RequestOptions options); public virtual ClientResult GetRunStep(string threadId, string runId, string stepId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetRunStepAsync(string threadId, string runId, string stepId, RequestOptions options); public virtual Task> GetRunStepAsync(string threadId, string runId, string stepId, CancellationToken cancellationToken = default); public virtual CollectionResult GetRunSteps(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual CollectionResult GetRunSteps(string threadId, string runId, RunStepCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetRunSteps(string threadId, string runId, int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetRunStepsAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetRunStepsAsync(string threadId, string runId, RunStepCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetRunStepsAsync(string threadId, string runId, int? limit, string order, string after, string before, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetThread(string threadId, RequestOptions options); public virtual ClientResult GetThread(string threadId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetThreadAsync(string threadId, RequestOptions options); public virtual Task> GetThreadAsync(string threadId, CancellationToken cancellationToken = default); public virtual ClientResult ModifyAssistant(string assistantId, AssistantModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyAssistant(string assistantId, BinaryContent content, RequestOptions options = null); public virtual Task> ModifyAssistantAsync(string assistantId, AssistantModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyAssistantAsync(string assistantId, BinaryContent content, RequestOptions options = null); public virtual ClientResult ModifyMessage(string threadId, string messageId, MessageModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyMessage(string threadId, string messageId, BinaryContent content, RequestOptions options = null); public virtual Task> ModifyMessageAsync(string threadId, string messageId, MessageModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyMessageAsync(string threadId, string messageId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyRun(string threadId, string runId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyRunAsync(string threadId, string runId, BinaryContent content, RequestOptions options = null); public virtual ClientResult ModifyThread(string threadId, ThreadModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyThread(string threadId, BinaryContent content, RequestOptions options = null); public virtual Task> ModifyThreadAsync(string threadId, ThreadModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyThreadAsync(string threadId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult SubmitToolOutputsToRun(string threadId, string runId, BinaryContent content, RequestOptions options = null); public virtual ClientResult SubmitToolOutputsToRun(string threadId, string runId, IEnumerable toolOutputs, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task SubmitToolOutputsToRunAsync(string threadId, string runId, BinaryContent content, RequestOptions options = null); public virtual Task> SubmitToolOutputsToRunAsync(string threadId, string runId, IEnumerable toolOutputs, CancellationToken cancellationToken = default); public virtual CollectionResult SubmitToolOutputsToRunStreaming(string threadId, string runId, IEnumerable toolOutputs, CancellationToken cancellationToken = default); @@ -1012,17 +966,13 @@ public class AudioClient { public AudioClient(string model, ApiKeyCredential credential); public AudioClient(string model, string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateSpeech(BinaryContent content, RequestOptions options = null); public virtual ClientResult GenerateSpeech(string text, GeneratedSpeechVoice voice, SpeechGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateSpeechAsync(BinaryContent content, RequestOptions options = null); public virtual Task> GenerateSpeechAsync(string text, GeneratedSpeechVoice voice, SpeechGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult TranscribeAudio(BinaryContent content, string contentType, RequestOptions options = null); public virtual ClientResult TranscribeAudio(Stream audio, string audioFilename, AudioTranscriptionOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult TranscribeAudio(string audioFilePath, AudioTranscriptionOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task TranscribeAudioAsync(BinaryContent content, string contentType, RequestOptions options = null); public virtual Task> TranscribeAudioAsync(Stream audio, string audioFilename, AudioTranscriptionOptions options = null, CancellationToken cancellationToken = default); public virtual Task> TranscribeAudioAsync(string audioFilePath, AudioTranscriptionOptions options = null); @@ -1258,6 +1208,8 @@ public class BatchClient { public ClientPipeline Pipeline { get; } public virtual CreateBatchOperation CreateBatch(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual Task CreateBatchAsync(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); + public virtual ClientResult GetBatch(string batchId, RequestOptions options); + public virtual Task GetBatchAsync(string batchId, RequestOptions options); public virtual CollectionResult GetBatches(string after, int? limit, RequestOptions options); public virtual AsyncCollectionResult GetBatchesAsync(string after, int? limit, RequestOptions options); } @@ -1314,11 +1266,9 @@ public class ChatClient { public ChatClient(string model, string apiKey); public ClientPipeline Pipeline { get; } public virtual ClientResult CompleteChat(params ChatMessage[] messages); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CompleteChat(BinaryContent content, RequestOptions options = null); public virtual ClientResult CompleteChat(IEnumerable messages, ChatCompletionOptions options = null, CancellationToken cancellationToken = default); public virtual Task> CompleteChatAsync(params ChatMessage[] messages); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CompleteChatAsync(BinaryContent content, RequestOptions options = null); public virtual Task> CompleteChatAsync(IEnumerable messages, ChatCompletionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult CompleteChatStreaming(params ChatMessage[] messages); @@ -1876,11 +1826,9 @@ public class EmbeddingClient { public ClientPipeline Pipeline { get; } public virtual ClientResult GenerateEmbedding(string input, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateEmbeddingAsync(string input, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateEmbeddings(BinaryContent content, RequestOptions options = null); public virtual ClientResult GenerateEmbeddings(IEnumerable> inputs, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateEmbeddings(IEnumerable inputs, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateEmbeddingsAsync(BinaryContent content, RequestOptions options = null); public virtual Task> GenerateEmbeddingsAsync(IEnumerable> inputs, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateEmbeddingsAsync(IEnumerable inputs, EmbeddingGenerationOptions options = null, CancellationToken cancellationToken = default); @@ -2034,39 +1982,29 @@ public class OpenAIFileClient { public virtual Task CompleteUploadAsync(string uploadId, BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateUpload(BinaryContent content, RequestOptions options = null); public virtual Task CreateUploadAsync(BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteFile(string fileId, RequestOptions options); public virtual ClientResult DeleteFile(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteFileAsync(string fileId, RequestOptions options); public virtual Task> DeleteFileAsync(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DownloadFile(string fileId, RequestOptions options); public virtual ClientResult DownloadFile(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DownloadFileAsync(string fileId, RequestOptions options); public virtual Task> DownloadFileAsync(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFile(string fileId, RequestOptions options); public virtual ClientResult GetFile(string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFileAsync(string fileId, RequestOptions options); public virtual Task> GetFileAsync(string fileId, CancellationToken cancellationToken = default); public virtual ClientResult GetFiles(FilePurpose purpose, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFiles(string purpose, RequestOptions options); public virtual ClientResult GetFiles(CancellationToken cancellationToken = default); public virtual Task> GetFilesAsync(FilePurpose purpose, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFilesAsync(string purpose, RequestOptions options); public virtual Task> GetFilesAsync(CancellationToken cancellationToken = default); public virtual ClientResult UploadFile(BinaryData file, string filename, FileUploadPurpose purpose); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult UploadFile(BinaryContent content, string contentType, RequestOptions options = null); public virtual ClientResult UploadFile(Stream file, string filename, FileUploadPurpose purpose, CancellationToken cancellationToken = default); public virtual ClientResult UploadFile(string filePath, FileUploadPurpose purpose); public virtual Task> UploadFileAsync(BinaryData file, string filename, FileUploadPurpose purpose); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task UploadFileAsync(BinaryContent content, string contentType, RequestOptions options = null); public virtual Task> UploadFileAsync(Stream file, string filename, FileUploadPurpose purpose, CancellationToken cancellationToken = default); public virtual Task> UploadFileAsync(string filePath, FileUploadPurpose purpose); @@ -2533,33 +2471,27 @@ public class ImageClient { public virtual Task> GenerateImageEditAsync(Stream image, string imageFilename, string prompt, Stream mask, string maskFilename, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageEditAsync(string imageFilePath, string prompt, ImageEditOptions options = null); public virtual Task> GenerateImageEditAsync(string imageFilePath, string prompt, string maskFilePath, ImageEditOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateImageEdits(BinaryContent content, string contentType, RequestOptions options = null); public virtual ClientResult GenerateImageEdits(Stream image, string imageFilename, string prompt, int imageCount, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageEdits(Stream image, string imageFilename, string prompt, Stream mask, string maskFilename, int imageCount, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageEdits(string imageFilePath, string prompt, int imageCount, ImageEditOptions options = null); public virtual ClientResult GenerateImageEdits(string imageFilePath, string prompt, string maskFilePath, int imageCount, ImageEditOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateImageEditsAsync(BinaryContent content, string contentType, RequestOptions options = null); public virtual Task> GenerateImageEditsAsync(Stream image, string imageFilename, string prompt, int imageCount, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageEditsAsync(Stream image, string imageFilename, string prompt, Stream mask, string maskFilename, int imageCount, ImageEditOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageEditsAsync(string imageFilePath, string prompt, int imageCount, ImageEditOptions options = null); public virtual Task> GenerateImageEditsAsync(string imageFilePath, string prompt, string maskFilePath, int imageCount, ImageEditOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateImages(BinaryContent content, RequestOptions options = null); public virtual ClientResult GenerateImages(string prompt, int imageCount, ImageGenerationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateImagesAsync(BinaryContent content, RequestOptions options = null); public virtual Task> GenerateImagesAsync(string prompt, int imageCount, ImageGenerationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageVariation(Stream image, string imageFilename, ImageVariationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageVariation(string imageFilePath, ImageVariationOptions options = null); public virtual Task> GenerateImageVariationAsync(Stream image, string imageFilename, ImageVariationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageVariationAsync(string imageFilePath, ImageVariationOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GenerateImageVariations(BinaryContent content, string contentType, RequestOptions options = null); public virtual ClientResult GenerateImageVariations(Stream image, string imageFilename, int imageCount, ImageVariationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult GenerateImageVariations(string imageFilePath, int imageCount, ImageVariationOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GenerateImageVariationsAsync(BinaryContent content, string contentType, RequestOptions options = null); public virtual Task> GenerateImageVariationsAsync(Stream image, string imageFilename, int imageCount, ImageVariationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> GenerateImageVariationsAsync(string imageFilePath, int imageCount, ImageVariationOptions options = null); @@ -2647,22 +2579,16 @@ public class OpenAIModelClient { protected internal OpenAIModelClient(ClientPipeline pipeline, OpenAIClientOptions options); public OpenAIModelClient(string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteModel(string model, RequestOptions options); public virtual ClientResult DeleteModel(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteModelAsync(string model, RequestOptions options); public virtual Task> DeleteModelAsync(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetModel(string model, RequestOptions options); public virtual ClientResult GetModel(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetModelAsync(string model, RequestOptions options); public virtual Task> GetModelAsync(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetModels(RequestOptions options); public virtual ClientResult GetModels(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetModelsAsync(RequestOptions options); public virtual Task> GetModelsAsync(CancellationToken cancellationToken = default); } @@ -2690,11 +2616,9 @@ public class ModerationClient { public ModerationClient(string model, ApiKeyCredential credential); public ModerationClient(string model, string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ClassifyText(BinaryContent content, RequestOptions options = null); public virtual ClientResult ClassifyText(IEnumerable inputs, CancellationToken cancellationToken = default); public virtual ClientResult ClassifyText(string input, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ClassifyTextAsync(BinaryContent content, RequestOptions options = null); public virtual Task> ClassifyTextAsync(IEnumerable inputs, CancellationToken cancellationToken = default); public virtual Task> ClassifyTextAsync(string input, CancellationToken cancellationToken = default); @@ -3279,13 +3203,10 @@ public class RealtimeClient { public virtual ClientResult CreateEphemeralTranscriptionToken(BinaryContent content, RequestOptions options = null); public virtual Task CreateEphemeralTranscriptionTokenAsync(BinaryContent content, RequestOptions options = null); public RealtimeSession StartConversationSession(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task StartConversationSessionAsync(string model, RequestOptions options); public virtual Task StartConversationSessionAsync(string model, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task StartSessionAsync(string model, string intent, RequestOptions options); public RealtimeSession StartTranscriptionSession(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task StartTranscriptionSessionAsync(RequestOptions options); public virtual Task StartTranscriptionSessionAsync(CancellationToken cancellationToken = default); } @@ -3339,26 +3260,20 @@ public class RealtimeSession : IDisposable { public virtual void ConfigureSession(ConversationSessionOptions sessionOptions, CancellationToken cancellationToken = default); public virtual void ConfigureTranscriptionSession(TranscriptionSessionOptions sessionOptions, CancellationToken cancellationToken = default); public virtual Task ConfigureTranscriptionSessionAsync(TranscriptionSessionOptions sessionOptions, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] protected internal virtual void Connect(RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] protected internal virtual Task ConnectAsync(RequestOptions options); public virtual void DeleteItem(string itemId, CancellationToken cancellationToken = default); public virtual Task DeleteItemAsync(string itemId, CancellationToken cancellationToken = default); public void Dispose(); public virtual void InterruptResponse(CancellationToken cancellationToken = default); public virtual Task InterruptResponseAsync(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual IEnumerable ReceiveUpdates(RequestOptions options); public virtual IEnumerable ReceiveUpdates(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual IAsyncEnumerable ReceiveUpdatesAsync(RequestOptions options); public virtual IAsyncEnumerable ReceiveUpdatesAsync(CancellationToken cancellationToken = default); public virtual void RequestItemRetrieval(string itemId, CancellationToken cancellationToken = default); public virtual Task RequestItemRetrievalAsync(string itemId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual void SendCommand(BinaryData data, RequestOptions options); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task SendCommandAsync(BinaryData data, RequestOptions options); public virtual void SendInputAudio(BinaryData audio, CancellationToken cancellationToken = default); public virtual void SendInputAudio(Stream audio, CancellationToken cancellationToken = default); @@ -3744,11 +3659,9 @@ public class OpenAIResponseClient { public virtual ClientResult CancelResponse(string responseId, CancellationToken cancellationToken = default); public virtual Task CancelResponseAsync(string responseId, RequestOptions options); public virtual Task> CancelResponseAsync(string responseId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateResponse(BinaryContent content, RequestOptions options = null); public virtual ClientResult CreateResponse(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); public virtual ClientResult CreateResponse(string userInputText, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateResponseAsync(BinaryContent content, RequestOptions options = null); public virtual Task> CreateResponseAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); public virtual Task> CreateResponseAsync(string userInputText, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); @@ -3756,23 +3669,17 @@ public class OpenAIResponseClient { public virtual CollectionResult CreateResponseStreaming(string userInputText, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult CreateResponseStreamingAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult CreateResponseStreamingAsync(string userInputText, ResponseCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteResponse(string responseId, RequestOptions options); public virtual ClientResult DeleteResponse(string responseId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteResponseAsync(string responseId, RequestOptions options); public virtual Task> DeleteResponseAsync(string responseId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetResponse(string responseId, bool? stream, int? startingAfter, RequestOptions options); public virtual ClientResult GetResponse(string responseId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetResponseAsync(string responseId, bool? stream, int? startingAfter, RequestOptions options); public virtual Task> GetResponseAsync(string responseId, CancellationToken cancellationToken = default); public virtual CollectionResult GetResponseInputItems(string responseId, ResponseItemCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetResponseInputItems(string responseId, int? limit, string order, string after, string before, RequestOptions options = null); public virtual AsyncCollectionResult GetResponseInputItemsAsync(string responseId, ResponseItemCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetResponseInputItemsAsync(string responseId, int? limit, string order, string after, string before, RequestOptions options = null); public virtual CollectionResult GetResponseStreaming(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetResponseStreamingAsync(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default); @@ -4411,10 +4318,8 @@ public class AddFileToVectorStoreOperation : OperationResult { public VectorStoreFileAssociationStatus? Status { get; } public VectorStoreFileAssociation? Value { get; } public string VectorStoreId { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFileAssociation(RequestOptions? options); public virtual ClientResult GetFileAssociation(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFileAssociationAsync(RequestOptions? options); public virtual Task> GetFileAssociationAsync(CancellationToken cancellationToken = default); public static AddFileToVectorStoreOperation Rehydrate(VectorStoreClient client, ContinuationToken rehydrationToken, CancellationToken cancellationToken = default); @@ -4428,16 +4333,12 @@ public class CreateBatchFileJobOperation : OperationResult { public VectorStoreBatchFileJobStatus? Status { get; } public VectorStoreBatchFileJob? Value { get; } public string VectorStoreId { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult Cancel(RequestOptions? options); public virtual ClientResult Cancel(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CancelAsync(RequestOptions? options); public virtual Task> CancelAsync(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFileBatch(RequestOptions? options); public virtual ClientResult GetFileBatch(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFileBatchAsync(RequestOptions? options); public virtual Task> GetFileBatchAsync(CancellationToken cancellationToken = default); public static CreateBatchFileJobOperation Rehydrate(VectorStoreClient client, ContinuationToken rehydrationToken, CancellationToken cancellationToken = default); @@ -4450,10 +4351,8 @@ public class CreateVectorStoreOperation : OperationResult { public VectorStoreStatus? Status { get; } public VectorStore? Value { get; } public string VectorStoreId { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetVectorStore(RequestOptions? options); public virtual ClientResult GetVectorStore(CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetVectorStoreAsync(RequestOptions? options); public virtual Task> GetVectorStoreAsync(CancellationToken cancellationToken = default); public static CreateVectorStoreOperation Rehydrate(VectorStoreClient client, ContinuationToken rehydrationToken, CancellationToken cancellationToken = default); @@ -4537,81 +4436,59 @@ public class VectorStoreClient { protected internal VectorStoreClient(ClientPipeline pipeline, OpenAIClientOptions options); public VectorStoreClient(string apiKey); public ClientPipeline Pipeline { get; } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AddFileToVectorStoreOperation AddFileToVectorStore(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual AddFileToVectorStoreOperation AddFileToVectorStore(string vectorStoreId, string fileId, bool waitUntilCompleted, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task AddFileToVectorStoreAsync(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual Task AddFileToVectorStoreAsync(string vectorStoreId, string fileId, bool waitUntilCompleted, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CancelBatchFileJob(string vectorStoreId, string batchId, RequestOptions options); public virtual ClientResult CancelBatchFileJob(string vectorStoreId, string batchJobId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CancelBatchFileJobAsync(string vectorStoreId, string batchId, RequestOptions options); public virtual Task> CancelBatchFileJobAsync(string vectorStoreId, string batchJobId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CreateBatchFileJobOperation CreateBatchFileJob(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual CreateBatchFileJobOperation CreateBatchFileJob(string vectorStoreId, IEnumerable fileIds, bool waitUntilCompleted, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateBatchFileJobAsync(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual Task CreateBatchFileJobAsync(string vectorStoreId, IEnumerable fileIds, bool waitUntilCompleted, CancellationToken cancellationToken = default); public virtual CreateVectorStoreOperation CreateVectorStore(bool waitUntilCompleted, VectorStoreCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CreateVectorStoreOperation CreateVectorStore(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual ClientResult CreateVectorStore(BinaryContent content, RequestOptions options = null); public virtual Task CreateVectorStoreAsync(bool waitUntilCompleted, VectorStoreCreationOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateVectorStoreAsync(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual Task CreateVectorStoreAsync(BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteVectorStore(string vectorStoreId, RequestOptions options); public virtual ClientResult DeleteVectorStore(string vectorStoreId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteVectorStoreAsync(string vectorStoreId, RequestOptions options); public virtual Task> DeleteVectorStoreAsync(string vectorStoreId, CancellationToken cancellationToken = default); public virtual ClientResult GetBatchFileJob(string vectorStoreId, string batchJobId, CancellationToken cancellationToken = default); public virtual Task> GetBatchFileJobAsync(string vectorStoreId, string batchJobId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFileAssociation(string vectorStoreId, string fileId, RequestOptions options); public virtual ClientResult GetFileAssociation(string vectorStoreId, string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetFileAssociationAsync(string vectorStoreId, string fileId, RequestOptions options); public virtual Task> GetFileAssociationAsync(string vectorStoreId, string fileId, CancellationToken cancellationToken = default); public virtual CollectionResult GetFileAssociations(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual CollectionResult GetFileAssociations(string vectorStoreId, VectorStoreFileAssociationCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetFileAssociations(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options); public virtual CollectionResult GetFileAssociations(string vectorStoreId, string batchJobId, VectorStoreFileAssociationCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetFileAssociations(string vectorStoreId, string batchJobId, ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetFileAssociations(string vectorStoreId, string batchId, int? limit, string order, string after, string before, string filter, RequestOptions options); public virtual AsyncCollectionResult GetFileAssociationsAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, VectorStoreFileAssociationCollectionOptions options = null, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options); public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, string batchJobId, VectorStoreFileAssociationCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, string batchJobId, ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, string batchId, int? limit, string order, string after, string before, string filter, RequestOptions options); public virtual ClientResult GetVectorStore(string vectorStoreId, CancellationToken cancellationToken = default); public virtual CollectionResult GetVectorStores(VectorStoreCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetVectorStores(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetVectorStores(int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetVectorStoresAsync(VectorStoreCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetVectorStoresAsync(ContinuationToken firstPageToken, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetVectorStoresAsync(int? limit, string order, string after, string before, RequestOptions options); public virtual ClientResult ModifyVectorStore(string vectorStoreId, VectorStoreModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyVectorStore(string vectorStoreId, BinaryContent content, RequestOptions options = null); public virtual Task> ModifyVectorStoreAsync(string vectorStoreId, VectorStoreModificationOptions options, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyVectorStoreAsync(string vectorStoreId, BinaryContent content, RequestOptions options = null); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult RemoveFileFromStore(string vectorStoreId, string fileId, RequestOptions options); public virtual ClientResult RemoveFileFromStore(string vectorStoreId, string fileId, CancellationToken cancellationToken = default); - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task RemoveFileFromStoreAsync(string vectorStoreId, string fileId, RequestOptions options); public virtual Task> RemoveFileFromStoreAsync(string vectorStoreId, string fileId, CancellationToken cancellationToken = default); public virtual ClientResult RetrieveVectorStoreFileContent(string vectorStoreId, string fileId, RequestOptions options); diff --git a/codegen/emitter/src/emitter.ts b/codegen/emitter/src/emitter.ts new file mode 100644 index 000000000..9b6d608b0 --- /dev/null +++ b/codegen/emitter/src/emitter.ts @@ -0,0 +1,12 @@ +import { EmitContext } from "@typespec/compiler"; + +import { + $onEmit as $OnMGCEmit, + CSharpEmitterOptions +} from "@typespec/http-client-csharp"; + +export async function $onEmit(context: EmitContext) { + context.options["generator-name"] = "OpenAILibraryGenerator"; + context.options["emitter-extension-path"] = import.meta.url; + await $OnMGCEmit(context); +} \ No newline at end of file diff --git a/codegen/emitter/src/index.ts b/codegen/emitter/src/index.ts new file mode 100644 index 000000000..cd5bcc070 --- /dev/null +++ b/codegen/emitter/src/index.ts @@ -0,0 +1 @@ +export * from "./emitter.js"; diff --git a/codegen/generator/OpenAI.Library.Plugin.sln b/codegen/generator/OpenAI.Library.Plugin.sln new file mode 100644 index 000000000..7a42a25de --- /dev/null +++ b/codegen/generator/OpenAI.Library.Plugin.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35327.3 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenAI.Library.Plugin", "src\OpenAI.Library.Plugin.csproj", "{E46178E4-F3F0-4E2F-8D42-A7F021B23E63}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E46178E4-F3F0-4E2F-8D42-A7F021B23E63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E46178E4-F3F0-4E2F-8D42-A7F021B23E63}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E46178E4-F3F0-4E2F-8D42-A7F021B23E63}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E46178E4-F3F0-4E2F-8D42-A7F021B23E63}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/codegen/generator/src/OpenAI.Library.Plugin.csproj b/codegen/generator/src/OpenAI.Library.Plugin.csproj new file mode 100644 index 000000000..2eb08f6e7 --- /dev/null +++ b/codegen/generator/src/OpenAI.Library.Plugin.csproj @@ -0,0 +1,24 @@ + + + + net8.0 + enable + OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin + true + + + + + + + + + + + + + + + + + diff --git a/codegen/generator/src/OpenAILibraryGenerator.cs b/codegen/generator/src/OpenAILibraryGenerator.cs new file mode 100644 index 000000000..9915ab0a3 --- /dev/null +++ b/codegen/generator/src/OpenAILibraryGenerator.cs @@ -0,0 +1,43 @@ +using System; +using System.ComponentModel.Composition; +using Microsoft.TypeSpec.Generator; +using Microsoft.TypeSpec.Generator.ClientModel; +using OpenAILibraryPlugin.Visitors; + +namespace OpenAILibraryPlugin +{ + [Export(typeof(CodeModelGenerator))] + [ExportMetadata("GeneratorName", nameof(OpenAILibraryGenerator))] + public class OpenAILibraryGenerator : ScmCodeModelGenerator + { + private static OpenAILibraryGenerator? s_instance; + internal static OpenAILibraryGenerator Instance => s_instance ?? throw new InvalidOperationException("OpenAILibraryGenerator was not initialized."); + + [ImportingConstructor] + public OpenAILibraryGenerator(GeneratorContext context) : base(context) + { + s_instance = this; + } + + protected override void Configure() + { + base.Configure(); + AddVisitor(new ConstructorFixupVisitor()); + AddVisitor(new KindRenameVisitor()); + AddVisitor(new VisibilityVisitor()); + AddVisitor(new ContentInnerCollectionDefinedVisitor()); + AddVisitor(new NonAbstractPublicTypesVisitor()); + AddVisitor(new PageOrderRemovalVisitor(this)); + AddVisitor(new OmittedTypesVisitor()); + AddVisitor(new InvariantFormatAdditionalPropertiesVisitor()); + AddVisitor(new OpenAILibraryVisitor()); + AddVisitor(new VirtualMessageCreationVisitor()); + AddVisitor(new ProhibitedNamespaceVisitor()); + AddVisitor(new ExplicitConversionFromClientResultVisitor()); + AddVisitor(new ImplicitConversionToBinaryContentVisitor()); + AddVisitor(new ModelSerializationVisitor()); + AddVisitor(new ExperimentalAttributeVisitor()); + AddVisitor(new ModelDirectoryVisitor()); + } + } +} \ No newline at end of file diff --git a/codegen/generator/src/OpenAILibraryVisitor.cs b/codegen/generator/src/OpenAILibraryVisitor.cs new file mode 100644 index 000000000..07e20715f --- /dev/null +++ b/codegen/generator/src/OpenAILibraryVisitor.cs @@ -0,0 +1,272 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.ClientModel.Providers; +using Microsoft.TypeSpec.Generator.Expressions; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using Microsoft.TypeSpec.Generator.Snippets; +using Microsoft.TypeSpec.Generator.Statements; +using System; +using System.Collections.Generic; +using System.Linq; +using static Microsoft.TypeSpec.Generator.Snippets.Snippet; + +namespace OpenAILibraryPlugin; + +public class OpenAILibraryVisitor : ScmLibraryVisitor +{ + private const string RawDataPropertyName = "SerializedAdditionalRawData"; + private const string AdditionalPropertiesFieldName = "_additionalBinaryDataProperties"; + private const string SentinelValueFieldName = "_sentinelValue"; + private const string ModelSerializationExtensionsTypeName = "ModelSerializationExtensions"; + private const string IsSentinelValueMethodName = "IsSentinelValue"; + private const string JsonModelWriteCoreMethodName = "JsonModelWriteCore"; + + // This dictionary defines properties within types that should have their plain serialization calls wrapped with + // a conditional that includes an appropriate "Optional" check, e.g.: + // - Optional.IsCollectionDefined(Messages) ... writer.WritePropertyName("messages"u8) + // - Optional.IsDefined(Model) ... writer.WritePropertyName("model"u8) + private static WritePropertyNameAdditionalReplacementInfo _readonlyStatusReplacementInfo = new("Status", "status", isCollection: false); + private static readonly Dictionary> TypeNameToWritePropertyNameAdditionalConditionMap = new() + { + ["ChatCompletionOptions"] = + [ + new("Messages", "messages", isCollection: true), + new("Model", "model", isCollection: false) + ], + ["ResponseItem"] = + [ + new("Id", "id", isCollection: false), + ], + ["ComputerCallResponseItem"] = [_readonlyStatusReplacementInfo], + ["ComputerCallOutputResponseItem"] = [_readonlyStatusReplacementInfo], + ["FileSearchCallResponseItem"] = [_readonlyStatusReplacementInfo], + ["FunctionCallResponseItem"] = [_readonlyStatusReplacementInfo], + ["FunctionCallOutputResponseItem"] = [_readonlyStatusReplacementInfo], + ["MessageResponseItem"] = [_readonlyStatusReplacementInfo], + ["WebSearchCallResponseItem"] = [_readonlyStatusReplacementInfo], + }; + + protected override TypeProvider VisitType(TypeProvider type) + { + if (type is ModelProvider { BaseModelProvider: null } && type.Fields.Count > 0) + { + // Add an internal AdditionalProperties property to all base models + var additionalPropertiesField = type.Fields.Single(f => f.Name == AdditionalPropertiesFieldName); + var properties = new List(type.Properties) + { + new PropertyProvider($"", MethodSignatureModifiers.Internal, + typeof(IDictionary), RawDataPropertyName, + new ExpressionPropertyBody( + additionalPropertiesField, + type.DeclarationModifiers.HasFlag(TypeSignatureModifiers.ReadOnly) ? null : additionalPropertiesField.Assign(Value)), + type) + }; + + type.Update(properties: properties); + } + else if (type.Name == ModelSerializationExtensionsTypeName) + { + // Add a static BinaryData field representing the sentinel value + var sentinelValueField = new FieldProvider( + FieldModifiers.Private | FieldModifiers.Static | FieldModifiers.ReadOnly, + typeof(BinaryData), + SentinelValueFieldName, + type, + $"", + BinaryDataSnippets.FromBytes(LiteralU8("\"__EMPTY__\"").Invoke("ToArray"))); + var fields = new List(type.Fields) + { + sentinelValueField + }; + + // Add the IsSentinelValue method + var valueParameter = new ParameterProvider("value", $"", typeof(BinaryData)); + var methods = new List(type.Methods) + { + new MethodProvider( + new MethodSignature( + IsSentinelValueMethodName, + $"", + MethodSignatureModifiers.Internal | MethodSignatureModifiers.Static, + typeof(bool), + $"", + [valueParameter]), + new[] + { + Declare("sentinelSpan", typeof(ReadOnlySpan), sentinelValueField.As().ToMemory().Property("Span"), out var sentinelVariable), + Declare("valueSpan", typeof(ReadOnlySpan), valueParameter.As().ToMemory().Property("Span"), out var valueVariable), + Return(sentinelVariable.Invoke("SequenceEqual", valueVariable)) + }, + type) + }; + + type.Update(fields: fields, methods: methods); + } + return type; + } + + protected override FieldProvider VisitField(FieldProvider field) + { + // Make the backing additional properties field not be read only as long as the type is not readonly. + if (field.Name == AdditionalPropertiesFieldName && !field.EnclosingType.DeclarationModifiers.HasFlag(TypeSignatureModifiers.ReadOnly)) + { + field.Modifiers &= ~FieldModifiers.ReadOnly; + } + return field; + } + + protected override MethodProvider VisitMethod(MethodProvider method) + { + if (method.Signature.Name != JsonModelWriteCoreMethodName) + { + return method; + } + + // If there are no body statements, return the method as is + if (method.BodyStatements == null) + { + return method; + } + + // If the body statements are not MethodBodyStatements, return the method as is + if (method.BodyStatements is not MethodBodyStatements statements) + { + return method; + } + + var updatedStatements = new List(); + var flattenedStatements = statements.ToArray(); + + List additionalConditionsForWritingType + = TypeNameToWritePropertyNameAdditionalConditionMap.GetValueOrDefault(method.EnclosingType.Name) ?? []; + + for (int line = 0; line < flattenedStatements.Length; line++) + { + var statement = flattenedStatements[line]; + + // Much of the customization centers around treatment of WritePropertyName + string? writePropertyNameTarget = GetWritePropertyNameTargetFromStatement(statement); + + if (statement is IfStatement ifStatement) + { + // If we already have an if statement that contains property writing, we need to add the condition to the existing if statement + if (writePropertyNameTarget is not null) + { + ifStatement.Update(condition: ifStatement.Condition.As().And(GetContainsKeyCondition(writePropertyNameTarget))); + } + + // Handle writing AdditionalProperties + else if (ifStatement.Body.First() is ForEachStatement foreachStatement) + { + foreachStatement.Body.Insert( + 0, + new IfStatement( + Static(new ModelSerializationExtensionsDefinition().Type).Invoke( + IsSentinelValueMethodName, + foreachStatement.ItemVariable.Property("Value"))) + { + Continue + }); + } + + updatedStatements.Add(ifStatement); + } + else if (writePropertyNameTarget is not null) + { + ScopedApi enclosingIfCondition = GetContainsKeyCondition(writePropertyNameTarget); + + if (additionalConditionsForWritingType + .FirstOrDefault(additionalCondition => additionalCondition.JsonName == writePropertyNameTarget) + is WritePropertyNameAdditionalReplacementInfo matchingReplacementInfo) + { + MethodBodyStatement commentStatement + = new SingleLineCommentStatement("Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup"); + updatedStatements.Add(commentStatement); + enclosingIfCondition = GetOptionalIsCollectionDefinedCondition(matchingReplacementInfo) + .And(enclosingIfCondition); + } + + var ifSt = new IfStatement(enclosingIfCondition) { statement }; + + // If this is a plain expression statement, we need to add the next statement as well which + // will either write the property value or start writing an array + if (statement is ExpressionStatement) + { + ifSt.Add(flattenedStatements[++line]); + // Include array writing in the if statement + if (flattenedStatements[line + 1] is ForEachStatement) + { + // Foreach + ifSt.Add(flattenedStatements[++line]); + // End array + ifSt.Add(flattenedStatements[++line]); + } + } + updatedStatements.Add(ifSt); + } + else + { + updatedStatements.Add(statement); + } + } + + method.Update(bodyStatements: updatedStatements); + return method; + } + + private static ScopedApi GetContainsKeyCondition(string propertyName) + { + return This.Property(AdditionalPropertiesFieldName) + .NullConditional() + .Invoke("ContainsKey", Literal(propertyName)).NotEqual(True); + } + + private static string? GetWritePropertyNameTargetFromStatement(MethodBodyStatement? statement) + { + if (statement is ExpressionStatement expressionStatement + && expressionStatement.Expression is InvokeMethodExpression expressionMethodInvocation + && expressionMethodInvocation.MethodName == "WritePropertyName" + && expressionMethodInvocation.Arguments.Count == 1 + && expressionMethodInvocation.Arguments[0] is ScopedApi scopedStringApi + && scopedStringApi.Original is UnaryOperatorExpression stringUnaryTargetExpression + && stringUnaryTargetExpression.Operator == "u8" + && stringUnaryTargetExpression.Operand is LiteralExpression stringLiteralExpression) + { + return stringLiteralExpression.Literal?.ToString(); + } + else if (statement is MethodBodyStatements compoundStatements) + { + foreach (MethodBodyStatement innerStatement in compoundStatements.Statements) + { + if (GetWritePropertyNameTargetFromStatement(innerStatement) is string innerTarget) + { + return innerTarget; + } + } + } + else if (statement is IfStatement ifStatement) + { + return GetWritePropertyNameTargetFromStatement(ifStatement.Body); + } + else if (statement is IfElseStatement ifElseStatement) + { + return GetWritePropertyNameTargetFromStatement(ifElseStatement.If); + } + return null; + } + + private static ScopedApi GetOptionalIsCollectionDefinedCondition(WritePropertyNameAdditionalReplacementInfo replacementInfo) + { + string methodName = replacementInfo.IsCollection ? "IsCollectionDefined" : "IsDefined"; + return new MemberExpression(null, "Optional") + .Invoke(methodName, new MemberExpression(null, replacementInfo.PropertyName)) + .As(); + } + + public class WritePropertyNameAdditionalReplacementInfo(string propertyName, string jsonName, bool isCollection) + { + public string PropertyName { get; set; } = propertyName; + public string JsonName { get; set; } = jsonName; + public bool IsCollection { get; set; } = isCollection; + } +} diff --git a/codegen/generator/src/Visitors/ConstructorFixupVisitor.cs b/codegen/generator/src/Visitors/ConstructorFixupVisitor.cs new file mode 100644 index 000000000..daae81286 --- /dev/null +++ b/codegen/generator/src/Visitors/ConstructorFixupVisitor.cs @@ -0,0 +1,178 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Expressions; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using Microsoft.TypeSpec.Generator.Snippets; +using Microsoft.TypeSpec.Generator.Statements; +using System.Collections.Generic; +using System.Linq; +using static Microsoft.TypeSpec.Generator.Snippets.Snippet; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// This visitor performs several in-place modifications of model-based type constructors: +/// 1. All generated constructors ensure that collections are initialized (via null coalescence) in their bodies +/// 2. All generated default constructors chain initialization to the generated serialization constructor +/// +public class ConstructorFixupVisitor : ScmLibraryVisitor +{ + private static readonly MethodBodyStatement CommentStatement + = new SingleLineCommentStatement("Plugin customization: ensure initialization of collections"); + + protected override TypeProvider? PostVisitType(TypeProvider type) + { + if (type is not ModelProvider modelProvider + || modelProvider.Type.IsValueType + || modelProvider.DeclarationModifiers.HasFlag(TypeSignatureModifiers.Static)) + { + return type; + } + + List allGeneratedConstructors = + [ + .. modelProvider.Constructors, + .. modelProvider.SerializationProviders.SelectMany(mrwProvider => mrwProvider.Constructors), + ]; + List allConstructorsIncludingCustom = + [ + .. allGeneratedConstructors, + .. (modelProvider?.CustomCodeView?.Constructors ?? []) + ]; + ConstructorProvider? serializationConstructor = allConstructorsIncludingCustom.MaxBy(ctr => ctr.Signature.Parameters.Count); + ConstructorProvider? generatedDefaultConstructor = allGeneratedConstructors.FirstOrDefault(ctr => ctr.Signature.Parameters.Count == 0); + + bool adjustmentPerformed = false; + + foreach (ConstructorProvider constructor in allGeneratedConstructors) + { + adjustmentPerformed |= TryUpdateConstructorForCollectionInitialization(constructor); + } + + // If any generated constructors were updated to perform additional initialization, OR if the type uses a discriminator, adjust the + // default constructor to chain to the serialization constructor that will produce an independently valid instance state. + if (generatedDefaultConstructor is not null + && (adjustmentPerformed || modelProvider?.DiscriminatorValueExpression is not null)) + { + CSharpType? discriminatorType = modelProvider?.DiscriminatorValueExpression is MemberExpression enclosingDiscriminatorValueExpression + && enclosingDiscriminatorValueExpression.Inner is TypeReferenceExpression enclosingDiscriminatorTypeReferenceExpression + ? enclosingDiscriminatorTypeReferenceExpression.Type + : null; + + List initializationExpressions = []; + foreach (ParameterProvider parameter in serializationConstructor?.Signature.Parameters ?? []) + { + initializationExpressions.Add( + parameter.Type == discriminatorType && modelProvider?.DiscriminatorValueExpression is not null + ? modelProvider.DiscriminatorValueExpression! + : parameter.Type.IsValueType + ? Default + : Null); + } + + ConstructorSignature updatedSignature = new( + generatedDefaultConstructor.Signature.Type, + generatedDefaultConstructor.Signature.Description, + generatedDefaultConstructor.Signature.Modifiers, + generatedDefaultConstructor.Signature.Parameters, + generatedDefaultConstructor.Signature.Attributes, + new(false, initializationExpressions)); + generatedDefaultConstructor.Update(signature: updatedSignature, bodyStatements: new MethodBodyStatements([])); + } + + return type; + } + + private static bool TryUpdateConstructorForCollectionInitialization(ConstructorProvider constructor) + { + IEnumerable eligibleParameters + = constructor?.Signature.Parameters + .Where(parameter => parameter?.Type?.IsValueType == false + && parameter?.Name != "additionalBinaryDataProperties" + && (parameter?.Type?.IsList == true + || parameter?.Type?.IsCollection == true + || parameter?.Type?.IsDictionary == true + || parameter?.Type?.BaseType?.Name?.Contains("Collection") == true)) ?? []; + + if (eligibleParameters.Any() != true) + { + return false; + } + + List bodyStatements + = constructor?.BodyStatements?.ToList() ?? []; + + if (TryUpdateStatementsForParameters(bodyStatements, eligibleParameters)) + { + bodyStatements.Insert(0, CommentStatement); + constructor?.Update(bodyStatements: bodyStatements); + return true; + } + + return false; + } + + private static bool TryUpdateStatementsForParameters( + List statements, + IEnumerable parameters) + { + bool changed = false; + + for (int i = 0; i < statements.Count; i++) + { + changed |= TryUpdateStatementForParameters( + statements[i], + parameters, + out MethodBodyStatement handledStatement); + statements[i] = handledStatement; + } + + return changed; + } + + private static bool TryUpdateStatementForParameters( + MethodBodyStatement originalStatement, + IEnumerable parameters, + out MethodBodyStatement handledStatement) + { + if (originalStatement is ExpressionStatement expressionStatement + && expressionStatement.Expression is AssignmentExpression assignmentExpression) + { + foreach (ParameterProvider parameter in parameters) + { + if (TryUpdateStatementForParameter( + assignmentExpression, + parameter, + out MethodBodyStatement? updatedStatement) + && updatedStatement is not null) + { + handledStatement = updatedStatement; + return true; + } + } + } + handledStatement = originalStatement; + return false; + } + + private static bool TryUpdateStatementForParameter( + AssignmentExpression assignmentExpression, + ParameterProvider parameter, + out MethodBodyStatement? handledStatement) + { + if (assignmentExpression.Value.ToDisplayString() == parameter.Name) + { + ValueExpression nullFallbackExpression = parameter.Type.IsList || parameter.Type.IsDictionary + ? New.Instance(parameter.Type.PropertyInitializationType) + : New.Instance(parameter.Type); + ValueExpression coalescedValueExpression = assignmentExpression.Value + .NullCoalesce(nullFallbackExpression); + handledStatement = assignmentExpression.Variable + .Assign(coalescedValueExpression) + .Terminate(); + return true; + } + handledStatement = null; + return false; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/ContentInnerCollectionDefinedVisitor.cs b/codegen/generator/src/Visitors/ContentInnerCollectionDefinedVisitor.cs new file mode 100644 index 000000000..8857325e8 --- /dev/null +++ b/codegen/generator/src/Visitors/ContentInnerCollectionDefinedVisitor.cs @@ -0,0 +1,59 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Expressions; +using Microsoft.TypeSpec.Generator.Providers; +using Microsoft.TypeSpec.Generator.Snippets; +using Microsoft.TypeSpec.Generator.Statements; +using System.Collections.Generic; +using System.Linq; +using static OpenAILibraryPlugin.Visitors.VisitorHelpers; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// This visitor supplements instances of a conditional check of "Optional.IsDefined(Content)" to include a parallel +/// check to "Content.IsInnerCollectionDefined()". +/// +public class ContentInnerCollectionDefinedVisitor : ScmLibraryVisitor +{ + private const string Comment = "Plugin customization: add Content.IsInnerCollectionDefined() check"; + + protected override MethodProvider VisitMethod(MethodProvider method) + { + if (method.Signature.Name != "JsonModelWriteCore" + || method.BodyStatements is not MethodBodyStatements methodBodyStatements) + { + return method; + } + + List statements = methodBodyStatements.ToList(); + VisitExplodedMethodBodyStatements( + statements, + statement + => GetUpdatedIfStatement( + statement, + expression => + { + InvokeMethodExpression? invokeMethodExpression + = expression as InvokeMethodExpression + ?? (expression as ScopedApi)?.Original as InvokeMethodExpression; + if (invokeMethodExpression?.InstanceReference is TypeReferenceExpression instanceTypeReferenceExpression + && instanceTypeReferenceExpression.Type?.Name == "Optional" + && invokeMethodExpression.MethodName == "IsDefined" + && invokeMethodExpression.Arguments.Count == 1 + && invokeMethodExpression.Arguments[0] is MemberExpression argumentMemberExpression + && argumentMemberExpression.MemberName == "Content" + && method.EnclosingType.Name != "InternalEvalRunOutputItemSampleOutput") + if (statement is IfStatement ifStatement) + { + return invokeMethodExpression + .As() + .And(new MemberExpression(null, "Content").Invoke("IsInnerCollectionDefined")); + } + return expression; + }, + Comment)); + + method.Update(bodyStatements: statements); + return method; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/ExperimentalAttributeVisitor.cs b/codegen/generator/src/Visitors/ExperimentalAttributeVisitor.cs new file mode 100644 index 000000000..a578d6b11 --- /dev/null +++ b/codegen/generator/src/Visitors/ExperimentalAttributeVisitor.cs @@ -0,0 +1,702 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.ClientModel.Providers; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using Microsoft.TypeSpec.Generator.Snippets; +using Microsoft.TypeSpec.Generator.Statements; + +namespace OpenAILibraryPlugin.Visitors +{ + /// + /// A visitor to add the to types, properties, and methods that are not stable. + /// + public class ExperimentalAttributeVisitor : ScmLibraryVisitor + { + private const string _realtimeNamespace = "OpenAI.Realtime"; + private static readonly AttributeStatement _experimental001Attribute = new(typeof(ExperimentalAttribute), Snippet.Literal("OPENAI001")); + private static readonly AttributeStatement _experimental002Attribute = new(typeof(ExperimentalAttribute), Snippet.Literal("OPENAI002")); + private static readonly AttributeStatement _experimentalCUA001Attribute = new(typeof(ExperimentalAttribute), Snippet.Literal("OPENAICUA001")); + + // Stable classes without ExperimentalAttribute + private static readonly HashSet _stableClasses = new(StringComparer.OrdinalIgnoreCase) + { + "OpenAI.Audio.AudioClient", + "OpenAI.Audio.AudioTimestampGranularities", + "OpenAI.Audio.AudioTranscription", + "OpenAI.Audio.AudioTranscriptionFormat", + "OpenAI.Audio.AudioTranscriptionOptions", + "OpenAI.Audio.AudioTranslation", + "OpenAI.Audio.AudioTranslationFormat", + "OpenAI.Audio.AudioTranslationOptions", + "OpenAI.Audio.GeneratedSpeechFormat", + "OpenAI.Audio.GeneratedSpeechVoice", + "OpenAI.Audio.OpenAIAudioModelFactory", + "OpenAI.Audio.SpeechGenerationOptions", + "OpenAI.Audio.TranscribedSegment", + "OpenAI.Audio.TranscribedWord", + "OpenAI.Chat.AssistantChatMessage", + "OpenAI.Chat.ChatClient", + "OpenAI.Chat.ChatCompletion", + "OpenAI.Chat.ChatCompletionOptions", + "OpenAI.Chat.ChatFinishReason", + "OpenAI.Chat.ChatFunction", + "OpenAI.Chat.ChatFunctionCall", + "OpenAI.Chat.ChatFunctionChoice", + "OpenAI.Chat.ChatImageDetailLevel", + "OpenAI.Chat.ChatInputTokenUsageDetails", + "OpenAI.Chat.ChatMessage", + "OpenAI.Chat.ChatMessageContent", + "OpenAI.Chat.ChatMessageContentPart", + "OpenAI.Chat.ChatMessageContentPartKind", + "OpenAI.Chat.ChatMessageRole", + "OpenAI.Chat.ChatOutputTokenUsageDetails", + "OpenAI.Chat.ChatResponseFormat", + "OpenAI.Chat.ChatTokenLogProbabilityDetails", + "OpenAI.Chat.ChatTokenTopLogProbabilityDetails", + "OpenAI.Chat.ChatTokenUsage", + "OpenAI.Chat.ChatTool", + "OpenAI.Chat.ChatToolCall", + "OpenAI.Chat.ChatToolCallKind", + "OpenAI.Chat.ChatToolChoice", + "OpenAI.Chat.ChatToolKind", + "OpenAI.Chat.FunctionChatMessage", + "OpenAI.Chat.OpenAIChatModelFactory", + "OpenAI.Chat.StreamingChatCompletionUpdate", + "OpenAI.Chat.StreamingChatFunctionCallUpdate", + "OpenAI.Chat.StreamingChatToolCallUpdate", + "OpenAI.Chat.SystemChatMessage", + "OpenAI.Chat.ToolChatMessage", + "OpenAI.Chat.UserChatMessage", + "OpenAI.Embeddings.EmbeddingClient", + "OpenAI.Embeddings.EmbeddingGenerationOptions", + "OpenAI.Embeddings.EmbeddingTokenUsage", + "OpenAI.Embeddings.OpenAIEmbedding", + "OpenAI.Embeddings.OpenAIEmbeddingCollection", + "OpenAI.Embeddings.OpenAIEmbeddingsModelFactory", + "OpenAI.Files.FileDeletionResult", + "OpenAI.Files.FilePurpose", + "OpenAI.Files.FileStatus", + "OpenAI.Files.FileUploadPurpose", + "OpenAI.Files.OpenAIFile", + "OpenAI.Files.OpenAIFileClient", + "OpenAI.Files.OpenAIFileCollection", + "OpenAI.Files.OpenAIFilesModelFactory", + "OpenAI.Images.GeneratedImage", + "OpenAI.Images.GeneratedImageCollection", + "OpenAI.Images.GeneratedImageFormat", + "OpenAI.Images.GeneratedImageQuality", + "OpenAI.Images.GeneratedImageSize", + "OpenAI.Images.GeneratedImageStyle", + "OpenAI.Images.ImageClient", + "OpenAI.Images.ImageEditOptions", + "OpenAI.Images.ImageGenerationOptions", + "OpenAI.Images.ImageVariationOptions", + "OpenAI.Images.OpenAIImagesModelFactory", + "OpenAI.Models.ModelDeletionResult", + "OpenAI.Models.OpenAIModel", + "OpenAI.Models.OpenAIModelClient", + "OpenAI.Models.OpenAIModelCollection", + "OpenAI.Models.OpenAIModelsModelFactory", + "OpenAI.Moderations.ModerationCategory", + "OpenAI.Moderations.ModerationClient", + "OpenAI.Moderations.ModerationResult", + "OpenAI.Moderations.ModerationResultCollection", + "OpenAI.Moderations.OpenAIModerationsModelFactory", + "OpenAI.OpenAIClient", + "OpenAI.OpenAIClientOptions", + }; + + // Stable properties without ExperimentalAttribute + private static readonly HashSet _stableProperties = new(StringComparer.OrdinalIgnoreCase) + { + "AssistantChatMessage.FunctionCall", + "AssistantChatMessage.ParticipantName", + "AssistantChatMessage.Refusal", + "AssistantChatMessage.ToolCalls", + "AudioClient.Pipeline", + "AudioTranscription.Duration", + "AudioTranscription.Language", + "AudioTranscription.Segments", + "AudioTranscription.Text", + "AudioTranscription.Words", + "AudioTranscriptionFormat.Simple", + "AudioTranscriptionFormat.Srt", + "AudioTranscriptionFormat.Text", + "AudioTranscriptionFormat.Verbose", + "AudioTranscriptionFormat.Vtt", + "AudioTranscriptionOptions.Language", + "AudioTranscriptionOptions.Prompt", + "AudioTranscriptionOptions.ResponseFormat", + "AudioTranscriptionOptions.Temperature", + "AudioTranscriptionOptions.TimestampGranularities", + "AudioTranslation.Duration", + "AudioTranslation.Language", + "AudioTranslation.Segments", + "AudioTranslation.Text", + "AudioTranslationFormat.Simple", + "AudioTranslationFormat.Srt", + "AudioTranslationFormat.Text", + "AudioTranslationFormat.Verbose", + "AudioTranslationFormat.Vtt", + "AudioTranslationOptions.Prompt", + "AudioTranslationOptions.ResponseFormat", + "AudioTranslationOptions.Temperature", + "ChatClient.Pipeline", + "ChatCompletion.Content", + "ChatCompletion.ContentTokenLogProbabilities", + "ChatCompletion.CreatedAt", + "ChatCompletion.FinishReason", + "ChatCompletion.FunctionCall", + "ChatCompletion.Id", + "ChatCompletion.Model", + "ChatCompletion.Refusal", + "ChatCompletion.RefusalTokenLogProbabilities", + "ChatCompletion.Role", + "ChatCompletion.SystemFingerprint", + "ChatCompletion.ToolCalls", + "ChatCompletion.Usage", + "ChatCompletionOptions.AllowParallelToolCalls", + "ChatCompletionOptions.EndUserId", + "ChatCompletionOptions.FrequencyPenalty", + "ChatCompletionOptions.FunctionChoice", + "ChatCompletionOptions.Functions", + "ChatCompletionOptions.IncludeLogProbabilities", + "ChatCompletionOptions.LogitBiases", + "ChatCompletionOptions.MaxOutputTokenCount", + "ChatCompletionOptions.Metadata", + "ChatCompletionOptions.PresencePenalty", + "ChatCompletionOptions.ResponseFormat", + "ChatCompletionOptions.StopSequences", + "ChatCompletionOptions.StoredOutputEnabled", + "ChatCompletionOptions.Temperature", + "ChatCompletionOptions.ToolChoice", + "ChatCompletionOptions.Tools", + "ChatCompletionOptions.TopLogProbabilityCount", + "ChatCompletionOptions.TopP", + "ChatFunction.FunctionDescription", + "ChatFunction.FunctionName", + "ChatFunction.FunctionParameters", + "ChatFunctionCall.FunctionArguments", + "ChatFunctionCall.FunctionName", + "ChatImageDetailLevel.Auto", + "ChatImageDetailLevel.High", + "ChatImageDetailLevel.Low", + "ChatInputTokenUsageDetails.AudioTokenCount", + "ChatInputTokenUsageDetails.CachedTokenCount", + "ChatMessage.Content", + "ChatMessageContentPart.ImageBytes", + "ChatMessageContentPart.ImageBytesMediaType", + "ChatMessageContentPart.ImageDetailLevel", + "ChatMessageContentPart.ImageUri", + "ChatMessageContentPart.Kind", + "ChatMessageContentPart.Refusal", + "ChatMessageContentPart.Text", + "ChatOutputTokenUsageDetails.AudioTokenCount", + "ChatOutputTokenUsageDetails.ReasoningTokenCount", + "ChatTokenLogProbabilityDetails.LogProbability", + "ChatTokenLogProbabilityDetails.Token", + "ChatTokenLogProbabilityDetails.TopLogProbabilities", + "ChatTokenLogProbabilityDetails.Utf8Bytes", + "ChatTokenTopLogProbabilityDetails.LogProbability", + "ChatTokenTopLogProbabilityDetails.Token", + "ChatTokenTopLogProbabilityDetails.Utf8Bytes", + "ChatTokenUsage.InputTokenCount", + "ChatTokenUsage.InputTokenDetails", + "ChatTokenUsage.OutputTokenCount", + "ChatTokenUsage.OutputTokenDetails", + "ChatTokenUsage.TotalTokenCount", + "ChatTool.FunctionDescription", + "ChatTool.FunctionName", + "ChatTool.FunctionParameters", + "ChatTool.FunctionSchemaIsStrict", + "ChatTool.Kind", + "ChatToolCall.FunctionArguments", + "ChatToolCall.FunctionName", + "ChatToolCall.Id", + "ChatToolCall.Kind", + "EmbeddingClient.Pipeline", + "EmbeddingGenerationOptions.Dimensions", + "EmbeddingGenerationOptions.EndUserId", + "EmbeddingTokenUsage.InputTokenCount", + "EmbeddingTokenUsage.TotalTokenCount", + "FileDeletionResult.Deleted", + "FileDeletionResult.FileId", + "FileUploadPurpose.Assistants", + "FileUploadPurpose.Batch", + "FileUploadPurpose.FineTune", + "FileUploadPurpose.Vision", + "FunctionChatMessage.FunctionName", + "GeneratedImage.ImageBytes", + "GeneratedImage.ImageUri", + "GeneratedImage.RevisedPrompt", + "GeneratedImageCollection.CreatedAt", + "GeneratedImageFormat.Bytes", + "GeneratedImageFormat.Uri", + "GeneratedImageQuality.High", + "GeneratedImageQuality.Standard", + "GeneratedImageStyle.Natural", + "GeneratedImageStyle.Vivid", + "GeneratedSpeechFormat.Aac", + "GeneratedSpeechFormat.Flac", + "GeneratedSpeechFormat.Mp3", + "GeneratedSpeechFormat.Opus", + "GeneratedSpeechFormat.Pcm", + "GeneratedSpeechFormat.Wav", + "GeneratedSpeechVoice.Alloy", + "GeneratedSpeechVoice.Echo", + "GeneratedSpeechVoice.Fable", + "GeneratedSpeechVoice.Nova", + "GeneratedSpeechVoice.Onyx", + "GeneratedSpeechVoice.Shimmer", + "ImageClient.Pipeline", + "ImageEditOptions.EndUserId", + "ImageEditOptions.ResponseFormat", + "ImageEditOptions.Size", + "ImageGenerationOptions.EndUserId", + "ImageGenerationOptions.Quality", + "ImageGenerationOptions.ResponseFormat", + "ImageGenerationOptions.Size", + "ImageGenerationOptions.Style", + "ImageVariationOptions.EndUserId", + "ImageVariationOptions.ResponseFormat", + "ImageVariationOptions.Size", + "ModelDeletionResult.Deleted", + "ModelDeletionResult.ModelId", + "ModerationCategory.Flagged", + "ModerationCategory.Score", + "ModerationClient.Pipeline", + "ModerationResult.Flagged", + "ModerationResult.Harassment", + "ModerationResult.HarassmentThreatening", + "ModerationResult.Hate", + "ModerationResult.HateThreatening", + "ModerationResult.Illicit", + "ModerationResult.IllicitViolent", + "ModerationResult.SelfHarm", + "ModerationResult.SelfHarmInstructions", + "ModerationResult.SelfHarmIntent", + "ModerationResult.Sexual", + "ModerationResult.SexualMinors", + "ModerationResult.Violence", + "ModerationResult.ViolenceGraphic", + "ModerationResultCollection.Id", + "ModerationResultCollection.Model", + "OpenAIClient.Pipeline", + "OpenAIClientOptions.Endpoint", + "OpenAIClientOptions.OrganizationId", + "OpenAIClientOptions.ProjectId", + "OpenAIClientOptions.UserAgentApplicationId", + "OpenAIEmbedding.Index", + "OpenAIEmbeddingCollection.Model", + "OpenAIEmbeddingCollection.Usage", + "OpenAIFile.CreatedAt", + "OpenAIFile.Filename", + "OpenAIFile.Id", + "OpenAIFile.Purpose", + "OpenAIFile.SizeInBytes", + "OpenAIFile.Status", + "OpenAIFile.StatusDetails", + "OpenAIFileClient.Pipeline", + "OpenAIModel.CreatedAt", + "OpenAIModel.Id", + "OpenAIModel.OwnedBy", + "OpenAIModelClient.Pipeline", + "SpeechGenerationOptions.ResponseFormat", + "SpeechGenerationOptions.SpeedRatio", + "StreamingChatCompletionUpdate.CompletionId", + "StreamingChatCompletionUpdate.ContentTokenLogProbabilities", + "StreamingChatCompletionUpdate.ContentUpdate", + "StreamingChatCompletionUpdate.CreatedAt", + "StreamingChatCompletionUpdate.FinishReason", + "StreamingChatCompletionUpdate.FunctionCallUpdate", + "StreamingChatCompletionUpdate.Model", + "StreamingChatCompletionUpdate.RefusalTokenLogProbabilities", + "StreamingChatCompletionUpdate.RefusalUpdate", + "StreamingChatCompletionUpdate.Role", + "StreamingChatCompletionUpdate.SystemFingerprint", + "StreamingChatCompletionUpdate.ToolCallUpdates", + "StreamingChatCompletionUpdate.Usage", + "StreamingChatFunctionCallUpdate.FunctionArgumentsUpdate", + "StreamingChatFunctionCallUpdate.FunctionName", + "StreamingChatToolCallUpdate.FunctionArgumentsUpdate", + "StreamingChatToolCallUpdate.FunctionName", + "StreamingChatToolCallUpdate.Index", + "StreamingChatToolCallUpdate.Kind", + "StreamingChatToolCallUpdate.ToolCallId", + "SystemChatMessage.ParticipantName", + "ToolChatMessage.ToolCallId", + "TranscribedSegment.AverageLogProbability", + "TranscribedSegment.CompressionRatio", + "TranscribedSegment.EndTime", + "TranscribedSegment.Id", + "TranscribedSegment.NoSpeechProbability", + "TranscribedSegment.SeekOffset", + "TranscribedSegment.StartTime", + "TranscribedSegment.Temperature", + "TranscribedSegment.Text", + "TranscribedSegment.TokenIds", + "TranscribedWord.EndTime", + "TranscribedWord.StartTime", + "TranscribedWord.Word", + "UserChatMessage.ParticipantName", + }; + + // Stable methods without ExperimentalAttribute + private static readonly HashSet _stableMethods = new(StringComparer.OrdinalIgnoreCase) + { + "AudioClient.GenerateSpeech|BinaryContent|RequestOptions", + "AudioClient.GenerateSpeech|string|GeneratedSpeechVoice|SpeechGenerationOptions|CancellationToken", + "AudioClient.GenerateSpeechAsync|BinaryContent|RequestOptions", + "AudioClient.GenerateSpeechAsync|string|GeneratedSpeechVoice|SpeechGenerationOptions|CancellationToken", + "AudioClient.TranscribeAudio|BinaryContent|string|RequestOptions", + "AudioClient.TranscribeAudio|Stream|string|AudioTranscriptionOptions|CancellationToken", + "AudioClient.TranscribeAudio|string|AudioTranscriptionOptions", + "AudioClient.TranscribeAudioAsync|BinaryContent|string|RequestOptions", + "AudioClient.TranscribeAudioAsync|Stream|string|AudioTranscriptionOptions|CancellationToken", + "AudioClient.TranscribeAudioAsync|string|AudioTranscriptionOptions", + "AudioClient.TranslateAudio|BinaryContent|string|RequestOptions", + "AudioClient.TranslateAudio|Stream|string|AudioTranslationOptions|CancellationToken", + "AudioClient.TranslateAudio|string|AudioTranslationOptions", + "AudioClient.TranslateAudioAsync|BinaryContent|string|RequestOptions", + "AudioClient.TranslateAudioAsync|Stream|string|AudioTranslationOptions|CancellationToken", + "AudioClient.TranslateAudioAsync|string|AudioTranslationOptions", + "AudioTranscriptionFormat.Equals|AudioTranscriptionFormat", + "AudioTranscriptionFormat.Equals|object", + "AudioTranscriptionFormat.GetHashCode", + "AudioTranscriptionFormat.operator !=|AudioTranscriptionFormat|AudioTranscriptionFormat", + "AudioTranscriptionFormat.operator ==|AudioTranscriptionFormat|AudioTranscriptionFormat", + "AudioTranscriptionFormat.operator implicit AudioTranscriptionFormat|string", + "AudioTranscriptionFormat.ToString", + "AudioTranslationFormat.Equals|AudioTranslationFormat", + "AudioTranslationFormat.Equals|object", + "AudioTranslationFormat.GetHashCode", + "AudioTranslationFormat.operator !=|AudioTranslationFormat|AudioTranslationFormat", + "AudioTranslationFormat.operator ==|AudioTranslationFormat|AudioTranslationFormat", + "AudioTranslationFormat.operator implicit AudioTranslationFormat|string", + "AudioTranslationFormat.ToString", + "ChatClient.CompleteChat|BinaryContent|RequestOptions", + "ChatClient.CompleteChat|ChatMessage[]", + "ChatClient.CompleteChat|IEnumerable|ChatCompletionOptions|CancellationToken", + "ChatClient.CompleteChatAsync|BinaryContent|RequestOptions", + "ChatClient.CompleteChatAsync|ChatMessage[]", + "ChatClient.CompleteChatAsync|IEnumerable|ChatCompletionOptions|CancellationToken", + "ChatClient.CompleteChatStreaming|ChatMessage[]", + "ChatClient.CompleteChatStreaming|IEnumerable|ChatCompletionOptions|CancellationToken", + "ChatClient.CompleteChatStreamingAsync|ChatMessage[]", + "ChatClient.CompleteChatStreamingAsync|IEnumerable|ChatCompletionOptions|CancellationToken", + "ChatFunctionChoice.CreateAutoChoice", + "ChatFunctionChoice.CreateNamedChoice|string", + "ChatFunctionChoice.CreateNoneChoice", + "ChatImageDetailLevel.Equals|ChatImageDetailLevel", + "ChatImageDetailLevel.Equals|object", + "ChatImageDetailLevel.GetHashCode", + "ChatImageDetailLevel.operator !=|ChatImageDetailLevel|ChatImageDetailLevel", + "ChatImageDetailLevel.operator ==|ChatImageDetailLevel|ChatImageDetailLevel", + "ChatImageDetailLevel.operator implicit ChatImageDetailLevel|string", + "ChatImageDetailLevel.ToString", + "ChatMessage.CreateAssistantMessage|ChatCompletion", + "ChatMessage.CreateAssistantMessage|ChatFunctionCall", + "ChatMessage.CreateAssistantMessage|ChatMessageContentPart[]", + "ChatMessage.CreateAssistantMessage|IEnumerable", + "ChatMessage.CreateAssistantMessage|IEnumerable", + "ChatMessage.CreateAssistantMessage|string", + "ChatMessage.CreateFunctionMessage|string|string", + "ChatMessage.CreateSystemMessage|ChatMessageContentPart[]", + "ChatMessage.CreateSystemMessage|IEnumerable", + "ChatMessage.CreateSystemMessage|string", + "ChatMessage.CreateToolMessage|string|ChatMessageContentPart[]", + "ChatMessage.CreateToolMessage|string|IEnumerable", + "ChatMessage.CreateToolMessage|string|string", + "ChatMessage.CreateUserMessage|ChatMessageContentPart[]", + "ChatMessage.CreateUserMessage|IEnumerable", + "ChatMessage.CreateUserMessage|string", + "ChatMessage.operator implicit ChatMessage|string", + "ChatMessageContentPart.CreateImagePart|BinaryData|string|ChatImageDetailLevel?", + "ChatMessageContentPart.CreateImagePart|Uri|ChatImageDetailLevel?", + "ChatMessageContentPart.CreateRefusalPart|string", + "ChatMessageContentPart.CreateTextPart|string", + "ChatMessageContentPart.operator implicit ChatMessageContentPart|string", + "ChatResponseFormat.CreateJsonObjectFormat", + "ChatResponseFormat.CreateJsonSchemaFormat|string|BinaryData|string|bool?", + "ChatResponseFormat.CreateTextFormat", + "ChatTool.CreateFunctionTool|string|string|BinaryData|bool?", + "ChatToolCall.CreateFunctionToolCall|string|string|BinaryData", + "ChatToolChoice.CreateAutoChoice", + "ChatToolChoice.CreateFunctionChoice|string", + "ChatToolChoice.CreateNoneChoice", + "ChatToolChoice.CreateRequiredChoice", + "EmbeddingClient.GenerateEmbedding|string|EmbeddingGenerationOptions|CancellationToken", + "EmbeddingClient.GenerateEmbeddingAsync|string|EmbeddingGenerationOptions|CancellationToken", + "EmbeddingClient.GenerateEmbeddings|BinaryContent|RequestOptions", + "EmbeddingClient.GenerateEmbeddings|IEnumerable>|EmbeddingGenerationOptions|CancellationToken", + "EmbeddingClient.GenerateEmbeddings|IEnumerable|EmbeddingGenerationOptions|CancellationToken", + "EmbeddingClient.GenerateEmbeddingsAsync|BinaryContent|RequestOptions", + "EmbeddingClient.GenerateEmbeddingsAsync|IEnumerable>|EmbeddingGenerationOptions|CancellationToken", + "EmbeddingClient.GenerateEmbeddingsAsync|IEnumerable|EmbeddingGenerationOptions|CancellationToken", + "FileUploadPurpose.Equals|FileUploadPurpose", + "FileUploadPurpose.Equals|object", + "FileUploadPurpose.GetHashCode", + "FileUploadPurpose.operator !=|FileUploadPurpose|FileUploadPurpose", + "FileUploadPurpose.operator ==|FileUploadPurpose|FileUploadPurpose", + "FileUploadPurpose.operator implicit FileUploadPurpose|string", + "FileUploadPurpose.ToString", + "GeneratedImageFormat.Equals|GeneratedImageFormat", + "GeneratedImageFormat.Equals|object", + "GeneratedImageFormat.GetHashCode", + "GeneratedImageFormat.operator !=|GeneratedImageFormat|GeneratedImageFormat", + "GeneratedImageFormat.operator ==|GeneratedImageFormat|GeneratedImageFormat", + "GeneratedImageFormat.operator implicit GeneratedImageFormat|string", + "GeneratedImageFormat.ToString", + "GeneratedImageQuality.Equals|GeneratedImageQuality", + "GeneratedImageQuality.Equals|object", + "GeneratedImageQuality.GetHashCode", + "GeneratedImageQuality.operator !=|GeneratedImageQuality|GeneratedImageQuality", + "GeneratedImageQuality.operator ==|GeneratedImageQuality|GeneratedImageQuality", + "GeneratedImageQuality.operator implicit GeneratedImageQuality|string", + "GeneratedImageQuality.ToString", + "GeneratedImageSize.Equals|GeneratedImageSize", + "GeneratedImageSize.Equals|object", + "GeneratedImageSize.GetHashCode", + "GeneratedImageSize.operator !=|GeneratedImageSize|GeneratedImageSize", + "GeneratedImageSize.operator ==|GeneratedImageSize|GeneratedImageSize", + "GeneratedImageSize.ToString", + "GeneratedImageStyle.Equals|GeneratedImageStyle", + "GeneratedImageStyle.Equals|object", + "GeneratedImageStyle.GetHashCode", + "GeneratedImageStyle.operator !=|GeneratedImageStyle|GeneratedImageStyle", + "GeneratedImageStyle.operator ==|GeneratedImageStyle|GeneratedImageStyle", + "GeneratedImageStyle.operator implicit GeneratedImageStyle|string", + "GeneratedImageStyle.ToString", + "GeneratedSpeechFormat.Equals|GeneratedSpeechFormat", + "GeneratedSpeechFormat.Equals|object", + "GeneratedSpeechFormat.GetHashCode", + "GeneratedSpeechFormat.operator !=|GeneratedSpeechFormat|GeneratedSpeechFormat", + "GeneratedSpeechFormat.operator ==|GeneratedSpeechFormat|GeneratedSpeechFormat", + "GeneratedSpeechFormat.operator implicit GeneratedSpeechFormat|string", + "GeneratedSpeechFormat.ToString", + "GeneratedSpeechVoice.Equals|GeneratedSpeechVoice", + "GeneratedSpeechVoice.Equals|object", + "GeneratedSpeechVoice.GetHashCode", + "GeneratedSpeechVoice.operator !=|GeneratedSpeechVoice|GeneratedSpeechVoice", + "GeneratedSpeechVoice.operator ==|GeneratedSpeechVoice|GeneratedSpeechVoice", + "GeneratedSpeechVoice.operator implicit GeneratedSpeechVoice|string", + "GeneratedSpeechVoice.ToString", + "ImageClient.GenerateImage|string|ImageGenerationOptions|CancellationToken", + "ImageClient.GenerateImageAsync|string|ImageGenerationOptions|CancellationToken", + "ImageClient.GenerateImageEdit|Stream|string|string|ImageEditOptions|CancellationToken", + "ImageClient.GenerateImageEdit|Stream|string|string|Stream|string|ImageEditOptions|CancellationToken", + "ImageClient.GenerateImageEdit|string|string|ImageEditOptions", + "ImageClient.GenerateImageEdit|string|string|string|ImageEditOptions", + "ImageClient.GenerateImageEditAsync|Stream|string|string|ImageEditOptions|CancellationToken", + "ImageClient.GenerateImageEditAsync|Stream|string|string|Stream|string|ImageEditOptions|CancellationToken", + "ImageClient.GenerateImageEditAsync|string|string|ImageEditOptions", + "ImageClient.GenerateImageEditAsync|string|string|string|ImageEditOptions", + "ImageClient.GenerateImageEdits|BinaryContent|string|RequestOptions", + "ImageClient.GenerateImageEdits|Stream|string|string|int|ImageEditOptions|CancellationToken", + "ImageClient.GenerateImageEdits|Stream|string|string|Stream|string|int|ImageEditOptions|CancellationToken", + "ImageClient.GenerateImageEdits|string|string|int|ImageEditOptions", + "ImageClient.GenerateImageEdits|string|string|string|int|ImageEditOptions", + "ImageClient.GenerateImageEditsAsync|BinaryContent|string|RequestOptions", + "ImageClient.GenerateImageEditsAsync|Stream|string|string|int|ImageEditOptions|CancellationToken", + "ImageClient.GenerateImageEditsAsync|Stream|string|string|Stream|string|int|ImageEditOptions|CancellationToken", + "ImageClient.GenerateImageEditsAsync|string|string|int|ImageEditOptions", + "ImageClient.GenerateImageEditsAsync|string|string|string|int|ImageEditOptions", + "ImageClient.GenerateImages|BinaryContent|RequestOptions", + "ImageClient.GenerateImages|string|int|ImageGenerationOptions|CancellationToken", + "ImageClient.GenerateImagesAsync|BinaryContent|RequestOptions", + "ImageClient.GenerateImagesAsync|string|int|ImageGenerationOptions|CancellationToken", + "ImageClient.GenerateImageVariation|Stream|string|ImageVariationOptions|CancellationToken", + "ImageClient.GenerateImageVariation|string|ImageVariationOptions", + "ImageClient.GenerateImageVariationAsync|Stream|string|ImageVariationOptions|CancellationToken", + "ImageClient.GenerateImageVariationAsync|string|ImageVariationOptions", + "ImageClient.GenerateImageVariations|BinaryContent|string|RequestOptions", + "ImageClient.GenerateImageVariations|Stream|string|int|ImageVariationOptions|CancellationToken", + "ImageClient.GenerateImageVariations|string|int|ImageVariationOptions", + "ImageClient.GenerateImageVariationsAsync|BinaryContent|string|RequestOptions", + "ImageClient.GenerateImageVariationsAsync|Stream|string|int|ImageVariationOptions|CancellationToken", + "ImageClient.GenerateImageVariationsAsync|string|int|ImageVariationOptions", + "ModerationClient.ClassifyText|BinaryContent|RequestOptions", + "ModerationClient.ClassifyText|IEnumerable|CancellationToken", + "ModerationClient.ClassifyText|string|CancellationToken", + "ModerationClient.ClassifyTextAsync|BinaryContent|RequestOptions", + "ModerationClient.ClassifyTextAsync|IEnumerable|CancellationToken", + "ModerationClient.ClassifyTextAsync|string|CancellationToken", + "OpenAIAudioModelFactory.AudioTranscription|string|TimeSpan?|string|IEnumerable|IEnumerable", + "OpenAIAudioModelFactory.AudioTranslation|string|TimeSpan?|string|IEnumerable", + "OpenAIAudioModelFactory.TranscribedSegment|int|int|TimeSpan|TimeSpan|string|ReadOnlyMemory|float|float|float|float", + "OpenAIAudioModelFactory.TranscribedWord|string|TimeSpan|TimeSpan", + "OpenAIChatModelFactory.ChatCompletion|string|ChatFinishReason|ChatMessageContent|string|IEnumerable|ChatMessageRole|ChatFunctionCall|IEnumerable|IEnumerable|DateTimeOffset|string|string|ChatTokenUsage", + "OpenAIChatModelFactory.ChatInputTokenUsageDetails|int|int", + "OpenAIChatModelFactory.ChatOutputTokenUsageDetails|int", + "OpenAIChatModelFactory.ChatOutputTokenUsageDetails|int|int", + "OpenAIChatModelFactory.ChatTokenLogProbabilityDetails|string|float|ReadOnlyMemory?|IEnumerable", + "OpenAIChatModelFactory.ChatTokenTopLogProbabilityDetails|string|float|ReadOnlyMemory?", + "OpenAIChatModelFactory.ChatTokenUsage|int|int|int|ChatOutputTokenUsageDetails", + "OpenAIChatModelFactory.ChatTokenUsage|int|int|int|ChatOutputTokenUsageDetails|ChatInputTokenUsageDetails", + "OpenAIChatModelFactory.StreamingChatCompletionUpdate|string|ChatMessageContent|StreamingChatFunctionCallUpdate|IEnumerable|ChatMessageRole?|string|IEnumerable|IEnumerable|ChatFinishReason?|DateTimeOffset|string|string|ChatTokenUsage", + "OpenAIChatModelFactory.StreamingChatFunctionCallUpdate|string|BinaryData", + "OpenAIChatModelFactory.StreamingChatToolCallUpdate|int|string|ChatToolCallKind|string|BinaryData", + "OpenAIClient.GetAudioClient|string", + "OpenAIClient.GetChatClient|string", + "OpenAIClient.GetEmbeddingClient|string", + "OpenAIClient.GetImageClient|string", + "OpenAIClient.GetModerationClient|string", + "OpenAIClient.GetOpenAIFileClient", + "OpenAIClient.GetOpenAIModelClient", + "OpenAIEmbedding.ToFloats", + "OpenAIEmbeddingsModelFactory.EmbeddingTokenUsage|int|int", + "OpenAIEmbeddingsModelFactory.OpenAIEmbedding|int|IEnumerable", + "OpenAIEmbeddingsModelFactory.OpenAIEmbeddingCollection|IEnumerable|string|EmbeddingTokenUsage", + "OpenAIFileClient.DeleteFile|string|CancellationToken", + "OpenAIFileClient.DeleteFile|string|RequestOptions", + "OpenAIFileClient.DeleteFileAsync|string|CancellationToken", + "OpenAIFileClient.DeleteFileAsync|string|RequestOptions", + "OpenAIFileClient.DownloadFile|string|CancellationToken", + "OpenAIFileClient.DownloadFile|string|RequestOptions", + "OpenAIFileClient.DownloadFileAsync|string|CancellationToken", + "OpenAIFileClient.DownloadFileAsync|string|RequestOptions", + "OpenAIFileClient.GetFile|string|CancellationToken", + "OpenAIFileClient.GetFile|string|RequestOptions", + "OpenAIFileClient.GetFileAsync|string|CancellationToken", + "OpenAIFileClient.GetFileAsync|string|RequestOptions", + "OpenAIFileClient.GetFiles|CancellationToken", + "OpenAIFileClient.GetFiles|FilePurpose|CancellationToken", + "OpenAIFileClient.GetFiles|string|RequestOptions", + "OpenAIFileClient.GetFilesAsync|CancellationToken", + "OpenAIFileClient.GetFilesAsync|FilePurpose|CancellationToken", + "OpenAIFileClient.GetFilesAsync|string|RequestOptions", + "OpenAIFileClient.UploadFile|BinaryContent|string|RequestOptions", + "OpenAIFileClient.UploadFile|BinaryData|string|FileUploadPurpose", + "OpenAIFileClient.UploadFile|Stream|string|FileUploadPurpose|CancellationToken", + "OpenAIFileClient.UploadFile|string|FileUploadPurpose", + "OpenAIFileClient.UploadFileAsync|BinaryContent|string|RequestOptions", + "OpenAIFileClient.UploadFileAsync|BinaryData|string|FileUploadPurpose", + "OpenAIFileClient.UploadFileAsync|Stream|string|FileUploadPurpose|CancellationToken", + "OpenAIFileClient.UploadFileAsync|string|FileUploadPurpose", + "OpenAIFilesModelFactory.FileDeletionResult|string|bool", + "OpenAIFilesModelFactory.OpenAIFileCollection|IEnumerable", + "OpenAIFilesModelFactory.OpenAIFileInfo|string|int?|DateTimeOffset|string|FilePurpose|FileStatus|string", + "OpenAIImagesModelFactory.GeneratedImage|BinaryData|Uri|string", + "OpenAIImagesModelFactory.GeneratedImageCollection|DateTimeOffset|IEnumerable", + "OpenAIModelClient.DeleteModel|string|CancellationToken", + "OpenAIModelClient.DeleteModel|string|RequestOptions", + "OpenAIModelClient.DeleteModelAsync|string|CancellationToken", + "OpenAIModelClient.DeleteModelAsync|string|RequestOptions", + "OpenAIModelClient.GetModel|string|CancellationToken", + "OpenAIModelClient.GetModel|string|RequestOptions", + "OpenAIModelClient.GetModelAsync|string|CancellationToken", + "OpenAIModelClient.GetModelAsync|string|RequestOptions", + "OpenAIModelClient.GetModels|CancellationToken", + "OpenAIModelClient.GetModels|RequestOptions", + "OpenAIModelClient.GetModelsAsync|CancellationToken", + "OpenAIModelClient.GetModelsAsync|RequestOptions", + "OpenAIModelsModelFactory.ModelDeletionResult|string|bool", + "OpenAIModelsModelFactory.OpenAIModel|string|DateTimeOffset|string", + "OpenAIModelsModelFactory.OpenAIModelCollection|IEnumerable", + "OpenAIModerationsModelFactory.ModerationCategory|bool|float", + "OpenAIModerationsModelFactory.ModerationResult|bool|ModerationCategory|ModerationCategory|ModerationCategory|ModerationCategory|ModerationCategory|ModerationCategory|ModerationCategory|ModerationCategory|ModerationCategory|ModerationCategory|ModerationCategory", + "OpenAIModerationsModelFactory.ModerationResultCollection|string|string|IEnumerable", + }; + + private static readonly HashSet _OPENAICUA001AttributeTypes = new(StringComparer.OrdinalIgnoreCase) + { + "ComputerCallAction", + "ComputerCallActionKind", + "ComputerCallActionMouseButton", + "ComputerCallOutputResponseItem", + "ComputerCallOutputStatus", + "ComputerCallResponseItem", + "ComputerCallSafetyCheck", + "ComputerCallStatus", + "ComputerOutput", + "ComputerToolEnvironment", + }; + + protected override PropertyProvider? VisitProperty(PropertyProvider property) + { + // Skip properties that are not public or are in non-stable classes + if ((!property.Modifiers.HasFlag(MethodSignatureModifiers.Public) && + !property.Modifiers.HasFlag(MethodSignatureModifiers.Protected)) || + !_stableClasses.Contains($"{property.EnclosingType.Type.Namespace}.{property.EnclosingType.Name}")) + { + return base.VisitProperty(property); + } + + if (!_stableProperties.Contains($"{property.EnclosingType.Name}.{property.Name}")) + { + property.Update( + attributes: [.. property.Attributes, + property.EnclosingType.Type.Namespace.StartsWith(_realtimeNamespace) ? _experimental002Attribute : _experimental001Attribute]); + + return property; + } + + return base.VisitProperty(property); + } + + protected override MethodProvider? VisitMethod(MethodProvider methodProvider) + { + // Skip methods that are not public or are in non-stable classes + if ((!methodProvider.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Public) && + !methodProvider.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Protected)) || + !_stableClasses.Contains($"{methodProvider.EnclosingType.Type.Namespace}.{methodProvider.EnclosingType.Name}")) + { + return base.VisitMethod(methodProvider); + } + + string lookupName = methodProvider.Signature.Parameters.Count switch + { + 0 => $"{methodProvider.Signature.Name}", + 1 => $"{methodProvider.Signature.Name}|{methodProvider.Signature.Parameters[0].Type.Name}", + _ => $"{methodProvider.Signature.Name}|{string.Join("|", methodProvider.Signature.Parameters.Select(p => p.Type.Name))}" + }; + + // Generate a lookup name based on method signature + string operatorPrefix = "operator "; + bool isOperator = methodProvider.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Operator); + bool isImplicit = methodProvider.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Implicit); + bool isExplicit = methodProvider.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Explicit); + lookupName = $"{methodProvider.EnclosingType.Name}.{(isOperator ? operatorPrefix : "")}{(isImplicit ? $"implicit {methodProvider.EnclosingType.Name}" : "")}{lookupName}"; + + if (!_stableMethods.Contains(lookupName)) + { + methodProvider.Update( + attributes: [.. methodProvider.Attributes, + methodProvider.EnclosingType.Type.Namespace.StartsWith(_realtimeNamespace) || (methodProvider.Signature.ReturnType?.Namespace.StartsWith(_realtimeNamespace) ?? false) ? + _experimental002Attribute : + _experimental001Attribute]); + + return methodProvider; + } + + return base.VisitMethod(methodProvider); + } + + protected override TypeProvider? VisitType(TypeProvider type) + { + if ((type.DeclarationModifiers.HasFlag(TypeSignatureModifiers.Public) || + type.DeclarationModifiers.HasFlag(TypeSignatureModifiers.Protected)) && + !_stableClasses.Contains($"{type.Type.Namespace}.{type.Name}") && + (type is ClientProvider or ModelProvider or ClientOptionsProvider or EnumProvider)) + { + AttributeStatement experimentalAttribute = type.Type.Namespace switch + { + _ when type.Type.Namespace.StartsWith(_realtimeNamespace) => _experimental002Attribute, + _ when _OPENAICUA001AttributeTypes.Contains(type.Name) => _experimentalCUA001Attribute, + _ => _experimental001Attribute + }; + type.Update( + attributes: [.. type.Attributes, + experimentalAttribute]); + + return type; + } + + return base.VisitType(type); + } + } +} diff --git a/codegen/generator/src/Visitors/ExplicitConversionFromClientResultVisitor.cs b/codegen/generator/src/Visitors/ExplicitConversionFromClientResultVisitor.cs new file mode 100644 index 000000000..84fe172e1 --- /dev/null +++ b/codegen/generator/src/Visitors/ExplicitConversionFromClientResultVisitor.cs @@ -0,0 +1,25 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using System.ClientModel; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// This visitor removes the generated implicit operator that converts model to BinaryContent. +/// +public class ExplicitConversionFromClientResultVisitor : ScmLibraryVisitor +{ + protected override MethodProvider VisitMethod(MethodProvider method) + { + if (method.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Explicit) && + method.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Operator) && + method.Signature.Parameters.Count == 1 && + method.Signature.Parameters[0].Type.Name == nameof(ClientResult)) + { + return null; + } + + return method; + } +} diff --git a/codegen/generator/src/Visitors/ImplicitConversionToBinaryContentVisitor.cs b/codegen/generator/src/Visitors/ImplicitConversionToBinaryContentVisitor.cs new file mode 100644 index 000000000..1284d9c8b --- /dev/null +++ b/codegen/generator/src/Visitors/ImplicitConversionToBinaryContentVisitor.cs @@ -0,0 +1,24 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// This visitor removes the generated implicit operator that converts model to BinaryContent. +/// +public class ImplicitConversionToBinaryContentVisitor : ScmLibraryVisitor +{ + protected override MethodProvider VisitMethod(MethodProvider method) + { + if (method.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Implicit) && + method.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Operator) && + method.Signature.Name == "BinaryContent" && + method.Signature.Parameters.Count == 1) + { + return null; + } + + return method; + } +} diff --git a/codegen/generator/src/Visitors/InvariantFormatAdditionalPropertiesVisitor.cs b/codegen/generator/src/Visitors/InvariantFormatAdditionalPropertiesVisitor.cs new file mode 100644 index 000000000..1bacba4c8 --- /dev/null +++ b/codegen/generator/src/Visitors/InvariantFormatAdditionalPropertiesVisitor.cs @@ -0,0 +1,60 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Expressions; +using Microsoft.TypeSpec.Generator.Providers; +using Microsoft.TypeSpec.Generator.Snippets; +using Microsoft.TypeSpec.Generator.Statements; +using System.Collections.Generic; +using System.Linq; +using static OpenAILibraryPlugin.Visitors.VisitorHelpers; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// A visitor that removes all "options.Format != "W"" condition checks from JsonModelWriteCore and emitted type +/// deserialization methods, which causes unknown properties to always be written to the additional properties +/// collection. +/// +public class InvariantFormatAdditionalPropertiesVisitor : ScmLibraryVisitor +{ + private const string Comment = "Plugin customization: remove options.Format != \"W\" check"; + + protected override MethodProvider VisitMethod(MethodProvider method) + { + if (method.Signature.Name == "JsonModelWriteCore" + || method.Signature.Name.StartsWith("Deserialize")) + { + List statements = method.BodyStatements?.ToList() ?? []; + VisitExplodedMethodBodyStatements( + statements!, + statement => GetUpdatedIfStatement( + statement, expression => + { + if (GetIsOptionsFormatNotEqualToWExpression(expression)) + { + return null; + } + return expression; + }, + Comment)); + method.Update(bodyStatements: statements); + } + return method; + } + + private static bool GetIsOptionsFormatNotEqualToWExpression( + ValueExpression expression) + { + BinaryOperatorExpression? binaryOperatorExpression + = expression as BinaryOperatorExpression + ?? (expression as ScopedApi)?.Original as BinaryOperatorExpression; + + return binaryOperatorExpression?.Left is MemberExpression leftMemberExpression + && leftMemberExpression.Inner?.ToDisplayString() == "options" + && leftMemberExpression.MemberName == "Format" + && binaryOperatorExpression.Operator == "!=" + && binaryOperatorExpression.Right is ScopedApi rightStringExpression + && rightStringExpression.Original is LiteralExpression rightLiteralExpression + && rightLiteralExpression.Literal is string rightStringLiteral + && rightStringLiteral == "W"; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/KindRenameVisitor.cs b/codegen/generator/src/Visitors/KindRenameVisitor.cs new file mode 100644 index 000000000..ffdf4ba79 --- /dev/null +++ b/codegen/generator/src/Visitors/KindRenameVisitor.cs @@ -0,0 +1,22 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Input; +using Microsoft.TypeSpec.Generator.Providers; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// This small, magnanimous visitor simply renames generated properties named "Type" to "Kind." +/// +public class KindRenameVisitor : ScmLibraryVisitor +{ + protected override PropertyProvider? PreVisitProperty(InputProperty property, PropertyProvider? propertyProvider) + { + // Rename 'Type' to 'Kind' + if (propertyProvider?.Name == "Type") + { + propertyProvider.GetType().GetProperty("Name")?.SetValue(propertyProvider, "Kind"); + } + + return propertyProvider; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/ModelDirectoryVisitor.cs b/codegen/generator/src/Visitors/ModelDirectoryVisitor.cs new file mode 100644 index 000000000..1b0392877 --- /dev/null +++ b/codegen/generator/src/Visitors/ModelDirectoryVisitor.cs @@ -0,0 +1,32 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Providers; +using System.IO; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// A visitor that organizes model files into subdirectories based on their namespace. +/// +public class ModelDirectoryVisitor : ScmLibraryVisitor +{ + protected override TypeProvider VisitType(TypeProvider type) + { + // Only apply to types in the Models folder + if (type.RelativeFilePath.Contains("Models")) + { + var typeNamespace = type.Type.Namespace; + var segments = typeNamespace?.Split('.'); + + if (segments is { Length: >= 2 } && segments[0] == "OpenAI") + { + var folderName = segments[1]; // Use second segment, e.g., "Chat" from "OpenAI.Chat" + var fileName = Path.GetFileName(type.RelativeFilePath); + var newRelativePath = Path.Combine("src", "Generated", "Models", folderName, fileName); + + type.Update(relativeFilePath: newRelativePath); + } + } + + return type; + } +} diff --git a/codegen/generator/src/Visitors/ModelSerializationVisitor.cs b/codegen/generator/src/Visitors/ModelSerializationVisitor.cs new file mode 100644 index 000000000..cc1d48c20 --- /dev/null +++ b/codegen/generator/src/Visitors/ModelSerializationVisitor.cs @@ -0,0 +1,35 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.ClientModel.Providers; +using Microsoft.TypeSpec.Generator.Input; +using Microsoft.TypeSpec.Generator.Providers; +using System.Linq; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// A visitor to add MRW serialization to models. +/// +public class ModelSerializationVisitor : ScmLibraryVisitor +{ + protected override ModelProvider? PreVisitModel(InputModelType model, ModelProvider? type) + { + if (type is null || model.Usage.HasFlag(InputModelTypeUsage.Json)) + { + return base.PreVisitModel(model, type); + } + + foreach (var provider in type.SerializationProviders) + { + if (provider is MrwSerializationTypeDefinition) + { + return base.PreVisitModel(model, type); + } + } + + var serializations = type.SerializationProviders.ToList(); + serializations.Add(new MrwSerializationTypeDefinition(model, type)); + type.Update(serializations: serializations); + + return base.PreVisitModel(model, type); + } +} diff --git a/codegen/generator/src/Visitors/NonAbstractPublicTypesVisitor.cs b/codegen/generator/src/Visitors/NonAbstractPublicTypesVisitor.cs new file mode 100644 index 000000000..b420670ba --- /dev/null +++ b/codegen/generator/src/Visitors/NonAbstractPublicTypesVisitor.cs @@ -0,0 +1,33 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using System.Reflection; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// A visitor that removes a generated 'abstract' modifier if a custom code definition exists for the type and it +/// doesn't provide 'abstract'. +/// +public class NonAbstractPublicTypesVisitor : ScmLibraryVisitor +{ + protected override TypeProvider VisitType(TypeProvider type) + { + if (type.DeclarationModifiers.HasFlag(TypeSignatureModifiers.Public) + && type.DeclarationModifiers.HasFlag(TypeSignatureModifiers.Abstract) + && type.CustomCodeView?.DeclarationModifiers.HasFlag(TypeSignatureModifiers.Abstract) == false) + { + // Keep types defined in custom code without 'abstract' non-abstract + + // To do: replace with this line when dependencies updated to include modifier support + // type.Update(modifiers: type.DeclarationModifiers & ~TypeSignatureModifiers.Abstract); + // To do: remove this reflection-based workaround for the above: + FieldInfo privateModifiersInfo = typeof(TypeProvider) + .GetField("_declarationModifiers", BindingFlags.Instance | BindingFlags.NonPublic)!; + TypeSignatureModifiers privateValue = (TypeSignatureModifiers)privateModifiersInfo.GetValue(type)!; + privateValue &= ~TypeSignatureModifiers.Abstract; + privateModifiersInfo.SetValue(type, privateValue); + } + return type; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/OmittedTypesVisitor.cs b/codegen/generator/src/Visitors/OmittedTypesVisitor.cs new file mode 100644 index 000000000..26c41e1c3 --- /dev/null +++ b/codegen/generator/src/Visitors/OmittedTypesVisitor.cs @@ -0,0 +1,29 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Providers; +using System.Collections.Generic; +using System.Linq; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// This very simple visitor omits types with specific names. +/// +public class OmittedTypesVisitor : ScmLibraryVisitor +{ + private static IReadOnlyList TypeNamesToOmit = + [ + "ChatMessageContent", + "FineTuneChatCompletionRequestAssistantMessage", + "FineTuneChatCompletionRequestAssistantMessageWeight", + "FineTuneChatCompletionRequestAssistantMessageRole", + ]; + + protected override TypeProvider? VisitType(TypeProvider type) + { + if (TypeNamesToOmit.Any(typeName => type.Name == typeName)) + { + return null; + } + return type; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/PageOrderRemovalVisitor.cs b/codegen/generator/src/Visitors/PageOrderRemovalVisitor.cs new file mode 100644 index 000000000..3058920f0 --- /dev/null +++ b/codegen/generator/src/Visitors/PageOrderRemovalVisitor.cs @@ -0,0 +1,121 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Input; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using System.Collections.Generic; +using System.Linq; + +namespace OpenAILibraryPlugin.Visitors; + +public class PageOrderRemovalVisitor : ScmLibraryVisitor +{ + private List SuppressedTypes { get; } = []; + private OpenAILibraryGenerator _parentPlugin; + private readonly InputParameter _syntheticPageOrderInputParameter; + + public PageOrderRemovalVisitor(OpenAILibraryGenerator parentPlugin) + { + _parentPlugin = parentPlugin; + _syntheticPageOrderInputParameter = CreateSyntheticPageOrderInputParameter(); + } + + protected override MethodProvider? VisitMethod(MethodProvider method) + { + foreach (ParameterProvider parameter in method.Signature?.Parameters ?? []) + { + if (SuppressedTypes.Any(suppressedType => suppressedType.Name == parameter.Type.Name)) + { + // Pending full plugin integration of synthetic type, we'll just suppress the generation of any method + // using one of the replaced types. + return null; + } + } + + return method; + } + + protected override TypeProvider? VisitType(TypeProvider type) + { + if (type.Name.EndsWith("RequestOrder") + && type.IsEnum + && type.EnumValues.Count == 2 + && type.EnumValues[0].Value.ToString() == "asc" + && type.EnumValues[1].Value.ToString() == "desc") + { + SuppressedTypes.Add(type.Type); + return null; + } + return type; + } + + private TypeProvider? CreateOrderTypeProvider(TypeProvider originalProvider) + { + InputEnumType inputEnumType = new( + name: "OpenAIPageOrder", + @namespace: "", + crossLanguageDefinitionId: "", + access: null, + deprecation: null, + summary: "", + doc: "", + usage: InputModelTypeUsage.Input | InputModelTypeUsage.Json, + valueType: InputPrimitiveType.String, + values: + [ + new InputEnumTypeValue( + name: "Ascending", + value: "asc", + valueType: InputPrimitiveType.String, + summary: "", + doc: ""), + new InputEnumTypeValue( + name: "Descending", + value: "desc", + valueType: InputPrimitiveType.String, + summary: "", + doc: "") + ], + isExtensible: true); + return _parentPlugin.TypeFactory.CreateEnum(inputEnumType); + } + + private static InputParameter CreateSyntheticPageOrderInputParameter() + { + InputModelType inputModelType = new( + name: "OpenAIPageOrder", + @namespace: "", + crossLanguageDefinitionId: "", + access: null, + deprecation: null, + summary: "", + doc: "", + usage: InputModelTypeUsage.Input, + properties: [], + baseModel: null, + derivedModels: [], + discriminatorValue: null, + discriminatorProperty: null, + discriminatedSubtypes: new Dictionary(), + additionalProperties: null, + modelAsStruct: true, + serializationOptions: new()); + return new InputParameter( + name: "order", + nameInRequest: "order", + summary: "", + doc: "", + inputModelType, + InputRequestLocation.Query, + defaultValue: null, + InputParameterKind.Spread, + isRequired: false, + isApiVersion: false, + isContentType: false, + isEndpoint: false, + skipUrlEncoding: false, + explode: true, + arraySerializationDelimiter: null, + headerCollectionPrefix: null, + serverUrlTemplate: null); + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/ProhibitedNamespaceVisitor.cs b/codegen/generator/src/Visitors/ProhibitedNamespaceVisitor.cs new file mode 100644 index 000000000..36b39287e --- /dev/null +++ b/codegen/generator/src/Visitors/ProhibitedNamespaceVisitor.cs @@ -0,0 +1,41 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.EmitterRpc; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using System.Collections.Generic; +using System.Text; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// A visitor that throws an exception if a generated namespace is prohibited. This happens when a newly introduced +/// type isn't emplaced into its appropriate namespace. Custom code definitions, including stubs that only emplace in +/// namespaces, are exempt and will cause the generated code to be accepted. +/// +public class ProhibitedNamespaceVisitor : ScmLibraryVisitor +{ + protected override TypeProvider VisitType(TypeProvider type) + { + HashSet violatingTypes = []; + + bool isPublicType = type.DeclarationModifiers.HasFlag(TypeSignatureModifiers.Public); + bool isUnknownPrefixedType = type.Type.Name.StartsWith("Unknown"); + + if ((isPublicType || isUnknownPrefixedType) + && (type.Type.Namespace == "OpenAI" || type.Type.Namespace == "OpenAI.Models") + && string.IsNullOrEmpty(type.CustomCodeView?.Type.Namespace) + && type.Type.Name != "OpenAIContext" + && !violatingTypes.Contains(type)) + { + violatingTypes.Add(type); + StringBuilder builder = new(); + builder.Append($"[CodeGenType(\"{type.Name}\")] internal "); + builder.Append(type.Type.IsValueType + ? "readonly partial struct " + : "partial class "); + builder.AppendLine($"Internal{type.Name} {{}}"); + OpenAILibraryGenerator.Instance.Emitter.ReportDiagnostic("prohibited-namespace", builder.ToString(), severity: EmitterDiagnosticSeverity.Error); + } + return type; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/VirtualMessageCreationVisitor.cs b/codegen/generator/src/Visitors/VirtualMessageCreationVisitor.cs new file mode 100644 index 000000000..8087837a6 --- /dev/null +++ b/codegen/generator/src/Visitors/VirtualMessageCreationVisitor.cs @@ -0,0 +1,41 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// This visitor updates generated PipelineMessage creation methods to be virtual (and thus overrideable via derived clients). +/// +public class VirtualMessageCreationVisitor : ScmLibraryVisitor +{ + protected override MethodProvider VisitMethod(MethodProvider method) + { + if (method.Signature?.ReturnType?.Name != "PipelineMessage" + || method.Signature?.Name?.StartsWith("Create") != true + || method.Signature?.Name?.EndsWith("Request") != true + || method.Signature?.Modifiers.HasFlag(MethodSignatureModifiers.Internal) != true) + { + return method; + } + + if (!method.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Virtual)) + { + MethodSignature newSignature = new( + method.Signature.Name, + method.Signature.Description, + method.Signature.Modifiers | MethodSignatureModifiers.Virtual, + method.Signature.ReturnType, + method.Signature.ReturnDescription, + method.Signature.Parameters, + method.Signature.Attributes, + method.Signature.GenericArguments, + method.Signature.GenericParameterConstraints, + method.Signature.ExplicitInterface, + NonDocumentComment: "Plugin customization: make PipelineMessage creation methods virtual"); + method.Update(signature: newSignature); + } + + return method; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/VisibilityVisitor.cs b/codegen/generator/src/Visitors/VisibilityVisitor.cs new file mode 100644 index 000000000..98363647b --- /dev/null +++ b/codegen/generator/src/Visitors/VisibilityVisitor.cs @@ -0,0 +1,215 @@ +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Expressions; +using Microsoft.TypeSpec.Generator.Primitives; +using Microsoft.TypeSpec.Generator.Providers; +using Microsoft.TypeSpec.Generator.Statements; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace OpenAILibraryPlugin.Visitors; + +/// +/// This visitor updates the public/internal visibility of constructors, methods, and properties on a type: +/// - Visibility can be customized via the [CodeGenVisibility] attribute, which will always take precedence +/// - Default visibility is adjusted based on common patterns +/// +public class VisibilityVisitor : ScmLibraryVisitor +{ + protected override TypeProvider? PostVisitType(TypeProvider type) + { + List visibilityAttributes = GetValidatedCodeGenVisibilityAttributes(type); + + IReadOnlyList allConstructors = + [ + .. type.Constructors, + .. type.SerializationProviders.SelectMany(serializer => serializer.Constructors), + ]; + IReadOnlyList allProperties = + [ + .. type.Properties, + .. type.SerializationProviders.SelectMany(serializer => serializer.Properties), + ]; + IReadOnlyList allMethods = + [ + .. type.Methods, + .. type.SerializationProviders.SelectMany(serializer => serializer.Methods), + ]; + + foreach (ConstructorProvider constructor in allConstructors) + { + if (!TryUpdateVisibilityFromAttributes(constructor, visibilityAttributes)) + { + _ = TryUpdateDefaultVisibility(constructor); + } + } + + foreach (PropertyProvider property in allProperties) + { + if (!TryUpdateVisibilityFromAttributes(property, visibilityAttributes)) + { + _ = TryUpdateDefaultVisibility(property); + } + } + + foreach (MethodProvider method in allMethods) + { + if (!TryUpdateVisibilityFromAttributes(method, visibilityAttributes)) + { + _ = TryUpdateDefaultVisibility(method); + } + } + + return type; + } + + private static List GetValidatedCodeGenVisibilityAttributes(TypeProvider type) + { + IEnumerable allAttributes = + [ + .. type.Attributes, + .. type.CustomCodeView?.Attributes ?? [], + .. type.SerializationProviders.SelectMany(serializer => serializer.Attributes), + .. type.SerializationProviders.SelectMany(serializer => serializer.CustomCodeView?.Attributes ?? []), + ]; + + List matchingAttributes = []; + + foreach (AttributeStatement attribute in allAttributes.Where(attribute => attribute.Type.Name == "CodeGenVisibilityAttribute")) + { + if (attribute.Arguments.Count < 2 || attribute.Arguments[0] is not LiteralExpression) + { + throw new ArgumentException($"Invalid CodeGenVisibilityAttribute provided for {type.Name}; a target name and visibility specifier are required"); + } + matchingAttributes.Add(attribute); + } + + return matchingAttributes; + } + + private static bool TryUpdateVisibilityFromAttributes(T target, IEnumerable visibilityAttributes) + { + (string targetName, IReadOnlyList targetParameters, MethodSignatureModifiers startingModifiers, TypeProvider enclosingType) = target switch + { + PropertyProvider propertyTarget => (propertyTarget.Name, [], propertyTarget.Modifiers, propertyTarget.EnclosingType), + ConstructorProvider constructorTarget => (constructorTarget.EnclosingType.Name, constructorTarget.Signature.Parameters, constructorTarget.Signature.Modifiers, constructorTarget.EnclosingType), + MethodProvider methodTarget => (methodTarget.Signature.Name, methodTarget.Signature.Parameters, methodTarget.Signature.Modifiers, methodTarget.EnclosingType), + _ => throw new NotImplementedException() + }; + + IEnumerable allNameMatchedVisibilityAttributes = visibilityAttributes + .Where(attribute => attribute.Arguments[0] is LiteralExpression literalAttributeTarget + && attribute.Arguments.Count == targetParameters.Count + 2 + && literalAttributeTarget.Literal?.ToString() == targetName); + + string? visibilityFromAttribute = null; + + foreach (AttributeStatement attribute in allNameMatchedVisibilityAttributes) + { + bool mismatchFound = false; + for (int i = 2; i < attribute.Arguments.Count; i++) + { + if (attribute.Arguments[i] is not TypeOfExpression typeOfExpression || typeOfExpression.Type.Name != targetParameters[i - 2].Type.Name) + { + mismatchFound = true; + break; + } + } + if (!mismatchFound) + { + visibilityFromAttribute = attribute.Arguments[1].ToDisplayString(); + break; + } + } + + MethodSignatureModifiers? modifierFromAttribute = visibilityFromAttribute switch + { + null => null, + "0" => MethodSignatureModifiers.Internal, + "1" => MethodSignatureModifiers.Public, + _ => throw new NotImplementedException(), + }; + + return modifierFromAttribute is not null && AssignModifier(target, modifierFromAttribute.Value) != startingModifiers; + } + + private static bool TryUpdateDefaultVisibility(T target) + { + if (target is PropertyProvider propertyTarget) + { + if (!propertyTarget.Type.IsPublic && propertyTarget.Modifiers.HasFlag(MethodSignatureModifiers.Public)) + { + // Generated properties reflecting internal types can default to internal visibility. + AssignModifier(propertyTarget, MethodSignatureModifiers.Internal); + return true; + } + } + else if (target is ConstructorProvider constructorTarget) + { + if (constructorTarget.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Public) + && constructorTarget.Signature.Parameters.Any(parameter => !parameter.Type.IsPublic)) + { + // By default, public constructors with non-public parameter types should be internal + AssignModifier(constructorTarget, MethodSignatureModifiers.Internal); + } + } + else if (target is MethodProvider methodTarget) + { + // No current default visibility change for methods + } + else + { + throw new NotImplementedException(); + } + + return false; + } + + private static MethodSignatureModifiers AssignModifier(T target, MethodSignatureModifiers modifier) + { + MethodSignatureModifiers GetUpdatedModifiers(MethodSignatureModifiers originalModifiers) => modifier switch + { + MethodSignatureModifiers.Public => originalModifiers & ~MethodSignatureModifiers.Internal & ~MethodSignatureModifiers.Private | MethodSignatureModifiers.Public, + MethodSignatureModifiers.Internal => originalModifiers & ~MethodSignatureModifiers.Public & ~MethodSignatureModifiers.Private | MethodSignatureModifiers.Internal, + _ => throw new NotImplementedException() + }; + + MethodSignatureModifiers updatedModifiers = default; + + if (target is PropertyProvider propertyTarget) + { + updatedModifiers = GetUpdatedModifiers(propertyTarget.Modifiers); + propertyTarget.GetType().GetProperty("Modifiers")?.SetValue(propertyTarget, updatedModifiers); + + // Discriminators being made public should not be settable. + if (propertyTarget.IsDiscriminator && modifier == MethodSignatureModifiers.Public && propertyTarget.Body is AutoPropertyBody existingBody) + { + propertyTarget.Update(body: new AutoPropertyBody(HasSetter: false, MethodSignatureModifiers.None, existingBody.InitializationExpression)); + } + } + else if (target is ConstructorSignature constructorSignatureTarget) + { + updatedModifiers = GetUpdatedModifiers(constructorSignatureTarget.Modifiers); + constructorSignatureTarget.Update(modifiers: updatedModifiers); + } + else if (target is MethodSignature methodSignatureTarget) + { + updatedModifiers = GetUpdatedModifiers(methodSignatureTarget.Modifiers); + methodSignatureTarget.Update(modifiers: updatedModifiers); + } + else if (target is ConstructorProvider finalConstructorTarget) + { + return AssignModifier(finalConstructorTarget.Signature, modifier); + } + else if (target is MethodProvider finalMethodTarget) + { + return AssignModifier(finalMethodTarget.Signature, modifier); + } + else + { + throw new NotImplementedException(); + } + + return updatedModifiers; + } +} \ No newline at end of file diff --git a/codegen/generator/src/Visitors/VisitorHelpers.cs b/codegen/generator/src/Visitors/VisitorHelpers.cs new file mode 100644 index 000000000..7775bc709 --- /dev/null +++ b/codegen/generator/src/Visitors/VisitorHelpers.cs @@ -0,0 +1,105 @@ +using Microsoft.TypeSpec.Generator.Expressions; +using Microsoft.TypeSpec.Generator.Snippets; +using Microsoft.TypeSpec.Generator.Statements; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace OpenAILibraryPlugin.Visitors; + +internal static class VisitorHelpers +{ + internal static void VisitExplodedMethodBodyStatements( + IList statements, + Func visitorFunc) + { + for (int i = 0; i < statements.Count; i++) + { + statements[i] = visitorFunc.Invoke(statements[i]); + + if (statements[i] is ForEachStatement foreachStatement) + { + List foreachBodyStatements + = foreachStatement.Body + .SelectMany(bodyStatement => bodyStatement) + .ToList(); + VisitExplodedMethodBodyStatements(foreachBodyStatements!, visitorFunc); + foreachStatement.Body.Clear(); + foreachStatement.Body.Add(new MethodBodyStatements(foreachBodyStatements)); + } + else if (statements[i] is IfStatement ifStatement) + { + // To do: traverse inside of "if" + } + else if (statements[i] is ForStatement forStatement) + { + // To do: traverse inside of "for" + } + } + } + + internal static MethodBodyStatement? GetUpdatedIfStatement( + MethodBodyStatement? statement, + Func conditionUpdateFunc, + string comment) + { + if (statement is not IfStatement ifStatement) + { + return statement; + } + + List statements = + [ + new SingleLineCommentStatement(comment) + ]; + + ValueExpression? newCondition = GetRecursivelyUpdatedCondition(ifStatement.Condition, conditionUpdateFunc); + if (newCondition == ifStatement.Condition) + { + return ifStatement; + } + else if (newCondition is null) + { + statements.Add(ifStatement.Body); + } + else + { + var updatedIfStatement = new IfStatement(newCondition, ifStatement.Inline, ifStatement.AddBraces) + { + ifStatement.Body, + }; + + statements.Add(updatedIfStatement); + } + + return new MethodBodyStatements(statements); + } + + private static ValueExpression? GetRecursivelyUpdatedCondition( + ValueExpression expression, + Func visitorFunc) + { + ValueExpression? newExpression = visitorFunc.Invoke(expression); + BinaryOperatorExpression? binaryOperatorExpression + = expression as BinaryOperatorExpression ?? (expression as ScopedApi)?.Original as BinaryOperatorExpression; + + if (newExpression == expression && binaryOperatorExpression is not null) + { + ValueExpression? newLeft = GetRecursivelyUpdatedCondition(binaryOperatorExpression.Left, visitorFunc); + ValueExpression? newRight = GetRecursivelyUpdatedCondition(binaryOperatorExpression.Right, visitorFunc); + if (newLeft is null) + { + return newRight; + } + else if (newRight is null) + { + return newLeft; + } + else if (newLeft != binaryOperatorExpression.Left || newRight != binaryOperatorExpression.Right) + { + return new BinaryOperatorExpression(binaryOperatorExpression.Operator, newLeft, newRight); + } + } + return newExpression; + } +} \ No newline at end of file diff --git a/codegen/package.json b/codegen/package.json new file mode 100644 index 000000000..7013663a4 --- /dev/null +++ b/codegen/package.json @@ -0,0 +1,45 @@ +{ + "name": "@open-ai/plugin", + "version": "1.0.0", + "description": "OpenAI plugin", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/openai/openai-dotnet.git" + }, + "bugs": { + "url": "https://github.com/openai/openai-dotnet/issues" + }, + "type": "module", + "main": "dist/emitter/index.js", + "exports": { + ".": "./dist/emitter/index.js" + }, + "scripts": { + "clean": "rimraf ./dist ./emitter/temp && dotnet clean ./generator", + "build:emitter": "tsc -p ./tsconfig.build.json", + "build:generator": "dotnet build ./generator", + "build": "npm run build:emitter && npm run build:generator", + "test:emitter": "vitest run -c ./emitter/vitest.config.ts", + "test:generator": "dotnet test ./generator", + "test": "npm run test:emitter && npm run test:generator" + }, + "files": [ + "dist/**" + ], + "dependencies": { + "@open-ai/plugin": "file:", + "@azure-tools/typespec-client-generator-core": "~0.57.0", + "@typespec/http-client-csharp": "1.0.0-alpha.20250626.7" + }, + "devDependencies": { + "@types/node": "^22.8.1", + "@vitest/coverage-v8": "^1.4.0", + "@vitest/ui": "^1.4.0", + "c8": "^9.1.0", + "copyfiles": "^2.4.1", + "rimraf": "~5.0.5", + "typescript": "^5.6.3", + "vitest": "^1.4.0" + } +} diff --git a/codegen/tsconfig.build.json b/codegen/tsconfig.build.json new file mode 100644 index 000000000..20573897d --- /dev/null +++ b/codegen/tsconfig.build.json @@ -0,0 +1,11 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "noEmit": false, + "rootDir": "./emitter/src", + "outDir": "./dist/emitter", + "tsBuildInfoFile": "./emitter/temp/tsconfig.tsbuildinfo" + }, + "references": [], + "include": ["emitter/src"] + } \ No newline at end of file diff --git a/codegen/tsconfig.json b/codegen/tsconfig.json new file mode 100644 index 000000000..10e7b7230 --- /dev/null +++ b/codegen/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "noEmit": true, + "composite": true, + "alwaysStrict": true, + "forceConsistentCasingInFileNames": true, + "module": "Node16", + "moduleResolution": "Node16", + "esModuleInterop": true, + "noImplicitAny": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "sourceMap": true, + "declarationMap": true, + "strict": true, + "declaration": true, + "stripInternal": true, + "noEmitHelpers": false, + "target": "ES2022", + "types": ["node"], + "lib": ["es2022", "DOM"], + "experimentalDecorators": true, + "newLine": "LF" + }, + "include": ["src/**/*.ts", "test/**/*.ts", "vitest.config.ts", "**/*.ts", "**/*.tsx", "**/.storybook/**/*.ts", "**/.storybook/**/*.tsx"], + "exclude": ["**/node_modules/", "**/dist/", "**/build/", "**/coverage/"] +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..f7850543d --- /dev/null +++ b/package-lock.json @@ -0,0 +1,4555 @@ +{ + "name": "openai-tsp", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "openai-tsp", + "version": "0.1.0", + "workspaces": [ + "codegen" + ], + "dependencies": { + "@open-ai/plugin": "file:codegen", + "@typespec/openapi3": "^1.0.0", + "openai-tsp": "file:" + } + }, + "codegen": { + "name": "@open-ai/plugin", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@azure-tools/typespec-client-generator-core": "~0.57.0", + "@open-ai/plugin": "file:", + "@typespec/http-client-csharp": "1.0.0-alpha.20250626.7" + }, + "devDependencies": { + "@types/node": "^22.8.1", + "@vitest/coverage-v8": "^1.4.0", + "@vitest/ui": "^1.4.0", + "c8": "^9.1.0", + "copyfiles": "^2.4.1", + "rimraf": "~5.0.5", + "typescript": "^5.6.3", + "vitest": "^1.4.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "11.7.2", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.7.2.tgz", + "integrity": "sha512-4gY54eEGEstClvEkGnwVkTkrx0sqwemEFG5OSRRn3tD91XH0+Q8XIkYIfo7IwEWPpJZwILb9GUXeShtplRc/eA==", + "license": "MIT", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.15", + "js-yaml": "^4.1.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/philsturgeon" + } + }, + "node_modules/@apidevtools/openapi-schemas": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", + "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/@apidevtools/swagger-methods": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", + "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==", + "license": "MIT" + }, + "node_modules/@apidevtools/swagger-parser": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.1.tgz", + "integrity": "sha512-u/kozRnsPO/x8QtKYJOqoGtC4kH6yg1lfYkB9Au0WhYB0FNLpyFusttQtvhlwjtG3rOwiRz4D8DnnXa8iEpIKA==", + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "11.7.2", + "@apidevtools/openapi-schemas": "^2.1.0", + "@apidevtools/swagger-methods": "^3.0.2", + "@jsdevtools/ono": "^7.1.3", + "ajv": "^8.17.1", + "ajv-draft-04": "^1.0.0", + "call-me-maybe": "^1.0.2" + }, + "peerDependencies": { + "openapi-types": ">=7" + } + }, + "node_modules/@azure-tools/typespec-azure-core": { + "version": "0.57.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.57.0.tgz", + "integrity": "sha512-O+F3axrJOJHjYGrQLRWoydHtWjWiXeAlaaILncS0I0xe6kinyFkpn7VIVKxH9ZZ+hPmkDAZybO53656R3PRfUA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0", + "@typespec/http": "^1.1.0", + "@typespec/rest": "^0.71.0" + } + }, + "node_modules/@azure-tools/typespec-client-generator-core": { + "version": "0.57.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.57.1.tgz", + "integrity": "sha512-R91xwSVDQrAf7wk/u2aJDz/zthGjp+RpziVbFeg4+u4BdPP1+fY4WwXCb3wG4fF8GdlkvYZAE0q+HVPsu15gYg==", + "license": "MIT", + "dependencies": { + "change-case": "~5.4.4", + "pluralize": "^8.0.0", + "yaml": "~2.7.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@azure-tools/typespec-azure-core": "^0.57.0", + "@typespec/compiler": "^1.1.0", + "@typespec/events": "^0.71.0", + "@typespec/http": "^1.1.0", + "@typespec/openapi": "^1.1.0", + "@typespec/rest": "^0.71.0", + "@typespec/sse": "^0.71.0", + "@typespec/streams": "^0.71.0", + "@typespec/versioning": "^0.71.0", + "@typespec/xml": "^0.71.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.27.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.5.tgz", + "integrity": "sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.27.3" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/types": { + "version": "7.27.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.6.tgz", + "integrity": "sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@inquirer/checkbox": { + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.1.8.tgz", + "integrity": "sha512-d/QAsnwuHX2OPolxvYcgSj7A9DO9H6gVOy2DvBTx+P2LH2iRTo/RSGV3iwCzW024nP9hw98KIuDmdyhZQj1UQg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", + "ansi-escapes": "^4.3.2", + "yoctocolors-cjs": "^2.1.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/confirm": { + "version": "5.1.12", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.12.tgz", + "integrity": "sha512-dpq+ielV9/bqgXRUbNH//KsY6WEw9DrGPmipkpmgC1Y46cwuBTNx7PXFWTjc3MQ+urcc0QxoVHcMI0FW4Ok0hg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/core": { + "version": "10.1.13", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.13.tgz", + "integrity": "sha512-1viSxebkYN2nJULlzCxES6G9/stgHSepZ9LqqfdIGPHj5OHhiBUXVS0a6R0bEC2A+VL4D9w6QB66ebCr6HGllA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", + "ansi-escapes": "^4.3.2", + "cli-width": "^4.1.0", + "mute-stream": "^2.0.0", + "signal-exit": "^4.1.0", + "wrap-ansi": "^6.2.0", + "yoctocolors-cjs": "^2.1.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/editor": { + "version": "4.2.13", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.13.tgz", + "integrity": "sha512-WbicD9SUQt/K8O5Vyk9iC2ojq5RHoCLK6itpp2fHsWe44VxxcA9z3GTWlvjSTGmMQpZr+lbVmrxdHcumJoLbMA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7", + "external-editor": "^3.1.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/expand": { + "version": "4.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.15.tgz", + "integrity": "sha512-4Y+pbr/U9Qcvf+N/goHzPEXiHH8680lM3Dr3Y9h9FFw4gHS+zVpbj8LfbKWIb/jayIB4aSO4pWiBTrBYWkvi5A==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7", + "yoctocolors-cjs": "^2.1.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/figures": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.12.tgz", + "integrity": "sha512-MJttijd8rMFcKJC8NYmprWr6hD3r9Gd9qUC0XwPNwoEPWSMVJwA2MlXxF+nhZZNMY+HXsWa+o7KY2emWYIn0jQ==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + } + }, + "node_modules/@inquirer/input": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.12.tgz", + "integrity": "sha512-xJ6PFZpDjC+tC1P8ImGprgcsrzQRsUh9aH3IZixm1lAZFK49UGHxM3ltFfuInN2kPYNfyoPRh+tU4ftsjPLKqQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/number": { + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.15.tgz", + "integrity": "sha512-xWg+iYfqdhRiM55MvqiTCleHzszpoigUpN5+t1OMcRkJrUrw7va3AzXaxvS+Ak7Gny0j2mFSTv2JJj8sMtbV2g==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/password": { + "version": "4.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.15.tgz", + "integrity": "sha512-75CT2p43DGEnfGTaqFpbDC2p2EEMrq0S+IRrf9iJvYreMy5mAWj087+mdKyLHapUEPLjN10mNvABpGbk8Wdraw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7", + "ansi-escapes": "^4.3.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/prompts": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.5.3.tgz", + "integrity": "sha512-8YL0WiV7J86hVAxrh3fE5mDCzcTDe1670unmJRz6ArDgN+DBK1a0+rbnNWp4DUB5rPMwqD5ZP6YHl9KK1mbZRg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/checkbox": "^4.1.8", + "@inquirer/confirm": "^5.1.12", + "@inquirer/editor": "^4.2.13", + "@inquirer/expand": "^4.0.15", + "@inquirer/input": "^4.1.12", + "@inquirer/number": "^3.0.15", + "@inquirer/password": "^4.0.15", + "@inquirer/rawlist": "^4.1.3", + "@inquirer/search": "^3.0.15", + "@inquirer/select": "^4.2.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/rawlist": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.3.tgz", + "integrity": "sha512-7XrV//6kwYumNDSsvJIPeAqa8+p7GJh7H5kRuxirct2cgOcSWwwNGoXDRgpNFbY/MG2vQ4ccIWCi8+IXXyFMZA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/type": "^3.0.7", + "yoctocolors-cjs": "^2.1.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/search": { + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.15.tgz", + "integrity": "sha512-YBMwPxYBrADqyvP4nNItpwkBnGGglAvCLVW8u4pRmmvOsHUtCAUIMbUrLX5B3tFL1/WsLGdQ2HNzkqswMs5Uaw==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", + "yoctocolors-cjs": "^2.1.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/select": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.2.3.tgz", + "integrity": "sha512-OAGhXU0Cvh0PhLz9xTF/kx6g6x+sP+PcyTiLvCrewI99P3BBeexD+VbuwkNDvqGkk3y2h5ZiWLeRP7BFlhkUDg==", + "license": "MIT", + "peer": true, + "dependencies": { + "@inquirer/core": "^10.1.13", + "@inquirer/figures": "^1.0.12", + "@inquirer/type": "^3.0.7", + "ansi-escapes": "^4.3.2", + "yoctocolors-cjs": "^2.1.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/type": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.7.tgz", + "integrity": "sha512-PfunHQcjwnju84L+ycmcMKB/pTPIngjUJvfnRhKY6FKPuYXlM4aQCb/nIdTFR6BEhMjFvngzvng/vBAJMZpLSA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "license": "ISC", + "peer": true, + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/schemas": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", + "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.27.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", + "license": "MIT" + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@open-ai/plugin": { + "resolved": "codegen", + "link": true + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@polka/url": { + "version": "1.0.0-next.29", + "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz", + "integrity": "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==", + "dev": true, + "license": "MIT" + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.44.0.tgz", + "integrity": "sha512-xEiEE5oDW6tK4jXCAyliuntGR+amEMO7HLtdSshVuhFnKTYoeYMyXQK7pLouAJJj5KHdwdn87bfHAR2nSdNAUA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.44.0.tgz", + "integrity": "sha512-uNSk/TgvMbskcHxXYHzqwiyBlJ/lGcv8DaUfcnNwict8ba9GTTNxfn3/FAoFZYgkaXXAdrAA+SLyKplyi349Jw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.44.0.tgz", + "integrity": "sha512-VGF3wy0Eq1gcEIkSCr8Ke03CWT+Pm2yveKLaDvq51pPpZza3JX/ClxXOCmTYYq3us5MvEuNRTaeyFThCKRQhOA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.44.0.tgz", + "integrity": "sha512-fBkyrDhwquRvrTxSGH/qqt3/T0w5Rg0L7ZIDypvBPc1/gzjJle6acCpZ36blwuwcKD/u6oCE/sRWlUAcxLWQbQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.44.0.tgz", + "integrity": "sha512-u5AZzdQJYJXByB8giQ+r4VyfZP+walV+xHWdaFx/1VxsOn6eWJhK2Vl2eElvDJFKQBo/hcYIBg/jaKS8ZmKeNQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.44.0.tgz", + "integrity": "sha512-qC0kS48c/s3EtdArkimctY7h3nHicQeEUdjJzYVJYR3ct3kWSafmn6jkNCA8InbUdge6PVx6keqjk5lVGJf99g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.44.0.tgz", + "integrity": "sha512-x+e/Z9H0RAWckn4V2OZZl6EmV0L2diuX3QB0uM1r6BvhUIv6xBPL5mrAX2E3e8N8rEHVPwFfz/ETUbV4oW9+lQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.44.0.tgz", + "integrity": "sha512-1exwiBFf4PU/8HvI8s80icyCcnAIB86MCBdst51fwFmH5dyeoWVPVgmQPcKrMtBQ0W5pAs7jBCWuRXgEpRzSCg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.44.0.tgz", + "integrity": "sha512-ZTR2mxBHb4tK4wGf9b8SYg0Y6KQPjGpR4UWwTFdnmjB4qRtoATZ5dWn3KsDwGa5Z2ZBOE7K52L36J9LueKBdOQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.44.0.tgz", + "integrity": "sha512-GFWfAhVhWGd4r6UxmnKRTBwP1qmModHtd5gkraeW2G490BpFOZkFtem8yuX2NyafIP/mGpRJgTJ2PwohQkUY/Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.44.0.tgz", + "integrity": "sha512-xw+FTGcov/ejdusVOqKgMGW3c4+AgqrfvzWEVXcNP6zq2ue+lsYUgJ+5Rtn/OTJf7e2CbgTFvzLW2j0YAtj0Gg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.44.0.tgz", + "integrity": "sha512-bKGibTr9IdF0zr21kMvkZT4K6NV+jjRnBoVMt2uNMG0BYWm3qOVmYnXKzx7UhwrviKnmK46IKMByMgvpdQlyJQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.44.0.tgz", + "integrity": "sha512-vV3cL48U5kDaKZtXrti12YRa7TyxgKAIDoYdqSIOMOFBXqFj2XbChHAtXquEn2+n78ciFgr4KIqEbydEGPxXgA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.44.0.tgz", + "integrity": "sha512-TDKO8KlHJuvTEdfw5YYFBjhFts2TR0VpZsnLLSYmB7AaohJhM8ctDSdDnUGq77hUh4m/djRafw+9zQpkOanE2Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.44.0.tgz", + "integrity": "sha512-8541GEyktXaw4lvnGp9m84KENcxInhAt6vPWJ9RodsB/iGjHoMB2Pp5MVBCiKIRxrxzJhGCxmNzdu+oDQ7kwRA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.44.0.tgz", + "integrity": "sha512-iUVJc3c0o8l9Sa/qlDL2Z9UP92UZZW1+EmQ4xfjTc1akr0iUFZNfxrXJ/R1T90h/ILm9iXEY6+iPrmYB3pXKjw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.44.0.tgz", + "integrity": "sha512-PQUobbhLTQT5yz/SPg116VJBgz+XOtXt8D1ck+sfJJhuEsMj2jSej5yTdp8CvWBSceu+WW+ibVL6dm0ptG5fcA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.44.0.tgz", + "integrity": "sha512-M0CpcHf8TWn+4oTxJfh7LQuTuaYeXGbk0eageVjQCKzYLsajWS/lFC94qlRqOlyC2KvRT90ZrfXULYmukeIy7w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.44.0.tgz", + "integrity": "sha512-3XJ0NQtMAXTWFW8FqZKcw3gOQwBtVWP/u8TpHP3CRPXD7Pd6s8lLdH3sHWh8vqKCyyiI8xW5ltJScQmBU9j7WA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.44.0.tgz", + "integrity": "sha512-Q2Mgwt+D8hd5FIPUuPDsvPR7Bguza6yTkJxspDGkZj7tBRn2y4KSWYuIXpftFSjBra76TbKerCV7rgFPQrn+wQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@sinclair/typebox": { + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "22.15.33", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.33.tgz", + "integrity": "sha512-wzoocdnnpSxZ+6CjW4ADCK1jVmd1S/J3ArNWfn8FDDQtRm8dkDg7TA+mvek2wNrfCgwuZxqEOiB9B1XCJ6+dbw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } + }, + "node_modules/@typespec/asset-emitter": { + "version": "0.71.0", + "resolved": "https://registry.npmjs.org/@typespec/asset-emitter/-/asset-emitter-0.71.0.tgz", + "integrity": "sha512-wXDF2kbEPTJksv16mzcEyaz97PUxz1xH/Bl4OFSnvwE5xC1hkb0uKQ2nsunnu4yFzbz6Jmn7aoxM1WlYR5PzkA==", + "license": "MIT", + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0" + } + }, + "node_modules/@typespec/compiler": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.1.0.tgz", + "integrity": "sha512-dtwosIqd2UUEEIVBR+oDiUtN4n1lP8/9GxQVno+wbkijQgKDj4Hg0Vaq6HG4BduF7RptDdtzkdGQCS9CgOIdRA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@babel/code-frame": "~7.27.1", + "@inquirer/prompts": "^7.4.0", + "ajv": "~8.17.1", + "change-case": "~5.4.4", + "env-paths": "^3.0.0", + "globby": "~14.1.0", + "is-unicode-supported": "^2.1.0", + "mustache": "~4.2.0", + "picocolors": "~1.1.1", + "prettier": "~3.5.3", + "semver": "^7.7.1", + "tar": "^7.4.3", + "temporal-polyfill": "^0.3.0", + "vscode-languageserver": "~9.0.1", + "vscode-languageserver-textdocument": "~1.0.12", + "yaml": "~2.7.0", + "yargs": "~17.7.2" + }, + "bin": { + "tsp": "cmd/tsp.js", + "tsp-server": "cmd/tsp-server.js" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@typespec/events": { + "version": "0.71.0", + "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.71.0.tgz", + "integrity": "sha512-dJeyqBGqTTSlFDVWpdqeMjDpEyRmenH3yDABK3T/30MrO94sdXigxmeBnPCcOaaqst6pV3anFuKwfAqEN3GnbA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0" + } + }, + "node_modules/@typespec/http": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.1.0.tgz", + "integrity": "sha512-1doVGmkv3N8l57fVuci4jGMZ61EZBlDzuNZO2b9o0+mexCOs/P96CIpFkaNVvTQgjpyFsW1DlXiUKAvUC9zQfg==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0", + "@typespec/streams": "^0.71.0" + }, + "peerDependenciesMeta": { + "@typespec/streams": { + "optional": true + } + } + }, + "node_modules/@typespec/http-client-csharp": { + "version": "1.0.0-alpha.20250626.7", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250626.7.tgz", + "integrity": "sha512-aYtA/g3UaHEVjFG1290BcHB4hw8z6ZSwa0bEBjbwlhprW3vV6KKP0J11ONFllMHX7I5skpdj9jNRrBJuZyeuKg==", + "license": "MIT", + "peerDependencies": { + "@azure-tools/typespec-azure-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", + "@azure-tools/typespec-client-generator-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", + "@typespec/compiler": "^1.1.0", + "@typespec/http": "^1.1.0", + "@typespec/openapi": "^1.1.0", + "@typespec/rest": ">=0.71.0 <0.72.0 || ~0.72.0-0", + "@typespec/versioning": ">=0.71.0 <0.72.0 || ~0.72.0-0" + } + }, + "node_modules/@typespec/openapi": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.1.0.tgz", + "integrity": "sha512-HPvrpSS7eSVk3fEkWndcDTrAZssWRYv3FyDTqVqljildc7FAiXdo88+r5CCK8endmgIrES7uJdHLkcIGUZx1pg==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0", + "@typespec/http": "^1.1.0" + } + }, + "node_modules/@typespec/openapi3": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-1.1.0.tgz", + "integrity": "sha512-+1Ue7+M/PkNX54H6SJAym5ONHzlW7s5ZnA4fCH5jwKvalvI94stMvefOpd8FAesJDVmXc3wZ0kiqYo5EuMTjOQ==", + "license": "MIT", + "dependencies": { + "@apidevtools/swagger-parser": "~10.1.1", + "@typespec/asset-emitter": "^0.71.0", + "openapi-types": "~12.1.3", + "yaml": "~2.7.0" + }, + "bin": { + "tsp-openapi3": "cmd/tsp-openapi3.js" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0", + "@typespec/http": "^1.1.0", + "@typespec/json-schema": "^1.1.0", + "@typespec/openapi": "^1.1.0", + "@typespec/versioning": "^0.71.0" + }, + "peerDependenciesMeta": { + "@typespec/json-schema": { + "optional": true + }, + "@typespec/versioning": { + "optional": true + }, + "@typespec/xml": { + "optional": true + } + } + }, + "node_modules/@typespec/rest": { + "version": "0.71.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.71.0.tgz", + "integrity": "sha512-5qX+nWO5Jx4P1iTTT2REgdCtHsTMjlv/gL90u8cO1ih3yHDtf18a41UL6jSYaVUIvIj6rlmrgopActf0FhhUcw==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0", + "@typespec/http": "^1.1.0" + } + }, + "node_modules/@typespec/sse": { + "version": "0.71.0", + "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.71.0.tgz", + "integrity": "sha512-4lAwDMj8h/50s6zp/8IX8CLW+H3P+od5O32Bb8+fyTabEo7+H3PbdBbIJGv9Sj7+l8+bZXsyfRXa+aJxR9o2ZA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0", + "@typespec/events": "^0.71.0", + "@typespec/http": "^1.1.0", + "@typespec/streams": "^0.71.0" + } + }, + "node_modules/@typespec/streams": { + "version": "0.71.0", + "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.71.0.tgz", + "integrity": "sha512-ofyAcg8GnO6uTffGo00D6MMfRkqie4QtnUUSGNC1Bam2WG+wkeSG/huP0WNRT8GofzK1N0M6QqQwAW/vdq9ymQ==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0" + } + }, + "node_modules/@typespec/versioning": { + "version": "0.71.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.71.0.tgz", + "integrity": "sha512-8qknFLOpZTVzQ+SveXg9G7WJV8P80yxLlj0nOc3ZLBKiPgM6FF7vGWHRNtnh7s3gSXvWyxopaJ9fZSLZSJmbww==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0" + } + }, + "node_modules/@typespec/xml": { + "version": "0.71.0", + "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.71.0.tgz", + "integrity": "sha512-IcBM4fd5li+hfaUoxeiFrUJx+gCGwIJ+LojdbAZPP3Kbdv12RS+8+CHH6d9qGV3qExgWGCny6WDUrUIaVCLonw==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "^1.1.0" + } + }, + "node_modules/@vitest/coverage-v8": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-1.6.1.tgz", + "integrity": "sha512-6YeRZwuO4oTGKxD3bijok756oktHSIm3eczVVzNe3scqzuhLwltIF3S9ZL/vwOVIpURmU6SnZhziXXAfw8/Qlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.1", + "@bcoe/v8-coverage": "^0.2.3", + "debug": "^4.3.4", + "istanbul-lib-coverage": "^3.2.2", + "istanbul-lib-report": "^3.0.1", + "istanbul-lib-source-maps": "^5.0.4", + "istanbul-reports": "^3.1.6", + "magic-string": "^0.30.5", + "magicast": "^0.3.3", + "picocolors": "^1.0.0", + "std-env": "^3.5.0", + "strip-literal": "^2.0.0", + "test-exclude": "^6.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "vitest": "1.6.1" + } + }, + "node_modules/@vitest/expect": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-1.6.1.tgz", + "integrity": "sha512-jXL+9+ZNIJKruofqXuuTClf44eSpcHlgj3CiuNihUF3Ioujtmc0zIa3UJOW5RjDK1YLBJZnWBlPuqhYycLioog==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/spy": "1.6.1", + "@vitest/utils": "1.6.1", + "chai": "^4.3.10" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/runner": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-1.6.1.tgz", + "integrity": "sha512-3nSnYXkVkf3mXFfE7vVyPmi3Sazhb/2cfZGGs0JRzFsPFvAMBEcrweV1V1GsrstdXeKCTXlJbvnQwGWgEIHmOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/utils": "1.6.1", + "p-limit": "^5.0.0", + "pathe": "^1.1.1" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/runner/node_modules/p-limit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-5.0.0.tgz", + "integrity": "sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@vitest/runner/node_modules/yocto-queue": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.1.tgz", + "integrity": "sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@vitest/snapshot": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-1.6.1.tgz", + "integrity": "sha512-WvidQuWAzU2p95u8GAKlRMqMyN1yOJkGHnx3M1PL9Raf7AQ1kwLKg04ADlCa3+OXUZE7BceOhVZiuWAbzCKcUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "magic-string": "^0.30.5", + "pathe": "^1.1.1", + "pretty-format": "^29.7.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/spy": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-1.6.1.tgz", + "integrity": "sha512-MGcMmpGkZebsMZhbQKkAf9CX5zGvjkBTqf8Zx3ApYWXr3wG+QvEu2eXWfnIIWYSJExIp4V9FCKDEeygzkYrXMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyspy": "^2.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/ui": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-1.6.1.tgz", + "integrity": "sha512-xa57bCPGuzEFqGjPs3vVLyqareG8DX0uMkr5U/v5vLv5/ZUrBrPL7gzxzTJedEyZxFMfsozwTIbbYfEQVo3kgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/utils": "1.6.1", + "fast-glob": "^3.3.2", + "fflate": "^0.8.1", + "flatted": "^3.2.9", + "pathe": "^1.1.1", + "picocolors": "^1.0.0", + "sirv": "^2.0.4" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "vitest": "1.6.1" + } + }, + "node_modules/@vitest/utils": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-1.6.1.tgz", + "integrity": "sha512-jOrrUvXM4Av9ZWiG1EajNto0u96kWAhJ1LmPmJhXXQx/32MecEKd10pOLYgS2BQx1TgkGhloPU1ArDW2vvaY6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "diff-sequences": "^29.6.3", + "estree-walker": "^3.0.3", + "loupe": "^2.3.7", + "pretty-format": "^29.7.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "license": "MIT", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/c8": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/c8/-/c8-9.1.0.tgz", + "integrity": "sha512-mBWcT5iqNir1zIkzSPyI3NCR9EZCVI3WUD+AVO17MVWTSFNyUueXE82qTeampNtTr+ilN/5Ua3j24LgbCKjDVg==", + "dev": true, + "license": "ISC", + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@istanbuljs/schema": "^0.1.3", + "find-up": "^5.0.0", + "foreground-child": "^3.1.1", + "istanbul-lib-coverage": "^3.2.0", + "istanbul-lib-report": "^3.0.1", + "istanbul-reports": "^3.1.6", + "test-exclude": "^6.0.0", + "v8-to-istanbul": "^9.0.0", + "yargs": "^17.7.2", + "yargs-parser": "^21.1.1" + }, + "bin": { + "c8": "bin/c8.js" + }, + "engines": { + "node": ">=14.14.0" + } + }, + "node_modules/cac": { + "version": "6.7.14", + "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", + "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/call-me-maybe": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", + "license": "MIT" + }, + "node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/change-case": { + "version": "5.4.4", + "resolved": "https://registry.npmjs.org/change-case/-/change-case-5.4.4.tgz", + "integrity": "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==", + "license": "MIT" + }, + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "license": "MIT", + "peer": true + }, + "node_modules/check-error": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.2" + }, + "engines": { + "node": "*" + } + }, + "node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "license": "BlueOak-1.0.0", + "peer": true, + "engines": { + "node": ">=18" + } + }, + "node_modules/cli-width": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", + "license": "ISC", + "peer": true, + "engines": { + "node": ">= 12" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/confbox": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz", + "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/copyfiles": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/copyfiles/-/copyfiles-2.4.1.tgz", + "integrity": "sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "glob": "^7.0.5", + "minimatch": "^3.0.3", + "mkdirp": "^1.0.4", + "noms": "0.0.0", + "through2": "^2.0.1", + "untildify": "^4.0.0", + "yargs": "^16.1.0" + }, + "bin": { + "copyfiles": "copyfiles", + "copyup": "copyfiles" + } + }, + "node_modules/copyfiles/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/copyfiles/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/copyfiles/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/copyfiles/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/copyfiles/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-eql": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.4.tgz", + "integrity": "sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/diff-sequences": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", + "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/env-paths": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-3.0.0.tgz", + "integrity": "sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==", + "license": "MIT", + "peer": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/execa": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": ">=16.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "license": "MIT", + "peer": true, + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-uri": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fastq": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", + "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fflate": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", + "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==", + "dev": true, + "license": "MIT" + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flatted": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "dev": true, + "license": "ISC" + }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/get-stream": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globby": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.1.0.tgz", + "integrity": "sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.3", + "path-type": "^6.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/human-signals": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=16.17.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", + "peer": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz", + "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.23", + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", + "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT", + "peer": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "license": "MIT" + }, + "node_modules/local-pkg": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.5.1.tgz", + "integrity": "sha512-9rrA30MRRP3gBD3HTGnC6cDFpaE1kVDWxWgqWJUN0RvDNAo+Nz/9GxB+nHOH0ifbVFy0hSA1V6vFDvnx54lTEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mlly": "^1.7.3", + "pkg-types": "^1.2.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/loupe": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", + "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.1" + } + }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/magic-string": { + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, + "node_modules/magicast": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.3.5.tgz", + "integrity": "sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.25.4", + "@babel/types": "^7.25.4", + "source-map-js": "^1.2.0" + } + }, + "node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.2.tgz", + "integrity": "sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA==", + "license": "MIT", + "peer": true, + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "license": "MIT", + "peer": true, + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mlly": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.7.4.tgz", + "integrity": "sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.14.0", + "pathe": "^2.0.1", + "pkg-types": "^1.3.0", + "ufo": "^1.5.4" + } + }, + "node_modules/mlly/node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" + }, + "node_modules/mrmime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", + "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/mustache": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", + "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", + "license": "MIT", + "peer": true, + "bin": { + "mustache": "bin/mustache" + } + }, + "node_modules/mute-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", + "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "license": "ISC", + "peer": true, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/noms": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz", + "integrity": "sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow==", + "dev": true, + "license": "ISC", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "~1.0.31" + } + }, + "node_modules/npm-run-path": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", + "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/openai-tsp": { + "resolved": "", + "link": true + }, + "node_modules/openapi-types": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", + "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", + "license": "MIT" + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-type": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz", + "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pathe": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz", + "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pkg-types": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz", + "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "confbox": "^0.1.8", + "mlly": "^1.7.4", + "pathe": "^2.0.1" + } + }, + "node_modules/pkg-types/node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" + }, + "node_modules/pluralize": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", + "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss": { + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prettier": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", + "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==", + "license": "MIT", + "peer": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/pretty-format": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", + "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.3", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true, + "license": "MIT" + }, + "node_modules/readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", + "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^10.3.7" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "4.44.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.44.0.tgz", + "integrity": "sha512-qHcdEzLCiktQIfwBq420pn2dP+30uzqYxv9ETm91wdt2R9AFcWfjNAmje4NWlnCIQ5RMTzVf0ZyisOKqHR6RwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.8" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.44.0", + "@rollup/rollup-android-arm64": "4.44.0", + "@rollup/rollup-darwin-arm64": "4.44.0", + "@rollup/rollup-darwin-x64": "4.44.0", + "@rollup/rollup-freebsd-arm64": "4.44.0", + "@rollup/rollup-freebsd-x64": "4.44.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.44.0", + "@rollup/rollup-linux-arm-musleabihf": "4.44.0", + "@rollup/rollup-linux-arm64-gnu": "4.44.0", + "@rollup/rollup-linux-arm64-musl": "4.44.0", + "@rollup/rollup-linux-loongarch64-gnu": "4.44.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.44.0", + "@rollup/rollup-linux-riscv64-gnu": "4.44.0", + "@rollup/rollup-linux-riscv64-musl": "4.44.0", + "@rollup/rollup-linux-s390x-gnu": "4.44.0", + "@rollup/rollup-linux-x64-gnu": "4.44.0", + "@rollup/rollup-linux-x64-musl": "4.44.0", + "@rollup/rollup-win32-arm64-msvc": "4.44.0", + "@rollup/rollup-win32-ia32-msvc": "4.44.0", + "@rollup/rollup-win32-x64-msvc": "4.44.0", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT", + "peer": true + }, + "node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/siginfo": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", + "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", + "dev": true, + "license": "ISC" + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sirv": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.4.tgz", + "integrity": "sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@polka/url": "^1.0.0-next.24", + "mrmime": "^2.0.0", + "totalist": "^3.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stackback": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", + "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/std-env": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.9.0.tgz", + "integrity": "sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==", + "dev": true, + "license": "MIT" + }, + "node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-literal": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-2.1.1.tgz", + "integrity": "sha512-631UJ6O00eNGfMiWG78ck80dfBab8X6IVFB51jZK5Icd7XAs60Z5y7QdSd/wGIklnWvRbUNloVzhOKKmutxQ6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "js-tokens": "^9.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/strip-literal/node_modules/js-tokens": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz", + "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tar": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz", + "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==", + "license": "ISC", + "peer": true, + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/temporal-polyfill": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.3.0.tgz", + "integrity": "sha512-qNsTkX9K8hi+FHDfHmf22e/OGuXmfBm9RqNismxBrnSmZVJKegQ+HYYXT+R7Ha8F/YSm2Y34vmzD4cxMu2u95g==", + "license": "MIT", + "peer": true, + "dependencies": { + "temporal-spec": "0.3.0" + } + }, + "node_modules/temporal-spec": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.3.0.tgz", + "integrity": "sha512-n+noVpIqz4hYgFSMOSiINNOUOMFtV5cZQNCmmszA6GiVFVRt3G7AqVyhXjhCSmowvQn+NsGn+jMDMKJYHd3bSQ==", + "license": "ISC", + "peer": true + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/through2/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/through2/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/tinybench": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", + "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinypool": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.8.4.tgz", + "integrity": "sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tinyspy": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-2.2.1.tgz", + "integrity": "sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "license": "MIT", + "peer": true, + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/totalist": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz", + "integrity": "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/type-detect": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", + "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "license": "(MIT OR CC0-1.0)", + "peer": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typescript": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/ufo": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.1.tgz", + "integrity": "sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==", + "dev": true, + "license": "MIT" + }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/v8-to-istanbul": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^2.0.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/vite": { + "version": "5.4.19", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.19.tgz", + "integrity": "sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vite-node": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-1.6.1.tgz", + "integrity": "sha512-YAXkfvGtuTzwWbDSACdJSg4A4DZiAqckWe90Zapc/sEX3XvHcw1NdurM/6od8J207tSDqNbSsgdCacBgvJKFuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cac": "^6.7.14", + "debug": "^4.3.4", + "pathe": "^1.1.1", + "picocolors": "^1.0.0", + "vite": "^5.0.0" + }, + "bin": { + "vite-node": "vite-node.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/vitest": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-1.6.1.tgz", + "integrity": "sha512-Ljb1cnSJSivGN0LqXd/zmDbWEM0RNNg2t1QW/XUhYl/qPqyu7CsqeWtqQXHVaJsecLPuDoak2oJcZN2QoRIOag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/expect": "1.6.1", + "@vitest/runner": "1.6.1", + "@vitest/snapshot": "1.6.1", + "@vitest/spy": "1.6.1", + "@vitest/utils": "1.6.1", + "acorn-walk": "^8.3.2", + "chai": "^4.3.10", + "debug": "^4.3.4", + "execa": "^8.0.1", + "local-pkg": "^0.5.0", + "magic-string": "^0.30.5", + "pathe": "^1.1.1", + "picocolors": "^1.0.0", + "std-env": "^3.5.0", + "strip-literal": "^2.0.0", + "tinybench": "^2.5.1", + "tinypool": "^0.8.3", + "vite": "^5.0.0", + "vite-node": "1.6.1", + "why-is-node-running": "^2.2.2" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@types/node": "^18.0.0 || >=20.0.0", + "@vitest/browser": "1.6.1", + "@vitest/ui": "1.6.1", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, + "node_modules/vscode-jsonrpc": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", + "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/vscode-languageserver": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz", + "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==", + "license": "MIT", + "peer": true, + "dependencies": { + "vscode-languageserver-protocol": "3.17.5" + }, + "bin": { + "installServerIntoExtension": "bin/installServerIntoExtension" + } + }, + "node_modules/vscode-languageserver-protocol": { + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz", + "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==", + "license": "MIT", + "peer": true, + "dependencies": { + "vscode-jsonrpc": "8.2.0", + "vscode-languageserver-types": "3.17.5" + } + }, + "node_modules/vscode-languageserver-textdocument": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz", + "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==", + "license": "MIT", + "peer": true + }, + "node_modules/vscode-languageserver-types": { + "version": "3.17.5", + "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", + "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==", + "license": "MIT", + "peer": true + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "siginfo": "^2.0.0", + "stackback": "0.0.2" + }, + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "license": "MIT", + "peer": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "license": "BlueOak-1.0.0", + "peer": true, + "engines": { + "node": ">=18" + } + }, + "node_modules/yaml": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz", + "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==", + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoctocolors-cjs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", + "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 000000000..391563d4c --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "openai-tsp", + "workspaces": [ + "codegen" + ], + "version": "0.1.0", + "type": "module", + "dependencies": { + "@typespec/openapi3": "^1.0.0", + "@open-ai/plugin": "file:codegen", + "openai-tsp": "file:" + }, + "private": true +} \ No newline at end of file diff --git a/scripts/Export-Api.ps1 b/scripts/Export-Api.ps1 new file mode 100644 index 000000000..75df7b127 --- /dev/null +++ b/scripts/Export-Api.ps1 @@ -0,0 +1,292 @@ +<# +.SYNOPSIS + Cross-platform API export script for OpenAI .NET SDK. + +.DESCRIPTION + This script supports Windows, macOS, and Linux environments. It automatically detects the current platform + and uses the appropriate paths for .NET and NuGet packages. +#> + +function Invoke-DotNetBuild { + param( + [Parameter(Mandatory = $true)] + [string]$ProjectPath + ) + + Write-Output "Building $($ProjectPath)..." + Write-Output "" + & dotnet build $ProjectPath + Write-Output "" +} + +function Invoke-GenAPI { + param ( + [Parameter(Mandatory = $true)] + [string]$TargetFramework, + + [Parameter(Mandatory = $true)] + [string]$AssemblyPath, + + [Parameter(Mandatory = $true)] + [string]$Destination + ) + + Write-Output "Generating $($Destination)..." + Write-Output "" + + Write-Output " Detected platform paths:" + Write-Output "" + + # Set platform-specific paths using PowerShell automatic variables (PowerShell 6.0+) + # Fall back to manual detection for older PowerShell versions + $isWindowsPlatform = $false + $isMacOSPlatform = $false + + if (Get-Variable -Name "IsWindows" -ErrorAction SilentlyContinue) { + $isWindowsPlatform = $IsWindows + $isMacOSPlatform = $IsMacOS + } else { + # Fallback for Windows PowerShell 5.1 and earlier + $isWindowsPlatform = [System.Environment]::OSVersion.Platform -eq [System.PlatformID]::Win32NT + $isMacOSPlatform = [System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform([System.Runtime.InteropServices.OSPlatform]::OSX) + } + + if ($isWindowsPlatform) { + $dotnetPacksPath = Join-Path $env:ProgramFiles "dotnet\packs\Microsoft.NETCore.App.Ref" + $nugetPackagesPath = Join-Path $env:UserProfile ".nuget\packages" + } elseif ($isMacOSPlatform) { + $dotnetPacksPath = "/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref" + $nugetPackagesPath = Join-Path $env:HOME ".nuget/packages" + } else { + # Linux or other Unix-like systems + $dotnetPacksPath = "/usr/share/dotnet/packs/Microsoft.NETCore.App.Ref" + $nugetPackagesPath = Join-Path $env:HOME ".nuget/packages" + } + + Write-Output " * .NET packs:" + Write-Output " $($dotnetPacksPath)" + Write-Output "" + Write-Output " * NuGet packages:" + Write-Output " $($nugetPackagesPath)" + Write-Output "" + + Write-Output " Assembly reference paths:" + Write-Output "" + + # .NET + $netRef = $null + if (Test-Path $dotnetPacksPath) { + $netRef = Get-ChildItem -Recurse ` + -Path $dotnetPacksPath ` + -Include "net8.0" | Select-Object -Last 1 + } + + # If not found in primary location, try alternative locations + if (-not $netRef) { + $alternativePaths = @() + if ($isWindowsPlatform) { + $alternativePaths += "${env:ProgramFiles(x86)}\dotnet\packs\Microsoft.NETCore.App.Ref" + } elseif ($isMacOSPlatform) { + $alternativePaths += "/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Ref" + $alternativePaths += "/Library/Frameworks/Microsoft.NETCore.App.Ref" + } else { + $alternativePaths += "/usr/lib/dotnet/packs/Microsoft.NETCore.App.Ref" + $alternativePaths += "/opt/dotnet/packs/Microsoft.NETCore.App.Ref" + } + + foreach ($altPath in $alternativePaths) { + if (Test-Path $altPath) { + $netRef = Get-ChildItem -Recurse -Path $altPath -Include "net8.0" | Select-Object -Last 1 + if ($netRef) { break } + } + } + } + + Write-Output " * .NET:" + Write-Output " $($netRef)" + Write-Output "" + + # System.ClientModel + $systemClientModelPath = Join-Path $nugetPackagesPath "system.clientmodel\1.4.2" + $systemClientModelRef = $null + if (Test-Path $systemClientModelPath) { + $systemClientModelRef = Get-ChildItem ` + -Path $systemClientModelPath ` + -Include $(($TargetFramework -eq "netstandard2.0") ? "netstandard2.0" : "net8.0") ` + -Recurse | + Select-Object -Last 1 + } + + Write-Output " * System.ClientModel:" + Write-Output " $($systemClientModelRef)" + Write-Output "" + + # Microsoft.Extensions.Logging.Abstractions + $microsoftExtensionsLoggingAbstractionsPath = Join-Path $nugetPackagesPath "microsoft.extensions.logging.abstractions\8.0.3" + $microsoftExtensionsLoggingAbstractionsRef = $null + if (Test-Path $microsoftExtensionsLoggingAbstractionsPath) { + $microsoftExtensionsLoggingAbstractionsRef = Get-ChildItem ` + -Path $microsoftExtensionsLoggingAbstractionsPath ` + -Include $(($TargetFramework -eq "netstandard2.0") ? "netstandard2.0" : "net8.0") ` + -Recurse | + Select-Object -Last 1 + } + + Write-Output " * Microsoft.Extensions.Logging.Abstractions:" + Write-Output " $($microsoftExtensionsLoggingAbstractionsRef)" + Write-Output "" + + # Microsoft.Extensions.DependencyInjection.Abstractions + $microsoftExtensionsDependencyInjectionAbstractionsPath = Join-Path $nugetPackagesPath "microsoft.extensions.dependencyinjection.abstractions\8.0.2" + $microsoftExtensionsDependencyInjectionAbstractionsRef = $null + if (Test-Path $microsoftExtensionsDependencyInjectionAbstractionsPath) { + $microsoftExtensionsDependencyInjectionAbstractionsRef = Get-ChildItem ` + -Path $microsoftExtensionsDependencyInjectionAbstractionsPath ` + -Include $(($TargetFramework -eq "netstandard2.0") ? "netstandard2.0" : "net8.0") ` + -Recurse | + Select-Object -Last 1 + } + + Write-Output " * Microsoft.Extensions.DependencyInjection.Abstractions:" + Write-Output " $($microsoftExtensionsDependencyInjectionAbstractionsRef)" + Write-Output "" + + # System.Memory.Data + $systemMemoryDataPath = Join-Path $nugetPackagesPath "system.memory.data\6.0.1" + $systemMemoryDataRef = $null + if (Test-Path $systemMemoryDataPath) { + $systemMemoryDataRef = Get-ChildItem ` + -Path $systemMemoryDataPath ` + -Include $(($TargetFramework -eq "netstandard2.0") ? "netstandard2.0" : "net6.0") ` + -Recurse | + Select-Object -Last 1 + } + + Write-Output " * System.Memory.Data:" + Write-Output " $($systemMemoryDataRef)" + Write-Output "" + + if ($TargetFramework -eq "netstandard2.0") { + # System.Diagnostics.DiagnosticSource + $systemDiagnosticsDiagnosticSourcePath = Join-Path $nugetPackagesPath "system.diagnostics.diagnosticsource\6.0.1" + $systemDiagnosticsDiagnosticSourceRef = $null + if (Test-Path $systemDiagnosticsDiagnosticSourcePath) { + $systemDiagnosticsDiagnosticSourceRef = Get-ChildItem ` + -Path $systemDiagnosticsDiagnosticSourcePath ` + -Include $(($TargetFramework -eq "netstandard2.0") ? "netstandard2.0" : "net5.0") ` + -Recurse | + Select-Object -Last 1 + } + + Write-Output " * System.Diagnostics.DiagnosticSource:" + Write-Output " $($systemDiagnosticsDiagnosticSourceRef)" + Write-Output "" + + # Microsoft.Bcl.AsyncInterfaces + $microsoftBclAsyncInterfacesPath = Join-Path $nugetPackagesPath "microsoft.bcl.asyncinterfaces\1.1.0" + $microsoftBclAsyncInterfacesRef = $null + if (Test-Path $microsoftBclAsyncInterfacesPath) { + $microsoftBclAsyncInterfacesRef = Get-ChildItem ` + -Path $microsoftBclAsyncInterfacesPath ` + -Include "netstandard2.0" ` + -Recurse | + Select-Object -Last 1 + } + + Write-Output " * Microsoft.Bcl.AsyncInterfaces:" + Write-Output " $($microsoftBclAsyncInterfacesRef)" + Write-Output "" + } + + Write-Output " NOTE: If any of the above are empty, tool output may be inaccurate." + Write-Output "" + + # Build genapi command arguments, excluding null references + $genapiArgs = @( + "--assembly", $AssemblyPath + "--output-path", $Destination + ) + + if ($netRef) { $genapiArgs += @("--assembly-reference", $netRef) } + if ($systemClientModelRef) { $genapiArgs += @("--assembly-reference", $systemClientModelRef) } + if ($microsoftExtensionsLoggingAbstractionsRef) { $genapiArgs += @("--assembly-reference", $microsoftExtensionsLoggingAbstractionsRef) } + if ($microsoftExtensionsDependencyInjectionAbstractionsRef) { $genapiArgs += @("--assembly-reference", $microsoftExtensionsDependencyInjectionAbstractionsRef) } + if ($systemMemoryDataRef) { $genapiArgs += @("--assembly-reference", $systemMemoryDataRef) } + if ($systemDiagnosticsDiagnosticSourceRef) { $genapiArgs += @("--assembly-reference", $systemDiagnosticsDiagnosticSourceRef) } + if ($microsoftBclAsyncInterfacesRef) { $genapiArgs += @("--assembly-reference", $microsoftBclAsyncInterfacesRef) } + + & genapi @genapiArgs + + Write-Output "Cleaning up $($Destination)..." + Write-Output "" + + $content = Get-Content $Destination -Raw + + # Remove empty lines. + $content = $content -creplace '//.*\r?\n', '' + $content = $content -creplace '\r?\n\r?\n', "`n" + $content = $content -creplace '\r?\n *{', " {" + + # Remove fully-qualified names. + $content = $content -creplace "System\.ComponentModel\.", "" + $content = $content -creplace "System\.ClientModel.Primitives\.", "" + $content = $content -creplace "System\.ClientModel\.", "" + $content = $content -creplace "System\.Collections\.Generic\.", "" + $content = $content -creplace "System\.Collections\.", "" + $content = $content -creplace "System\.Threading.Tasks\.", "" + $content = $content -creplace "System\.Threading\.", "" + $content = $content -creplace "System\.Text.Json\.", "" + $content = $content -creplace "System\.Text\.", "" + $content = $content -creplace "System\.IO\.", "" + $content = $content -creplace "System\.", "" + $content = $content -creplace "Assistants\.", "" + $content = $content -creplace "Audio\.", "" + $content = $content -creplace "Batch\.", "" + $content = $content -creplace "Chat\.", "" + $content = $content -creplace "Common\.", "" + $content = $content -creplace "Embeddings\.", "" + $content = $content -creplace "Evals\.", "" + $content = $content -creplace "Files\.", "" + $content = $content -creplace "FineTuning\.", "" + $content = $content -creplace "Images\.", "" + $content = $content -creplace "Models\.", "" + $content = $content -creplace "Moderations\.", "" + $content = $content -creplace "Realtime\.", "" + $content = $content -creplace "Responses\.", "" + $content = $content -creplace "VectorStores\.", "" + + # Remove Diagnostics.DebuggerStepThrough attribute. + $content = $content -creplace ".*Diagnostics.DebuggerStepThrough.*\n", "" + + # Remove internal APIs. + $content = $content -creplace " * internal.*`n", "" + + # Remove IJsonModel/IPersistableModel interface method entries. + $content = $content -creplace " .*(IJsonModel|IPersistableModel).*`n", "" + # $content = $content -creplace " protected (virtual|override) .* (Json|Persistable)Model(Create|Write)Core.*`n", "" + + # Other cosmetic simplifications. + $content = $content -creplace "partial class", "class" + $content = $content -creplace ".*private.*dummy.*`n", "" + $content = $content -creplace " { throw null; }", ";" + $content = $content -creplace " { }", ";" + $content = $content -creplace "Diagnostics.CodeAnalysis.Experimental", "Experimental" + $content = $content -creplace "Diagnostics.CodeAnalysis.SetsRequiredMembers", "SetsRequiredMembers" + + Set-Content -Path $Destination -Value $content -NoNewline +} + +$repoRootPath = Join-Path $PSScriptRoot .. -Resolve +$projectPath = Join-Path $repoRootPath "src\OpenAI.csproj" + +Invoke-DotNetBuild -ProjectPath $projectPath + +$targetFramework = "netstandard2.0" +$assemblyPath = Join-Path $repoRootPath "src\bin\Debug\$($targetFramework)\OpenAI.dll" +$destination = Join-Path $repoRootPath "api\OpenAI.$($targetFramework).cs" +Invoke-GenAPI -TargetFramework $targetFramework -AssemblyPath $assemblyPath -Destination $destination + +$targetFramework = "net8.0" +$assemblyPath = Join-Path $repoRootPath "src\bin\Debug\$($targetFramework)\OpenAI.dll" +$destination = Join-Path $repoRootPath "api\OpenAI.$($targetFramework).cs" +Invoke-GenAPI -TargetFramework $targetFramework -AssemblyPath $assemblyPath -Destination $destination \ No newline at end of file diff --git a/scripts/Invoke-CodeGen.ps1 b/scripts/Invoke-CodeGen.ps1 new file mode 100644 index 000000000..a284169c6 --- /dev/null +++ b/scripts/Invoke-CodeGen.ps1 @@ -0,0 +1,274 @@ +[CmdletBinding(DefaultParameterSetName = 'GitHub')] +param( + [Parameter(Mandatory = $true, ParameterSetName = 'GitHub')] + [string]$GitHubOwner, + + [Parameter(Mandatory = $true, ParameterSetName = 'GitHub')] + [string]$GitHubRepository, + + [Parameter(Mandatory = $false, ParameterSetName = 'GitHub')] + [string]$CommitHash = "fa5b2820354fa4fb62636f1ea6abd8a5a6d39bf7", + + [Parameter(Mandatory = $false, ParameterSetName = 'GitHub')] + [string]$GitHubToken, + + [Parameter(Mandatory = $true, ParameterSetName = 'Local')] + [string]$LocalRepositoryPath, + + [Parameter(Mandatory = $false)] + [switch]$Force +) + +function Invoke-ScriptWithLogging { + [CmdletBinding()] + param( + [Parameter(Mandatory = $true)] + [scriptblock]$Script + ) + + $scriptString = $Script | Out-String + Write-Host "--------------------------------------------------------------------------------`n> $scriptString" + & $Script + Write-Host "" +} + +function Get-GitHubApiHeaders { + param( + [Parameter(Mandatory = $false)] + [string]$GitHubToken + ) + + $headers = @{ + 'Accept' = 'application/vnd.github+json' + 'X-GitHub-Api-Version' = '2022-11-28' + } + + if ($GitHubToken) { + $headers.Authorization = "Bearer $GitHubToken" + } + + return $headers +} + +function Get-TempDownloadPath { + $tempPath = [System.IO.Path]::GetTempPath() + return Join-Path $tempPath ([System.IO.Path]::GetRandomFileName()) +} + +function Test-GitHubRepoExists { + param( + [Parameter(Mandatory = $true)] + [string]$GitHubOwner, + + [Parameter(Mandatory = $true)] + [string]$GitHubRepository, + + [Parameter(Mandatory = $false)] + [string]$GitHubToken + ) + + $apiUrl = "https://api.github.com/repos/$GitHubOwner/$GitHubRepository" + try { + $headers = Get-GitHubApiHeaders -GitHubToken $GitHubToken + Invoke-RestMethod -Uri $apiUrl -Method Get -Headers $headers -ErrorAction Stop + return $true + } + catch { + Write-Warning "Repository check failed: $_" + return $false + } +} + +function Get-GitHubRepoContent { + [CmdletBinding()] + param( + [Parameter(Mandatory = $true)] + [string]$GitHubOwner, + + [Parameter(Mandatory = $true)] + [string]$GitHubRepository, + + [Parameter(Mandatory = $true)] + [string]$CommitHash, + + [Parameter(Mandatory = $false)] + [string]$GitHubToken, + + [Parameter(Mandatory = $true)] + [string]$SubdirectoryPath, + + [Parameter(Mandatory = $true)] + [string]$Destination + ) + + # Validate if the repository exists + if (-not (Test-GitHubRepoExists -GitHubOwner $GitHubOwner -GitHubRepository $GitHubRepository -GitHubToken $GitHubToken)) { + Write-Error "Repository '$GitHubOwner/$GitHubRepository' does not exist or is not accessible." + return $false + } + + # Create temporary directory for download + $downloadPath = Get-TempDownloadPath + New-Item -ItemType Directory -Path $downloadPath -Force | Out-Null + + try { + # Construct the download URL using GitHub API endpoint + $archiveUrl = "https://api.github.com/repos/$GitHubOwner/$GitHubRepository/zipball/$CommitHash" + $zipPath = Join-Path $downloadPath "repo.zip" + + # Get GitHub API headers with optional token + $headers = Get-GitHubApiHeaders -GitHubToken $GitHubToken + + # Download the repository + Write-Host "Downloading repository archive from $GitHubOwner/$GitHubRepository @ $CommitHash..." + Write-Host "" + Invoke-WebRequest -Uri $archiveUrl -OutFile $zipPath -Headers $headers + + # Extract the contents + Write-Host "Extracting repository contents..." + Write-Host "" + Expand-Archive -Path $zipPath -DestinationPath $downloadPath + + # Get the extracted folder name (it will be repository-commithash) + $extractedFolder = Get-ChildItem -Path $downloadPath -Directory | Select-Object -First 1 + + # Create the destination directory if it doesn't exist + New-Item -ItemType Directory -Path $Destination -Force | Out-Null + + $sourcePath = Join-Path $extractedFolder.FullName $SubdirectoryPath + if (-not (Test-Path $sourcePath)) { + Write-Error "Specified path '$SubdirectoryPath' does not exist in the repository." + return $false + } + + # Copy the contents directly to destination, preserving only the internal structure + if (Test-Path $sourcePath -PathType Container) { + Copy-Item -Path "$sourcePath\*" -Destination $Destination -Recurse -Force + } + else { + Copy-Item -Path $sourcePath -Destination $Destination -Force + } + + Write-Host "Downloaded repository contents to: $Destination" + Write-Host "" + return $true + } + catch { + Write-Error "An error occurred: $_" + return $false + } + finally { + # Cleanup temporary files + if (Test-Path $downloadPath) { + Remove-Item -Path $downloadPath -Recurse -Force + } + } +} + +function Get-LocalRepoContent { + [CmdletBinding()] + param( + [Parameter(Mandatory = $true)] + [string]$LocalRepositoryPath, + + [Parameter(Mandatory = $true)] + [string]$SubdirectoryPath, + + [Parameter(Mandatory = $true)] + [string]$Destination + ) + + try { + $sourcePath = Join-Path $LocalRepositoryPath $SubdirectoryPath + + if (-not (Test-Path $sourcePath)) { + Write-Error "Specified path '$SubdirectoryPath' does not exist in the local repository at: $LocalRepositoryPath" + return $false + } + + # Create the destination directory if it doesn't exist + New-Item -ItemType Directory -Path $Destination -Force | Out-Null + + # Copy the contents directly to destination, preserving only the internal structure + if (Test-Path $sourcePath -PathType Container) { + Copy-Item -Path "$sourcePath\*" -Destination $Destination -Recurse -Force + } + else { + Copy-Item -Path $sourcePath -Destination $Destination -Force + } + + Write-Host "Copied repository contents to: $Destination" + Write-Host "" + return $true + } + catch { + Write-Error "An error occurred: $_" + return $false + } +} + +$repoRootPath = Join-Path $PSScriptRoot .. -Resolve +$specificationFolderPath = Join-Path $repoRootPath "specification" +$baseSpecificationFolderPath = Join-Path $repoRootPath "specification\base" +$codegenFolderPath = Join-Path $repoRootPath "codegen" + +$scriptStartTime = Get-Date + +$shouldDownload = $true +if (Test-Path $baseSpecificationFolderPath) { + Write-Host "Base specification already exists at: $baseSpecificationFolderPath" + Write-Host "" + + if ($Force) { + Write-Host "Overwriting existing base specification..." + Write-Host "" + Remove-Item -Path $baseSpecificationFolderPath -Recurse -Force + } + else { + $shouldDownload = $false + } +} + +if ($shouldDownload) { + Write-Host "Retrieving base specification..." + Write-Host "" + + if ($PSCmdlet.ParameterSetName -eq 'GitHub') { + $success = Get-GitHubRepoContent -GitHubOwner $GitHubOwner ` + -GitHubRepository $GitHubRepository ` + -CommitHash $CommitHash ` + -GitHubToken $GitHubToken ` + -SubdirectoryPath "openai-in-typespec" ` + -Destination $baseSpecificationFolderPath + } + elseif ($PSCmdlet.ParameterSetName -eq 'Local') { + $success = Get-LocalRepoContent -LocalRepositoryPath $LocalRepositoryPath ` + -SubdirectoryPath "openai-in-typespec" ` + -Destination $baseSpecificationFolderPath + } + + if (-not $success) { + Write-Error "Failed to get repository contents." + throw "Repository content retrieval failed." + } +} + +Push-Location $repoRootPath + +try { + Invoke-ScriptWithLogging { npm ci } + Invoke-ScriptWithLogging { npm run build -w $codegenFolderPath } + + Set-Location $specificationFolderPath + Invoke-ScriptWithLogging { npm exec --no -- tsp compile . } +} +finally { + Pop-Location +} + +$scriptElapsed = $(Get-Date) - $scriptStartTime +$scriptElapsedSeconds = [math]::Round($scriptElapsed.TotalSeconds, 1) +$scriptName = $MyInvocation.MyCommand.Name + +Write-Host "${scriptName} completed. Time: ${scriptElapsedSeconds}s" +Write-Host "" \ No newline at end of file diff --git a/scripts/Test-AotCompatibility.ps1 b/scripts/Test-AotCompatibility.ps1 new file mode 100644 index 000000000..7b776b356 --- /dev/null +++ b/scripts/Test-AotCompatibility.ps1 @@ -0,0 +1,131 @@ +$repoRootPath = Join-Path $PSScriptRoot .. -Resolve +$expectedWarningsFilePath = Join-Path -Path $repoRootPath "src\ExpectedWarnings.txt" +$libraryCsprojFilePath = Join-Path $repoRootPath "src\OpenAI.csproj" +$packageName = "OpenAI" + +Write-Host "Creating test app..." + +$tempFolderPath = Join-Path $repoRootPath "\TempAotCompatibility" +New-Item -ItemType Directory -Path $tempFolderPath | Out-Null +Push-Location $tempFolderPath + +$tempCsprojFilePath = Join-Path $tempFolderPath "AotCompatibility.csproj" +$tempCsprojFileContent = @" + + + Exe + net8.0 + true + + + + + + + + true + false + + + + + + +"@ +$tempCsprojFileContent | Set-Content -Path $tempCsprojFilePath + +$tempProgramFilePath = Join-Path $tempFolderPath "Program.cs" +$tempProgramFileContent = @" +using $packageName; +using System; +namespace AotCompatibility +{ + internal class Program + { + static void Main(string[] args) + { + System.Console.WriteLine("Hello, World!"); + } + } +} +"@ +$tempProgramFileContent | Set-Content -Path $tempProgramFilePath + +try { + Write-Host + Write-Host "Publishing test app..." + + dotnet clean AotCompatibility.csproj | Out-Null + dotnet restore AotCompatibility.csproj | Out-Null + $publishOutput = dotnet publish AotCompatibility.csproj -nodeReuse:false /p:UseSharedCompilation=false /p:ExposeExperimentalFeatures=true + + if ($LASTEXITCODE -eq 0) { + Write-Host + Write-Host "Parsing the result for any reported warnings..." + $actualWarningCount = 0 + foreach ($line in $($publishOutput -split "`r`n")) { + if ($line -like "*analysis warning IL*") + { + $actualWarningCount += 1 + } + } + + Write-Host "Found $actualWarningCount warnings reported while publishing." + + $expectedWarningCount = 0 + $unexpectedWarningCount = 0 + + if (Test-Path $expectedWarningsFilePath -PathType Leaf) { + # Read the contents of the file and store each line in an array + $expectedWarnings = Get-Content -Path $expectedWarningsFullPath + $expectedWarningCount = $expectedWarnings.Count + + ### Comparing expected warnings to the publish output ### + Write-Host "Found a list of expected warnings containing $expectedWarningCount expected warnings." + Write-Host "Comparing the reported warnings against the list of expected warnings..." + $unexpectedWarnings = $publishOutput -split "`n" | select-string -pattern 'IL\d+' | select-string -pattern '##' -notmatch | select-string -pattern $expectedWarnings -notmatch + $unexpectedWarningCount = $unexpectedWarnings.Count + } + else { + # If no correct expected warnings were provided, check that there are no warnings reported. + Write-Host "Could not find a list of expected warnings, therefore assuming that all reported warnings are unexpected." + $unexpectedWarnings = $publishOutput -split "`n" | select-string -pattern 'IL\d+' | select-string -pattern '##' -notmatch + $unexpectedWarningCount = $unexpectedWarnings.Count + } + + if ($unexpectedWarningCount -gt 0) { + Write-Host + Write-Host "Found $unexpectedWarningCount unexpected warnings." + foreach ($unexpectedWarning in $unexpectedWarnings) { + Write-Host + Write-Host $unexpectedWarning + } + } + else { + Write-Host + Write-Host "No unexpected warnings found." + } + + if (($expectedWarningCount -gt 0) -and ($expectedWarningCount -ne $actualWarningCount)) { + Write-Host + throw "The number of expected warnings ($expectedWarningCount) was different than the number of reported warnings ($actualWarningCount).`nFor help with this check, please see https://github.com/Azure/azure-sdk-for-net/tree/main/doc/dev/AotRegressionChecks.md." + } + elseif ($unexpectedWarningCount -gt 0) { + Write-Host + throw "The number of unexpected warnings ($unexpectedWarningCount) was greater than zero.`nFor help with this check, please see https://github.com/Azure/azure-sdk-for-net/tree/main/doc/dev/AotRegressionChecks.md." + } + } + else { + Write-Host + Write-Host $publishOutput + + Write-Host + throw "Publishing failed.`nFor help with this check, please see https://github.com/Azure/azure-sdk-for-net/tree/main/doc/dev/AotRegressionChecks.md." + } +} +finally { + Write-Host + Write-Host "Deleting test app and cleaning up..." + Pop-Location + Remove-Item -Path $tempFolderPath -Recurse -Force +} \ No newline at end of file diff --git a/scripts/Test-ApiCompatibility.ps1 b/scripts/Test-ApiCompatibility.ps1 new file mode 100644 index 000000000..fe0c5eed3 --- /dev/null +++ b/scripts/Test-ApiCompatibility.ps1 @@ -0,0 +1,169 @@ +<# +.SYNOPSIS + Validates API compatibility between different versions of a .NET NuGet package. + +.DESCRIPTION + This script performs API compatibility checks between a current version of a .NET package + and a specified baseline version from NuGet.org. It uses the 'apicompat' tool to detect + breaking changes and supports excluding specific namespaces from the comparison. + + The script performs these operations in sequence: + 1. Builds and packs the current version of the package + 2. Downloads the specified baseline version from NuGet.org + 3. Compares the two versions using the 'apicompat' tool + 4. Reports any breaking changes found in non-ignored namespaces + +.PARAMETER ProjectPath + The path to the .NET project file (.csproj) to build and analyze + +.PARAMETER ReleasePath + The output directory where the built package will be placed + +.PARAMETER PackageName + The name of the NuGet package to compare + +.PARAMETER BaselineVersion + The version number of the baseline package to compare against + +.PARAMETER IgnoredNamespaces + An optional array of namespace names to exclude from the compatibility check + +.EXAMPLE + .\Test-ApiCompatibility.ps1 + Runs the compatibility check using default parameters for the OpenAI SDK + +.EXAMPLE + Invoke-APICompat -ProjectPath "src\MyProject.csproj" -ReleasePath "src\bin\Release" -PackageName "MyPackage" -BaselineVersion "1.0.0" + Runs a compatibility check between the current version and version 1.0.0 of MyPackage + +.NOTES + The script will generate warnings if breaking changes are detected in non-ignored namespaces. +#> + +function Invoke-DotNetBuild { + param( + [Parameter(Mandatory = $true)] + [string]$ProjectPath + ) + + Write-Output "Building $($ProjectPath)..." + Write-Output "" + & dotnet build $ProjectPath + Write-Output "" +} + +function Invoke-DotNetPack { + param( + [Parameter(Mandatory = $true)] + [string]$ProjectPath + ) + + Write-Output "Packing $($ProjectPath)..." + Write-Output "" + & dotnet pack $ProjectPath + Write-Output "" +} + +function Invoke-APICompat { + param ( + [Parameter(Mandatory = $true)] + [string]$ProjectPath, + + [Parameter(Mandatory = $true)] + [string]$ReleasePath, + + [Parameter(Mandatory = $true)] + [string]$PackageName, + + [Parameter(Mandatory = $true)] + [string]$BaselineVersion, + + [Parameter(Mandatory = $false)] + [string[]]$IgnoredNamespaces + ) + + try + { + Invoke-DotNetBuild -ProjectPath $ProjectPath + + Invoke-DotNetPack -ProjectPath $ProjectPath + + # Extract the values of VersionPrefix and VersionSuffix from the .csproj XML file. + $xml = [xml](Get-Content $ProjectPath) + $versionPrefix = $($xml.Project.PropertyGroup[0].VersionPrefix) + $versionSuffix = $($xml.Project.PropertyGroup[0].VersionSuffix) + $currentVersion = [string]::IsNullOrEmpty($versionSuffix) ? "$($versionPrefix)" : "$($versionPrefix)-$($versionSuffix)" + + $currentNuGetPackagePath = Join-Path $ReleasePath "$($PackageName).$($currentVersion).nupkg" + $currentNuGetSymbolsPath = Join-Path $ReleasePath "$($PackageName).$($currentVersion).snupkg" + + # Create temporary folder + $tempFolderPath = Join-Path $PSScriptRoot "\TempApiCompatibility" + New-Item -ItemType Directory -Path $tempFolderPath | Out-Null + + # Download OpenAI NuGet package + $baselineNuGetPackageName = "$($PackageName).$($BaselineVersion).nupkg" + $baselineNuGetPackagePath = Join-Path $tempFolderPath $baselineNuGetPackageName + $baselineNuGetPackageUrl = "https://www.nuget.org/api/v2/package/$($PackageName)/$($BaselineVersion)" + Invoke-RestMethod -Uri $baselineNuGetPackageUrl -OutFile $baselineNuGetPackagePath + Sleep 10 + + Write-Output "Testing API compatibility between versions $($currentVersion) (current) and $($BaselineVersion) (baseline)..." + Write-Output "" + + # Run apicompat and redirect the error output to a variable + $output = apicompat package $currentNuGetPackagePath --baseline-package $baselineNuGetPackagePath 2>&1 + + # Individual warnings from apicompat have identifiers such as "CP0001", "CP0002", etc. + $warningRegex = "CP\d\d\d\d" + + # Concatenate the ignored namespaces into a single string, delimiting them by "|" and escaping the "." + $ignoredRegex = $IgnoredNamespaces -join "|" -creplace "\.", "\." + + Write-Output $excludedRegex + + $warningsFound = 0 + + foreach ($line in $($output -split "`r`n")) { + if ($line -cmatch $warningRegex) { + if ($($line -cnotmatch $ignoredRegex)) { + $warningsFound++ + } + } + } + + if ($warningsFound -eq 0) { + Write-Output "No API breaking changes found." + Write-Output "" + } + else { + foreach ($line in $($output -split "`r`n")) { + if ($line -cmatch $warningRegex) { + if ($($line -cnotmatch $ignoredRegex)){ + Write-Warning "$line" + Write-Output "" + } + } + else { + Write-Output "$line" + Write-Output "" + } + } + } + } + finally { + Remove-Item -Path $tempFolderPath -Recurse -Force + Remove-Item -Path $currentNuGetPackagePath -Force + Remove-Item -Path $currentNuGetSymbolsPath -Force + } +} + +$repoRootPath = Join-Path $PSScriptRoot .. -Resolve +$projectPath = Join-Path $repoRootPath "src\OpenAI.csproj" +$releasePath = Join-Path $repoRootPath "src\bin\Release" + +Invoke-APICompat -ProjectPath $projectPath ` + -ReleasePath $releasePath ` + -PackageName "OpenAI" ` + -BaselineVersion "2.1.0" ` + -IgnoredNamespaces "OpenAI.Assistants", "OpenAI.Batch", "OpenAI.FineTuning", "OpenAI.Realtime", "OpenAI.VectorStores" \ No newline at end of file diff --git a/specification/client/assistants.client.tsp b/specification/client/assistants.client.tsp new file mode 100644 index 000000000..e0734b14d --- /dev/null +++ b/specification/client/assistants.client.tsp @@ -0,0 +1,11 @@ +import "../base/typespec/assistants/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@visibility(ListAssistantsResponse.data, Lifecycle.Read); +@@visibility(AssistantObject.tools, Lifecycle.Read); +@@visibility(AssistantObject.metadata, Lifecycle.Read); + +@@clientName(Assistants.listAssistants, "GetAssistants"); diff --git a/specification/client/audio.client.tsp b/specification/client/audio.client.tsp new file mode 100644 index 000000000..8b419d2e8 --- /dev/null +++ b/specification/client/audio.client.tsp @@ -0,0 +1,14 @@ +import "../base/typespec/audio/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@visibility(CreateTranscriptionResponseVerboseJson.words, Lifecycle.Read); +@@visibility(CreateTranscriptionResponseVerboseJson.segments, Lifecycle.Read); + +@@visibility(CreateTranslationResponseVerboseJson.segments, Lifecycle.Read); + +@@clientName(Audio.createSpeech, "GenerateSpeech"); +@@clientName(Audio.createTranscription, "TranscribeAudio"); +@@clientName(Audio.createTranslation, "TranslateAudio"); diff --git a/specification/client/batch.client.tsp b/specification/client/batch.client.tsp new file mode 100644 index 000000000..3fed485dc --- /dev/null +++ b/specification/client/batch.client.tsp @@ -0,0 +1,14 @@ +import "../base/typespec/batch/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@access(BatchRequestInput, Access.public); +@@usage(BatchRequestInput, Usage.input); + +@@access(BatchRequestOutput, Access.public); +@@usage(BatchRequestOutput, Usage.output); + +@@clientName(Batches.listBatches, "GetBatches"); +@@clientName(Batches.retrieveBatch, "GetBatch"); diff --git a/specification/client/chat.client.tsp b/specification/client/chat.client.tsp new file mode 100644 index 000000000..0613867fb --- /dev/null +++ b/specification/client/chat.client.tsp @@ -0,0 +1,19 @@ +import "../base/typespec/chat/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@access(ChatCompletionFunctionChoice, Access.public); +@@usage(ChatCompletionFunctionChoice, Usage.input); + +@@access(ChatCompletionToolChoice, Access.public); +@@usage(ChatCompletionToolChoice, Usage.input); + +@@access(CreateChatCompletionStreamResponse, Access.public); +@@usage(CreateChatCompletionStreamResponse, Usage.output); + +@@visibility(ChatCompletionResponseMessage.tool_calls, Lifecycle.Read); +@@visibility(ChatCompletionStreamResponseDelta.tool_calls, Lifecycle.Read); + +@@clientName(Chat.createChatCompletion, "CompleteChat"); diff --git a/specification/client/embeddings.client.tsp b/specification/client/embeddings.client.tsp new file mode 100644 index 000000000..4ea6a8929 --- /dev/null +++ b/specification/client/embeddings.client.tsp @@ -0,0 +1,7 @@ +import "../base/typespec/embeddings/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@clientName(Embeddings.createEmbedding, "GenerateEmbeddings"); diff --git a/specification/client/files.client.tsp b/specification/client/files.client.tsp new file mode 100644 index 000000000..39f1d8909 --- /dev/null +++ b/specification/client/files.client.tsp @@ -0,0 +1,9 @@ +import "../base/typespec/files/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@clientName(Files.createFile, "UploadFile"); +@@clientName(Files.listFiles, "GetFiles"); +@@clientName(Files.retrieveFile, "GetFile"); diff --git a/specification/client/fine-tuning.client.tsp b/specification/client/fine-tuning.client.tsp new file mode 100644 index 000000000..6cff91dda --- /dev/null +++ b/specification/client/fine-tuning.client.tsp @@ -0,0 +1,31 @@ +import "../base/typespec/fine-tuning/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@access(FineTuneChatRequestInput, Access.public); +@@usage(FineTuneChatRequestInput, Usage.input); + +@@access(FineTuningJobsPageToken, Access.public); +@@usage(FineTuningJobsPageToken, Usage.input); + +@@access(CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum, Access.public); +@@usage(CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum, Usage.input); +@@access(CreateFineTuningJobRequestHyperparametersNEpochsOption, Access.public); +@@usage(CreateFineTuningJobRequestHyperparametersNEpochsOption, Usage.input); + +@@access(CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum, Access.public); +@@usage(CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum, Usage.input); +@@access(CreateFineTuningJobRequestHyperparametersLearningRateMultiplierOption, Access.public); +@@usage(CreateFineTuningJobRequestHyperparametersLearningRateMultiplierOption, Usage.input); + +@@access(CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum, Access.public); +@@usage(CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum, Usage.input); +@@access(CreateFineTuningJobRequestHyperparametersBatchSizeOption, Access.public); +@@usage(CreateFineTuningJobRequestHyperparametersBatchSizeOption, Usage.input); + +@@access(CreateFineTuningJobRequestHyperparametersBetaChoiceEnum, Access.public); +@@usage(CreateFineTuningJobRequestHyperparametersBetaChoiceEnum, Usage.input); +@@access(CreateFineTuningJobRequestHyperparametersBetaOption, Access.public); +@@usage(CreateFineTuningJobRequestHyperparametersBetaOption, Usage.input); diff --git a/specification/client/images.client.tsp b/specification/client/images.client.tsp new file mode 100644 index 000000000..aab4c2549 --- /dev/null +++ b/specification/client/images.client.tsp @@ -0,0 +1,9 @@ +import "../base/typespec/images/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@clientName(Images.createImage, "GenerateImages"); +@@clientName(Images.createImageEdit, "GenerateImageEdits"); +@@clientName(Images.createImageVariation, "GenerateImageVariations"); diff --git a/specification/client/messages.client.tsp b/specification/client/messages.client.tsp new file mode 100644 index 000000000..9cd5fa10b --- /dev/null +++ b/specification/client/messages.client.tsp @@ -0,0 +1,65 @@ +import "../base/typespec/messages/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +// +@@access(MessageContent, Access.public); +@@usage(MessageContent, Usage.input | Usage.output); + +@@access(MessageContentImageFileObject, Access.public); +@@usage(MessageContentImageFileObject, Usage.input | Usage.output); + +@@access(MessageContentTextObject, Access.public); +@@usage(MessageContentTextObject, Usage.input | Usage.output); + +@@access(MessageContentImageUrlObject, Access.public); +@@usage(MessageContentImageUrlObject, Usage.input | Usage.output); + +@@access(MessageContentRefusalObject, Access.public); +@@usage(MessageContentRefusalObject, Usage.input | Usage.output); + +@@access(MessageRequestContentTextObject, Access.public); +@@usage(MessageRequestContentTextObject, Usage.input | Usage.output); + +@@access(MessageContentTextObjectAnnotation, Access.public); +@@usage(MessageContentTextObjectAnnotation, Usage.input | Usage.output); + +@@access(MessageContentTextAnnotationsFileCitationObject, Access.public); +@@usage(MessageContentTextAnnotationsFileCitationObject, Usage.input | Usage.output); + +@@access(MessageContentTextAnnotationsFilePathObject, Access.public); +@@usage(MessageContentTextAnnotationsFilePathObject, Usage.input | Usage.output); + +// +@@access(MessageDeltaContent, Access.public); +@@usage(MessageDeltaContent, Usage.output); + +@@access(MessageDeltaContentImageFileObject, Access.public); +@@usage(MessageDeltaContentImageFileObject, Usage.output); + +@@access(MessageDeltaContentImageUrlObject, Access.public); +@@usage(MessageDeltaContentImageUrlObject, Usage.output); + +@@access(MessageDeltaContentTextObject, Access.public); +@@usage(MessageDeltaContentTextObject, Usage.output); + +// +@@access(MessageDeltaObject, Access.public); +@@usage(MessageDeltaObject, Usage.output); + +// +@@access(MessageDeltaTextContentAnnotation, Access.public); +@@usage(MessageDeltaTextContentAnnotation, Usage.output); + +@@access(MessageDeltaContentTextAnnotationsFileCitationObject, Access.public); +@@usage(MessageDeltaContentTextAnnotationsFileCitationObject, Usage.output); + +@@access(MessageDeltaContentTextAnnotationsFilePathObject, Access.public); +@@usage(MessageDeltaContentTextAnnotationsFilePathObject, Usage.output); + +@@visibility(ListMessagesResponse.data, Lifecycle.Read); + +@@visibility(MessageObject.content, Lifecycle.Read); +@@visibility(MessageObject.metadata, Lifecycle.Read); diff --git a/specification/client/models/audio.models.tsp b/specification/client/models/audio.models.tsp new file mode 100644 index 000000000..6ddc3725b --- /dev/null +++ b/specification/client/models/audio.models.tsp @@ -0,0 +1,13 @@ +import "../../base/typespec/audio/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +namespace OpenAI; + +@access(Access.public) +@usage(Usage.output) +model DotNetCombinedJsonTranscriptionResponse { + ...CreateTranscriptionResponseVerboseJson; + logprobs?: LogProbProperties[]; +} diff --git a/specification/client/models/common.models.tsp b/specification/client/models/common.models.tsp new file mode 100644 index 000000000..2ea91f3da --- /dev/null +++ b/specification/client/models/common.models.tsp @@ -0,0 +1,126 @@ +import "../../base/typespec/common/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +namespace OpenAI; + +// Here, we create scenario-specific copies of types for the .NET SDK. + +@access(Access.public) +@usage(Usage.input | Usage.output) +union DotNetResponseReasoningEffortLevel { + ReasoningEffort, +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +union DotNetResponseWebSearchContextSize { + // WebSearchPreviewTool.search_context_size, + low: "low", + + medium: "medium", + high: "high", +} + +// ResponseFormat + +@access(Access.public) +@usage(Usage.input | Usage.output) +@discriminator("type") +model DotNetChatResponseFormat { + ...ResponseFormat; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetChatResponseFormatText extends DotNetChatResponseFormat { + ...ResponseFormatText; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetChatResponseFormatJsonObject extends DotNetChatResponseFormat { + ...ResponseFormatJsonObject; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetChatResponseFormatJsonSchema extends DotNetChatResponseFormat { + type: "json_schema"; + json_schema: { + description?: string; + name: string; + schema?: unknown; + strict?: boolean | null = false; + }; +} + +// DotNetAssistantResponseFormat + +@access(Access.public) +@usage(Usage.input | Usage.output) +@discriminator("type") +model DotNetAssistantResponseFormat { + ...ResponseFormat; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetAssistantResponseFormatText extends DotNetAssistantResponseFormat { + ...ResponseFormatText; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetAssistantResponseFormatJsonObject + extends DotNetAssistantResponseFormat { + ...ResponseFormatJsonObject; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetAssistantResponseFormatJsonSchema + extends DotNetAssistantResponseFormat { + type: "json_schema"; + json_schema: { + description?: string; + name: string; + schema?: unknown; + strict?: boolean | null = false; + }; +} + +// LogProbProperties + +@access(Access.public) +@usage(Usage.output) +model DotNetAudioLogProbsProperties { + ...LogProbProperties; +} + +@access(Access.public) +@usage(Usage.output) +model DotNetRealtimeLogProbsProperties { + ...LogProbProperties; +} + +// VoiceIdsShared + +@access(Access.public) +@usage(Usage.input | Usage.output) +union DotNetAudioVoiceIds { + VoiceIdsShared, +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +union DotNetChatVoiceIds { + VoiceIdsShared, +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +union DotNetRealtimeVoiceIds { + VoiceIdsShared, +} diff --git a/specification/client/models/responses.models.tsp b/specification/client/models/responses.models.tsp new file mode 100644 index 000000000..44e3e4a3b --- /dev/null +++ b/specification/client/models/responses.models.tsp @@ -0,0 +1,27 @@ +import "../../base/typespec/responses/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +namespace OpenAI; + +@access(Access.public) +@usage(Usage.input | Usage.output) +@discriminator("type") +model DotnetResponseWebSearchLocation { + ...Location; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotnetResponseWebSearchApproximateLocation + extends DotnetResponseWebSearchLocation { + ...ApproximateLocation; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetItemReferenceItemResource extends ItemResource { + type: ItemType.item_reference; + ...ItemReferenceItemBase; +} diff --git a/specification/client/models/vector-stores.models.tsp b/specification/client/models/vector-stores.models.tsp new file mode 100644 index 000000000..ec3498e87 --- /dev/null +++ b/specification/client/models/vector-stores.models.tsp @@ -0,0 +1,34 @@ +import "../../base/typespec/vector-stores/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +namespace OpenAI; + +// This artificial type facilitates the merged representation of input/output chunking strategy values. + +@discriminator("type") +model DotNetCombinedChunkingStrategyParam { + type: "auto" | "static" | "other"; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetCombinedAutoChunkingStrategyParam + extends DotNetCombinedChunkingStrategyParam { + ...AutoChunkingStrategyRequestParam; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetCombinedStaticChunkingStrategyParam + extends DotNetCombinedChunkingStrategyParam { + ...StaticChunkingStrategyResponseParam; +} + +@access(Access.public) +@usage(Usage.input | Usage.output) +model DotNetCombinedOtherChunkingStrategyParam + extends DotNetCombinedChunkingStrategyParam { + ...OtherChunkingStrategyResponseParam; +} diff --git a/specification/client/moderations.client.tsp b/specification/client/moderations.client.tsp new file mode 100644 index 000000000..5e9deb729 --- /dev/null +++ b/specification/client/moderations.client.tsp @@ -0,0 +1,7 @@ +import "../base/typespec/moderations/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@clientName(Moderations.createModeration, "ClassifyText"); diff --git a/specification/client/runs.client.tsp b/specification/client/runs.client.tsp new file mode 100644 index 000000000..8a5c0d0fb --- /dev/null +++ b/specification/client/runs.client.tsp @@ -0,0 +1,39 @@ +import "../base/typespec/runs/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@access(RunStepDeltaObject, Access.public); +@@usage(RunStepDeltaObject, Usage.output); + +@@access(RunStepDeltaStepDetailsMessageCreationObject, Access.public); +@@usage(RunStepDeltaStepDetailsMessageCreationObject, Usage.output); + +@@access(RunStepDeltaStepDetailsToolCallsObject, Access.public); +@@usage(RunStepDeltaStepDetailsToolCallsObject, Usage.output); + +@@access(RunStepDeltaStepDetailsToolCallsCodeObject, Access.public); +@@usage(RunStepDeltaStepDetailsToolCallsCodeObject, Usage.output); + +@@access(RunStepDeltaStepDetailsToolCallsFileSearchObject, Access.public); +@@usage(RunStepDeltaStepDetailsToolCallsFileSearchObject, Usage.output); + +@@access(RunStepDeltaStepDetailsToolCallsFunctionObject, Access.public); +@@usage(RunStepDeltaStepDetailsToolCallsFunctionObject, Usage.output); + +@@access(RunStepDeltaStepDetailsToolCallsCodeOutputImageObject, Access.public); +@@usage(RunStepDeltaStepDetailsToolCallsCodeOutputImageObject, Usage.output); + +@@access(RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject, Access.public); +@@usage(RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject, Usage.output); + +@@visibility(RunStepObject.metadata, Lifecycle.Read); + +@@visibility(RunObject.metadata, Lifecycle.Read); +@@visibility(RunObject.tools, Lifecycle.Read); + +@@visibility(RunStepDetailsToolCallsFileSearchResultObject.content, Lifecycle.Read); + +@@visibility(ListRunStepsResponse.data, Lifecycle.Read); +@@visibility(ListRunsResponse.data, Lifecycle.Read); diff --git a/specification/client/threads.client.tsp b/specification/client/threads.client.tsp new file mode 100644 index 000000000..9a942fc7f --- /dev/null +++ b/specification/client/threads.client.tsp @@ -0,0 +1,10 @@ +import "../base/typespec/threads/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@access(CreateThreadRequestToolResourcesFileSearchBase, Access.public); +@@usage(CreateThreadRequestToolResourcesFileSearchBase, Usage.input); + +@@visibility(ThreadObject.metadata, Lifecycle.Read); diff --git a/specification/client/vector-stores.client.tsp b/specification/client/vector-stores.client.tsp new file mode 100644 index 000000000..128d1cb7a --- /dev/null +++ b/specification/client/vector-stores.client.tsp @@ -0,0 +1,15 @@ +import "../base/typespec/vector-stores/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using OpenAI; +using Azure.ClientGenerator.Core; + +@@visibility(ListVectorStoresResponse.data, Lifecycle.Read); +@@visibility(ListVectorStoreFilesResponse.data, Lifecycle.Read); + +@@visibility(VectorStoreObject.metadata, Lifecycle.Read); + +@@clientName(VectorStores.deleteVectorStoreFile, "RemoveFileFromStore"); +@@clientName(VectorStores.cancelVectorStoreFileBatch, "CancelBatchFileJob"); +@@clientName(VectorStores.getVectorStoreFile, "GetFileAssociation"); +@@clientName(VectorStores.listVectorStores, "GetVectorStores"); diff --git a/specification/main.tsp b/specification/main.tsp new file mode 100644 index 000000000..db5d7d3b9 --- /dev/null +++ b/specification/main.tsp @@ -0,0 +1,20 @@ +import "./client/assistants.client.tsp"; +import "./client/audio.client.tsp"; +import "./client/batch.client.tsp"; +import "./client/chat.client.tsp"; +import "./client/embeddings.client.tsp"; +import "./client/files.client.tsp"; +import "./client/fine-tuning.client.tsp"; +import "./client/images.client.tsp"; +import "./client/messages.client.tsp"; +import "./client/moderations.client.tsp"; +import "./client/runs.client.tsp"; +import "./client/threads.client.tsp"; +import "./client/vector-stores.client.tsp"; + +import "./client/models/audio.models.tsp"; +import "./client/models/common.models.tsp"; +import "./client/models/responses.models.tsp"; +import "./client/models/vector-stores.models.tsp"; + +import "./base/entrypoints/sdk.dotnet"; diff --git a/specification/tspconfig.yaml b/specification/tspconfig.yaml new file mode 100644 index 000000000..63bb48678 --- /dev/null +++ b/specification/tspconfig.yaml @@ -0,0 +1,15 @@ +emit: + - "@open-ai/plugin" +options: + "@typespec/http-client-csharp": + emitter-output-dir: "{project-root}/.." + unreferenced-types-handling: keepAll + disable-xml-docs: true + enable-internal-raw-data: true + save-inputs: true + generate-model-factory: false + "@open-ai/plugin": + emitter-output-dir: "{project-root}/.." + unreferenced-types-handling: keepAll + disable-xml-docs: true + save-inputs: true diff --git a/src/Custom/Assistants/Assistant.cs b/src/Custom/Assistants/Assistant.cs index 5a8c27ffe..90c0e8ad7 100644 --- a/src/Custom/Assistants/Assistant.cs +++ b/src/Custom/Assistants/Assistant.cs @@ -5,7 +5,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("AssistantObject")] public partial class Assistant { diff --git a/src/Custom/Assistants/AssistantClient.Protocol.cs b/src/Custom/Assistants/AssistantClient.Protocol.cs index e964ca737..19d17b431 100644 --- a/src/Custom/Assistants/AssistantClient.Protocol.cs +++ b/src/Custom/Assistants/AssistantClient.Protocol.cs @@ -6,44 +6,10 @@ namespace OpenAI.Assistants; -[CodeGenSuppress("ListAssistantsAsync", typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("ListAssistants", typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] +[CodeGenSuppress("GetAssistantsAsync", typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] +[CodeGenSuppress("GetAssistants", typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] public partial class AssistantClient { - /// - /// [Protocol Method] Create an assistant with a model and instructions. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task CreateAssistantAsync(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateAssistantRequest(content, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Create an assistant with a model and instructions. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult CreateAssistant(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateAssistantRequest(content, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - /// /// [Protocol Method] Returns a paginated collection of assistants. /// @@ -68,7 +34,6 @@ public virtual ClientResult CreateAssistant(BinaryContent content, RequestOption /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetAssistantsAsync(int? limit, string order, string after, string before, RequestOptions options) { return new AsyncAssistantCollectionResult(this, Pipeline, options, limit, order, after, before); @@ -98,131 +63,16 @@ public virtual AsyncCollectionResult GetAssistantsAsync(int? limit, string order /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetAssistants(int? limit, string order, string after, string before, RequestOptions options) { return new AssistantCollectionResult(this, Pipeline, options, limit, order, after, before); } - /// - /// [Protocol Method] Retrieves an assistant. - /// - /// The ID of the assistant to retrieve. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GetAssistantAsync(string assistantId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); - - using PipelineMessage message = CreateGetAssistantRequest(assistantId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Retrieves an assistant. - /// - /// The ID of the assistant to retrieve. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GetAssistant(string assistantId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); - - using PipelineMessage message = CreateGetAssistantRequest(assistantId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Modifies an assistant. - /// - /// The ID of the assistant to modify. - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task ModifyAssistantAsync(string assistantId, BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateModifyAssistantRequest(assistantId, content, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Modifies an assistant. - /// - /// The ID of the assistant to modify. - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult ModifyAssistant(string assistantId, BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateModifyAssistantRequest(assistantId, content, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Delete an assistant. - /// - /// The ID of the assistant to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task DeleteAssistantAsync(string assistantId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); - - using PipelineMessage message = CreateDeleteAssistantRequest(assistantId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Delete an assistant. - /// - /// The ID of the assistant to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult DeleteAssistant(string assistantId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); - - using PipelineMessage message = CreateDeleteAssistantRequest(assistantId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateMessageAsync(string threadId, BinaryContent content, RequestOptions options = null) => _messageSubClient.CreateMessageAsync(threadId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateMessage(string threadId, BinaryContent content, RequestOptions options = null) => _messageSubClient.CreateMessage(threadId, content, options); @@ -253,7 +103,6 @@ public virtual ClientResult CreateMessage(string threadId, BinaryContent content /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetMessagesAsync(string threadId, int? limit, string order, string after, string before, RequestOptions options) { Argument.AssertNotNullOrEmpty(threadId, nameof(threadId)); @@ -288,7 +137,6 @@ public virtual AsyncCollectionResult GetMessagesAsync(string threadId, int? limi /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetMessages(string threadId, int? limit, string order, string after, string before, RequestOptions options) { Argument.AssertNotNullOrEmpty(threadId, nameof(threadId)); @@ -297,52 +145,42 @@ public virtual CollectionResult GetMessages(string threadId, int? limit, string } /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetMessageAsync(string threadId, string messageId, RequestOptions options) => _messageSubClient.GetMessageAsync(threadId, messageId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetMessage(string threadId, string messageId, RequestOptions options) => _messageSubClient.GetMessage(threadId, messageId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyMessageAsync(string threadId, string messageId, BinaryContent content, RequestOptions options = null) => _messageSubClient.ModifyMessageAsync(threadId, messageId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyMessage(string threadId, string messageId, BinaryContent content, RequestOptions options = null) => _messageSubClient.ModifyMessage(threadId, messageId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteMessageAsync(string threadId, string messageId, RequestOptions options) => _messageSubClient.DeleteMessageAsync(threadId, messageId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteMessage(string threadId, string messageId, RequestOptions options) => _messageSubClient.DeleteMessage(threadId, messageId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateThreadAndRunAsync(BinaryContent content, RequestOptions options = null) => _runSubClient.CreateThreadAndRunAsync(content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateThreadAndRun(BinaryContent content, RequestOptions options = null) => _runSubClient.CreateThreadAndRun(content, options = null); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateRunAsync(string threadId, BinaryContent content, RequestOptions options = null) => _runSubClient.CreateRunAsync(threadId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateRun(string threadId, BinaryContent content, RequestOptions options = null) => _runSubClient.CreateRun(threadId, content, options); @@ -373,7 +211,6 @@ public virtual ClientResult CreateRun(string threadId, BinaryContent content, Re /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetRunsAsync(string threadId, int? limit, string order, string after, string before, RequestOptions options) { Argument.AssertNotNullOrEmpty(threadId, nameof(threadId)); @@ -408,7 +245,6 @@ public virtual AsyncCollectionResult GetRunsAsync(string threadId, int? limit, s /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetRuns(string threadId, int? limit, string order, string after, string before, RequestOptions options) { Argument.AssertNotNullOrEmpty(threadId, nameof(threadId)); @@ -417,42 +253,34 @@ public virtual CollectionResult GetRuns(string threadId, int? limit, string orde } /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetRunAsync(string threadId, string runId, RequestOptions options) => _runSubClient.GetRunAsync(threadId, runId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetRun(string threadId, string runId, RequestOptions options) => _runSubClient.GetRun(threadId, runId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyRunAsync(string threadId, string runId, BinaryContent content, RequestOptions options = null) => _runSubClient.ModifyRunAsync(threadId, runId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyRun(string threadId, string runId, BinaryContent content, RequestOptions options = null) => _runSubClient.ModifyRun(threadId, runId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CancelRunAsync(string threadId, string runId, RequestOptions options) => _runSubClient.CancelRunAsync(threadId, runId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CancelRun(string threadId, string runId, RequestOptions options) => _runSubClient.CancelRun(threadId, runId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task SubmitToolOutputsToRunAsync(string threadId, string runId, BinaryContent content, RequestOptions options = null) => _runSubClient.SubmitToolOutputsToRunAsync(threadId, runId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult SubmitToolOutputsToRun(string threadId, string runId, BinaryContent content, RequestOptions options = null) => _runSubClient.SubmitToolOutputsToRun(threadId, runId, content, options); @@ -484,7 +312,6 @@ public virtual ClientResult SubmitToolOutputsToRun(string threadId, string runId /// or is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetRunStepsAsync(string threadId, string runId, int? limit, string order, string after, string before, RequestOptions options) { Argument.AssertNotNullOrEmpty(threadId, nameof(threadId)); @@ -521,7 +348,6 @@ public virtual AsyncCollectionResult GetRunStepsAsync(string threadId, string ru /// or is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetRunSteps(string threadId, string runId, int? limit, string order, string after, string before, RequestOptions options) { Argument.AssertNotNullOrEmpty(threadId, nameof(threadId)); @@ -531,52 +357,42 @@ public virtual CollectionResult GetRunSteps(string threadId, string runId, int? } /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetRunStepAsync(string threadId, string runId, string stepId, RequestOptions options) => _runSubClient.GetRunStepAsync(threadId, runId, stepId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetRunStep(string threadId, string runId, string stepId, RequestOptions options) => _runSubClient.GetRunStep(threadId, runId, stepId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task CreateThreadAsync(BinaryContent content, RequestOptions options = null) => _threadSubClient.CreateThreadAsync(content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult CreateThread(BinaryContent content, RequestOptions options = null) => _threadSubClient.CreateThread(content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetThreadAsync(string threadId, RequestOptions options) => _threadSubClient.GetThreadAsync(threadId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetThread(string threadId, RequestOptions options) => _threadSubClient.GetThread(threadId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task ModifyThreadAsync(string threadId, BinaryContent content, RequestOptions options = null) => _threadSubClient.ModifyThreadAsync(threadId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult ModifyThread(string threadId, BinaryContent content, RequestOptions options = null) => _threadSubClient.ModifyThread(threadId, content, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task DeleteThreadAsync(string threadId, RequestOptions options) => _threadSubClient.DeleteThreadAsync(threadId, options); /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteThread(string threadId, RequestOptions options) => _threadSubClient.DeleteThread(threadId, options); } diff --git a/src/Custom/Assistants/AssistantClient.cs b/src/Custom/Assistants/AssistantClient.cs index 599addd27..937bb636b 100644 --- a/src/Custom/Assistants/AssistantClient.cs +++ b/src/Custom/Assistants/AssistantClient.cs @@ -11,7 +11,6 @@ namespace OpenAI.Assistants; /// The service client for OpenAI assistants operations. -[Experimental("OPENAI001")] [CodeGenType("Assistants")] [CodeGenSuppress("AssistantClient", typeof(ClientPipeline), typeof(Uri))] [CodeGenSuppress("CreateAssistantAsync", typeof(AssistantCreationOptions), typeof(CancellationToken))] diff --git a/src/Custom/Assistants/AssistantCreationOptions.cs b/src/Custom/Assistants/AssistantCreationOptions.cs index f3439adbb..03c90dd01 100644 --- a/src/Custom/Assistants/AssistantCreationOptions.cs +++ b/src/Custom/Assistants/AssistantCreationOptions.cs @@ -8,7 +8,6 @@ namespace OpenAI.Assistants; /// /// Represents additional options available when creating a new . /// -[Experimental("OPENAI001")] [CodeGenType("CreateAssistantRequest")] [CodeGenVisibility(nameof(AssistantCreationOptions), CodeGenVisibility.Public)] [CodeGenSuppress(nameof(AssistantCreationOptions), typeof(string))] diff --git a/src/Custom/Assistants/AssistantDeletionResult.cs b/src/Custom/Assistants/AssistantDeletionResult.cs index 0d0a43d1f..6edcda10e 100644 --- a/src/Custom/Assistants/AssistantDeletionResult.cs +++ b/src/Custom/Assistants/AssistantDeletionResult.cs @@ -1,11 +1,10 @@ -using System.ClientModel; +using System.ClientModel; using System.ClientModel.Primitives; using System.Diagnostics.CodeAnalysis; using System.Text.Json; namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("DeleteAssistantResponse")] public partial class AssistantDeletionResult { diff --git a/src/Custom/Assistants/AssistantModificationOptions.cs b/src/Custom/Assistants/AssistantModificationOptions.cs index 16fd86b07..c2a176f39 100644 --- a/src/Custom/Assistants/AssistantModificationOptions.cs +++ b/src/Custom/Assistants/AssistantModificationOptions.cs @@ -8,7 +8,6 @@ namespace OpenAI.Assistants; /// /// Represents additional options available when modifying an existing . /// -[Experimental("OPENAI001")] [CodeGenType("ModifyAssistantRequest")] public partial class AssistantModificationOptions { diff --git a/src/Custom/Assistants/AssistantResponseFormat.cs b/src/Custom/Assistants/AssistantResponseFormat.cs index 40875a366..e4f4ad369 100644 --- a/src/Custom/Assistants/AssistantResponseFormat.cs +++ b/src/Custom/Assistants/AssistantResponseFormat.cs @@ -5,7 +5,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("DotNetAssistantResponseFormat")] public partial class AssistantResponseFormat : IEquatable, IEquatable { diff --git a/src/Custom/Assistants/AssistantThread.cs b/src/Custom/Assistants/AssistantThread.cs index 67556813f..b104fdebd 100644 --- a/src/Custom/Assistants/AssistantThread.cs +++ b/src/Custom/Assistants/AssistantThread.cs @@ -5,7 +5,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("ThreadObject")] public partial class AssistantThread { diff --git a/src/Custom/Assistants/CodeInterpreterToolResources.cs b/src/Custom/Assistants/CodeInterpreterToolResources.cs index 99376a232..ec2d00ba9 100644 --- a/src/Custom/Assistants/CodeInterpreterToolResources.cs +++ b/src/Custom/Assistants/CodeInterpreterToolResources.cs @@ -3,7 +3,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("AssistantObjectToolResourcesCodeInterpreter")] [CodeGenVisibility(nameof(CodeInterpreterToolResources), CodeGenVisibility.Public)] public partial class CodeInterpreterToolResources diff --git a/src/Custom/Assistants/FileSearchRankingOptions.cs b/src/Custom/Assistants/FileSearchRankingOptions.cs index a23fed691..0554348e6 100644 --- a/src/Custom/Assistants/FileSearchRankingOptions.cs +++ b/src/Custom/Assistants/FileSearchRankingOptions.cs @@ -4,7 +4,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("FileSearchRankingOptions")] [CodeGenVisibility(nameof(FileSearchRankingOptions), CodeGenVisibility.Internal)] public partial class FileSearchRankingOptions diff --git a/src/Custom/Assistants/FileSearchToolDefinition.cs b/src/Custom/Assistants/FileSearchToolDefinition.cs index fe80270eb..27634b828 100644 --- a/src/Custom/Assistants/FileSearchToolDefinition.cs +++ b/src/Custom/Assistants/FileSearchToolDefinition.cs @@ -2,7 +2,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("AssistantToolsFileSearch")] public partial class FileSearchToolDefinition : ToolDefinition { diff --git a/src/Custom/Assistants/FileSearchToolResources.cs b/src/Custom/Assistants/FileSearchToolResources.cs index 21f3d35ea..86bf2d5b6 100644 --- a/src/Custom/Assistants/FileSearchToolResources.cs +++ b/src/Custom/Assistants/FileSearchToolResources.cs @@ -5,7 +5,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("ToolResourcesFileSearch")] [CodeGenVisibility(nameof(FileSearchToolResources), CodeGenVisibility.Public)] [CodeGenSerialization(nameof(NewVectorStores), "vector_stores", SerializationValueHook = nameof(SerializeNewVectorStores))] diff --git a/src/Custom/Assistants/FunctionToolDefinition.cs b/src/Custom/Assistants/FunctionToolDefinition.cs index c5a2a9133..9799aa547 100644 --- a/src/Custom/Assistants/FunctionToolDefinition.cs +++ b/src/Custom/Assistants/FunctionToolDefinition.cs @@ -3,7 +3,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("AssistantToolsFunction")] [CodeGenSuppress(nameof(FunctionToolDefinition), typeof(InternalFunctionDefinition))] public partial class FunctionToolDefinition diff --git a/src/Custom/Assistants/GeneratorStubs.cs b/src/Custom/Assistants/GeneratorStubs.cs index b6e1956ff..9a7166878 100644 --- a/src/Custom/Assistants/GeneratorStubs.cs +++ b/src/Custom/Assistants/GeneratorStubs.cs @@ -6,47 +6,36 @@ namespace OpenAI.Assistants; * This file stubs and performs minimal customization to generated public types for the OpenAI.Assistants namespace * that are not otherwise attributed elsewhere. */ -[Experimental("OPENAI001")] [CodeGenType("AssistantToolsCode")] public partial class CodeInterpreterToolDefinition { } -[Experimental("OPENAI001")] [CodeGenType("MessageObjectStatus")] public readonly partial struct MessageStatus { } -[Experimental("OPENAI001")] [CodeGenType("MessageObjectIncompleteDetails1")] public partial class MessageFailureDetails { } -[Experimental("OPENAI001")] [CodeGenType("MessageObjectIncompleteDetailsReason")] public readonly partial struct MessageFailureReason { } -[Experimental("OPENAI001")] [CodeGenType("RunObjectLastError1")] public partial class RunError { } -[Experimental("OPENAI001")] [CodeGenType("RunObjectLastErrorCode")] public readonly partial struct RunErrorCode { } -[Experimental("OPENAI001")] [CodeGenType("RunObjectIncompleteDetails1")] public partial class RunIncompleteDetails { } -[Experimental("OPENAI001")] [CodeGenType("RunStepObjectStatus")] public readonly partial struct RunStepStatus { } -[Experimental("OPENAI001")] [CodeGenType("RunStepObjectLastError1")] public partial class RunStepError { } -[Experimental("OPENAI001")] [CodeGenType("RunStepObjectLastErrorCode")] public readonly partial struct RunStepErrorCode { } -[Experimental("OPENAI001")] [CodeGenType("RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject")] public partial class RunStepCodeInterpreterOutput { } diff --git a/src/Custom/Assistants/MessageContent.cs b/src/Custom/Assistants/MessageContent.cs index 5e595844c..d020a5c30 100644 --- a/src/Custom/Assistants/MessageContent.cs +++ b/src/Custom/Assistants/MessageContent.cs @@ -4,7 +4,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("MessageContent")] public partial class MessageContent { diff --git a/src/Custom/Assistants/MessageCreationAttachment.cs b/src/Custom/Assistants/MessageCreationAttachment.cs index d0feda2c6..521de9c11 100644 --- a/src/Custom/Assistants/MessageCreationAttachment.cs +++ b/src/Custom/Assistants/MessageCreationAttachment.cs @@ -6,7 +6,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("CreateMessageRequestAttachment")] [CodeGenSerialization(nameof(Tools), "tools", SerializationValueHook = nameof(SerializeTools), DeserializationValueHook = nameof(DeserializeTools))] public partial class MessageCreationAttachment diff --git a/src/Custom/Assistants/MessageCreationOptions.cs b/src/Custom/Assistants/MessageCreationOptions.cs index a744945e9..5a403b0c5 100644 --- a/src/Custom/Assistants/MessageCreationOptions.cs +++ b/src/Custom/Assistants/MessageCreationOptions.cs @@ -8,7 +8,6 @@ namespace OpenAI.Assistants; /// /// Represents additional options available when creating a new . /// -[Experimental("OPENAI001")] [CodeGenType("CreateMessageRequest")] [CodeGenVisibility(nameof(MessageCreationOptions), CodeGenVisibility.Public)] [CodeGenSuppress(nameof(MessageCreationOptions), typeof(MessageRole), typeof(IEnumerable))] diff --git a/src/Custom/Assistants/MessageDeletionResult.cs b/src/Custom/Assistants/MessageDeletionResult.cs index 28bf86e82..35eef5a71 100644 --- a/src/Custom/Assistants/MessageDeletionResult.cs +++ b/src/Custom/Assistants/MessageDeletionResult.cs @@ -1,11 +1,10 @@ -using System.ClientModel; +using System.ClientModel; using System.ClientModel.Primitives; using System.Diagnostics.CodeAnalysis; using System.Text.Json; namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("DeleteMessageResponse")] public partial class MessageDeletionResult { diff --git a/src/Custom/Assistants/MessageModificationOptions.cs b/src/Custom/Assistants/MessageModificationOptions.cs index 03690e5ff..73f8a0658 100644 --- a/src/Custom/Assistants/MessageModificationOptions.cs +++ b/src/Custom/Assistants/MessageModificationOptions.cs @@ -6,7 +6,6 @@ namespace OpenAI.Assistants; /// /// Represents additional options available when modifying an existing . /// -[Experimental("OPENAI001")] [CodeGenType("ModifyMessageRequest")] public partial class MessageModificationOptions { diff --git a/src/Custom/Assistants/RunCreationOptions.cs b/src/Custom/Assistants/RunCreationOptions.cs index 31663c450..8cdfc1b7b 100644 --- a/src/Custom/Assistants/RunCreationOptions.cs +++ b/src/Custom/Assistants/RunCreationOptions.cs @@ -11,7 +11,6 @@ namespace OpenAI.Assistants; /// /// Represents additional options available when creating a new . /// -[Experimental("OPENAI001")] [CodeGenType("CreateRunRequest")] [CodeGenVisibility(nameof(RunCreationOptions), CodeGenVisibility.Public)] [CodeGenSuppress(nameof(RunCreationOptions), typeof(string))] diff --git a/src/Custom/Assistants/RunIncompleteReason.cs b/src/Custom/Assistants/RunIncompleteReason.cs index e096ed8f9..26459c309 100644 --- a/src/Custom/Assistants/RunIncompleteReason.cs +++ b/src/Custom/Assistants/RunIncompleteReason.cs @@ -1,11 +1,10 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; namespace OpenAI.Assistants { - [Experimental("OPENAI001")] [CodeGenType("RunObjectIncompleteDetailsReason")] public readonly partial struct RunIncompleteReason { diff --git a/src/Custom/Assistants/RunModificationOptions.cs b/src/Custom/Assistants/RunModificationOptions.cs index 17cddcbea..a00df9600 100644 --- a/src/Custom/Assistants/RunModificationOptions.cs +++ b/src/Custom/Assistants/RunModificationOptions.cs @@ -5,7 +5,6 @@ namespace OpenAI.Assistants; /// /// Represents additional options available when modifying an existing . /// -[Experimental("OPENAI001")] [CodeGenType("ModifyRunRequest")] public partial class RunModificationOptions { diff --git a/src/Custom/Assistants/RunStatus.cs b/src/Custom/Assistants/RunStatus.cs index d2a8cde74..b16115251 100644 --- a/src/Custom/Assistants/RunStatus.cs +++ b/src/Custom/Assistants/RunStatus.cs @@ -2,7 +2,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("RunObjectStatus")] public readonly partial struct RunStatus { diff --git a/src/Custom/Assistants/RunStep.cs b/src/Custom/Assistants/RunStep.cs index e8a4e56d0..4ade5dd72 100644 --- a/src/Custom/Assistants/RunStep.cs +++ b/src/Custom/Assistants/RunStep.cs @@ -5,7 +5,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("RunStepObject")] public partial class RunStep { diff --git a/src/Custom/Assistants/RunStepDetails.cs b/src/Custom/Assistants/RunStepDetails.cs index 876559167..1cb1e3063 100644 --- a/src/Custom/Assistants/RunStepDetails.cs +++ b/src/Custom/Assistants/RunStepDetails.cs @@ -3,7 +3,6 @@ namespace OpenAI.Assistants { - [Experimental("OPENAI001")] [CodeGenType("RunStepObjectStepDetails")] public abstract partial class RunStepDetails { diff --git a/src/Custom/Assistants/RunStepFileSearchResult.cs b/src/Custom/Assistants/RunStepFileSearchResult.cs index c9c5b4ba0..9a31a2a49 100644 --- a/src/Custom/Assistants/RunStepFileSearchResult.cs +++ b/src/Custom/Assistants/RunStepFileSearchResult.cs @@ -3,7 +3,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("RunStepDetailsToolCallsFileSearchResultObject")] public partial class RunStepFileSearchResult { diff --git a/src/Custom/Assistants/RunStepFileSearchResultContent.cs b/src/Custom/Assistants/RunStepFileSearchResultContent.cs index 5108de80d..f5873ee92 100644 --- a/src/Custom/Assistants/RunStepFileSearchResultContent.cs +++ b/src/Custom/Assistants/RunStepFileSearchResultContent.cs @@ -1,9 +1,8 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants; // CUSTOM: Renamed. -[Experimental("OPENAI001")] [CodeGenType("RunStepDetailsToolCallsFileSearchResultObjectContent")] public partial class RunStepFileSearchResultContent { diff --git a/src/Custom/Assistants/RunStepTokenUsage.cs b/src/Custom/Assistants/RunStepTokenUsage.cs index f5be81732..04ce30a5e 100644 --- a/src/Custom/Assistants/RunStepTokenUsage.cs +++ b/src/Custom/Assistants/RunStepTokenUsage.cs @@ -1,10 +1,9 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { - [Experimental("OPENAI001")] [CodeGenType("RunStepCompletionUsage")] public partial class RunStepTokenUsage { diff --git a/src/Custom/Assistants/RunStepToolCall.cs b/src/Custom/Assistants/RunStepToolCall.cs index 9e8c3c0fa..0fad6c255 100644 --- a/src/Custom/Assistants/RunStepToolCall.cs +++ b/src/Custom/Assistants/RunStepToolCall.cs @@ -3,7 +3,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("RunStepDetailsToolCallsObjectToolCallsObject")] [CodeGenVisibility(nameof(Kind), CodeGenVisibility.Public)] public partial class RunStepToolCall diff --git a/src/Custom/Assistants/RunTokenUsage.cs b/src/Custom/Assistants/RunTokenUsage.cs index 3bb109fd7..d577e3c3f 100644 --- a/src/Custom/Assistants/RunTokenUsage.cs +++ b/src/Custom/Assistants/RunTokenUsage.cs @@ -1,10 +1,9 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { - [Experimental("OPENAI001")] [CodeGenType("RunCompletionUsage")] public partial class RunTokenUsage { diff --git a/src/Custom/Assistants/RunTruncationStrategy.cs b/src/Custom/Assistants/RunTruncationStrategy.cs index f5e3c57e6..cd60e447c 100644 --- a/src/Custom/Assistants/RunTruncationStrategy.cs +++ b/src/Custom/Assistants/RunTruncationStrategy.cs @@ -3,7 +3,6 @@ namespace OpenAI.Assistants { /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. - [Experimental("OPENAI001")] [CodeGenType("TruncationObject")] [CodeGenSuppress(nameof(RunTruncationStrategy), typeof(InternalTruncationObjectType))] public partial class RunTruncationStrategy diff --git a/src/Custom/Assistants/Streaming/RunStepDetailsUpdateCodeInterpreterOutput.cs b/src/Custom/Assistants/Streaming/RunStepDetailsUpdateCodeInterpreterOutput.cs index 68a43165e..fa1c06db1 100644 --- a/src/Custom/Assistants/Streaming/RunStepDetailsUpdateCodeInterpreterOutput.cs +++ b/src/Custom/Assistants/Streaming/RunStepDetailsUpdateCodeInterpreterOutput.cs @@ -2,7 +2,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject")] public partial class RunStepUpdateCodeInterpreterOutput { diff --git a/src/Custom/Assistants/ThreadCreationOptions.cs b/src/Custom/Assistants/ThreadCreationOptions.cs index dbc350cd5..6080e387f 100644 --- a/src/Custom/Assistants/ThreadCreationOptions.cs +++ b/src/Custom/Assistants/ThreadCreationOptions.cs @@ -8,7 +8,6 @@ namespace OpenAI.Assistants; /// /// Represents additional options available when creating a new . /// -[Experimental("OPENAI001")] [CodeGenType("CreateThreadRequest")] public partial class ThreadCreationOptions { diff --git a/src/Custom/Assistants/ThreadDeletionResult.cs b/src/Custom/Assistants/ThreadDeletionResult.cs index 2a5774959..3dcc3eb10 100644 --- a/src/Custom/Assistants/ThreadDeletionResult.cs +++ b/src/Custom/Assistants/ThreadDeletionResult.cs @@ -1,11 +1,10 @@ -using System.ClientModel; +using System.ClientModel; using System.ClientModel.Primitives; using System.Diagnostics.CodeAnalysis; using System.Text.Json; namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("DeleteThreadResponse")] public partial class ThreadDeletionResult { diff --git a/src/Custom/Assistants/ThreadMessage.cs b/src/Custom/Assistants/ThreadMessage.cs index 13955dac4..503683801 100644 --- a/src/Custom/Assistants/ThreadMessage.cs +++ b/src/Custom/Assistants/ThreadMessage.cs @@ -6,7 +6,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("MessageObject")] public partial class ThreadMessage { diff --git a/src/Custom/Assistants/ThreadModificationOptions.cs b/src/Custom/Assistants/ThreadModificationOptions.cs index 3b3fbdda8..133b49ba1 100644 --- a/src/Custom/Assistants/ThreadModificationOptions.cs +++ b/src/Custom/Assistants/ThreadModificationOptions.cs @@ -6,7 +6,6 @@ namespace OpenAI.Assistants; /// /// Represents additional options available when modifying an existing . /// -[Experimental("OPENAI001")] [CodeGenType("ModifyThreadRequest")] public partial class ThreadModificationOptions { diff --git a/src/Custom/Assistants/ThreadRun.cs b/src/Custom/Assistants/ThreadRun.cs index 0417a6a26..8dac9d4da 100644 --- a/src/Custom/Assistants/ThreadRun.cs +++ b/src/Custom/Assistants/ThreadRun.cs @@ -12,7 +12,6 @@ namespace OpenAI.Assistants; // - Required actions are abstracted into a forward-compatible, strongly-typed conceptual // hierarchy and formatted into a more intuitive collection for the consumer. -[Experimental("OPENAI001")] [CodeGenType("RunObject")] public partial class ThreadRun { diff --git a/src/Custom/Assistants/ToolConstraint.cs b/src/Custom/Assistants/ToolConstraint.cs index e64fccbcc..a00a999ee 100644 --- a/src/Custom/Assistants/ToolConstraint.cs +++ b/src/Custom/Assistants/ToolConstraint.cs @@ -4,7 +4,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("AssistantsNamedToolChoice")] [CodeGenVisibility(nameof(ToolConstraint), CodeGenVisibility.Internal, typeof(InternalAssistantsNamedToolChoiceType))] public partial class ToolConstraint diff --git a/src/Custom/Assistants/ToolDefinition.cs b/src/Custom/Assistants/ToolDefinition.cs index f3c250a4c..6b0e69838 100644 --- a/src/Custom/Assistants/ToolDefinition.cs +++ b/src/Custom/Assistants/ToolDefinition.cs @@ -3,7 +3,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("AssistantToolDefinition")] public partial class ToolDefinition { diff --git a/src/Custom/Assistants/ToolOutput.cs b/src/Custom/Assistants/ToolOutput.cs index 345f9bde3..e36490457 100644 --- a/src/Custom/Assistants/ToolOutput.cs +++ b/src/Custom/Assistants/ToolOutput.cs @@ -2,7 +2,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("SubmitToolOutputsRunRequestToolOutput")] public partial class ToolOutput { diff --git a/src/Custom/Assistants/ToolResources.cs b/src/Custom/Assistants/ToolResources.cs index df71f6f28..f89cb1faa 100644 --- a/src/Custom/Assistants/ToolResources.cs +++ b/src/Custom/Assistants/ToolResources.cs @@ -4,7 +4,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("AssistantObjectToolResources1")] [CodeGenVisibility(nameof(ToolResources), CodeGenVisibility.Public)] public partial class ToolResources diff --git a/src/Custom/Assistants/VectorStoreCreationHelper.cs b/src/Custom/Assistants/VectorStoreCreationHelper.cs index 81a7fbc47..5188faa81 100644 --- a/src/Custom/Assistants/VectorStoreCreationHelper.cs +++ b/src/Custom/Assistants/VectorStoreCreationHelper.cs @@ -6,7 +6,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("ToolResourcesFileSearchVectorStore")] public partial class VectorStoreCreationHelper { diff --git a/src/Custom/Audio/AudioClient.Protocol.cs b/src/Custom/Audio/AudioClient.Protocol.cs deleted file mode 100644 index 52c9fbcc9..000000000 --- a/src/Custom/Audio/AudioClient.Protocol.cs +++ /dev/null @@ -1,157 +0,0 @@ -using System; -using System.ClientModel; -using System.ClientModel.Primitives; -using System.ComponentModel; -using System.Threading.Tasks; - -namespace OpenAI.Audio; - -[CodeGenSuppress("CreateSpeechAsync", typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("CreateSpeech", typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("CreateTranscriptionAsync", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CreateTranscription", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CreateTranslationAsync", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CreateTranslation", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -public partial class AudioClient -{ - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - /// - /// [Protocol Method] Generates text-to-speech audio using the specified voice speaking the provided input text. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GenerateSpeechAsync(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateSpeechRequest(content, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - /// - /// [Protocol Method] Generates text-to-speech audio using the specified voice speaking the provided input text. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GenerateSpeech(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateSpeechRequest(content, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - // - Added "contentType" parameter. - /// - /// [Protocol Method] Transcribes audio. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task TranscribeAudioAsync(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateTranscriptionRequest(content, contentType, options); - PipelineResponse protocolResponse = await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false); - return ClientResult.FromResponse(protocolResponse); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - // - Added "contentType" parameter. - /// - /// [Protocol Method] Transcribes audio. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult TranscribeAudio(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateTranscriptionRequest(content, contentType, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - // - Added "contentType" parameter. - /// - /// [Protocol Method] Translates audio into English. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual async Task TranslateAudioAsync(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateTranslationRequest(content, contentType, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - // - Added "contentType" parameter. - /// - /// [Protocol Method] Translates audio into English. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual ClientResult TranslateAudio(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateTranslationRequest(content, contentType, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } -} \ No newline at end of file diff --git a/src/Custom/Audio/AudioClient.cs b/src/Custom/Audio/AudioClient.cs index 90ab2f4c3..76f70aae6 100644 --- a/src/Custom/Audio/AudioClient.cs +++ b/src/Custom/Audio/AudioClient.cs @@ -16,8 +16,8 @@ namespace OpenAI.Audio; /// The service client for OpenAI audio operations. [CodeGenType("Audio")] [CodeGenSuppress("AudioClient", typeof(ClientPipeline), typeof(Uri))] -[CodeGenSuppress("CreateSpeechAsync", typeof(SpeechGenerationOptions), typeof(CancellationToken))] -[CodeGenSuppress("CreateSpeech", typeof(SpeechGenerationOptions), typeof(CancellationToken))] +[CodeGenSuppress("GenerateSpeechAsync", typeof(SpeechGenerationOptions), typeof(CancellationToken))] +[CodeGenSuppress("GenerateSpeech", typeof(SpeechGenerationOptions), typeof(CancellationToken))] public partial class AudioClient { private readonly string _model; diff --git a/src/Custom/Audio/AudioTokenLogProbabilityDetails.cs b/src/Custom/Audio/AudioTokenLogProbabilityDetails.cs index 054538163..b8382f6b0 100644 --- a/src/Custom/Audio/AudioTokenLogProbabilityDetails.cs +++ b/src/Custom/Audio/AudioTokenLogProbabilityDetails.cs @@ -4,7 +4,6 @@ namespace OpenAI.Audio; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("DotNetAudioLogProbsProperties")] public partial class AudioTokenLogProbabilityDetails { diff --git a/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDeltaUpdate.cs b/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDeltaUpdate.cs index cddc7db1e..626ebe3e7 100644 --- a/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDeltaUpdate.cs +++ b/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDeltaUpdate.cs @@ -4,7 +4,6 @@ namespace OpenAI.Audio; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("TranscriptTextDeltaEvent")] public partial class StreamingAudioTranscriptionTextDeltaUpdate { diff --git a/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDoneUpdate.cs b/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDoneUpdate.cs index 24dcc2760..15bf0b03f 100644 --- a/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDoneUpdate.cs +++ b/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDoneUpdate.cs @@ -4,7 +4,6 @@ namespace OpenAI.Audio; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("TranscriptTextDoneEvent")] public partial class StreamingAudioTranscriptionTextDoneUpdate { diff --git a/src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdate.cs b/src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdate.cs index 98e6f576a..d36ca0347 100644 --- a/src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdate.cs +++ b/src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdate.cs @@ -3,7 +3,6 @@ namespace OpenAI.Audio; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("CreateTranscriptionResponseStreamEvent")] public partial class StreamingAudioTranscriptionUpdate { diff --git a/src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdateKind.cs b/src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdateKind.cs index a34a65143..6b488e6c8 100644 --- a/src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdateKind.cs +++ b/src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdateKind.cs @@ -3,7 +3,6 @@ namespace OpenAI.Audio; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("CreateTranscriptionResponseStreamEventType")] public readonly partial struct StreamingAudioTranscriptionUpdateKind { diff --git a/src/Custom/Batch/BatchClient.Protocol.cs b/src/Custom/Batch/BatchClient.Protocol.cs index 72e9d5980..21529eff8 100644 --- a/src/Custom/Batch/BatchClient.Protocol.cs +++ b/src/Custom/Batch/BatchClient.Protocol.cs @@ -6,10 +6,8 @@ namespace OpenAI.Batch; -[CodeGenSuppress("RetrieveBatch", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("RetrieveBatchAsync", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("ListBatches", typeof(string), typeof(int?), typeof(RequestOptions))] -[CodeGenSuppress("ListBatchesAsync", typeof(string), typeof(int?), typeof(RequestOptions))] +[CodeGenSuppress("GetBatches", typeof(string), typeof(int?), typeof(RequestOptions))] +[CodeGenSuppress("GetBatchesAsync", typeof(string), typeof(int?), typeof(RequestOptions))] public partial class BatchClient { /// @@ -94,111 +92,4 @@ public virtual CollectionResult GetBatches(string after, int? limit, RequestOpti { return new BatchCollectionResult(this, Pipeline, options, limit, after); } - - /// - /// [Protocol Method] Retrieves a batch. - /// - /// The ID of the batch to retrieve. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual async Task GetBatchAsync(string batchId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); - - using PipelineMessage message = CreateRetrieveBatchRequest(batchId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Retrieves a batch. - /// - /// The ID of the batch to retrieve. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual ClientResult GetBatch(string batchId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); - - using PipelineMessage message = CreateRetrieveBatchRequest(batchId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - internal virtual PipelineMessage CreateCreateBatchRequest(BinaryContent content, RequestOptions options) - { - var message = Pipeline.CreateMessage(); - message.ResponseClassifier = PipelineMessageClassifier200; - var request = message.Request; - request.Method = "POST"; - var uri = new ClientUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/batches", false); - request.Uri = uri.ToUri(); - request.Headers.Set("Accept", "application/json"); - request.Headers.Set("Content-Type", "application/json"); - request.Content = content; - message.Apply(options); - return message; - } - - internal virtual PipelineMessage CreateGetBatchesRequest(string after, int? limit, RequestOptions options) - { - var message = Pipeline.CreateMessage(); - message.ResponseClassifier = PipelineMessageClassifier200; - var request = message.Request; - request.Method = "GET"; - var uri = new ClientUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/batches", false); - if (after != null) - { - uri.AppendQuery("after", after, true); - } - if (limit != null) - { - uri.AppendQuery("limit", limit.Value, true); - } - request.Uri = uri.ToUri(); - request.Headers.Set("Accept", "application/json"); - message.Apply(options); - return message; - } - - internal virtual PipelineMessage CreateRetrieveBatchRequest(string batchId, RequestOptions options) - { - var message = Pipeline.CreateMessage(); - message.ResponseClassifier = PipelineMessageClassifier200; - var request = message.Request; - request.Method = "GET"; - var uri = new ClientUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/batches/", false); - uri.AppendPath(batchId, true); - request.Uri = uri.ToUri(); - request.Headers.Set("Accept", "application/json"); - message.Apply(options); - return message; - } - - internal virtual PipelineMessage CreateCancelBatchRequest(string batchId, RequestOptions options) - { - var message = Pipeline.CreateMessage(); - message.ResponseClassifier = PipelineMessageClassifier200; - var request = message.Request; - request.Method = "POST"; - var uri = new ClientUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/batches/", false); - uri.AppendPath(batchId, true); - uri.AppendPath("/cancel", false); - request.Uri = uri.ToUri(); - request.Headers.Set("Accept", "application/json"); - message.Apply(options); - return message; - } } diff --git a/src/Custom/Batch/BatchClient.cs b/src/Custom/Batch/BatchClient.cs index b00e1e555..33e62e920 100644 --- a/src/Custom/Batch/BatchClient.cs +++ b/src/Custom/Batch/BatchClient.cs @@ -12,15 +12,14 @@ namespace OpenAI.Batch; // - Suppressed constructor that takes endpoint parameter; endpoint is now a property in the options class. // - Suppressed convenience methods for now. /// The service client for OpenAI batch operations. -[Experimental("OPENAI001")] [CodeGenType("Batches")] [CodeGenSuppress("BatchClient", typeof(ClientPipeline), typeof(Uri))] [CodeGenSuppress("CreateBatch", typeof(string), typeof(InternalCreateBatchRequestEndpoint), typeof(string), typeof(IDictionary), typeof(CancellationToken))] [CodeGenSuppress("CreateBatchAsync", typeof(string), typeof(InternalCreateBatchRequestEndpoint), typeof(string), typeof(IDictionary), typeof(CancellationToken))] [CodeGenSuppress("CreateBatch", typeof(BinaryContent), typeof(RequestOptions))] [CodeGenSuppress("CreateBatchAsync", typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("RetrieveBatch", typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("RetrieveBatchAsync", typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("GetBatch", typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("GetBatchAsync", typeof(string), typeof(CancellationToken))] [CodeGenSuppress("CancelBatch", typeof(string), typeof(CancellationToken))] [CodeGenSuppress("CancelBatchAsync", typeof(string), typeof(CancellationToken))] [CodeGenSuppress("CancelBatch", typeof(string), typeof(RequestOptions))] diff --git a/src/Custom/Batch/CreateBatchOperation.Protocol.cs b/src/Custom/Batch/CreateBatchOperation.Protocol.cs index 77e021092..5de932fe1 100644 --- a/src/Custom/Batch/CreateBatchOperation.Protocol.cs +++ b/src/Custom/Batch/CreateBatchOperation.Protocol.cs @@ -193,7 +193,7 @@ private static bool GetHasCompleted(string? status) /// The response returned from the service. public virtual async Task GetBatchAsync(RequestOptions? options) { - using PipelineMessage message = _parentClient.CreateRetrieveBatchRequest(_batchId, options); + using PipelineMessage message = _parentClient.CreateGetBatchRequest(_batchId, options); return ClientResult.FromResponse(await _parentClient.Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); } @@ -205,7 +205,7 @@ public virtual async Task GetBatchAsync(RequestOptions? options) /// The response returned from the service. public virtual ClientResult GetBatch(RequestOptions? options) { - using PipelineMessage message = _parentClient.CreateRetrieveBatchRequest(_batchId, options); + using PipelineMessage message = _parentClient.CreateGetBatchRequest(_batchId, options); return ClientResult.FromResponse(_parentClient.Pipeline.ProcessMessage(message, options)); } diff --git a/src/Custom/Chat/ChatAudioOptions.cs b/src/Custom/Chat/ChatAudioOptions.cs index 045ec74a2..9bf78a275 100644 --- a/src/Custom/Chat/ChatAudioOptions.cs +++ b/src/Custom/Chat/ChatAudioOptions.cs @@ -10,7 +10,6 @@ namespace OpenAI.Chat; /// When provided to a instance's property, /// the request's specified content modalities will be automatically updated to reflect desired audio output. /// -[Experimental("OPENAI001")] [CodeGenType("CreateChatCompletionRequestAudio1")] [CodeGenVisibility(nameof(ChatAudioOptions), CodeGenVisibility.Internal)] public partial class ChatAudioOptions diff --git a/src/Custom/Chat/ChatClient.Protocol.cs b/src/Custom/Chat/ChatClient.Protocol.cs index 4f52f29ee..40c25a767 100644 --- a/src/Custom/Chat/ChatClient.Protocol.cs +++ b/src/Custom/Chat/ChatClient.Protocol.cs @@ -1,16 +1,12 @@ -using System; using System.ClientModel; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace OpenAI.Chat; /// The service client for the OpenAI Chat Completions endpoint. -[CodeGenSuppress("CreateChatCompletionAsync", typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("CreateChatCompletion", typeof(BinaryContent), typeof(RequestOptions))] [CodeGenSuppress("GetChatCompletionMessagesAsync", typeof(string), typeof(string), typeof(int?), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("GetChatCompletionMessages", typeof(string), typeof(string), typeof(int?), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("GetChatCompletionsAsync", typeof(string), typeof(int?), typeof(string), typeof(IDictionary), typeof(string), typeof(RequestOptions))] @@ -19,40 +15,6 @@ namespace OpenAI.Chat; [CodeGenSuppress("UpdateChatCompletion", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] public partial class ChatClient { - /// - /// [Protocol Method] Creates a model response for the given chat conversation. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task CompleteChatAsync(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateChatCompletionRequest(content, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Creates a model response for the given chat conversation. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult CompleteChat(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateChatCompletionRequest(content, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - // CUSTOM: Added Experimental attribute. [Experimental("OPENAI001")] public virtual ClientResult GetChatCompletion(string completionId, RequestOptions options) diff --git a/src/Custom/Chat/ChatClient.cs b/src/Custom/Chat/ChatClient.cs index 90f65efe6..f88d4bfe8 100644 --- a/src/Custom/Chat/ChatClient.cs +++ b/src/Custom/Chat/ChatClient.cs @@ -18,8 +18,8 @@ namespace OpenAI.Chat; /// The service client for OpenAI chat operations. [CodeGenType("Chat")] [CodeGenSuppress("ChatClient", typeof(ClientPipeline), typeof(Uri))] -[CodeGenSuppress("CreateChatCompletion", typeof(ChatCompletionOptions), typeof(CancellationToken))] -[CodeGenSuppress("CreateChatCompletionAsync", typeof(ChatCompletionOptions), typeof(CancellationToken))] +[CodeGenSuppress("CompleteChat", typeof(ChatCompletionOptions), typeof(CancellationToken))] +[CodeGenSuppress("CompleteChatAsync", typeof(ChatCompletionOptions), typeof(CancellationToken))] [CodeGenSuppress("GetChatCompletionMessages", typeof(string), typeof(string), typeof(int?), typeof(OpenAI.VectorStores.VectorStoreCollectionOrder?), typeof(CancellationToken))] [CodeGenSuppress("GetChatCompletionMessagesAsync", typeof(string), typeof(string), typeof(int?), typeof(OpenAI.VectorStores.VectorStoreCollectionOrder?), typeof(CancellationToken))] [CodeGenSuppress("GetChatCompletions", typeof(string), typeof(int?), typeof(OpenAI.VectorStores.VectorStoreCollectionOrder?), typeof(IDictionary), typeof(string), typeof(CancellationToken))] diff --git a/src/Custom/Chat/ChatCompletionDeletionResult.cs b/src/Custom/Chat/ChatCompletionDeletionResult.cs index 117a45655..9d7a6e889 100644 --- a/src/Custom/Chat/ChatCompletionDeletionResult.cs +++ b/src/Custom/Chat/ChatCompletionDeletionResult.cs @@ -1,4 +1,4 @@ -using System.ClientModel; +using System.ClientModel; using System.ClientModel.Primitives; using System.Diagnostics.CodeAnalysis; using System.Text.Json; @@ -6,7 +6,6 @@ namespace OpenAI.Chat; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("ChatCompletionDeleted")] public partial class ChatCompletionDeletionResult { diff --git a/src/Custom/Chat/ChatInputAudioFormat.cs b/src/Custom/Chat/ChatInputAudioFormat.cs index 153e4a44f..110e1cf70 100644 --- a/src/Custom/Chat/ChatInputAudioFormat.cs +++ b/src/Custom/Chat/ChatInputAudioFormat.cs @@ -3,7 +3,6 @@ namespace OpenAI.Chat; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("ChatCompletionRequestMessageContentPartAudioInputAudioFormat")] public readonly partial struct ChatInputAudioFormat { diff --git a/src/Custom/Chat/ChatMessageAnnotation.cs b/src/Custom/Chat/ChatMessageAnnotation.cs index 6c62efd92..c6a5e3db7 100644 --- a/src/Custom/Chat/ChatMessageAnnotation.cs +++ b/src/Custom/Chat/ChatMessageAnnotation.cs @@ -1,10 +1,9 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("ChatCompletionResponseMessageAnnotation")] public partial class ChatMessageAnnotation { diff --git a/src/Custom/Chat/ChatOutputAudio.cs b/src/Custom/Chat/ChatOutputAudio.cs index 32db01a0f..11927e9ae 100644 --- a/src/Custom/Chat/ChatOutputAudio.cs +++ b/src/Custom/Chat/ChatOutputAudio.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat; @@ -7,7 +7,6 @@ namespace OpenAI.Chat; /// /// Represents the audio output generated by the model as part of a chat completion response. /// -[Experimental("OPENAI001")] [CodeGenType("ChatCompletionResponseMessageAudio1")] public partial class ChatOutputAudio { diff --git a/src/Custom/Chat/ChatOutputAudioFormat.cs b/src/Custom/Chat/ChatOutputAudioFormat.cs index e2d754b4f..961d53b93 100644 --- a/src/Custom/Chat/ChatOutputAudioFormat.cs +++ b/src/Custom/Chat/ChatOutputAudioFormat.cs @@ -7,7 +7,6 @@ namespace OpenAI.Chat; /// Specifies the audio format the model should use when generating output audio as part of a chat completion /// response. /// -[Experimental("OPENAI001")] [CodeGenType("CreateChatCompletionRequestAudioFormat")] public readonly partial struct ChatOutputAudioFormat { diff --git a/src/Custom/Chat/ChatOutputAudioReference.cs b/src/Custom/Chat/ChatOutputAudioReference.cs index c567a2599..acdd76d22 100644 --- a/src/Custom/Chat/ChatOutputAudioReference.cs +++ b/src/Custom/Chat/ChatOutputAudioReference.cs @@ -1,4 +1,4 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat; @@ -13,7 +13,6 @@ namespace OpenAI.Chat; /// responses, respectively. The constructor overload can also be /// used to automatically populate the appropriate properties from a instance. /// -[Experimental("OPENAI001")] [CodeGenType("ChatCompletionRequestAssistantMessageAudio1")] public partial class ChatOutputAudioReference { diff --git a/src/Custom/Chat/ChatOutputAudioVoice.cs b/src/Custom/Chat/ChatOutputAudioVoice.cs index cff490c5e..b5f86e44b 100644 --- a/src/Custom/Chat/ChatOutputAudioVoice.cs +++ b/src/Custom/Chat/ChatOutputAudioVoice.cs @@ -6,7 +6,6 @@ namespace OpenAI.Chat; /// /// Specifies the available voices that the model can use when generating output audio as part of a chat completion. /// -[Experimental("OPENAI001")] [CodeGenType("DotNetChatVoiceIds")] public readonly partial struct ChatOutputAudioVoice { diff --git a/src/Custom/Chat/ChatOutputPrediction.cs b/src/Custom/Chat/ChatOutputPrediction.cs index a5414a7ff..91a046741 100644 --- a/src/Custom/Chat/ChatOutputPrediction.cs +++ b/src/Custom/Chat/ChatOutputPrediction.cs @@ -4,7 +4,6 @@ namespace OpenAI.Chat; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("ChatOutputPrediction")] public partial class ChatOutputPrediction { diff --git a/src/Custom/Chat/ChatReasoningEffortLevel.cs b/src/Custom/Chat/ChatReasoningEffortLevel.cs index d02f9eb2f..86974f53a 100644 --- a/src/Custom/Chat/ChatReasoningEffortLevel.cs +++ b/src/Custom/Chat/ChatReasoningEffortLevel.cs @@ -3,7 +3,6 @@ namespace OpenAI.Chat; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("ReasoningEffort")] public readonly partial struct ChatReasoningEffortLevel { diff --git a/src/Custom/Chat/ChatWebSearchOptions.cs b/src/Custom/Chat/ChatWebSearchOptions.cs index 01640b19f..00c9b4804 100644 --- a/src/Custom/Chat/ChatWebSearchOptions.cs +++ b/src/Custom/Chat/ChatWebSearchOptions.cs @@ -4,7 +4,6 @@ namespace OpenAI.Chat; // CUSTOM: Added Experimental attribute. -[Experimental("OPENAI001")] [CodeGenType("CreateChatCompletionRequestWebSearchOptions")] public partial class ChatWebSearchOptions { diff --git a/src/Custom/Chat/Messages/DeveloperChatMessage.cs b/src/Custom/Chat/Messages/DeveloperChatMessage.cs index 835ab1262..c48d8fd1c 100644 --- a/src/Custom/Chat/Messages/DeveloperChatMessage.cs +++ b/src/Custom/Chat/Messages/DeveloperChatMessage.cs @@ -10,7 +10,6 @@ namespace OpenAI.Chat; /// assistant role response messages. These messages may help control behavior, style, tone, and /// restrictions for a model-based assistant. Developer messages replace system messages for o1 models and newer. /// -[Experimental("OPENAI001")] [CodeGenType("ChatCompletionRequestDeveloperMessage")] [CodeGenVisibility(nameof(DeveloperChatMessage), CodeGenVisibility.Internal)] [CodeGenSuppress("DeveloperChatMessage", typeof(ChatMessageContent))] diff --git a/src/Custom/Chat/Streaming/StreamingChatOutputAudioUpdate.cs b/src/Custom/Chat/Streaming/StreamingChatOutputAudioUpdate.cs index ae52973ee..b9aaa85c4 100644 --- a/src/Custom/Chat/Streaming/StreamingChatOutputAudioUpdate.cs +++ b/src/Custom/Chat/Streaming/StreamingChatOutputAudioUpdate.cs @@ -7,7 +7,6 @@ namespace OpenAI.Chat; /// /// Represents an audio update in a streaming chat response. /// -[Experimental("OPENAI001")] [CodeGenType("ChatCompletionMessageAudioChunk")] public partial class StreamingChatOutputAudioUpdate { diff --git a/src/Custom/Common/FileSearchRanker.cs b/src/Custom/Common/FileSearchRanker.cs index a635f462c..3988e41bc 100644 --- a/src/Custom/Common/FileSearchRanker.cs +++ b/src/Custom/Common/FileSearchRanker.cs @@ -2,7 +2,6 @@ namespace OpenAI.Assistants; -[Experimental("OPENAI001")] [CodeGenType("FileSearchRanker")] public readonly partial struct FileSearchRanker { diff --git a/src/Custom/Embeddings/EmbeddingClient.Protocol.cs b/src/Custom/Embeddings/EmbeddingClient.Protocol.cs deleted file mode 100644 index f908d51f3..000000000 --- a/src/Custom/Embeddings/EmbeddingClient.Protocol.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using System.ClientModel; -using System.ClientModel.Primitives; -using System.ComponentModel; -using System.Threading.Tasks; - -namespace OpenAI.Embeddings; - -[CodeGenSuppress("CreateEmbeddingAsync", typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("CreateEmbedding", typeof(BinaryContent), typeof(RequestOptions))] -public partial class EmbeddingClient -{ - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - /// - /// [Protocol Method] Creates an embedding vector representing the input text. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GenerateEmbeddingsAsync(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateEmbeddingRequest(content, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - /// - /// [Protocol Method] Creates an embedding vector representing the input text. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GenerateEmbeddings(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateEmbeddingRequest(content, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } -} \ No newline at end of file diff --git a/src/Custom/Embeddings/EmbeddingClient.cs b/src/Custom/Embeddings/EmbeddingClient.cs index f4b6be8b5..cbcd05556 100644 --- a/src/Custom/Embeddings/EmbeddingClient.cs +++ b/src/Custom/Embeddings/EmbeddingClient.cs @@ -17,8 +17,8 @@ namespace OpenAI.Embeddings; /// The service client for OpenAI embedding operations. [CodeGenType("Embeddings")] [CodeGenSuppress("EmbeddingClient", typeof(ClientPipeline), typeof(Uri))] -[CodeGenSuppress("CreateEmbeddingAsync", typeof(EmbeddingGenerationOptions), typeof(CancellationToken))] -[CodeGenSuppress("CreateEmbedding", typeof(EmbeddingGenerationOptions), typeof(CancellationToken))] +[CodeGenSuppress("GenerateEmbeddingsAsync", typeof(EmbeddingGenerationOptions), typeof(CancellationToken))] +[CodeGenSuppress("GenerateEmbeddings", typeof(EmbeddingGenerationOptions), typeof(CancellationToken))] public partial class EmbeddingClient { private readonly string _model; diff --git a/src/Custom/Evals/EvaluationClient.cs b/src/Custom/Evals/EvaluationClient.cs index 8abdd552e..d80f123ad 100644 --- a/src/Custom/Evals/EvaluationClient.cs +++ b/src/Custom/Evals/EvaluationClient.cs @@ -10,7 +10,6 @@ namespace OpenAI.Evals; // - Suppressed constructor that takes endpoint parameter; endpoint is now a property in the options class. // - Suppressed convenience methods for now. /// The service client for OpenAI Evaluation operations. -[Experimental("OPENAI001")] [CodeGenType("Evals")] [CodeGenSuppress("CreateEval", typeof(InternalCreateEvalRequest), typeof(CancellationToken))] [CodeGenSuppress("CreateEvalAsync", typeof(InternalCreateEvalRequest), typeof(CancellationToken))] diff --git a/src/Custom/Files/OpenAIFileClient.Protocol.cs b/src/Custom/Files/OpenAIFileClient.Protocol.cs index 167a335c8..5301c0530 100644 --- a/src/Custom/Files/OpenAIFileClient.Protocol.cs +++ b/src/Custom/Files/OpenAIFileClient.Protocol.cs @@ -7,210 +7,8 @@ namespace OpenAI.Files; -[CodeGenSuppress("CreateFileAsync", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CreateFile", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("ListFilesAsync", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("ListFiles", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("RetrieveFileAsync", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("RetrieveFile", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("DeleteFileAsync", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("DeleteFile", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("DownloadFileAsync", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("DownloadFile", typeof(string), typeof(RequestOptions))] public partial class OpenAIFileClient { - /// - /// [Protocol Method] Upload a file that can be used across various endpoints. The size of all the files uploaded by - /// one organization can be up to 100 GB. - /// - /// The size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See - /// the Assistants Tools guide to - /// learn more about the types of files supported. The Fine-tuning API only supports `.jsonl` files. - /// - /// Please contact us if you need to increase these - /// storage limits. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task UploadFileAsync(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateFileRequest(content, contentType, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Upload a file that can be used across various endpoints. The size of all the files uploaded by - /// one organization can be up to 100 GB. - /// - /// The size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See - /// the Assistants Tools guide to - /// learn more about the types of files supported. The Fine-tuning API only supports `.jsonl` files. - /// - /// Please contact us if you need to increase these - /// storage limits. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult UploadFile(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateFileRequest(content, contentType, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Retrieves a list of files that belong to the user's organization. - /// - /// Only return files with the given purpose. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GetFilesAsync(string purpose, RequestOptions options) - { - using PipelineMessage message = CreateGetFilesRequest(purpose, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Retrieves a list of files that belong to the user's organization. - /// - /// Only return files with the given purpose. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GetFiles(string purpose, RequestOptions options) - { - using PipelineMessage message = CreateGetFilesRequest(purpose, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Retrieves information about a specified file. - /// - /// The ID of the file to retrieve. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GetFileAsync(string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateRetrieveFileRequest(fileId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Retrieves information about a specified file. - /// - /// The ID of the file to retrieve. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GetFile(string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateRetrieveFileRequest(fileId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Deletes a previously uploaded file. - /// - /// The ID of the file to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task DeleteFileAsync(string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateDeleteFileRequest(fileId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Deletes a previously uploaded file. - /// - /// The ID of the file to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult DeleteFile(string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateDeleteFileRequest(fileId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Downloads the binary content of the specified file. - /// - /// The ID of the file to download. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task DownloadFileAsync(string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateDownloadFileRequest(fileId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Downloads the binary content of the specified file. - /// - /// The ID of the file to download. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult DownloadFile(string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateDownloadFileRequest(fileId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - /// /// [Protocol Method] Creates an intermediate upload to which data can be added in chunks of bytes. An upload /// can accept at most 8 GB in total and expires an hour after it is created. diff --git a/src/Custom/Files/OpenAIFileClient.cs b/src/Custom/Files/OpenAIFileClient.cs index 2778d5526..272591e81 100644 --- a/src/Custom/Files/OpenAIFileClient.cs +++ b/src/Custom/Files/OpenAIFileClient.cs @@ -15,8 +15,8 @@ namespace OpenAI.Files; [CodeGenSuppress("OpenAIFileClient", typeof(ClientPipeline), typeof(Uri))] [CodeGenSuppress("GetFilesAsync", typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetFiles", typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("RetrieveFileAsync", typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("RetrieveFile", typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("GetFileAsync", typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("GetFile", typeof(string), typeof(CancellationToken))] public partial class OpenAIFileClient { private InternalUploadsClient _internalUploadsClient; diff --git a/src/Custom/FineTuning/FineTuningCheckpoint.cs b/src/Custom/FineTuning/FineTuningCheckpoint.cs index bc04688ac..4141b779f 100644 --- a/src/Custom/FineTuning/FineTuningCheckpoint.cs +++ b/src/Custom/FineTuning/FineTuningCheckpoint.cs @@ -1,9 +1,8 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuningJobCheckpoint")] public partial class FineTuningCheckpoint { diff --git a/src/Custom/FineTuning/FineTuningCheckpointMetrics.cs b/src/Custom/FineTuning/FineTuningCheckpointMetrics.cs index 05548245e..98440e74e 100644 --- a/src/Custom/FineTuning/FineTuningCheckpointMetrics.cs +++ b/src/Custom/FineTuning/FineTuningCheckpointMetrics.cs @@ -1,11 +1,10 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuningJobCheckpointMetrics")] public partial class FineTuningCheckpointMetrics { diff --git a/src/Custom/FineTuning/FineTuningClient.cs b/src/Custom/FineTuning/FineTuningClient.cs index fde3c4f43..3ebd263fe 100644 --- a/src/Custom/FineTuning/FineTuningClient.cs +++ b/src/Custom/FineTuning/FineTuningClient.cs @@ -15,7 +15,6 @@ namespace OpenAI.FineTuning; // - Suppressed constructor that takes endpoint parameter; endpoint is now a property in the options class. // - Suppressed convenience methods for now. /// The service client for OpenAI fine-tuning jobs. -[Experimental("OPENAI001")] [CodeGenType("FineTuning")] [CodeGenSuppress("CancelFineTuningJob", typeof(string), typeof(CancellationToken))] [CodeGenSuppress("CancelFineTuningJobAsync", typeof(string), typeof(CancellationToken))] diff --git a/src/Custom/FineTuning/FineTuningError.cs b/src/Custom/FineTuning/FineTuningError.cs index 8157b3fc1..1b0939ecd 100644 --- a/src/Custom/FineTuning/FineTuningError.cs +++ b/src/Custom/FineTuning/FineTuningError.cs @@ -2,7 +2,6 @@ namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuningJobError1")] public partial class FineTuningError { diff --git a/src/Custom/FineTuning/FineTuningEvent.cs b/src/Custom/FineTuning/FineTuningEvent.cs index 816978735..f777cca6f 100644 --- a/src/Custom/FineTuning/FineTuningEvent.cs +++ b/src/Custom/FineTuning/FineTuningEvent.cs @@ -1,11 +1,10 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuningJobEvent")] public partial class FineTuningEvent { diff --git a/src/Custom/FineTuning/FineTuningHyperparameters.cs b/src/Custom/FineTuning/FineTuningHyperparameters.cs index 8c580c7e3..dc74dbd63 100644 --- a/src/Custom/FineTuning/FineTuningHyperparameters.cs +++ b/src/Custom/FineTuning/FineTuningHyperparameters.cs @@ -1,10 +1,9 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuningJobHyperparameters")] [StructLayout(LayoutKind.Auto)] public readonly partial struct FineTuningHyperparameters diff --git a/src/Custom/FineTuning/FineTuningIntegration.cs b/src/Custom/FineTuning/FineTuningIntegration.cs index 8bbe13d7c..f483c98e3 100644 --- a/src/Custom/FineTuning/FineTuningIntegration.cs +++ b/src/Custom/FineTuning/FineTuningIntegration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; @@ -10,7 +10,6 @@ namespace OpenAI.FineTuning; /// Parent class for all fine-tuning integrations. /// Use to create a Weights & Biases integration. /// -[Experimental("OPENAI001")] [CodeGenType("CreateFineTuningJobRequestIntegration")] public partial class FineTuningIntegration { diff --git a/src/Custom/FineTuning/FineTuningJobEventType.cs b/src/Custom/FineTuning/FineTuningJobEventType.cs index 1d7bc5fd7..d1c9ebd3d 100644 --- a/src/Custom/FineTuning/FineTuningJobEventType.cs +++ b/src/Custom/FineTuning/FineTuningJobEventType.cs @@ -1,8 +1,7 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuningJobEventType")] public readonly partial struct FineTuningJobEventKind { diff --git a/src/Custom/FineTuning/FineTuningOptions.cs b/src/Custom/FineTuning/FineTuningOptions.cs index 98655ca04..75a4dda90 100644 --- a/src/Custom/FineTuning/FineTuningOptions.cs +++ b/src/Custom/FineTuning/FineTuningOptions.cs @@ -1,4 +1,4 @@ -using System.ClientModel; +using System.ClientModel; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; @@ -7,7 +7,6 @@ namespace OpenAI.FineTuning; /// /// Represents additional options available when creating a . /// -[Experimental("OPENAI001")] [CodeGenType("CreateFineTuningJobRequest")] public partial class FineTuningOptions { diff --git a/src/Custom/FineTuning/FineTuningStatus.cs b/src/Custom/FineTuning/FineTuningStatus.cs index e7f6de9cb..b2be30311 100644 --- a/src/Custom/FineTuning/FineTuningStatus.cs +++ b/src/Custom/FineTuning/FineTuningStatus.cs @@ -1,9 +1,8 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuningJobStatus")] public readonly partial struct FineTuningStatus : IEquatable { diff --git a/src/Custom/FineTuning/FineTuningTrainingMethod.cs b/src/Custom/FineTuning/FineTuningTrainingMethod.cs index f7da0c290..36532481c 100644 --- a/src/Custom/FineTuning/FineTuningTrainingMethod.cs +++ b/src/Custom/FineTuning/FineTuningTrainingMethod.cs @@ -4,7 +4,6 @@ namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuneMethod")] public partial class FineTuningTrainingMethod { diff --git a/src/Custom/FineTuning/HyperParametersForSupervised.cs b/src/Custom/FineTuning/HyperParametersForSupervised.cs index 131768bbc..3efa668c9 100644 --- a/src/Custom/FineTuning/HyperParametersForSupervised.cs +++ b/src/Custom/FineTuning/HyperParametersForSupervised.cs @@ -1,9 +1,8 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuneSupervisedHyperparameters")] public partial class HyperparametersForSupervised : MethodHyperparameters { diff --git a/src/Custom/FineTuning/HyperparametersForDPO.cs b/src/Custom/FineTuning/HyperparametersForDPO.cs index b09d6bd6b..8f1ca595f 100644 --- a/src/Custom/FineTuning/HyperparametersForDPO.cs +++ b/src/Custom/FineTuning/HyperparametersForDPO.cs @@ -1,10 +1,9 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning; -[Experimental("OPENAI001")] [CodeGenType("FineTuneDPOHyperparameters")] public partial class HyperparametersForDPO : MethodHyperparameters { diff --git a/src/Custom/FineTuning/WeightsAndBiasesIntegration.cs b/src/Custom/FineTuning/WeightsAndBiasesIntegration.cs index b0b1161d8..3f5eee1b4 100644 --- a/src/Custom/FineTuning/WeightsAndBiasesIntegration.cs +++ b/src/Custom/FineTuning/WeightsAndBiasesIntegration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; @@ -7,7 +7,6 @@ namespace OpenAI.FineTuning; /// /// Settings for fine tuning integration with Weights and Biases (https://wandb.ai). /// -[Experimental("OPENAI001")] [CodeGenType("CreateFineTuningJobRequestWandbIntegration")] [CodeGenSuppress(nameof(WeightsAndBiasesIntegration), typeof(InternalCreateFineTuningJobRequestWandbIntegrationWandb))] [CodeGenSuppress(nameof(WeightsAndBiasesIntegration), typeof(string), typeof(IDictionary), typeof(InternalCreateFineTuningJobRequestWandbIntegrationWandb))] diff --git a/src/Custom/Graders/Internal/GeneratorStubs.cs b/src/Custom/Graders/Internal/GeneratorStubs.cs index 2c6d63908..92445a65c 100644 --- a/src/Custom/Graders/Internal/GeneratorStubs.cs +++ b/src/Custom/Graders/Internal/GeneratorStubs.cs @@ -8,7 +8,7 @@ namespace OpenAI.Graders; [Experimental("OPENAI002")][CodeGenType("GraderStringCheckOperation")] internal readonly partial struct InternalGraderStringCheckOperation {} [Experimental("OPENAI002")][CodeGenType("GraderType")] internal readonly partial struct InternalGraderType {} -[Experimental("OPENAI002")][CodeGenType("EvalGraderTextSimilarityResourceEvaluationMetric")] internal readonly partial struct InternalEvalGraderTextSimilarityResourceEvaluationMetric {} +[Experimental("OPENAI002")][CodeGenType("GraderTextSimilarityEvaluationMetric")] internal readonly partial struct InternalGraderTextSimilarityEvaluationMetric {} [CodeGenType("GraderStringCheck")] internal partial class InternalGraderStringCheck {} [CodeGenType("Grader")] internal partial class InternalGrader {} [CodeGenType("UnknownGrader")] internal partial class InternalUnknownGrader {} @@ -17,7 +17,8 @@ namespace OpenAI.Graders; [CodeGenType("GraderPython")] internal partial class InternalGraderPython {} [CodeGenType("GraderScoreModel")] internal partial class InternalGraderScoreModel {} [CodeGenType("GraderMulti")] internal partial class InternalGraderMulti {} -[CodeGenType("FineTuneReinforcementHyperparameters")] internal partial class InternalFineTuneReinforcementHyperparameters {} +[CodeGenType("FineTuneReinforcementHyperparameters")] internal partial class InternalFineTuneReinforcementHyperparameters { } + [CodeGenType("RunGraderRequest")] internal partial class InternalRunGraderRequest { diff --git a/src/Custom/Images/GeneratedImageBackground.cs b/src/Custom/Images/GeneratedImageBackground.cs index 89d68465c..2d96c7c18 100644 --- a/src/Custom/Images/GeneratedImageBackground.cs +++ b/src/Custom/Images/GeneratedImageBackground.cs @@ -5,7 +5,6 @@ namespace OpenAI.Images; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("CreateImageRequestBackground")] public readonly partial struct GeneratedImageBackground diff --git a/src/Custom/Images/GeneratedImageFileFormat.cs b/src/Custom/Images/GeneratedImageFileFormat.cs index 9b6ffb28a..a478dc817 100644 --- a/src/Custom/Images/GeneratedImageFileFormat.cs +++ b/src/Custom/Images/GeneratedImageFileFormat.cs @@ -5,7 +5,6 @@ namespace OpenAI.Images; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("CreateImageRequestOutputFormat")] public readonly partial struct GeneratedImageFileFormat diff --git a/src/Custom/Images/GeneratedImageModerationLevel.cs b/src/Custom/Images/GeneratedImageModerationLevel.cs index 2036aa329..9c575dff0 100644 --- a/src/Custom/Images/GeneratedImageModerationLevel.cs +++ b/src/Custom/Images/GeneratedImageModerationLevel.cs @@ -5,7 +5,6 @@ namespace OpenAI.Images; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("CreateImageRequestModeration")] public readonly partial struct GeneratedImageModerationLevel diff --git a/src/Custom/Images/ImageClient.Protocol.cs b/src/Custom/Images/ImageClient.Protocol.cs deleted file mode 100644 index 8cadc9996..000000000 --- a/src/Custom/Images/ImageClient.Protocol.cs +++ /dev/null @@ -1,162 +0,0 @@ -using System; -using System.ClientModel; -using System.ClientModel.Primitives; -using System.ComponentModel; -using System.Threading.Tasks; - -namespace OpenAI.Images; - -[CodeGenSuppress("CreateImageAsync", typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("CreateImage", typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("CreateImageEditAsync", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CreateImageEdit", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CreateImageVariationAsync", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CreateImageVariation", typeof(BinaryContent), typeof(string), typeof(RequestOptions))] -public partial class ImageClient -{ - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - /// - /// [Protocol Method] Generates images based on a given prompt. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GenerateImagesAsync(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateImageRequest(content, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - /// - /// [Protocol Method] Generates images based on a given prompt. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GenerateImages(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateImageRequest(content, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - // - Parametrized the Content-Type header. - // - Added "contentType" parameter. - /// - /// [Protocol Method] Generates edited or extended images given an original image and a prompt. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GenerateImageEditsAsync(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateImageEditRequest(content, contentType, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - // - Parametrized the Content-Type header. - // - Added "contentType" parameter. - /// - /// [Protocol Method] Generates edited or extended images given an original image and a prompt. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GenerateImageEdits(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateImageEditRequest(content, contentType, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - // - Parametrized the Content-Type header. - // - Added "contentType" parameter. - /// - /// [Protocol Method] Generates variations of a given image. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GenerateImageVariationsAsync(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateImageVariationRequest(content, contentType, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - // CUSTOM: - // - Renamed. - // - Edited the cref in the doc comment to point to the correct convenience overload after it was also renamed. - // - Added the EditorBrowsable attribute to hide protocol methods from IntelliSense when a convenience overload is available. - // - Parametrized the Content-Type header. - // - Added "contentType" parameter. - /// - /// [Protocol Method] Generates variations of a given image. - /// - /// The content to send as the body of the request. - /// The content type of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GenerateImageVariations(BinaryContent content, string contentType, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - Argument.AssertNotNullOrEmpty(contentType, nameof(contentType)); - - using PipelineMessage message = CreateCreateImageVariationRequest(content, contentType, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } -} diff --git a/src/Custom/Images/ImageClient.cs b/src/Custom/Images/ImageClient.cs index 3815fc870..b66b3b86c 100644 --- a/src/Custom/Images/ImageClient.cs +++ b/src/Custom/Images/ImageClient.cs @@ -15,8 +15,8 @@ namespace OpenAI.Images; /// The service client for OpenAI image operations. [CodeGenType("Images")] [CodeGenSuppress("ImageClient", typeof(ClientPipeline), typeof(Uri))] -[CodeGenSuppress("CreateImageAsync", typeof(ImageGenerationOptions), typeof(CancellationToken))] -[CodeGenSuppress("CreateImage", typeof(ImageGenerationOptions), typeof(CancellationToken))] +[CodeGenSuppress("GenerateImagesAsync", typeof(ImageGenerationOptions), typeof(CancellationToken))] +[CodeGenSuppress("GenerateImages", typeof(ImageGenerationOptions), typeof(CancellationToken))] public partial class ImageClient { private readonly string _model; diff --git a/src/Custom/Images/ImageInputTokenUsageDetails.cs b/src/Custom/Images/ImageInputTokenUsageDetails.cs index 1fef1b37e..8a33b6d91 100644 --- a/src/Custom/Images/ImageInputTokenUsageDetails.cs +++ b/src/Custom/Images/ImageInputTokenUsageDetails.cs @@ -5,7 +5,6 @@ namespace OpenAI.Images; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ImagesResponseUsageInputTokensDetails")] public partial class ImageInputTokenUsageDetails { diff --git a/src/Custom/Images/ImageTokenUsage.cs b/src/Custom/Images/ImageTokenUsage.cs index deb7c802c..0867c8ec6 100644 --- a/src/Custom/Images/ImageTokenUsage.cs +++ b/src/Custom/Images/ImageTokenUsage.cs @@ -5,7 +5,6 @@ namespace OpenAI.Images; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ImagesResponseUsage")] public partial class ImageTokenUsage { diff --git a/src/Custom/Models/OpenAIModelClient.Protocol.cs b/src/Custom/Models/OpenAIModelClient.Protocol.cs index 648528fcd..d5705c515 100644 --- a/src/Custom/Models/OpenAIModelClient.Protocol.cs +++ b/src/Custom/Models/OpenAIModelClient.Protocol.cs @@ -21,7 +21,6 @@ public partial class OpenAIModelClient /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task GetModelsAsync(RequestOptions options) { using PipelineMessage message = CreateGetModelsRequest(options); @@ -35,7 +34,6 @@ public virtual async Task GetModelsAsync(RequestOptions options) /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetModels(RequestOptions options) { using PipelineMessage message = CreateGetModelsRequest(options); @@ -52,7 +50,6 @@ public virtual ClientResult GetModels(RequestOptions options) /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task GetModelAsync(string model, RequestOptions options) { Argument.AssertNotNullOrEmpty(model, nameof(model)); @@ -71,7 +68,6 @@ public virtual async Task GetModelAsync(string model, RequestOptio /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetModel(string model, RequestOptions options) { Argument.AssertNotNullOrEmpty(model, nameof(model)); @@ -89,7 +85,6 @@ public virtual ClientResult GetModel(string model, RequestOptions options) /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task DeleteModelAsync(string model, RequestOptions options) { Argument.AssertNotNullOrEmpty(model, nameof(model)); @@ -107,7 +102,6 @@ public virtual async Task DeleteModelAsync(string model, RequestOp /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult DeleteModel(string model, RequestOptions options) { Argument.AssertNotNullOrEmpty(model, nameof(model)); diff --git a/src/Custom/Moderations/ModerationClient.Protocol.cs b/src/Custom/Moderations/ModerationClient.Protocol.cs deleted file mode 100644 index 38e140cc2..000000000 --- a/src/Custom/Moderations/ModerationClient.Protocol.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.ClientModel; -using System.ClientModel.Primitives; -using System.ComponentModel; -using System.Threading.Tasks; - -namespace OpenAI.Moderations; - -[CodeGenSuppress("CreateModerationAsync", typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("CreateModeration", typeof(BinaryContent), typeof(RequestOptions))] -public partial class ModerationClient -{ - /// - /// [Protocol Method] Classifies if text is potentially harmful. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task ClassifyTextAsync(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateModerationRequest(content, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Classifies if text is potentially harmful. - /// - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult ClassifyText(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateModerationRequest(content, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } -} diff --git a/src/Custom/Moderations/ModerationClient.cs b/src/Custom/Moderations/ModerationClient.cs index 76cdf34f5..adfe5eafa 100644 --- a/src/Custom/Moderations/ModerationClient.cs +++ b/src/Custom/Moderations/ModerationClient.cs @@ -17,8 +17,8 @@ namespace OpenAI.Moderations; /// The service client for OpenAI moderation operations. [CodeGenType("Moderations")] [CodeGenSuppress("ModerationClient", typeof(ClientPipeline), typeof(Uri))] -[CodeGenSuppress("CreateModerationAsync", typeof(ModerationOptions), typeof(CancellationToken))] -[CodeGenSuppress("CreateModeration", typeof(ModerationOptions), typeof(CancellationToken))] +[CodeGenSuppress("ClassifyTextAsync", typeof(ModerationOptions), typeof(CancellationToken))] +[CodeGenSuppress("ClassifyText", typeof(ModerationOptions), typeof(CancellationToken))] public partial class ModerationClient { private readonly string _model; diff --git a/src/Custom/Realtime/ConversationContentPart.cs b/src/Custom/Realtime/ConversationContentPart.cs index c9c233109..f369b5d5f 100644 --- a/src/Custom/Realtime/ConversationContentPart.cs +++ b/src/Custom/Realtime/ConversationContentPart.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeContentPart")] public partial class ConversationContentPart { diff --git a/src/Custom/Realtime/ConversationContentPartKind.cs b/src/Custom/Realtime/ConversationContentPartKind.cs index b211c3331..5da8fd667 100644 --- a/src/Custom/Realtime/ConversationContentPartKind.cs +++ b/src/Custom/Realtime/ConversationContentPartKind.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeContentPartType")] public readonly partial struct ConversationContentPartKind { diff --git a/src/Custom/Realtime/ConversationFunctionTool.cs b/src/Custom/Realtime/ConversationFunctionTool.cs index e1aa5e78b..fb2edd459 100644 --- a/src/Custom/Realtime/ConversationFunctionTool.cs +++ b/src/Custom/Realtime/ConversationFunctionTool.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeFunctionTool")] public partial class ConversationFunctionTool : ConversationTool { diff --git a/src/Custom/Realtime/ConversationIncompleteReason.cs b/src/Custom/Realtime/ConversationIncompleteReason.cs index b36db8ed5..60ebeb8fb 100644 --- a/src/Custom/Realtime/ConversationIncompleteReason.cs +++ b/src/Custom/Realtime/ConversationIncompleteReason.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeResponseStatusDetailsReason")] public readonly partial struct ConversationIncompleteReason { diff --git a/src/Custom/Realtime/ConversationInputTokenUsageDetails.cs b/src/Custom/Realtime/ConversationInputTokenUsageDetails.cs index c0e4ebc49..1ffa7cd8c 100644 --- a/src/Custom/Realtime/ConversationInputTokenUsageDetails.cs +++ b/src/Custom/Realtime/ConversationInputTokenUsageDetails.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeResponseUsageInputTokenDetails")] public partial class ConversationInputTokenUsageDetails { diff --git a/src/Custom/Realtime/ConversationOutputTokenUsageDetails.cs b/src/Custom/Realtime/ConversationOutputTokenUsageDetails.cs index f6f2cd4f4..a84cff1e9 100644 --- a/src/Custom/Realtime/ConversationOutputTokenUsageDetails.cs +++ b/src/Custom/Realtime/ConversationOutputTokenUsageDetails.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeResponseUsageOutputTokenDetails")] public partial class ConversationOutputTokenUsageDetails { diff --git a/src/Custom/Realtime/ConversationRateLimitDetailsItem.cs b/src/Custom/Realtime/ConversationRateLimitDetailsItem.cs index 8d1aa149d..ecc882501 100644 --- a/src/Custom/Realtime/ConversationRateLimitDetailsItem.cs +++ b/src/Custom/Realtime/ConversationRateLimitDetailsItem.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventRateLimitsUpdatedRateLimitsItem")] public partial class ConversationRateLimitDetailsItem { diff --git a/src/Custom/Realtime/ConversationResponseOptions.cs b/src/Custom/Realtime/ConversationResponseOptions.cs index e75b90d64..ecd24b1c4 100644 --- a/src/Custom/Realtime/ConversationResponseOptions.cs +++ b/src/Custom/Realtime/ConversationResponseOptions.cs @@ -7,7 +7,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeResponseCreateParams")] public partial class ConversationResponseOptions { diff --git a/src/Custom/Realtime/ConversationSessionOptions.cs b/src/Custom/Realtime/ConversationSessionOptions.cs index 6f4438b60..524dcfd25 100644 --- a/src/Custom/Realtime/ConversationSessionOptions.cs +++ b/src/Custom/Realtime/ConversationSessionOptions.cs @@ -6,7 +6,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeRequestSession")] public partial class ConversationSessionOptions { diff --git a/src/Custom/Realtime/ConversationStatusDetails.cs b/src/Custom/Realtime/ConversationStatusDetails.cs index 1b9166f47..cdbbb1461 100644 --- a/src/Custom/Realtime/ConversationStatusDetails.cs +++ b/src/Custom/Realtime/ConversationStatusDetails.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeResponseStatusDetails")] public partial class ConversationStatusDetails { diff --git a/src/Custom/Realtime/ConversationTool.cs b/src/Custom/Realtime/ConversationTool.cs index 6165f8c0a..7ee0537b1 100644 --- a/src/Custom/Realtime/ConversationTool.cs +++ b/src/Custom/Realtime/ConversationTool.cs @@ -3,7 +3,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeTool")] public partial class ConversationTool { diff --git a/src/Custom/Realtime/GeneratorStubs.cs b/src/Custom/Realtime/GeneratorStubs.cs index 72c06de65..e6982c8dc 100644 --- a/src/Custom/Realtime/GeneratorStubs.cs +++ b/src/Custom/Realtime/GeneratorStubs.cs @@ -2,12 +2,12 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")][CodeGenType("RealtimeAudioFormat")] public readonly partial struct RealtimeAudioFormat { } -[Experimental("OPENAI002")][CodeGenType("RealtimeAudioInputTranscriptionModel")] public readonly partial struct InputTranscriptionModel { } -[Experimental("OPENAI002")][CodeGenType("RealtimeAudioInputTranscriptionSettings")] public partial class InputTranscriptionOptions { } -[Experimental("OPENAI002")][CodeGenType("RealtimeItemStatus")] public readonly partial struct ConversationItemStatus { } -[Experimental("OPENAI002")][CodeGenType("RealtimeMessageRole")] public readonly partial struct ConversationMessageRole { } -[Experimental("OPENAI002")][CodeGenType("RealtimeResponseStatus")] public readonly partial struct ConversationStatus { } -[Experimental("OPENAI002")][CodeGenType("RealtimeResponseUsage")] public partial class ConversationTokenUsage { } -[Experimental("OPENAI002")][CodeGenType("RealtimeToolType")] public readonly partial struct ConversationToolKind { } -[Experimental("OPENAI002")][CodeGenType("DotNetRealtimeVoiceIds")] public readonly partial struct ConversationVoice { } +[CodeGenType("RealtimeAudioFormat")] public readonly partial struct RealtimeAudioFormat { } +[CodeGenType("RealtimeAudioInputTranscriptionModel")] public readonly partial struct InputTranscriptionModel { } +[CodeGenType("RealtimeAudioInputTranscriptionSettings")] public partial class InputTranscriptionOptions { } +[CodeGenType("RealtimeItemStatus")] public readonly partial struct ConversationItemStatus { } +[CodeGenType("RealtimeMessageRole")] public readonly partial struct ConversationMessageRole { } +[CodeGenType("RealtimeResponseStatus")] public readonly partial struct ConversationStatus { } +[CodeGenType("RealtimeResponseUsage")] public partial class ConversationTokenUsage { } +[CodeGenType("RealtimeToolType")] public readonly partial struct ConversationToolKind { } +[CodeGenType("DotNetRealtimeVoiceIds")] public readonly partial struct ConversationVoice { } diff --git a/src/Custom/Realtime/InputNoiseReductionOptions.cs b/src/Custom/Realtime/InputNoiseReductionOptions.cs index 2fab494da..aa9fc2001 100644 --- a/src/Custom/Realtime/InputNoiseReductionOptions.cs +++ b/src/Custom/Realtime/InputNoiseReductionOptions.cs @@ -1,9 +1,8 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeAudioNoiseReduction")] public partial class InputNoiseReductionOptions { diff --git a/src/Custom/Realtime/RealtimeClient.Protocol.cs b/src/Custom/Realtime/RealtimeClient.Protocol.cs index 087f1ede1..004042c5a 100644 --- a/src/Custom/Realtime/RealtimeClient.Protocol.cs +++ b/src/Custom/Realtime/RealtimeClient.Protocol.cs @@ -18,7 +18,6 @@ public partial class RealtimeClient /// /// /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task StartConversationSessionAsync(string model, RequestOptions options) { Argument.AssertNotNull(model, nameof(model)); @@ -31,7 +30,6 @@ public virtual async Task StartConversationSessionAsync(string /// /// /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task StartTranscriptionSessionAsync(RequestOptions options) => StartSessionAsync(model: null, intent: "transcription", options); @@ -43,7 +41,6 @@ public virtual Task StartTranscriptionSessionAsync(RequestOptio /// /// /// - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task StartSessionAsync(string model, string intent, RequestOptions options) { Uri fullEndpoint = BuildSessionEndpoint(_baseEndpoint, model, intent); diff --git a/src/Custom/Realtime/RealtimeClient.cs b/src/Custom/Realtime/RealtimeClient.cs index 3d0174097..89187a9f7 100644 --- a/src/Custom/Realtime/RealtimeClient.cs +++ b/src/Custom/Realtime/RealtimeClient.cs @@ -15,7 +15,6 @@ namespace OpenAI.Realtime; [CodeGenSuppress("CreateEphemeralTranscriptionTokenAsync", typeof(TranscriptionSessionOptions), typeof(CancellationToken))] [CodeGenSuppress("StartRealtimeSession", typeof(IEnumerable), typeof(CancellationToken))] [CodeGenSuppress("StartRealtimeSessionAsync", typeof(IEnumerable), typeof(CancellationToken))] -[Experimental("OPENAI002")] public partial class RealtimeClient { public event EventHandler OnSendingCommand; diff --git a/src/Custom/Realtime/RealtimeItem.cs b/src/Custom/Realtime/RealtimeItem.cs index c3a8bc663..e407000f2 100644 --- a/src/Custom/Realtime/RealtimeItem.cs +++ b/src/Custom/Realtime/RealtimeItem.cs @@ -4,7 +4,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeConversationRequestItem")] public partial class RealtimeItem { diff --git a/src/Custom/Realtime/RealtimeSession.Protocol.cs b/src/Custom/Realtime/RealtimeSession.Protocol.cs index c53fd6237..13d71dd30 100644 --- a/src/Custom/Realtime/RealtimeSession.Protocol.cs +++ b/src/Custom/Realtime/RealtimeSession.Protocol.cs @@ -21,7 +21,6 @@ public partial class RealtimeSession /// /// /// - [EditorBrowsable(EditorBrowsableState.Never)] protected internal virtual async Task ConnectAsync(RequestOptions options) { WebSocket?.Dispose(); @@ -37,13 +36,11 @@ await clientWebSocket.ConnectAsync(_endpoint, options?.CancellationToken ?? defa WebSocket = clientWebSocket; } - [EditorBrowsable(EditorBrowsableState.Never)] protected internal virtual void Connect(RequestOptions options) { ConnectAsync(options).Wait(); } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task SendCommandAsync(BinaryData data, RequestOptions options) { Argument.AssertNotNull(data, nameof(data)); @@ -70,14 +67,12 @@ await WebSocket.SendAsync( } } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual void SendCommand(BinaryData data, RequestOptions options) { // ClientWebSocket does **not** include a synchronous Send() SendCommandAsync(data, options).ConfigureAwait(false).GetAwaiter().GetResult(); } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async IAsyncEnumerable ReceiveUpdatesAsync(RequestOptions options) { lock (_singleReceiveLock) @@ -95,7 +90,6 @@ public virtual async IAsyncEnumerable ReceiveUpdatesAsync(RequestO } } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual IEnumerable ReceiveUpdates(RequestOptions options) { throw new NotImplementedException(); diff --git a/src/Custom/Realtime/ResponseConversationSelection.cs b/src/Custom/Realtime/ResponseConversationSelection.cs index c2afbd7a6..c4c907b5e 100644 --- a/src/Custom/Realtime/ResponseConversationSelection.cs +++ b/src/Custom/Realtime/ResponseConversationSelection.cs @@ -7,7 +7,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeResponseCreateParamsConversation")] public readonly partial struct ResponseConversationSelection { diff --git a/src/Custom/Realtime/Streaming/ConversationSessionConfiguredUpdate.cs b/src/Custom/Realtime/Streaming/ConversationSessionConfiguredUpdate.cs index abe5d4181..ac3e71349 100644 --- a/src/Custom/Realtime/Streaming/ConversationSessionConfiguredUpdate.cs +++ b/src/Custom/Realtime/Streaming/ConversationSessionConfiguredUpdate.cs @@ -11,7 +11,6 @@ namespace OpenAI.Realtime; /// has been applied to the session. New session configuration related to response generation will not take effect /// until the next response; shared session configuration, such as input audio format, will apply immediately. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventSessionUpdated")] public partial class ConversationSessionConfiguredUpdate { diff --git a/src/Custom/Realtime/Streaming/ConversationSessionStartedUpdate.cs b/src/Custom/Realtime/Streaming/ConversationSessionStartedUpdate.cs index a1a3beff0..f7085dd0d 100644 --- a/src/Custom/Realtime/Streaming/ConversationSessionStartedUpdate.cs +++ b/src/Custom/Realtime/Streaming/ConversationSessionStartedUpdate.cs @@ -11,7 +11,6 @@ namespace OpenAI.Realtime; /// command /// (). /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventSessionCreated")] public partial class ConversationSessionStartedUpdate { diff --git a/src/Custom/Realtime/Streaming/InputAudioClearedUpdate.cs b/src/Custom/Realtime/Streaming/InputAudioClearedUpdate.cs index ffedaf2fa..2dec486ce 100644 --- a/src/Custom/Realtime/Streaming/InputAudioClearedUpdate.cs +++ b/src/Custom/Realtime/Streaming/InputAudioClearedUpdate.cs @@ -12,7 +12,6 @@ namespace OpenAI.Realtime; /// ( has completed /// purging the user audio input buffer. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventInputAudioBufferCleared")] public partial class InputAudioClearedUpdate { } diff --git a/src/Custom/Realtime/Streaming/InputAudioCommittedUpdate.cs b/src/Custom/Realtime/Streaming/InputAudioCommittedUpdate.cs index b278a6378..f13aa60ba 100644 --- a/src/Custom/Realtime/Streaming/InputAudioCommittedUpdate.cs +++ b/src/Custom/Realtime/Streaming/InputAudioCommittedUpdate.cs @@ -12,7 +12,6 @@ namespace OpenAI.Realtime; /// ( has /// completed submission of the user audio input buffer. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventInputAudioBufferCommitted")] public partial class InputAudioCommittedUpdate { } diff --git a/src/Custom/Realtime/Streaming/InputAudioSpeechFinishedUpdate.cs b/src/Custom/Realtime/Streaming/InputAudioSpeechFinishedUpdate.cs index c8429c8b1..ea7788afc 100644 --- a/src/Custom/Realtime/Streaming/InputAudioSpeechFinishedUpdate.cs +++ b/src/Custom/Realtime/Streaming/InputAudioSpeechFinishedUpdate.cs @@ -11,7 +11,6 @@ namespace OpenAI.Realtime; /// server_vad turn_detection (including the default) detects the end of evaluated human speech /// within the input audio buffer. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventInputAudioBufferSpeechStopped")] public partial class InputAudioSpeechFinishedUpdate { diff --git a/src/Custom/Realtime/Streaming/InputAudioSpeechStartedUpdate.cs b/src/Custom/Realtime/Streaming/InputAudioSpeechStartedUpdate.cs index 99a882a07..a183ac116 100644 --- a/src/Custom/Realtime/Streaming/InputAudioSpeechStartedUpdate.cs +++ b/src/Custom/Realtime/Streaming/InputAudioSpeechStartedUpdate.cs @@ -11,7 +11,6 @@ namespace OpenAI.Realtime; /// server_vad turn_detection (including the default) processes the end of evaluated human speech /// within the input audio buffer. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventInputAudioBufferSpeechStarted")] public partial class InputAudioSpeechStartedUpdate { diff --git a/src/Custom/Realtime/Streaming/InputAudioTranscriptionDeltaUpdate.cs b/src/Custom/Realtime/Streaming/InputAudioTranscriptionDeltaUpdate.cs index a2e0b2feb..349b71b94 100644 --- a/src/Custom/Realtime/Streaming/InputAudioTranscriptionDeltaUpdate.cs +++ b/src/Custom/Realtime/Streaming/InputAudioTranscriptionDeltaUpdate.cs @@ -13,7 +13,6 @@ namespace OpenAI.Realtime; /// (input_audio_transcription in session.update) /// settings. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventConversationItemInputAudioTranscriptionDelta")] public partial class InputAudioTranscriptionDeltaUpdate { diff --git a/src/Custom/Realtime/Streaming/InputAudioTranscriptionFailedUpdate.cs b/src/Custom/Realtime/Streaming/InputAudioTranscriptionFailedUpdate.cs index 5061a4a8e..ed3b2367d 100644 --- a/src/Custom/Realtime/Streaming/InputAudioTranscriptionFailedUpdate.cs +++ b/src/Custom/Realtime/Streaming/InputAudioTranscriptionFailedUpdate.cs @@ -12,7 +12,6 @@ namespace OpenAI.Realtime; /// (input_audio_transcription in session.update) /// settings. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventConversationItemInputAudioTranscriptionFailed")] public partial class InputAudioTranscriptionFailedUpdate { diff --git a/src/Custom/Realtime/Streaming/InputAudioTranscriptionFinishedUpdate.cs b/src/Custom/Realtime/Streaming/InputAudioTranscriptionFinishedUpdate.cs index b0dc99c18..1a1f4c73e 100644 --- a/src/Custom/Realtime/Streaming/InputAudioTranscriptionFinishedUpdate.cs +++ b/src/Custom/Realtime/Streaming/InputAudioTranscriptionFinishedUpdate.cs @@ -12,7 +12,6 @@ namespace OpenAI.Realtime; /// received when a configured input_audio_transcription has completed its parallel processing of the user /// audio input buffer. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventConversationItemInputAudioTranscriptionCompleted")] public partial class InputAudioTranscriptionFinishedUpdate { diff --git a/src/Custom/Realtime/Streaming/ItemCreatedUpdate.cs b/src/Custom/Realtime/Streaming/ItemCreatedUpdate.cs index 62d882d1a..61bcb3b4c 100644 --- a/src/Custom/Realtime/Streaming/ItemCreatedUpdate.cs +++ b/src/Custom/Realtime/Streaming/ItemCreatedUpdate.cs @@ -12,7 +12,6 @@ namespace OpenAI.Realtime; /// content streamed via *delta commands before finalization via a /// (response.output_item.done). /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventConversationItemCreated")] public partial class ItemCreatedUpdate { diff --git a/src/Custom/Realtime/Streaming/ItemDeletedUpdate.cs b/src/Custom/Realtime/Streaming/ItemDeletedUpdate.cs index ae5e52160..79f9b941c 100644 --- a/src/Custom/Realtime/Streaming/ItemDeletedUpdate.cs +++ b/src/Custom/Realtime/Streaming/ItemDeletedUpdate.cs @@ -11,7 +11,6 @@ namespace OpenAI.Realtime; /// conversation.item.delete request command /// (). /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventConversationItemDeleted")] public partial class ItemDeletedUpdate { } diff --git a/src/Custom/Realtime/Streaming/ItemRetrievedUpdate.cs b/src/Custom/Realtime/Streaming/ItemRetrievedUpdate.cs index 61b33310e..6e29b31fd 100644 --- a/src/Custom/Realtime/Streaming/ItemRetrievedUpdate.cs +++ b/src/Custom/Realtime/Streaming/ItemRetrievedUpdate.cs @@ -9,7 +9,6 @@ namespace OpenAI.Realtime; /// conversation.item.retrieve client command sent via /// . /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventConversationItemRetrieved")] public partial class ItemRetrievedUpdate { diff --git a/src/Custom/Realtime/Streaming/ItemTruncatedUpdate.cs b/src/Custom/Realtime/Streaming/ItemTruncatedUpdate.cs index 6983980af..3a9c7ff62 100644 --- a/src/Custom/Realtime/Streaming/ItemTruncatedUpdate.cs +++ b/src/Custom/Realtime/Streaming/ItemTruncatedUpdate.cs @@ -11,7 +11,6 @@ namespace OpenAI.Realtime; /// conversation.item.truncate request command /// (). /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventConversationItemTruncated")] public partial class ItemTruncatedUpdate { } diff --git a/src/Custom/Realtime/Streaming/OutputAudioFinishedUpdate.cs b/src/Custom/Realtime/Streaming/OutputAudioFinishedUpdate.cs index b10f1bbd9..3c5228193 100644 --- a/src/Custom/Realtime/Streaming/OutputAudioFinishedUpdate.cs +++ b/src/Custom/Realtime/Streaming/OutputAudioFinishedUpdate.cs @@ -12,7 +12,6 @@ namespace OpenAI.Realtime; /// (conversation.item.created) commands. /// This update indicates that all streamed delta content has completed and the associated content part will soon be completed. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventResponseAudioDone")] public partial class OutputAudioFinishedUpdate { } diff --git a/src/Custom/Realtime/Streaming/OutputAudioTranscriptionFinishedUpdate.cs b/src/Custom/Realtime/Streaming/OutputAudioTranscriptionFinishedUpdate.cs index 7be03203b..592ca7f46 100644 --- a/src/Custom/Realtime/Streaming/OutputAudioTranscriptionFinishedUpdate.cs +++ b/src/Custom/Realtime/Streaming/OutputAudioTranscriptionFinishedUpdate.cs @@ -11,7 +11,6 @@ namespace OpenAI.Realtime; /// commands for an output audio content part have been /// received. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventResponseAudioTranscriptDone")] public partial class OutputAudioTranscriptionFinishedUpdate { } diff --git a/src/Custom/Realtime/Streaming/OutputStreamingFinishedUpdate.cs b/src/Custom/Realtime/Streaming/OutputStreamingFinishedUpdate.cs index 1962c7796..e91ce276c 100644 --- a/src/Custom/Realtime/Streaming/OutputStreamingFinishedUpdate.cs +++ b/src/Custom/Realtime/Streaming/OutputStreamingFinishedUpdate.cs @@ -10,7 +10,6 @@ namespace OpenAI.Realtime; /// is preceded by a and some number of *delta commands as /// represented by . /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventResponseOutputItemDone")] public partial class OutputStreamingFinishedUpdate { diff --git a/src/Custom/Realtime/Streaming/OutputStreamingStartedUpdate.cs b/src/Custom/Realtime/Streaming/OutputStreamingStartedUpdate.cs index 25ce58824..3eb2c84ee 100644 --- a/src/Custom/Realtime/Streaming/OutputStreamingStartedUpdate.cs +++ b/src/Custom/Realtime/Streaming/OutputStreamingStartedUpdate.cs @@ -9,7 +9,6 @@ namespace OpenAI.Realtime; /// has begun generation of a new conversation item. This new item will have content streamed via *delta /// commands and paired with an ending response.output_item.done update. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventResponseOutputItemAdded")] public partial class OutputStreamingStartedUpdate { diff --git a/src/Custom/Realtime/Streaming/OutputTextFinishedUpdate.cs b/src/Custom/Realtime/Streaming/OutputTextFinishedUpdate.cs index b23127f07..67131d987 100644 --- a/src/Custom/Realtime/Streaming/OutputTextFinishedUpdate.cs +++ b/src/Custom/Realtime/Streaming/OutputTextFinishedUpdate.cs @@ -12,7 +12,6 @@ namespace OpenAI.Realtime; /// (conversation.item.created) updates. /// This update indicates that all streamed delta content has completed and the associated content part will soon be completed. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventResponseTextDone")] public partial class OutputTextFinishedUpdate { } diff --git a/src/Custom/Realtime/Streaming/RateLimitsUpdate.cs b/src/Custom/Realtime/Streaming/RateLimitsUpdate.cs index bc382331a..74f0e071a 100644 --- a/src/Custom/Realtime/Streaming/RateLimitsUpdate.cs +++ b/src/Custom/Realtime/Streaming/RateLimitsUpdate.cs @@ -9,7 +9,6 @@ namespace OpenAI.Realtime; /// The update (response command) of type rate_limits_updated, which is received during a response and provides /// the most recent information about configured rate limits. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventRateLimitsUpdated")] public partial class RateLimitsUpdate { diff --git a/src/Custom/Realtime/Streaming/RealtimeErrorUpdate.cs b/src/Custom/Realtime/Streaming/RealtimeErrorUpdate.cs index 35deda9b0..3b8299472 100644 --- a/src/Custom/Realtime/Streaming/RealtimeErrorUpdate.cs +++ b/src/Custom/Realtime/Streaming/RealtimeErrorUpdate.cs @@ -10,7 +10,6 @@ namespace OpenAI.Realtime; /// The update (response command) of type error, which is received when a problem is encountered while /// processing a request command or generating another response command. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventError")] public partial class RealtimeErrorUpdate { diff --git a/src/Custom/Realtime/Streaming/RealtimeUpdate.cs b/src/Custom/Realtime/Streaming/RealtimeUpdate.cs index b652501d9..67e740d7c 100644 --- a/src/Custom/Realtime/Streaming/RealtimeUpdate.cs +++ b/src/Custom/Realtime/Streaming/RealtimeUpdate.cs @@ -6,7 +6,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEvent")] [CodeGenVisibility(nameof(Kind), CodeGenVisibility.Public)] public partial class RealtimeUpdate diff --git a/src/Custom/Realtime/Streaming/ResponseFinishedUpdate.cs b/src/Custom/Realtime/Streaming/ResponseFinishedUpdate.cs index 96732d7b0..a96997310 100644 --- a/src/Custom/Realtime/Streaming/ResponseFinishedUpdate.cs +++ b/src/Custom/Realtime/Streaming/ResponseFinishedUpdate.cs @@ -8,7 +8,6 @@ namespace OpenAI.Realtime; /// The update (response command) of type response.done, which is received when a model response turn has /// completed and no further content part or item information will be transmitted. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventResponseDone")] public partial class ResponseFinishedUpdate { diff --git a/src/Custom/Realtime/Streaming/ResponseStartedUpdate.cs b/src/Custom/Realtime/Streaming/ResponseStartedUpdate.cs index 637591762..bf78460f6 100644 --- a/src/Custom/Realtime/Streaming/ResponseStartedUpdate.cs +++ b/src/Custom/Realtime/Streaming/ResponseStartedUpdate.cs @@ -10,7 +10,6 @@ namespace OpenAI.Realtime; /// initiated response.create /// (). /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventResponseCreated")] public partial class ResponseStartedUpdate { diff --git a/src/Custom/Realtime/Streaming/TranscriptionSessionConfiguredUpdate.cs b/src/Custom/Realtime/Streaming/TranscriptionSessionConfiguredUpdate.cs index b33f41124..84b97676a 100644 --- a/src/Custom/Realtime/Streaming/TranscriptionSessionConfiguredUpdate.cs +++ b/src/Custom/Realtime/Streaming/TranscriptionSessionConfiguredUpdate.cs @@ -11,7 +11,6 @@ namespace OpenAI.Realtime; /// has been applied to the session. New session configuration related to response generation will not take effect /// until the next response; shared session configuration, such as input audio format, will apply immediately. /// -[Experimental("OPENAI002")] [CodeGenType("RealtimeServerEventTranscriptionSessionUpdated")] public partial class TranscriptionSessionConfiguredUpdate { diff --git a/src/Custom/Realtime/TranscriptionSessionOptions.cs b/src/Custom/Realtime/TranscriptionSessionOptions.cs index 29ffb1240..7421b73ce 100644 --- a/src/Custom/Realtime/TranscriptionSessionOptions.cs +++ b/src/Custom/Realtime/TranscriptionSessionOptions.cs @@ -5,7 +5,6 @@ namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeTranscriptionSessionCreateRequest")] public partial class TranscriptionSessionOptions { diff --git a/src/Custom/Realtime/TurnDetectionOptions.cs b/src/Custom/Realtime/TurnDetectionOptions.cs index 089952971..381722ee2 100644 --- a/src/Custom/Realtime/TurnDetectionOptions.cs +++ b/src/Custom/Realtime/TurnDetectionOptions.cs @@ -1,9 +1,8 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime; -[Experimental("OPENAI002")] [CodeGenType("RealtimeTurnDetection")] [CodeGenVisibility(nameof(Kind), CodeGenVisibility.Public)] public partial class TurnDetectionOptions diff --git a/src/Custom/Responses/Items/ComputerCallAction.cs b/src/Custom/Responses/Items/ComputerCallAction.cs index 2cbc8f340..102986b49 100644 --- a/src/Custom/Responses/Items/ComputerCallAction.cs +++ b/src/Custom/Responses/Items/ComputerCallAction.cs @@ -8,7 +8,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAICUA001")] [CodeGenType("ComputerAction")] [CodeGenVisibility(nameof(Kind), CodeGenVisibility.Public)] public partial class ComputerCallAction diff --git a/src/Custom/Responses/Items/ComputerCallOutputResponseItem.cs b/src/Custom/Responses/Items/ComputerCallOutputResponseItem.cs index 5850721e2..0c6a9f465 100644 --- a/src/Custom/Responses/Items/ComputerCallOutputResponseItem.cs +++ b/src/Custom/Responses/Items/ComputerCallOutputResponseItem.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAICUA001")] [CodeGenType("ComputerToolCallOutputItemResource")] public partial class ComputerCallOutputResponseItem { diff --git a/src/Custom/Responses/Items/ComputerCallResponseItem.cs b/src/Custom/Responses/Items/ComputerCallResponseItem.cs index dc7772a3a..b7f8049a6 100644 --- a/src/Custom/Responses/Items/ComputerCallResponseItem.cs +++ b/src/Custom/Responses/Items/ComputerCallResponseItem.cs @@ -7,7 +7,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAICUA001")] [CodeGenType("ComputerToolCallItemResource")] public partial class ComputerCallResponseItem { diff --git a/src/Custom/Responses/Items/ComputerCallSafetyCheck.cs b/src/Custom/Responses/Items/ComputerCallSafetyCheck.cs index 6de06c041..8ff949873 100644 --- a/src/Custom/Responses/Items/ComputerCallSafetyCheck.cs +++ b/src/Custom/Responses/Items/ComputerCallSafetyCheck.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAICUA001")] [CodeGenType("ComputerToolCallSafetyCheck")] public partial class ComputerCallSafetyCheck { diff --git a/src/Custom/Responses/Items/ComputerOutput.cs b/src/Custom/Responses/Items/ComputerOutput.cs index 1deac2af5..4e3154e65 100644 --- a/src/Custom/Responses/Items/ComputerOutput.cs +++ b/src/Custom/Responses/Items/ComputerOutput.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; @@ -6,7 +6,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAICUA001")] [CodeGenType("ComputerToolCallOutputItemOutput")] public partial class ComputerOutput { diff --git a/src/Custom/Responses/Items/FileSearchCallResponseItem.cs b/src/Custom/Responses/Items/FileSearchCallResponseItem.cs index 848d4d7bb..78c3b7131 100644 --- a/src/Custom/Responses/Items/FileSearchCallResponseItem.cs +++ b/src/Custom/Responses/Items/FileSearchCallResponseItem.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; @@ -7,7 +7,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("FileSearchToolCallItemResource")] public partial class FileSearchCallResponseItem { diff --git a/src/Custom/Responses/Items/FileSearchCallResult.cs b/src/Custom/Responses/Items/FileSearchCallResult.cs index 353ad2ba3..0bd7049d2 100644 --- a/src/Custom/Responses/Items/FileSearchCallResult.cs +++ b/src/Custom/Responses/Items/FileSearchCallResult.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; @@ -7,8 +7,7 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] -[CodeGenType("FileSearchToolCallItemResourceResult")] +[CodeGenType("FileSearchToolCallItemParamResult")] public partial class FileSearchCallResult { // CUSTOM: Use a plain dictionary. diff --git a/src/Custom/Responses/Items/FunctionCallOutputResponseItem.cs b/src/Custom/Responses/Items/FunctionCallOutputResponseItem.cs index ce8a69815..91a8b635c 100644 --- a/src/Custom/Responses/Items/FunctionCallOutputResponseItem.cs +++ b/src/Custom/Responses/Items/FunctionCallOutputResponseItem.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("FunctionToolCallOutputItemResource")] public partial class FunctionCallOutputResponseItem { diff --git a/src/Custom/Responses/Items/FunctionCallResponseItem.cs b/src/Custom/Responses/Items/FunctionCallResponseItem.cs index b214973b9..becf27a07 100644 --- a/src/Custom/Responses/Items/FunctionCallResponseItem.cs +++ b/src/Custom/Responses/Items/FunctionCallResponseItem.cs @@ -8,7 +8,6 @@ namespace OpenAI.Responses; // - Added Experimental attribute. // - Renamed. // - Customized serialization of the BinaryData-as-string FunctionArguments. -[Experimental("OPENAI001")] [CodeGenType("FunctionToolCallItemResource")] [CodeGenSerialization(nameof(FunctionArguments), SerializationValueHook = nameof(SerializeFunctionArgumentsValue), DeserializationValueHook = nameof(DeserializeFunctionArgumentsValue))] public partial class FunctionCallResponseItem diff --git a/src/Custom/Responses/Items/MessageResponseItem.cs b/src/Custom/Responses/Items/MessageResponseItem.cs index c988d3865..d947a93e6 100644 --- a/src/Custom/Responses/Items/MessageResponseItem.cs +++ b/src/Custom/Responses/Items/MessageResponseItem.cs @@ -6,7 +6,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponsesMessageItemResource")] public partial class MessageResponseItem { diff --git a/src/Custom/Responses/Items/ReasoningResponseItem.cs b/src/Custom/Responses/Items/ReasoningResponseItem.cs index da9b31400..662ee2b4a 100644 --- a/src/Custom/Responses/Items/ReasoningResponseItem.cs +++ b/src/Custom/Responses/Items/ReasoningResponseItem.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; @@ -7,7 +7,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ReasoningItemResource")] public partial class ReasoningResponseItem { diff --git a/src/Custom/Responses/Items/ReasoningSummaryPart.cs b/src/Custom/Responses/Items/ReasoningSummaryPart.cs index 36da0db22..974bc9f20 100644 --- a/src/Custom/Responses/Items/ReasoningSummaryPart.cs +++ b/src/Custom/Responses/Items/ReasoningSummaryPart.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ReasoningItemSummaryPart")] public partial class ReasoningSummaryPart { diff --git a/src/Custom/Responses/Items/ReasoningSummaryTextPart.cs b/src/Custom/Responses/Items/ReasoningSummaryTextPart.cs index 586651680..79b71ccca 100644 --- a/src/Custom/Responses/Items/ReasoningSummaryTextPart.cs +++ b/src/Custom/Responses/Items/ReasoningSummaryTextPart.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ReasoningItemSummaryTextPart")] public partial class ReasoningSummaryTextPart { diff --git a/src/Custom/Responses/Items/ReferenceResponseItem.cs b/src/Custom/Responses/Items/ReferenceResponseItem.cs index 9ba47c9cb..6d4211c4f 100644 --- a/src/Custom/Responses/Items/ReferenceResponseItem.cs +++ b/src/Custom/Responses/Items/ReferenceResponseItem.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("DotNetItemReferenceItemResource")] [CodeGenVisibility(nameof(ReferenceResponseItem), CodeGenVisibility.Internal)] public partial class ReferenceResponseItem diff --git a/src/Custom/Responses/Items/ResponseItem.cs b/src/Custom/Responses/Items/ResponseItem.cs index b99031b0d..7f28563d9 100644 --- a/src/Custom/Responses/Items/ResponseItem.cs +++ b/src/Custom/Responses/Items/ResponseItem.cs @@ -7,7 +7,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ItemResource")] public partial class ResponseItem { diff --git a/src/Custom/Responses/Items/WebSearchCallResponseItem.cs b/src/Custom/Responses/Items/WebSearchCallResponseItem.cs index c1533e59c..61abe3a16 100644 --- a/src/Custom/Responses/Items/WebSearchCallResponseItem.cs +++ b/src/Custom/Responses/Items/WebSearchCallResponseItem.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("WebSearchToolCallItemResource")] public partial class WebSearchCallResponseItem { diff --git a/src/Custom/Responses/OpenAIResponse.cs b/src/Custom/Responses/OpenAIResponse.cs index 47a707355..630ab1a49 100644 --- a/src/Custom/Responses/OpenAIResponse.cs +++ b/src/Custom/Responses/OpenAIResponse.cs @@ -10,7 +10,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("Response")] [CodeGenSuppress("OutputText")] public partial class OpenAIResponse diff --git a/src/Custom/Responses/OpenAIResponseClient.Protocol.cs b/src/Custom/Responses/OpenAIResponseClient.Protocol.cs index 632305b02..a612a6811 100644 --- a/src/Custom/Responses/OpenAIResponseClient.Protocol.cs +++ b/src/Custom/Responses/OpenAIResponseClient.Protocol.cs @@ -6,8 +6,6 @@ namespace OpenAI.Responses; -[CodeGenSuppress("CreateResponse", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("CreateResponseAsync", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] [CodeGenSuppress("GetResponse", typeof(string), typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] [CodeGenSuppress("GetResponseAsync", typeof(string), typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] [CodeGenSuppress("GetInputItems", typeof(string), typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] @@ -18,27 +16,6 @@ namespace OpenAI.Responses; [CodeGenSuppress("GetResponseAsync", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] public partial class OpenAIResponseClient { - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task CreateResponseAsync(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateResponseRequest(content, options); - PipelineResponse protocolResponse = await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false); - return ClientResult.FromResponse(protocolResponse); - } - - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult CreateResponse(BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateCreateResponseRequest(content, options); - PipelineResponse protocolResponse = Pipeline.ProcessMessage(message, options); - return ClientResult.FromResponse(protocolResponse); - } - - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task GetResponseAsync(string responseId, bool? stream, int? startingAfter, RequestOptions options) { Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); @@ -49,7 +26,6 @@ public virtual async Task GetResponseAsync(string responseId, bool return ClientResult.FromResponse(protocolResponse); } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetResponse(string responseId, bool? stream, int? startingAfter, RequestOptions options) { Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); @@ -59,7 +35,6 @@ public virtual ClientResult GetResponse(string responseId, bool? stream, int? st return ClientResult.FromResponse(protocolResponse); } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetResponseInputItemsAsync( string responseId, int? limit, @@ -73,7 +48,6 @@ public virtual AsyncCollectionResult GetResponseInputItemsAsync( return new AsyncResponseItemCollectionResult(this, responseId, limit, order, after, before, options); } - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetResponseInputItems( string responseId, int? limit, @@ -86,24 +60,4 @@ public virtual CollectionResult GetResponseInputItems( return new ResponseItemCollectionResult(this, responseId, limit, order, after, before, options); } - - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task DeleteResponseAsync(string responseId, RequestOptions options) - { - Argument.AssertNotNull(responseId, nameof(responseId)); - - using PipelineMessage message = CreateDeleteResponseRequest(responseId, options); - PipelineResponse protocolResponse = await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false); - return ClientResult.FromResponse(protocolResponse); - } - - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult DeleteResponse(string responseId, RequestOptions options) - { - Argument.AssertNotNull(responseId, nameof(responseId)); - - using PipelineMessage message = CreateDeleteResponseRequest(responseId, options); - PipelineResponse protocolResponse = Pipeline.ProcessMessage(message, options); - return ClientResult.FromResponse(protocolResponse); - } } \ No newline at end of file diff --git a/src/Custom/Responses/OpenAIResponseClient.cs b/src/Custom/Responses/OpenAIResponseClient.cs index 2aa2649d1..6c013eb2d 100644 --- a/src/Custom/Responses/OpenAIResponseClient.cs +++ b/src/Custom/Responses/OpenAIResponseClient.cs @@ -12,7 +12,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("Responses")] [CodeGenSuppress("CreateResponseAsync", typeof(ResponseCreationOptions), typeof(CancellationToken))] [CodeGenSuppress("CreateResponse", typeof(ResponseCreationOptions), typeof(CancellationToken))] diff --git a/src/Custom/Responses/ResponseContentPart.cs b/src/Custom/Responses/ResponseContentPart.cs index 9affc5e2a..fd5835d15 100644 --- a/src/Custom/Responses/ResponseContentPart.cs +++ b/src/Custom/Responses/ResponseContentPart.cs @@ -8,7 +8,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ItemContent")] public partial class ResponseContentPart { diff --git a/src/Custom/Responses/ResponseCreationOptions.cs b/src/Custom/Responses/ResponseCreationOptions.cs index 082ff3835..dadd28029 100644 --- a/src/Custom/Responses/ResponseCreationOptions.cs +++ b/src/Custom/Responses/ResponseCreationOptions.cs @@ -9,7 +9,6 @@ namespace OpenAI.Responses; // - Added Experimental attribute. // - Renamed. // - Suppressed constructor in favor of custom default constructor. -[Experimental("OPENAI001")] [CodeGenType("CreateResponse")] [CodeGenVisibility(nameof(ResponseCreationOptions), CodeGenVisibility.Public)] [CodeGenSuppress(nameof(ResponseCreationOptions), typeof(IEnumerable))] diff --git a/src/Custom/Responses/ResponseDeletionResult.cs b/src/Custom/Responses/ResponseDeletionResult.cs index 99cddb2b8..bbf321298 100644 --- a/src/Custom/Responses/ResponseDeletionResult.cs +++ b/src/Custom/Responses/ResponseDeletionResult.cs @@ -8,7 +8,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("DeleteResponseResponse")] public partial class ResponseDeletionResult { diff --git a/src/Custom/Responses/ResponseError.cs b/src/Custom/Responses/ResponseError.cs index 1e1984c24..c60bd5e5e 100644 --- a/src/Custom/Responses/ResponseError.cs +++ b/src/Custom/Responses/ResponseError.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseError")] public partial class ResponseError { diff --git a/src/Custom/Responses/ResponseErrorCode.cs b/src/Custom/Responses/ResponseErrorCode.cs index f1c4c179c..7c9cffb86 100644 --- a/src/Custom/Responses/ResponseErrorCode.cs +++ b/src/Custom/Responses/ResponseErrorCode.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseErrorCode")] public readonly partial struct ResponseErrorCode { diff --git a/src/Custom/Responses/ResponseImageDetailLevel.cs b/src/Custom/Responses/ResponseImageDetailLevel.cs index d64707397..88daa39ad 100644 --- a/src/Custom/Responses/ResponseImageDetailLevel.cs +++ b/src/Custom/Responses/ResponseImageDetailLevel.cs @@ -5,8 +5,7 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] -[CodeGenType("ItemContentInputImageDetail1")] +[CodeGenType("ItemContentInputImageDetail")] public readonly partial struct ResponseImageDetailLevel { } diff --git a/src/Custom/Responses/ResponseIncompleteStatusDetails.cs b/src/Custom/Responses/ResponseIncompleteStatusDetails.cs index f2d1d5a24..1b2b6b55b 100644 --- a/src/Custom/Responses/ResponseIncompleteStatusDetails.cs +++ b/src/Custom/Responses/ResponseIncompleteStatusDetails.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseIncompleteDetails1")] public partial class ResponseIncompleteStatusDetails { diff --git a/src/Custom/Responses/ResponseIncompleteStatusReason.cs b/src/Custom/Responses/ResponseIncompleteStatusReason.cs index 49981be55..5ace3307c 100644 --- a/src/Custom/Responses/ResponseIncompleteStatusReason.cs +++ b/src/Custom/Responses/ResponseIncompleteStatusReason.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseIncompleteDetailsReason")] public readonly partial struct ResponseIncompleteStatusReason { diff --git a/src/Custom/Responses/ResponseInputTokenUsageDetails.cs b/src/Custom/Responses/ResponseInputTokenUsageDetails.cs index e79250380..1cd9a4738 100644 --- a/src/Custom/Responses/ResponseInputTokenUsageDetails.cs +++ b/src/Custom/Responses/ResponseInputTokenUsageDetails.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseUsageInputTokensDetails")] public partial class ResponseInputTokenUsageDetails { diff --git a/src/Custom/Responses/ResponseMessageAnnotation.cs b/src/Custom/Responses/ResponseMessageAnnotation.cs index 6584edba8..24c937893 100644 --- a/src/Custom/Responses/ResponseMessageAnnotation.cs +++ b/src/Custom/Responses/ResponseMessageAnnotation.cs @@ -6,7 +6,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("Annotation")] [CodeGenVisibility(nameof(Kind), CodeGenVisibility.Public)] public partial class ResponseMessageAnnotation diff --git a/src/Custom/Responses/ResponseOutputTokenUsageDetails.cs b/src/Custom/Responses/ResponseOutputTokenUsageDetails.cs index 20e718462..67330e20e 100644 --- a/src/Custom/Responses/ResponseOutputTokenUsageDetails.cs +++ b/src/Custom/Responses/ResponseOutputTokenUsageDetails.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseUsageOutputTokensDetails")] public partial class ResponseOutputTokenUsageDetails { diff --git a/src/Custom/Responses/ResponseReasoningEffortLevel.cs b/src/Custom/Responses/ResponseReasoningEffortLevel.cs index cdbe0f499..1f30bfd61 100644 --- a/src/Custom/Responses/ResponseReasoningEffortLevel.cs +++ b/src/Custom/Responses/ResponseReasoningEffortLevel.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("DotNetResponseReasoningEffortLevel")] public readonly partial struct ResponseReasoningEffortLevel { diff --git a/src/Custom/Responses/ResponseReasoningOptions.cs b/src/Custom/Responses/ResponseReasoningOptions.cs index aeff2e54a..b4e0dc486 100644 --- a/src/Custom/Responses/ResponseReasoningOptions.cs +++ b/src/Custom/Responses/ResponseReasoningOptions.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("Reasoning")] [CodeGenVisibility(nameof(ResponseReasoningOptions), CodeGenVisibility.Public)] public partial class ResponseReasoningOptions diff --git a/src/Custom/Responses/ResponseReasoningSummaryVerbosity.cs b/src/Custom/Responses/ResponseReasoningSummaryVerbosity.cs index 6886a3e90..65cd8ebc2 100644 --- a/src/Custom/Responses/ResponseReasoningSummaryVerbosity.cs +++ b/src/Custom/Responses/ResponseReasoningSummaryVerbosity.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ReasoningSummary")] public readonly partial struct ResponseReasoningSummaryVerbosity { diff --git a/src/Custom/Responses/ResponseTextFormat.cs b/src/Custom/Responses/ResponseTextFormat.cs index 2e05cb0ef..daf698346 100644 --- a/src/Custom/Responses/ResponseTextFormat.cs +++ b/src/Custom/Responses/ResponseTextFormat.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; @@ -6,7 +6,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseTextFormatConfiguration")] public partial class ResponseTextFormat { diff --git a/src/Custom/Responses/ResponseTextOptions.cs b/src/Custom/Responses/ResponseTextOptions.cs index fe2163e9a..1efbc807d 100644 --- a/src/Custom/Responses/ResponseTextOptions.cs +++ b/src/Custom/Responses/ResponseTextOptions.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("CreateResponseText")] public partial class ResponseTextOptions { diff --git a/src/Custom/Responses/ResponseTokenUsage.cs b/src/Custom/Responses/ResponseTokenUsage.cs index b6054618d..62c7ad5a2 100644 --- a/src/Custom/Responses/ResponseTokenUsage.cs +++ b/src/Custom/Responses/ResponseTokenUsage.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseUsage")] public partial class ResponseTokenUsage { diff --git a/src/Custom/Responses/ResponseTruncationMode.cs b/src/Custom/Responses/ResponseTruncationMode.cs index 1f6a68119..be91ef297 100644 --- a/src/Custom/Responses/ResponseTruncationMode.cs +++ b/src/Custom/Responses/ResponseTruncationMode.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("CreateResponseTruncation")] public readonly partial struct ResponseTruncationMode { diff --git a/src/Custom/Responses/Streaming/StreamingResponseCompletedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseCompletedUpdate.cs index a4d2f1ffd..aa9e8bf49 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseCompletedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseCompletedUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseCompletedEvent")] public partial class StreamingResponseCompletedUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseContentPartAddedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseContentPartAddedUpdate.cs index f0297db02..93b4dfc42 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseContentPartAddedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseContentPartAddedUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseContentPartAddedEvent")] public partial class StreamingResponseContentPartAddedUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseContentPartDoneUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseContentPartDoneUpdate.cs index cec1c0803..7b1023760 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseContentPartDoneUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseContentPartDoneUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseContentPartDoneEvent")] public partial class StreamingResponseContentPartDoneUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseCreatedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseCreatedUpdate.cs index 5e2c18cb8..4e842ca4a 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseCreatedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseCreatedUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseCreatedEvent")] public partial class StreamingResponseCreatedUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseErrorUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseErrorUpdate.cs index e7852a165..97e134176 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseErrorUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseErrorUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseErrorEvent")] public partial class StreamingResponseErrorUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseFailedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseFailedUpdate.cs index d2767cd33..69bb7d563 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseFailedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseFailedUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseFailedEvent")] public partial class StreamingResponseFailedUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallCompletedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallCompletedUpdate.cs index 16bd7dfc4..54ec4c5b7 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallCompletedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallCompletedUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseFileSearchCallCompletedEvent")] public partial class StreamingResponseFileSearchCallCompletedUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallInProgressUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallInProgressUpdate.cs index 9b0e222a7..6437d66b9 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallInProgressUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallInProgressUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseFileSearchCallInProgressEvent")] public partial class StreamingResponseFileSearchCallInProgressUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallSearchingUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallSearchingUpdate.cs index dd444b26f..d07e5eb57 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallSearchingUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseFileSearchCallSearchingUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseFileSearchCallSearchingEvent")] public partial class StreamingResponseFileSearchCallSearchingUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs index 7f9c33025..cda977e01 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseFunctionCallArgumentsDeltaEvent")] public partial class StreamingResponseFunctionCallArgumentsDeltaUpdate : StreamingResponseUpdate diff --git a/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDoneUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDoneUpdate.cs index e545a9c91..c8cc33ed5 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDoneUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseFunctionCallArgumentsDoneUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseFunctionCallArgumentsDoneEvent")] public partial class StreamingResponseFunctionCallArgumentsDoneUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseInProgressUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseInProgressUpdate.cs index 18ccfc047..b91e3b380 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseInProgressUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseInProgressUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseInProgressEvent")] public partial class StreamingResponseInProgressUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseIncompleteUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseIncompleteUpdate.cs index 324832f13..c3bb31804 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseIncompleteUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseIncompleteUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseIncompleteEvent")] public partial class StreamingResponseIncompleteUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseOutputItemAddedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseOutputItemAddedUpdate.cs index 2ab7a5038..f11fea359 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseOutputItemAddedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseOutputItemAddedUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseOutputItemAddedEvent")] public partial class StreamingResponseOutputItemAddedUpdate : StreamingResponseUpdate diff --git a/src/Custom/Responses/Streaming/StreamingResponseOutputItemDoneUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseOutputItemDoneUpdate.cs index a1ba93c85..1fb851050 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseOutputItemDoneUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseOutputItemDoneUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseOutputItemDoneEvent")] public partial class StreamingResponseOutputItemDoneUpdate : StreamingResponseUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseOutputTextDeltaUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseOutputTextDeltaUpdate.cs index c3e2026ad..2329543cc 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseOutputTextDeltaUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseOutputTextDeltaUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseTextDeltaEvent")] public partial class StreamingResponseOutputTextDeltaUpdate : StreamingResponseUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseOutputTextDoneUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseOutputTextDoneUpdate.cs index 5a819344b..c88dfb912 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseOutputTextDoneUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseOutputTextDoneUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseTextDoneEvent")] public partial class StreamingResponseOutputTextDoneUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseQueuedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseQueuedUpdate.cs index c3b335c0d..30bddc1c9 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseQueuedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseQueuedUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseQueuedEvent")] public partial class StreamingResponseQueuedUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseRefusalDeltaUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseRefusalDeltaUpdate.cs index 946c6afb3..10cabc495 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseRefusalDeltaUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseRefusalDeltaUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseRefusalDeltaEvent")] public partial class StreamingResponseRefusalDeltaUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseRefusalDoneUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseRefusalDoneUpdate.cs index 2918e93d5..eb47a3390 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseRefusalDoneUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseRefusalDoneUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseRefusalDoneEvent")] public partial class StreamingResponseRefusalDoneUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseTextAnnotationAddedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseTextAnnotationAddedUpdate.cs index 0b7e27825..da07bc286 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseTextAnnotationAddedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseTextAnnotationAddedUpdate.cs @@ -3,9 +3,7 @@ namespace OpenAI.Responses; // CUSTOM: -// - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseOutputTextAnnotationAddedEvent")] public partial class StreamingResponseTextAnnotationAddedUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseUpdate.cs index 56551310f..a43702ca9 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseStreamEvent")] public partial class StreamingResponseUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallCompletedUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallCompletedUpdate.cs index 7f495be91..3f8cbbbe1 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallCompletedUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallCompletedUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseWebSearchCallCompletedEvent")] public partial class StreamingResponseWebSearchCallCompletedUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallInProgressUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallInProgressUpdate.cs index 39a84dd49..ddcf2e9f5 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallInProgressUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallInProgressUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseWebSearchCallInProgressEvent")] public partial class StreamingResponseWebSearchCallInProgressUpdate { diff --git a/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallSearchingUpdate.cs b/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallSearchingUpdate.cs index 5d2732ce0..d5dbe8476 100644 --- a/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallSearchingUpdate.cs +++ b/src/Custom/Responses/Streaming/StreamingResponseWebSearchCallSearchingUpdate.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("ResponseWebSearchCallSearchingEvent")] public partial class StreamingResponseWebSearchCallSearchingUpdate { diff --git a/src/Custom/Responses/Tools/ComputerToolEnvironment.cs b/src/Custom/Responses/Tools/ComputerToolEnvironment.cs index 51152a193..10aa8b7bb 100644 --- a/src/Custom/Responses/Tools/ComputerToolEnvironment.cs +++ b/src/Custom/Responses/Tools/ComputerToolEnvironment.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAICUA001")] [CodeGenType("ComputerUsePreviewToolEnvironment")] public readonly partial struct ComputerToolEnvironment { diff --git a/src/Custom/Responses/Tools/FileSearchToolRanker.cs b/src/Custom/Responses/Tools/FileSearchToolRanker.cs index accc182bb..dfa0968fc 100644 --- a/src/Custom/Responses/Tools/FileSearchToolRanker.cs +++ b/src/Custom/Responses/Tools/FileSearchToolRanker.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("RankingOptionsRanker")] public readonly partial struct FileSearchToolRanker { diff --git a/src/Custom/Responses/Tools/FileSearchToolRankingOptions.cs b/src/Custom/Responses/Tools/FileSearchToolRankingOptions.cs index c76d31d5a..3d0cd5bca 100644 --- a/src/Custom/Responses/Tools/FileSearchToolRankingOptions.cs +++ b/src/Custom/Responses/Tools/FileSearchToolRankingOptions.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("RankingOptions")] public partial class FileSearchToolRankingOptions { diff --git a/src/Custom/Responses/Tools/ResponseTool.cs b/src/Custom/Responses/Tools/ResponseTool.cs index 5fe370250..b19dff47e 100644 --- a/src/Custom/Responses/Tools/ResponseTool.cs +++ b/src/Custom/Responses/Tools/ResponseTool.cs @@ -8,7 +8,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("Tool")] public partial class ResponseTool { diff --git a/src/Custom/Responses/Tools/WebSearchContextSize.cs b/src/Custom/Responses/Tools/WebSearchContextSize.cs index 3fb078090..eb3d354be 100644 --- a/src/Custom/Responses/Tools/WebSearchContextSize.cs +++ b/src/Custom/Responses/Tools/WebSearchContextSize.cs @@ -5,7 +5,6 @@ namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("DotNetResponseWebSearchContextSize")] public readonly partial struct WebSearchContextSize { diff --git a/src/Custom/Responses/Tools/WebSearchUserLocation.cs b/src/Custom/Responses/Tools/WebSearchUserLocation.cs index a151e9736..b3b71f527 100644 --- a/src/Custom/Responses/Tools/WebSearchUserLocation.cs +++ b/src/Custom/Responses/Tools/WebSearchUserLocation.cs @@ -1,11 +1,10 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses; // CUSTOM: // - Added Experimental attribute. // - Renamed. -[Experimental("OPENAI001")] [CodeGenType("DotnetResponseWebSearchLocation")] public partial class WebSearchUserLocation { diff --git a/src/Custom/VectorStores/AddFileToVectorStoreOperation.Protocol.cs b/src/Custom/VectorStores/AddFileToVectorStoreOperation.Protocol.cs index fdc68741c..3b8f000b1 100644 --- a/src/Custom/VectorStores/AddFileToVectorStoreOperation.Protocol.cs +++ b/src/Custom/VectorStores/AddFileToVectorStoreOperation.Protocol.cs @@ -25,10 +25,9 @@ public partial class AddFileToVectorStoreOperation : OperationResult /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task GetFileAssociationAsync(RequestOptions? options) { - using PipelineMessage message = _parentClient.CreateGetVectorStoreFileRequest(_vectorStoreId, _fileId, options); + using PipelineMessage message = _parentClient.CreateGetFileAssociationRequest(_vectorStoreId, _fileId, options); return ClientResult.FromResponse(await _parentClient.Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); } @@ -38,10 +37,9 @@ public virtual async Task GetFileAssociationAsync(RequestOptions? /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFileAssociation(RequestOptions? options) { - using PipelineMessage message = _parentClient.CreateGetVectorStoreFileRequest(_vectorStoreId, _fileId, options); + using PipelineMessage message = _parentClient.CreateGetFileAssociationRequest(_vectorStoreId, _fileId, options); return ClientResult.FromResponse(_parentClient.Pipeline.ProcessMessage(message, options)); } diff --git a/src/Custom/VectorStores/CreateBatchFileJobOperation.Protocol.cs b/src/Custom/VectorStores/CreateBatchFileJobOperation.Protocol.cs index 1e0e2598b..83a8676e0 100644 --- a/src/Custom/VectorStores/CreateBatchFileJobOperation.Protocol.cs +++ b/src/Custom/VectorStores/CreateBatchFileJobOperation.Protocol.cs @@ -31,7 +31,6 @@ public partial class CreateBatchFileJobOperation : OperationResult /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task GetFileBatchAsync(RequestOptions? options) { using PipelineMessage message = _parentClient.CreateGetVectorStoreFileBatchRequest(_vectorStoreId, _batchId, options); @@ -44,7 +43,6 @@ public virtual async Task GetFileBatchAsync(RequestOptions? option /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetFileBatch(RequestOptions? options) { using PipelineMessage message = _parentClient.CreateGetVectorStoreFileBatchRequest(_vectorStoreId, _batchId, options); @@ -57,10 +55,9 @@ public virtual ClientResult GetFileBatch(RequestOptions? options) /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task CancelAsync(RequestOptions? options) { - using PipelineMessage message = _parentClient.CreateCancelVectorStoreFileBatchRequest(_vectorStoreId, _batchId, options); + using PipelineMessage message = _parentClient.CreateCancelBatchFileJobRequest(_vectorStoreId, _batchId, options); return ClientResult.FromResponse(await _parentClient.Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); } @@ -70,10 +67,9 @@ public virtual async Task CancelAsync(RequestOptions? options) /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult Cancel(RequestOptions? options) { - using PipelineMessage message = _parentClient.CreateCancelVectorStoreFileBatchRequest(_vectorStoreId, _batchId, options); + using PipelineMessage message = _parentClient.CreateCancelBatchFileJobRequest(_vectorStoreId, _batchId, options); return ClientResult.FromResponse(_parentClient.Pipeline.ProcessMessage(message, options)); } diff --git a/src/Custom/VectorStores/CreateVectorStoreOperation.Protocol.cs b/src/Custom/VectorStores/CreateVectorStoreOperation.Protocol.cs index 1faeada23..9210d7004 100644 --- a/src/Custom/VectorStores/CreateVectorStoreOperation.Protocol.cs +++ b/src/Custom/VectorStores/CreateVectorStoreOperation.Protocol.cs @@ -24,7 +24,6 @@ public partial class CreateVectorStoreOperation : OperationResult /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task GetVectorStoreAsync(RequestOptions? options) { using PipelineMessage message = _parentClient.CreateGetVectorStoreRequest(_vectorStoreId, options); @@ -37,7 +36,6 @@ public virtual async Task GetVectorStoreAsync(RequestOptions? opti /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual ClientResult GetVectorStore(RequestOptions? options) { using PipelineMessage message = _parentClient.CreateGetVectorStoreRequest(_vectorStoreId, options); diff --git a/src/Custom/VectorStores/FileChunkingStrategy.cs b/src/Custom/VectorStores/FileChunkingStrategy.cs index ad750ce27..95bc70fef 100644 --- a/src/Custom/VectorStores/FileChunkingStrategy.cs +++ b/src/Custom/VectorStores/FileChunkingStrategy.cs @@ -2,7 +2,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("DotNetCombinedChunkingStrategyParam")] public abstract partial class FileChunkingStrategy { diff --git a/src/Custom/VectorStores/FileFromStoreRemovalResult.cs b/src/Custom/VectorStores/FileFromStoreRemovalResult.cs index fbe114d8d..49a2668e1 100644 --- a/src/Custom/VectorStores/FileFromStoreRemovalResult.cs +++ b/src/Custom/VectorStores/FileFromStoreRemovalResult.cs @@ -1,11 +1,10 @@ -using System.ClientModel; +using System.ClientModel; using System.ClientModel.Primitives; using System.Diagnostics.CodeAnalysis; using System.Text.Json; namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("DeleteVectorStoreFileResponse")] public partial class FileFromStoreRemovalResult { diff --git a/src/Custom/VectorStores/StaticFileChunkingStrategy.cs b/src/Custom/VectorStores/StaticFileChunkingStrategy.cs index f9cdcc64b..eb18f380b 100644 --- a/src/Custom/VectorStores/StaticFileChunkingStrategy.cs +++ b/src/Custom/VectorStores/StaticFileChunkingStrategy.cs @@ -2,7 +2,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("DotNetCombinedStaticChunkingStrategyParam")] public partial class StaticFileChunkingStrategy : FileChunkingStrategy { diff --git a/src/Custom/VectorStores/VectorStore.cs b/src/Custom/VectorStores/VectorStore.cs index a3ccb61c7..683b99738 100644 --- a/src/Custom/VectorStores/VectorStore.cs +++ b/src/Custom/VectorStores/VectorStore.cs @@ -8,7 +8,6 @@ namespace OpenAI.VectorStores; /// /// A representation of a file storage and indexing container used by the file_search tool for assistants. /// -[Experimental("OPENAI001")] [CodeGenType("VectorStoreObject")] public partial class VectorStore { diff --git a/src/Custom/VectorStores/VectorStoreBatchFileJob.cs b/src/Custom/VectorStores/VectorStoreBatchFileJob.cs index 217956cbe..57c2621d4 100644 --- a/src/Custom/VectorStores/VectorStoreBatchFileJob.cs +++ b/src/Custom/VectorStores/VectorStoreBatchFileJob.cs @@ -8,7 +8,6 @@ namespace OpenAI.VectorStores; /// /// Represents information about a bulk ingestion job of files into a vector store. /// -[Experimental("OPENAI001")] [CodeGenType("VectorStoreFileBatchObject")] public partial class VectorStoreBatchFileJob { diff --git a/src/Custom/VectorStores/VectorStoreBatchFileJobStatus.cs b/src/Custom/VectorStores/VectorStoreBatchFileJobStatus.cs index 22a07935b..d2857e393 100644 --- a/src/Custom/VectorStores/VectorStoreBatchFileJobStatus.cs +++ b/src/Custom/VectorStores/VectorStoreBatchFileJobStatus.cs @@ -2,7 +2,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("VectorStoreFileBatchObjectStatus")] public readonly partial struct VectorStoreBatchFileJobStatus { diff --git a/src/Custom/VectorStores/VectorStoreClient.Protocol.cs b/src/Custom/VectorStores/VectorStoreClient.Protocol.cs index 7b179f323..f11535eeb 100644 --- a/src/Custom/VectorStores/VectorStoreClient.Protocol.cs +++ b/src/Custom/VectorStores/VectorStoreClient.Protocol.cs @@ -7,22 +7,16 @@ namespace OpenAI.VectorStores; -[CodeGenSuppress("ListVectorStoresAsync", typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("ListVectorStores", typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] +[CodeGenSuppress("GetVectorStoresAsync", typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] +[CodeGenSuppress("GetVectorStores", typeof(int?), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("GetVectorStoreFilesAsync", typeof(string), typeof(int?), typeof(string), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("GetVectorStoreFiles", typeof(string), typeof(int?), typeof(string), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("CreateVectorStoreFileAsync", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] [CodeGenSuppress("CreateVectorStoreFile", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] -[CodeGenSuppress("GetVectorStoreFileAsync", typeof(string), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("GetVectorStoreFile", typeof(string), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("DeleteVectorStoreFileAsync", typeof(string), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("DeleteVectorStoreFile", typeof(string), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("CreateVectorStoreFileBatchAsync", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] [CodeGenSuppress("CreateVectorStoreFileBatch", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] [CodeGenSuppress("GetVectorStoreFileBatchAsync", typeof(string), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("GetVectorStoreFileBatch", typeof(string), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CancelVectorStoreFileBatchAsync", typeof(string), typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("CancelVectorStoreFileBatch", typeof(string), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("GetFilesInVectorStoreBatchAsync", typeof(string), typeof(string), typeof(int?), typeof(string), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("GetFilesInVectorStoreBatch", typeof(string), typeof(string), typeof(int?), typeof(string), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] [CodeGenSuppress("ListFilesInVectorStoreBatchesAsync", typeof(string), typeof(string), typeof(int?), typeof(string), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] @@ -53,7 +47,6 @@ public partial class VectorStoreClient /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetVectorStoresAsync(int? limit, string order, string after, string before, RequestOptions options) { return new AsyncVectorStoreCollectionResult(this, Pipeline, options, limit, order, after, before); @@ -83,7 +76,6 @@ public virtual AsyncCollectionResult GetVectorStoresAsync(int? limit, string ord /// The request options, which can override default behaviors of the client pipeline on a per-call basis. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetVectorStores(int? limit, string order, string after, string before, RequestOptions options) { return new VectorStoreCollectionResult(this, Pipeline, options, limit, order, after, before); @@ -102,7 +94,6 @@ public virtual CollectionResult GetVectorStores(int? limit, string order, string /// Service returned a non-success status code. /// A that can be used to wait for /// the vector store creation to complete. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task CreateVectorStoreAsync(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null) { using PipelineMessage message = CreateCreateVectorStoreRequest(content, options); @@ -127,7 +118,6 @@ public virtual async Task CreateVectorStoreAsync(Bin /// Service returned a non-success status code. /// A that can be used to wait for /// the vector store creation to complete. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CreateVectorStoreOperation CreateVectorStore(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null) { using PipelineMessage message = CreateCreateVectorStoreRequest(content, options); @@ -173,82 +163,6 @@ internal virtual ClientResult GetVectorStore(string vectorStoreId, RequestOption return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); } - /// - /// [Protocol Method] Modifies a vector store. - /// - /// The ID of the vector store to modify. - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task ModifyVectorStoreAsync(string vectorStoreId, BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateModifyVectorStoreRequest(vectorStoreId, content, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Modifies a vector store. - /// - /// The ID of the vector store to modify. - /// The content to send as the body of the request. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult ModifyVectorStore(string vectorStoreId, BinaryContent content, RequestOptions options = null) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - Argument.AssertNotNull(content, nameof(content)); - - using PipelineMessage message = CreateModifyVectorStoreRequest(vectorStoreId, content, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Delete a vector store. - /// - /// The ID of the vector store to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task DeleteVectorStoreAsync(string vectorStoreId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - - using PipelineMessage message = CreateDeleteVectorStoreRequest(vectorStoreId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Delete a vector store. - /// - /// The ID of the vector store to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult DeleteVectorStore(string vectorStoreId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - - using PipelineMessage message = CreateDeleteVectorStoreRequest(vectorStoreId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - /// /// [Protocol Method] Returns a paginated collection of vector store files. /// @@ -277,7 +191,6 @@ public virtual ClientResult DeleteVectorStore(string vectorStoreId, RequestOptio /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options) { Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); @@ -313,7 +226,6 @@ public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStore /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetFileAssociations(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options) { Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); @@ -337,7 +249,6 @@ public virtual CollectionResult GetFileAssociations(string vectorStoreId, int? l /// Service returned a non-success status code. /// A that can be used to wait for /// the vector store file addition to complete. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task AddFileToVectorStoreAsync(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null) { Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); @@ -367,7 +278,6 @@ public virtual async Task AddFileToVectorStoreAsy /// Service returned a non-success status code. /// A that can be used to wait for /// the vector store file addition to complete. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AddFileToVectorStoreOperation AddFileToVectorStore(string vectorStoreId, BinaryContent content, bool waitUntilCompleted, RequestOptions options = null) { Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); @@ -382,86 +292,6 @@ public virtual AddFileToVectorStoreOperation AddFileToVectorStore(string vectorS return operation.WaitUntil(waitUntilCompleted, options); } - /// - /// [Protocol Method] Retrieves a vector store file. - /// - /// The ID of the vector store that the file belongs to. - /// The ID of the file being retrieved. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task GetFileAssociationAsync(string vectorStoreId, string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateGetVectorStoreFileRequest(vectorStoreId, fileId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Retrieves a vector store file. - /// - /// The ID of the vector store that the file belongs to. - /// The ID of the file being retrieved. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult GetFileAssociation(string vectorStoreId, string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateGetVectorStoreFileRequest(vectorStoreId, fileId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - - /// - /// [Protocol Method] Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. - /// - /// The ID of the vector store that the file batch belongs to. - /// The ID of the file batch to cancel. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task CancelBatchFileJobAsync(string vectorStoreId, string batchId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); - - using PipelineMessage message = CreateCancelVectorStoreFileBatchRequest(vectorStoreId, batchId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. - /// - /// The ID of the vector store that the file batch belongs to. - /// The ID of the file batch to cancel. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult CancelBatchFileJob(string vectorStoreId, string batchId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); - - using PipelineMessage message = CreateCancelVectorStoreFileBatchRequest(vectorStoreId, batchId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - /// /// [Protocol Method] Returns a paginated collection of vector store files in a batch. /// @@ -491,7 +321,6 @@ public virtual ClientResult CancelBatchFileJob(string vectorStoreId, string batc /// or is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, string batchId, int? limit, string order, string after, string before, string filter, RequestOptions options) { Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); @@ -529,7 +358,6 @@ public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStore /// or is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// A collection of service responses, each holding a page of values. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CollectionResult GetFileAssociations(string vectorStoreId, string batchId, int? limit, string order, string after, string before, string filter, RequestOptions options) { Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); @@ -538,46 +366,6 @@ public virtual CollectionResult GetFileAssociations(string vectorStoreId, string return new VectorStoreFileBatchCollectionResult(this, Pipeline, options, vectorStoreId, batchId, limit, order, after, before, filter); } - /// - /// [Protocol Method] Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint. - /// - /// The ID of the vector store that the file belongs to. - /// The ID of the file to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual async Task RemoveFileFromStoreAsync(string vectorStoreId, string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateDeleteVectorStoreFileRequest(vectorStoreId, fileId, options); - return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); - } - - /// - /// [Protocol Method] Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint. - /// - /// The ID of the vector store that the file belongs to. - /// The ID of the file to delete. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - /// Service returned a non-success status code. - /// The response returned from the service. - [EditorBrowsable(EditorBrowsableState.Never)] - public virtual ClientResult RemoveFileFromStore(string vectorStoreId, string fileId, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); - Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); - - using PipelineMessage message = CreateDeleteVectorStoreFileRequest(vectorStoreId, fileId, options); - return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); - } - /// /// [Protocol Method] Create a vector store file batch. /// @@ -593,7 +381,6 @@ public virtual ClientResult RemoveFileFromStore(string vectorStoreId, string fil /// Service returned a non-success status code. /// A that can be used to wait for /// the operation to complete, get information about the batch file job, or cancel the operation. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task CreateBatchFileJobAsync( string vectorStoreId, BinaryContent content, @@ -627,7 +414,6 @@ public virtual async Task CreateBatchFileJobAsync( /// Service returned a non-success status code. /// A that can be used to wait for /// the operation to complete, get information about the batch file job, or cancel the operation. - [EditorBrowsable(EditorBrowsableState.Never)] public virtual CreateBatchFileJobOperation CreateBatchFileJob( string vectorStoreId, BinaryContent content, diff --git a/src/Custom/VectorStores/VectorStoreClient.cs b/src/Custom/VectorStores/VectorStoreClient.cs index 07ec88460..b6e734d6d 100644 --- a/src/Custom/VectorStores/VectorStoreClient.cs +++ b/src/Custom/VectorStores/VectorStoreClient.cs @@ -12,10 +12,9 @@ namespace OpenAI.VectorStores; /// /// The service client for OpenAI vector store operations. /// -[Experimental("OPENAI001")] [CodeGenType("VectorStores")] -[CodeGenSuppress("CancelVectorStoreFileBatch", typeof(string), typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("CancelVectorStoreFileBatchAsync", typeof(string), typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("CancelBatchFileJob", typeof(string), typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("CancelBatchFileJobAsync", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("CreateVectorStore", typeof(VectorStoreCreationOptions), typeof(CancellationToken))] [CodeGenSuppress("CreateVectorStoreAsync", typeof(VectorStoreCreationOptions), typeof(CancellationToken))] [CodeGenSuppress("CreateVectorStoreFile", typeof(string), typeof(InternalCreateVectorStoreFileRequest), typeof(CancellationToken))] @@ -27,10 +26,10 @@ namespace OpenAI.VectorStores; [CodeGenSuppress("CreateVectorStoreFileAsync", typeof(string), typeof(InternalCreateVectorStoreFileRequest), typeof(CancellationToken))] [CodeGenSuppress("CreateVectorStoreFileBatch", typeof(string), typeof(InternalCreateVectorStoreFileBatchRequest), typeof(CancellationToken))] [CodeGenSuppress("CreateVectorStoreFileBatchAsync", typeof(string), typeof(InternalCreateVectorStoreFileBatchRequest), typeof(CancellationToken))] -[CodeGenSuppress("DeleteVectorStoreFile", typeof(string), typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("DeleteVectorStoreFileAsync", typeof(string), typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("GetVectorStoreFile", typeof(string), typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("GetVectorStoreFileAsync", typeof(string), typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("RemoveFileFromStore", typeof(string), typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("RemoveFileFromStoreAsync", typeof(string), typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("GetFileAssociation", typeof(string), typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("GetFileAssociationAsync", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetVectorStoreFileBatch", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetVectorStoreFileBatchAsync", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("RetrieveVectorStoreFileContent", typeof(string), typeof(string), typeof(CancellationToken))] @@ -39,8 +38,8 @@ namespace OpenAI.VectorStores; [CodeGenSuppress("SearchVectorStoreAsync", typeof(string), typeof(BinaryData), typeof(bool?), typeof(int?), typeof(BinaryData), typeof(InternalVectorStoreSearchRequestRankingOptions), typeof(CancellationToken))] [CodeGenSuppress("VectorStoreClient", typeof(ClientPipeline), typeof(Uri))] [CodeGenSuppress("GetVectorStoreFileBatch", typeof(string), typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("CancelVectorStoreFileBatchAsync", typeof(string), typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("CancelVectorStoreFileBatch", typeof(string), typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("CancelBatchFileJobAsync", typeof(string), typeof(string), typeof(CancellationToken))] +[CodeGenSuppress("CancelBatchFileJob", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetFilesInVectorStoreBatchAsync", typeof(string), typeof(string), typeof(int?), typeof(VectorStoreCollectionOrder?), typeof(string), typeof(string), typeof(VectorStoreFileStatusFilter?), typeof(CancellationToken))] [CodeGenSuppress("GetFilesInVectorStoreBatch", typeof(string), typeof(string), typeof(int?), typeof(VectorStoreCollectionOrder?), typeof(string), typeof(string), typeof(VectorStoreFileStatusFilter?), typeof(CancellationToken))] public partial class VectorStoreClient diff --git a/src/Custom/VectorStores/VectorStoreCollectionOrder.cs b/src/Custom/VectorStores/VectorStoreCollectionOrder.cs index 963d468e0..a238f4759 100644 --- a/src/Custom/VectorStores/VectorStoreCollectionOrder.cs +++ b/src/Custom/VectorStores/VectorStoreCollectionOrder.cs @@ -1,9 +1,8 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.VectorStores; // CUSTOM: Renamed. -[Experimental("OPENAI001")] [CodeGenType("PageOrderOptions")] public readonly partial struct VectorStoreCollectionOrder { diff --git a/src/Custom/VectorStores/VectorStoreCreationOptions.cs b/src/Custom/VectorStores/VectorStoreCreationOptions.cs index ceaeeded8..de636761d 100644 --- a/src/Custom/VectorStores/VectorStoreCreationOptions.cs +++ b/src/Custom/VectorStores/VectorStoreCreationOptions.cs @@ -4,7 +4,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("CreateVectorStoreRequest")] public partial class VectorStoreCreationOptions { diff --git a/src/Custom/VectorStores/VectorStoreDeletionResult.cs b/src/Custom/VectorStores/VectorStoreDeletionResult.cs index 539db6332..76645e822 100644 --- a/src/Custom/VectorStores/VectorStoreDeletionResult.cs +++ b/src/Custom/VectorStores/VectorStoreDeletionResult.cs @@ -1,11 +1,10 @@ -using System.ClientModel; +using System.ClientModel; using System.ClientModel.Primitives; using System.Diagnostics.CodeAnalysis; using System.Text.Json; namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("DeleteVectorStoreResponse")] public partial class VectorStoreDeletionResult { diff --git a/src/Custom/VectorStores/VectorStoreExpirationPolicy.cs b/src/Custom/VectorStores/VectorStoreExpirationPolicy.cs index 8061c8312..132704c94 100644 --- a/src/Custom/VectorStores/VectorStoreExpirationPolicy.cs +++ b/src/Custom/VectorStores/VectorStoreExpirationPolicy.cs @@ -7,7 +7,6 @@ namespace OpenAI.VectorStores; /// /// Represents the the configuration that controls when a vector store will be automatically deleted. /// -[Experimental("OPENAI001")] [CodeGenType("VectorStoreExpirationAfter")] [CodeGenSuppress(nameof(VectorStoreExpirationPolicy), typeof(int))] [CodeGenSuppress(nameof(VectorStoreExpirationPolicy), typeof(int), typeof(VectorStoreExpirationAnchor))] diff --git a/src/Custom/VectorStores/VectorStoreFileAssociation.cs b/src/Custom/VectorStores/VectorStoreFileAssociation.cs index f1033d33c..8ec511ec8 100644 --- a/src/Custom/VectorStores/VectorStoreFileAssociation.cs +++ b/src/Custom/VectorStores/VectorStoreFileAssociation.cs @@ -11,7 +11,6 @@ namespace OpenAI.VectorStores; /// /// A representation of a file association between an uploaded file and a vector store. /// -[Experimental("OPENAI001")] [CodeGenType("VectorStoreFileObject")] public partial class VectorStoreFileAssociation { diff --git a/src/Custom/VectorStores/VectorStoreFileAssociationError.cs b/src/Custom/VectorStores/VectorStoreFileAssociationError.cs index a273bb91a..f23ac95b1 100644 --- a/src/Custom/VectorStores/VectorStoreFileAssociationError.cs +++ b/src/Custom/VectorStores/VectorStoreFileAssociationError.cs @@ -2,7 +2,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("VectorStoreFileObjectLastError1")] public partial class VectorStoreFileAssociationError { diff --git a/src/Custom/VectorStores/VectorStoreFileAssociationErrorCode.cs b/src/Custom/VectorStores/VectorStoreFileAssociationErrorCode.cs index d1a97a431..c10c6db58 100644 --- a/src/Custom/VectorStores/VectorStoreFileAssociationErrorCode.cs +++ b/src/Custom/VectorStores/VectorStoreFileAssociationErrorCode.cs @@ -2,7 +2,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("VectorStoreFileObjectLastErrorCode")] public readonly partial struct VectorStoreFileAssociationErrorCode { diff --git a/src/Custom/VectorStores/VectorStoreFileCounts.cs b/src/Custom/VectorStores/VectorStoreFileCounts.cs index da981e471..3347d7f97 100644 --- a/src/Custom/VectorStores/VectorStoreFileCounts.cs +++ b/src/Custom/VectorStores/VectorStoreFileCounts.cs @@ -2,7 +2,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("VectorStoreObjectFileCounts")] public partial class VectorStoreFileCounts { diff --git a/src/Custom/VectorStores/VectorStoreFileStatusFilter.cs b/src/Custom/VectorStores/VectorStoreFileStatusFilter.cs index 9f2d5b50e..7847b247f 100644 --- a/src/Custom/VectorStores/VectorStoreFileStatusFilter.cs +++ b/src/Custom/VectorStores/VectorStoreFileStatusFilter.cs @@ -2,7 +2,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("ListVectorStoreFilesFilter")] public readonly partial struct VectorStoreFileStatusFilter { diff --git a/src/Custom/VectorStores/VectorStoreModificationOptions.cs b/src/Custom/VectorStores/VectorStoreModificationOptions.cs index fe546164e..c1907fc1f 100644 --- a/src/Custom/VectorStores/VectorStoreModificationOptions.cs +++ b/src/Custom/VectorStores/VectorStoreModificationOptions.cs @@ -3,7 +3,6 @@ namespace OpenAI.VectorStores; -[Experimental("OPENAI001")] [CodeGenType("UpdateVectorStoreRequest")] public partial class VectorStoreModificationOptions { diff --git a/src/Generated/AssistantClient.cs b/src/Generated/AssistantClient.cs index 0f6dee07a..97b31b1bc 100644 --- a/src/Generated/AssistantClient.cs +++ b/src/Generated/AssistantClient.cs @@ -3,10 +3,15 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class AssistantClient { private readonly Uri _endpoint; @@ -16,5 +21,71 @@ protected AssistantClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult CreateAssistant(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateCreateAssistantRequest(content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task CreateAssistantAsync(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateCreateAssistantRequest(content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult GetAssistant(string assistantId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); + + using PipelineMessage message = CreateGetAssistantRequest(assistantId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GetAssistantAsync(string assistantId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); + + using PipelineMessage message = CreateGetAssistantRequest(assistantId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult ModifyAssistant(string assistantId, BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateModifyAssistantRequest(assistantId, content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task ModifyAssistantAsync(string assistantId, BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateModifyAssistantRequest(assistantId, content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult DeleteAssistant(string assistantId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); + + using PipelineMessage message = CreateDeleteAssistantRequest(assistantId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task DeleteAssistantAsync(string assistantId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); + + using PipelineMessage message = CreateDeleteAssistantRequest(assistantId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/AudioClient.RestClient.cs b/src/Generated/AudioClient.RestClient.cs index 6f2ec1086..39fab858f 100644 --- a/src/Generated/AudioClient.RestClient.cs +++ b/src/Generated/AudioClient.RestClient.cs @@ -14,7 +14,7 @@ public partial class AudioClient private static PipelineMessageClassifier PipelineMessageClassifier200 => _pipelineMessageClassifier200 = PipelineMessageClassifier.Create(stackalloc ushort[] { 200 }); - internal virtual PipelineMessage CreateCreateSpeechRequest(BinaryContent content, RequestOptions options) + internal virtual PipelineMessage CreateGenerateSpeechRequest(BinaryContent content, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; @@ -31,7 +31,7 @@ internal virtual PipelineMessage CreateCreateSpeechRequest(BinaryContent content return message; } - internal virtual PipelineMessage CreateCreateTranscriptionRequest(BinaryContent content, string contentType, RequestOptions options) + internal virtual PipelineMessage CreateTranscribeAudioRequest(BinaryContent content, string contentType, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; @@ -48,7 +48,7 @@ internal virtual PipelineMessage CreateCreateTranscriptionRequest(BinaryContent return message; } - internal virtual PipelineMessage CreateCreateTranslationRequest(BinaryContent content, string contentType, RequestOptions options) + internal virtual PipelineMessage CreateTranslateAudioRequest(BinaryContent content, string contentType, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; diff --git a/src/Generated/AudioClient.cs b/src/Generated/AudioClient.cs index a2c56925b..ebac3239d 100644 --- a/src/Generated/AudioClient.cs +++ b/src/Generated/AudioClient.cs @@ -3,7 +3,10 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Audio { @@ -16,5 +19,53 @@ protected AudioClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult GenerateSpeech(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateSpeechRequest(content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GenerateSpeechAsync(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateSpeechRequest(content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult TranscribeAudio(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateTranscribeAudioRequest(content, contentType, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task TranscribeAudioAsync(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateTranscribeAudioRequest(content, contentType, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult TranslateAudio(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateTranslateAudioRequest(content, contentType, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task TranslateAudioAsync(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateTranslateAudioRequest(content, contentType, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/BatchClient.RestClient.cs b/src/Generated/BatchClient.RestClient.cs index 3ece99d17..8fdbafe62 100644 --- a/src/Generated/BatchClient.RestClient.cs +++ b/src/Generated/BatchClient.RestClient.cs @@ -2,7 +2,9 @@ #nullable disable +using System.ClientModel; using System.ClientModel.Primitives; +using OpenAI; namespace OpenAI.Batch { @@ -11,5 +13,78 @@ public partial class BatchClient private static PipelineMessageClassifier _pipelineMessageClassifier200; private static PipelineMessageClassifier PipelineMessageClassifier200 => _pipelineMessageClassifier200 = PipelineMessageClassifier.Create(stackalloc ushort[] { 200 }); + + internal virtual PipelineMessage CreateCreateBatchRequest(BinaryContent content, RequestOptions options) + { + PipelineMessage message = Pipeline.CreateMessage(); + message.ResponseClassifier = PipelineMessageClassifier200; + PipelineRequest request = message.Request; + request.Method = "POST"; + ClientUriBuilder uri = new ClientUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/batches", false); + request.Uri = uri.ToUri(); + request.Headers.Set("Accept", "application/json"); + request.Headers.Set("Content-Type", "application/json"); + request.Content = content; + message.Apply(options); + return message; + } + + internal virtual PipelineMessage CreateGetBatchesRequest(string after, int? limit, RequestOptions options) + { + PipelineMessage message = Pipeline.CreateMessage(); + message.ResponseClassifier = PipelineMessageClassifier200; + PipelineRequest request = message.Request; + request.Method = "GET"; + ClientUriBuilder uri = new ClientUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/batches", false); + if (after != null) + { + uri.AppendQuery("after", after, true); + } + if (limit != null) + { + uri.AppendQuery("limit", TypeFormatters.ConvertToString(limit, null), true); + } + request.Uri = uri.ToUri(); + request.Headers.Set("Accept", "application/json"); + message.Apply(options); + return message; + } + + internal virtual PipelineMessage CreateGetBatchRequest(string batchId, RequestOptions options) + { + PipelineMessage message = Pipeline.CreateMessage(); + message.ResponseClassifier = PipelineMessageClassifier200; + PipelineRequest request = message.Request; + request.Method = "GET"; + ClientUriBuilder uri = new ClientUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/batches/", false); + uri.AppendPath(batchId, true); + request.Uri = uri.ToUri(); + request.Headers.Set("Accept", "application/json"); + message.Apply(options); + return message; + } + + internal virtual PipelineMessage CreateCancelBatchRequest(string batchId, RequestOptions options) + { + PipelineMessage message = Pipeline.CreateMessage(); + message.ResponseClassifier = PipelineMessageClassifier200; + PipelineRequest request = message.Request; + request.Method = "POST"; + ClientUriBuilder uri = new ClientUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/batches/", false); + uri.AppendPath(batchId, true); + uri.AppendPath("/cancel", false); + request.Uri = uri.ToUri(); + request.Headers.Set("Accept", "application/json"); + message.Apply(options); + return message; + } } } diff --git a/src/Generated/BatchClient.cs b/src/Generated/BatchClient.cs index 79c66e13f..ee53fb236 100644 --- a/src/Generated/BatchClient.cs +++ b/src/Generated/BatchClient.cs @@ -3,10 +3,15 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Batch { + [Experimental("OPENAI001")] public partial class BatchClient { private readonly Uri _endpoint; @@ -16,5 +21,21 @@ protected BatchClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult GetBatch(string batchId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); + + using PipelineMessage message = CreateGetBatchRequest(batchId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GetBatchAsync(string batchId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); + + using PipelineMessage message = CreateGetBatchRequest(batchId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/ChatClient.RestClient.cs b/src/Generated/ChatClient.RestClient.cs index 2465e85b6..c62992313 100644 --- a/src/Generated/ChatClient.RestClient.cs +++ b/src/Generated/ChatClient.RestClient.cs @@ -56,7 +56,7 @@ internal virtual PipelineMessage CreateGetChatCompletionsRequest(string after, i return message; } - internal virtual PipelineMessage CreateCreateChatCompletionRequest(BinaryContent content, RequestOptions options) + internal virtual PipelineMessage CreateCompleteChatRequest(BinaryContent content, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; diff --git a/src/Generated/ChatClient.cs b/src/Generated/ChatClient.cs index 3285bd598..5facc9551 100644 --- a/src/Generated/ChatClient.cs +++ b/src/Generated/ChatClient.cs @@ -3,7 +3,10 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Chat { @@ -16,5 +19,21 @@ protected ChatClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult CompleteChat(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateCompleteChatRequest(content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task CompleteChatAsync(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateCompleteChatRequest(content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/EmbeddingClient.RestClient.cs b/src/Generated/EmbeddingClient.RestClient.cs index ec3641cc6..4e5b792c5 100644 --- a/src/Generated/EmbeddingClient.RestClient.cs +++ b/src/Generated/EmbeddingClient.RestClient.cs @@ -14,7 +14,7 @@ public partial class EmbeddingClient private static PipelineMessageClassifier PipelineMessageClassifier200 => _pipelineMessageClassifier200 = PipelineMessageClassifier.Create(stackalloc ushort[] { 200 }); - internal virtual PipelineMessage CreateCreateEmbeddingRequest(BinaryContent content, RequestOptions options) + internal virtual PipelineMessage CreateGenerateEmbeddingsRequest(BinaryContent content, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; diff --git a/src/Generated/EmbeddingClient.cs b/src/Generated/EmbeddingClient.cs index 4db796369..24439f032 100644 --- a/src/Generated/EmbeddingClient.cs +++ b/src/Generated/EmbeddingClient.cs @@ -3,7 +3,10 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Embeddings { @@ -16,5 +19,21 @@ protected EmbeddingClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult GenerateEmbeddings(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateEmbeddingsRequest(content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GenerateEmbeddingsAsync(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateEmbeddingsRequest(content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/EvaluationClient.cs b/src/Generated/EvaluationClient.cs index f2b954a60..634e83805 100644 --- a/src/Generated/EvaluationClient.cs +++ b/src/Generated/EvaluationClient.cs @@ -4,9 +4,11 @@ using System; using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Evals { + [Experimental("OPENAI001")] public partial class EvaluationClient { private readonly Uri _endpoint; diff --git a/src/Generated/FineTuningClient.cs b/src/Generated/FineTuningClient.cs index e76b28fd8..c329ade35 100644 --- a/src/Generated/FineTuningClient.cs +++ b/src/Generated/FineTuningClient.cs @@ -5,11 +5,13 @@ using System; using System.ClientModel; using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using OpenAI; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class FineTuningClient { private readonly Uri _endpoint; diff --git a/src/Generated/ImageClient.RestClient.cs b/src/Generated/ImageClient.RestClient.cs index 51efb2d3c..0ecfd8c5b 100644 --- a/src/Generated/ImageClient.RestClient.cs +++ b/src/Generated/ImageClient.RestClient.cs @@ -14,7 +14,7 @@ public partial class ImageClient private static PipelineMessageClassifier PipelineMessageClassifier200 => _pipelineMessageClassifier200 = PipelineMessageClassifier.Create(stackalloc ushort[] { 200 }); - internal virtual PipelineMessage CreateCreateImageRequest(BinaryContent content, RequestOptions options) + internal virtual PipelineMessage CreateGenerateImagesRequest(BinaryContent content, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; @@ -31,7 +31,7 @@ internal virtual PipelineMessage CreateCreateImageRequest(BinaryContent content, return message; } - internal virtual PipelineMessage CreateCreateImageEditRequest(BinaryContent content, string contentType, RequestOptions options) + internal virtual PipelineMessage CreateGenerateImageEditsRequest(BinaryContent content, string contentType, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; @@ -48,7 +48,7 @@ internal virtual PipelineMessage CreateCreateImageEditRequest(BinaryContent cont return message; } - internal virtual PipelineMessage CreateCreateImageVariationRequest(BinaryContent content, string contentType, RequestOptions options) + internal virtual PipelineMessage CreateGenerateImageVariationsRequest(BinaryContent content, string contentType, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; diff --git a/src/Generated/ImageClient.cs b/src/Generated/ImageClient.cs index e5842c934..45d4a9fda 100644 --- a/src/Generated/ImageClient.cs +++ b/src/Generated/ImageClient.cs @@ -3,7 +3,10 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Images { @@ -16,5 +19,53 @@ protected ImageClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult GenerateImages(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateImagesRequest(content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GenerateImagesAsync(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateImagesRequest(content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult GenerateImageEdits(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateImageEditsRequest(content, contentType, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GenerateImageEditsAsync(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateImageEditsRequest(content, contentType, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult GenerateImageVariations(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateImageVariationsRequest(content, contentType, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GenerateImageVariationsAsync(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateGenerateImageVariationsRequest(content, contentType, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/Models/Assistant.Serialization.cs b/src/Generated/Models/Assistants/Assistant.Serialization.cs similarity index 98% rename from src/Generated/Models/Assistant.Serialization.cs rename to src/Generated/Models/Assistants/Assistant.Serialization.cs index 8a605b693..6747542bc 100644 --- a/src/Generated/Models/Assistant.Serialization.cs +++ b/src/Generated/Models/Assistants/Assistant.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -160,7 +158,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit Assistant IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual Assistant JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -338,7 +335,6 @@ internal static Assistant DeserializeAssistant(JsonElement element, ModelReaderW BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -353,7 +349,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions Assistant IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual Assistant PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/Assistant.cs b/src/Generated/Models/Assistants/Assistant.cs similarity index 97% rename from src/Generated/Models/Assistant.cs rename to src/Generated/Models/Assistants/Assistant.cs index 6f56133aa..decd4dc11 100644 --- a/src/Generated/Models/Assistant.cs +++ b/src/Generated/Models/Assistants/Assistant.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class Assistant { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/AssistantCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs similarity index 98% rename from src/Generated/Models/AssistantCreationOptions.Serialization.cs rename to src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs index fcb8c382d..9384c03d8 100644 --- a/src/Generated/Models/AssistantCreationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Chat; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +126,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit AssistantCreationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual AssistantCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -300,7 +297,6 @@ internal static AssistantCreationOptions DeserializeAssistantCreationOptions(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -315,7 +311,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions AssistantCreationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual AssistantCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/AssistantCreationOptions.cs b/src/Generated/Models/Assistants/AssistantCreationOptions.cs similarity index 96% rename from src/Generated/Models/AssistantCreationOptions.cs rename to src/Generated/Models/Assistants/AssistantCreationOptions.cs index 8c2b46c8a..3f09ee606 100644 --- a/src/Generated/Models/AssistantCreationOptions.cs +++ b/src/Generated/Models/Assistants/AssistantCreationOptions.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; using OpenAI.Chat; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class AssistantCreationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/AssistantDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs similarity index 97% rename from src/Generated/Models/AssistantDeletionResult.Serialization.cs rename to src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs index 67c0f98de..367bc5593 100644 --- a/src/Generated/Models/AssistantDeletionResult.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit AssistantDeletionResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual AssistantDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static AssistantDeletionResult DeserializeAssistantDeletionResult(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions AssistantDeletionResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual AssistantDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/AssistantDeletionResult.cs b/src/Generated/Models/Assistants/AssistantDeletionResult.cs similarity index 93% rename from src/Generated/Models/AssistantDeletionResult.cs rename to src/Generated/Models/Assistants/AssistantDeletionResult.cs index 09a870ee9..4bf215dc1 100644 --- a/src/Generated/Models/AssistantDeletionResult.cs +++ b/src/Generated/Models/Assistants/AssistantDeletionResult.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class AssistantDeletionResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/AssistantModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs similarity index 98% rename from src/Generated/Models/AssistantModificationOptions.Serialization.cs rename to src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs index ba1e226b3..e5dc82d81 100644 --- a/src/Generated/Models/AssistantModificationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Chat; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -124,7 +122,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit AssistantModificationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual AssistantModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -296,7 +293,6 @@ internal static AssistantModificationOptions DeserializeAssistantModificationOpt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -311,7 +307,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions AssistantModificationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual AssistantModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/AssistantModificationOptions.cs b/src/Generated/Models/Assistants/AssistantModificationOptions.cs similarity index 96% rename from src/Generated/Models/AssistantModificationOptions.cs rename to src/Generated/Models/Assistants/AssistantModificationOptions.cs index 33a2eefb0..dfcd7eca8 100644 --- a/src/Generated/Models/AssistantModificationOptions.cs +++ b/src/Generated/Models/Assistants/AssistantModificationOptions.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; using OpenAI.Chat; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class AssistantModificationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/AssistantResponseFormat.Serialization.cs b/src/Generated/Models/Assistants/AssistantResponseFormat.Serialization.cs similarity index 95% rename from src/Generated/Models/AssistantResponseFormat.Serialization.cs rename to src/Generated/Models/Assistants/AssistantResponseFormat.Serialization.cs index e0a3a8777..cbe87a0f2 100644 --- a/src/Generated/Models/AssistantResponseFormat.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantResponseFormat.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -17,7 +16,6 @@ internal AssistantResponseFormat() { } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - [Experimental("OPENAI001")] protected virtual AssistantResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -64,7 +61,6 @@ protected virtual AssistantResponseFormat JsonModelCreateCore(ref Utf8JsonReader return DeserializeAssistantResponseFormat(document.RootElement, options); } - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -77,7 +73,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions } } - [Experimental("OPENAI001")] protected virtual AssistantResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/AssistantResponseFormat.cs b/src/Generated/Models/Assistants/AssistantResponseFormat.cs similarity index 93% rename from src/Generated/Models/AssistantResponseFormat.cs rename to src/Generated/Models/Assistants/AssistantResponseFormat.cs index f6f06c2a9..baad098d2 100644 --- a/src/Generated/Models/AssistantResponseFormat.cs +++ b/src/Generated/Models/Assistants/AssistantResponseFormat.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI.Internal; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class AssistantResponseFormat { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/AssistantThread.Serialization.cs b/src/Generated/Models/Assistants/AssistantThread.Serialization.cs similarity index 98% rename from src/Generated/Models/AssistantThread.Serialization.cs rename to src/Generated/Models/Assistants/AssistantThread.Serialization.cs index 6dd804fd4..27101fc1a 100644 --- a/src/Generated/Models/AssistantThread.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantThread.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +98,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit AssistantThread IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual AssistantThread JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -187,7 +184,6 @@ internal static AssistantThread DeserializeAssistantThread(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -202,7 +198,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions AssistantThread IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual AssistantThread PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/AssistantThread.cs b/src/Generated/Models/Assistants/AssistantThread.cs similarity index 95% rename from src/Generated/Models/AssistantThread.cs rename to src/Generated/Models/Assistants/AssistantThread.cs index e31a015af..deea41d99 100644 --- a/src/Generated/Models/AssistantThread.cs +++ b/src/Generated/Models/Assistants/AssistantThread.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class AssistantThread { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/CodeInterpreterToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/CodeInterpreterToolDefinition.Serialization.cs similarity index 96% rename from src/Generated/Models/CodeInterpreterToolDefinition.Serialization.cs rename to src/Generated/Models/Assistants/CodeInterpreterToolDefinition.Serialization.cs index ac8638f50..adc429105 100644 --- a/src/Generated/Models/CodeInterpreterToolDefinition.Serialization.cs +++ b/src/Generated/Models/Assistants/CodeInterpreterToolDefinition.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri CodeInterpreterToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (CodeInterpreterToolDefinition)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ToolDefinition JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static CodeInterpreterToolDefinition DeserializeCodeInterpreterToolDefi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions CodeInterpreterToolDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (CodeInterpreterToolDefinition)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ToolDefinition PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/CodeInterpreterToolDefinition.cs b/src/Generated/Models/Assistants/CodeInterpreterToolDefinition.cs similarity index 88% rename from src/Generated/Models/CodeInterpreterToolDefinition.cs rename to src/Generated/Models/Assistants/CodeInterpreterToolDefinition.cs index 11f1278b9..1d85fd764 100644 --- a/src/Generated/Models/CodeInterpreterToolDefinition.cs +++ b/src/Generated/Models/Assistants/CodeInterpreterToolDefinition.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class CodeInterpreterToolDefinition : ToolDefinition { public CodeInterpreterToolDefinition() : this(InternalAssistantToolDefinitionType.CodeInterpreter, null) diff --git a/src/Generated/Models/CodeInterpreterToolResources.Serialization.cs b/src/Generated/Models/Assistants/CodeInterpreterToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/CodeInterpreterToolResources.Serialization.cs rename to src/Generated/Models/Assistants/CodeInterpreterToolResources.Serialization.cs index 5e5687dcd..4ec2a01a5 100644 --- a/src/Generated/Models/CodeInterpreterToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/CodeInterpreterToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit CodeInterpreterToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual CodeInterpreterToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static CodeInterpreterToolResources DeserializeCodeInterpreterToolResou BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions CodeInterpreterToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual CodeInterpreterToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/CodeInterpreterToolResources.cs b/src/Generated/Models/Assistants/CodeInterpreterToolResources.cs similarity index 93% rename from src/Generated/Models/CodeInterpreterToolResources.cs rename to src/Generated/Models/Assistants/CodeInterpreterToolResources.cs index 1c7a8dfac..97be22ee7 100644 --- a/src/Generated/Models/CodeInterpreterToolResources.cs +++ b/src/Generated/Models/Assistants/CodeInterpreterToolResources.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class CodeInterpreterToolResources { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FileSearchRanker.cs b/src/Generated/Models/Assistants/FileSearchRanker.cs similarity index 95% rename from src/Generated/Models/FileSearchRanker.cs rename to src/Generated/Models/Assistants/FileSearchRanker.cs index 36ee78fa5..1397571c0 100644 --- a/src/Generated/Models/FileSearchRanker.cs +++ b/src/Generated/Models/Assistants/FileSearchRanker.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public readonly partial struct FileSearchRanker : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/FileSearchRankingOptions.Serialization.cs b/src/Generated/Models/Assistants/FileSearchRankingOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/FileSearchRankingOptions.Serialization.cs rename to src/Generated/Models/Assistants/FileSearchRankingOptions.Serialization.cs index 2ded5ba50..b44a617a9 100644 --- a/src/Generated/Models/FileSearchRankingOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/FileSearchRankingOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FileSearchRankingOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FileSearchRankingOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static FileSearchRankingOptions DeserializeFileSearchRankingOptions(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileSearchRankingOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FileSearchRankingOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FileSearchRankingOptions.cs b/src/Generated/Models/Assistants/FileSearchRankingOptions.cs similarity index 93% rename from src/Generated/Models/FileSearchRankingOptions.cs rename to src/Generated/Models/Assistants/FileSearchRankingOptions.cs index 214f5decd..fadf1427a 100644 --- a/src/Generated/Models/FileSearchRankingOptions.cs +++ b/src/Generated/Models/Assistants/FileSearchRankingOptions.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class FileSearchRankingOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FileSearchToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/FileSearchToolDefinition.Serialization.cs similarity index 96% rename from src/Generated/Models/FileSearchToolDefinition.Serialization.cs rename to src/Generated/Models/Assistants/FileSearchToolDefinition.Serialization.cs index 9b5cce980..a17bb78bf 100644 --- a/src/Generated/Models/FileSearchToolDefinition.Serialization.cs +++ b/src/Generated/Models/Assistants/FileSearchToolDefinition.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri FileSearchToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (FileSearchToolDefinition)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ToolDefinition JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static FileSearchToolDefinition DeserializeFileSearchToolDefinition(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileSearchToolDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (FileSearchToolDefinition)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ToolDefinition PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FileSearchToolDefinition.cs b/src/Generated/Models/Assistants/FileSearchToolDefinition.cs similarity index 89% rename from src/Generated/Models/FileSearchToolDefinition.cs rename to src/Generated/Models/Assistants/FileSearchToolDefinition.cs index 60d13f54e..4d4113574 100644 --- a/src/Generated/Models/FileSearchToolDefinition.cs +++ b/src/Generated/Models/Assistants/FileSearchToolDefinition.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class FileSearchToolDefinition : ToolDefinition { internal FileSearchToolDefinition(InternalAssistantToolDefinitionType kind, IDictionary additionalBinaryDataProperties, InternalAssistantToolsFileSearchFileSearch fileSearch) : base(kind, additionalBinaryDataProperties) diff --git a/src/Generated/Models/FileSearchToolResources.Serialization.cs b/src/Generated/Models/Assistants/FileSearchToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/FileSearchToolResources.Serialization.cs rename to src/Generated/Models/Assistants/FileSearchToolResources.Serialization.cs index 5fed122f4..f5fb18efd 100644 --- a/src/Generated/Models/FileSearchToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/FileSearchToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FileSearchToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FileSearchToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -138,7 +135,6 @@ internal static FileSearchToolResources DeserializeFileSearchToolResources(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -153,7 +149,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileSearchToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FileSearchToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FileSearchToolResources.cs b/src/Generated/Models/Assistants/FileSearchToolResources.cs similarity index 94% rename from src/Generated/Models/FileSearchToolResources.cs rename to src/Generated/Models/Assistants/FileSearchToolResources.cs index 220d21e46..b9eb2bbf2 100644 --- a/src/Generated/Models/FileSearchToolResources.cs +++ b/src/Generated/Models/Assistants/FileSearchToolResources.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class FileSearchToolResources { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FunctionToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/FunctionToolDefinition.Serialization.cs similarity index 96% rename from src/Generated/Models/FunctionToolDefinition.Serialization.cs rename to src/Generated/Models/Assistants/FunctionToolDefinition.Serialization.cs index 96cf1df97..5a73f9241 100644 --- a/src/Generated/Models/FunctionToolDefinition.Serialization.cs +++ b/src/Generated/Models/Assistants/FunctionToolDefinition.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri FunctionToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (FunctionToolDefinition)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ToolDefinition JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -79,7 +76,6 @@ internal static FunctionToolDefinition DeserializeFunctionToolDefinition(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +90,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FunctionToolDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (FunctionToolDefinition)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ToolDefinition PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FunctionToolDefinition.cs b/src/Generated/Models/Assistants/FunctionToolDefinition.cs similarity index 88% rename from src/Generated/Models/FunctionToolDefinition.cs rename to src/Generated/Models/Assistants/FunctionToolDefinition.cs index eebfc3c34..45a35bd6d 100644 --- a/src/Generated/Models/FunctionToolDefinition.cs +++ b/src/Generated/Models/Assistants/FunctionToolDefinition.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class FunctionToolDefinition : ToolDefinition { internal FunctionToolDefinition(InternalAssistantToolDefinitionType kind, IDictionary additionalBinaryDataProperties, InternalFunctionDefinition function) : base(kind, additionalBinaryDataProperties) diff --git a/src/Generated/Models/InternalAssistantSupportedModels.cs b/src/Generated/Models/Assistants/InternalAssistantSupportedModels.cs similarity index 100% rename from src/Generated/Models/InternalAssistantSupportedModels.cs rename to src/Generated/Models/Assistants/InternalAssistantSupportedModels.cs diff --git a/src/Generated/Models/InternalAssistantToolDefinitionType.cs b/src/Generated/Models/Assistants/InternalAssistantToolDefinitionType.cs similarity index 100% rename from src/Generated/Models/InternalAssistantToolDefinitionType.cs rename to src/Generated/Models/Assistants/InternalAssistantToolDefinitionType.cs diff --git a/src/Generated/Models/InternalAssistantToolsFileSearchFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalAssistantToolsFileSearchFileSearch.Serialization.cs rename to src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs index 9ace2516a..de65079ed 100644 --- a/src/Generated/Models/InternalAssistantToolsFileSearchFileSearch.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalAssistantToolsFileSearchFileSearch IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalAssistantToolsFileSearchFileSearch JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalAssistantToolsFileSearchFileSearch DeserializeInternalAs BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalAssistantToolsFileSearchFileSearch IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalAssistantToolsFileSearchFileSearch PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalAssistantToolsFileSearchFileSearch.cs b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.cs similarity index 100% rename from src/Generated/Models/InternalAssistantToolsFileSearchFileSearch.cs rename to src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.cs diff --git a/src/Generated/Models/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs rename to src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs index 0c5e01d29..a91131e21 100644 --- a/src/Generated/Models/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalAssistantToolsFileSearchTypeOnly IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalAssistantToolsFileSearchTypeOnly JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static InternalAssistantToolsFileSearchTypeOnly DeserializeInternalAssi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalAssistantToolsFileSearchTypeOnly IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalAssistantToolsFileSearchTypeOnly PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalAssistantToolsFileSearchTypeOnly.cs b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.cs similarity index 100% rename from src/Generated/Models/InternalAssistantToolsFileSearchTypeOnly.cs rename to src/Generated/Models/Assistants/InternalAssistantToolsFileSearchTypeOnly.cs diff --git a/src/Generated/Models/InternalAssistantsNamedToolChoiceFunction.Serialization.cs b/src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalAssistantsNamedToolChoiceFunction.Serialization.cs rename to src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.Serialization.cs index 9308b242c..65ed7e459 100644 --- a/src/Generated/Models/InternalAssistantsNamedToolChoiceFunction.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalAssistantsNamedToolChoiceFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalAssistantsNamedToolChoiceFunction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalAssistantsNamedToolChoiceFunction DeserializeInternalAss BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalAssistantsNamedToolChoiceFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalAssistantsNamedToolChoiceFunction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalAssistantsNamedToolChoiceFunction.cs b/src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.cs similarity index 100% rename from src/Generated/Models/InternalAssistantsNamedToolChoiceFunction.cs rename to src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceFunction.cs diff --git a/src/Generated/Models/InternalAssistantsNamedToolChoiceType.cs b/src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceType.cs similarity index 100% rename from src/Generated/Models/InternalAssistantsNamedToolChoiceType.cs rename to src/Generated/Models/Assistants/InternalAssistantsNamedToolChoiceType.cs diff --git a/src/Generated/Models/InternalCreateAssistantRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateAssistantRequestToolResources.Serialization.cs rename to src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.Serialization.cs index 988a98d2f..af92a1088 100644 --- a/src/Generated/Models/InternalCreateAssistantRequestToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateAssistantRequestToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateAssistantRequestToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalCreateAssistantRequestToolResources DeserializeInternalC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateAssistantRequestToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateAssistantRequestToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateAssistantRequestToolResources.cs b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.cs similarity index 100% rename from src/Generated/Models/InternalCreateAssistantRequestToolResources.cs rename to src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResources.cs diff --git a/src/Generated/Models/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs rename to src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs index 61da53ca8..833c86067 100644 --- a/src/Generated/Models/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateAssistantRequestToolResourcesCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateAssistantRequestToolResourcesCodeInterpreter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalCreateAssistantRequestToolResourcesCodeInterpreter Deser BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateAssistantRequestToolResourcesCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateAssistantRequestToolResourcesCodeInterpreter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateAssistantRequestToolResourcesCodeInterpreter.cs b/src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalCreateAssistantRequestToolResourcesCodeInterpreter.cs rename to src/Generated/Models/Assistants/InternalCreateAssistantRequestToolResourcesCodeInterpreter.cs diff --git a/src/Generated/Models/InternalCreateThreadAndRunRequest.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs similarity index 99% rename from src/Generated/Models/InternalCreateThreadAndRunRequest.Serialization.cs rename to src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs index 6dd0a185b..5035a0c6c 100644 --- a/src/Generated/Models/InternalCreateThreadAndRunRequest.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -152,7 +150,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateThreadAndRunRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadAndRunRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -382,7 +379,6 @@ internal static InternalCreateThreadAndRunRequest DeserializeInternalCreateThrea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -397,7 +393,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateThreadAndRunRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadAndRunRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateThreadAndRunRequest.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateThreadAndRunRequest.cs rename to src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.cs diff --git a/src/Generated/Models/InternalCreateThreadAndRunRequestModel.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateThreadAndRunRequestModel.cs rename to src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestModel.cs diff --git a/src/Generated/Models/InternalCreateThreadAndRunRequestToolChoice.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolChoice.cs similarity index 100% rename from src/Generated/Models/InternalCreateThreadAndRunRequestToolChoice.cs rename to src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolChoice.cs diff --git a/src/Generated/Models/InternalCreateThreadAndRunRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateThreadAndRunRequestToolResources.Serialization.cs rename to src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.Serialization.cs index c435194cd..17a267c4a 100644 --- a/src/Generated/Models/InternalCreateThreadAndRunRequestToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateThreadAndRunRequestToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadAndRunRequestToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalCreateThreadAndRunRequestToolResources DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateThreadAndRunRequestToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadAndRunRequestToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateThreadAndRunRequestToolResources.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.cs similarity index 100% rename from src/Generated/Models/InternalCreateThreadAndRunRequestToolResources.cs rename to src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResources.cs diff --git a/src/Generated/Models/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs rename to src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs index bc4c3eaa1..5a4efe6d8 100644 --- a/src/Generated/Models/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.W writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter De BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.cs rename to src/Generated/Models/Assistants/InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter.cs diff --git a/src/Generated/Models/InternalCreateThreadRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateThreadRequestToolResources.Serialization.cs rename to src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.Serialization.cs index d55c808d9..076ba0ad4 100644 --- a/src/Generated/Models/InternalCreateThreadRequestToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateThreadRequestToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadRequestToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalCreateThreadRequestToolResources DeserializeInternalCrea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateThreadRequestToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadRequestToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateThreadRequestToolResources.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.cs similarity index 100% rename from src/Generated/Models/InternalCreateThreadRequestToolResources.cs rename to src/Generated/Models/Assistants/InternalCreateThreadRequestToolResources.cs diff --git a/src/Generated/Models/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs rename to src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs index b6bca2bbb..30adfa959 100644 --- a/src/Generated/Models/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(U writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateThreadRequestToolResourcesCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadRequestToolResourcesCodeInterpreter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalCreateThreadRequestToolResourcesCodeInterpreter Deserial BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateThreadRequestToolResourcesCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadRequestToolResourcesCodeInterpreter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateThreadRequestToolResourcesCodeInterpreter.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalCreateThreadRequestToolResourcesCodeInterpreter.cs rename to src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesCodeInterpreter.cs diff --git a/src/Generated/Models/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs rename to src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs index 05f531f3f..fe35bf614 100644 --- a/src/Generated/Models/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Ut writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateThreadRequestToolResourcesFileSearchBase IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadRequestToolResourcesFileSearchBase JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +78,6 @@ internal static InternalCreateThreadRequestToolResourcesFileSearchBase Deseriali BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +92,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateThreadRequestToolResourcesFileSearchBase IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateThreadRequestToolResourcesFileSearchBase PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateThreadRequestToolResourcesFileSearchBase.cs b/src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.cs similarity index 100% rename from src/Generated/Models/InternalCreateThreadRequestToolResourcesFileSearchBase.cs rename to src/Generated/Models/Assistants/InternalCreateThreadRequestToolResourcesFileSearchBase.cs diff --git a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs index ed3e06513..109e29653 100644 --- a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -34,7 +32,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotNetAssistantResponseFormatJsonObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotNetAssistantResponseFormatJsonObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override AssistantResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -69,7 +66,6 @@ internal static InternalDotNetAssistantResponseFormatJsonObject DeserializeInter BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +80,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetAssistantResponseFormatJsonObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotNetAssistantResponseFormatJsonObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override AssistantResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonObject.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.cs similarity index 100% rename from src/Generated/Models/InternalDotNetAssistantResponseFormatJsonObject.cs rename to src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonObject.cs diff --git a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs rename to src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs index 85541bb8d..9158f0c5f 100644 --- a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -43,7 +41,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotNetAssistantResponseFormatJsonSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotNetAssistantResponseFormatJsonSchema)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override AssistantResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalDotNetAssistantResponseFormatJsonSchema DeserializeInter BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetAssistantResponseFormatJsonSchema IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotNetAssistantResponseFormatJsonSchema)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override AssistantResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchema.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.cs similarity index 100% rename from src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchema.cs rename to src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchema.cs diff --git a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs rename to src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs index d13d2918f..c158535a1 100644 --- a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +142,6 @@ internal static InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema Deseri BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -160,7 +156,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.cs similarity index 100% rename from src/Generated/Models/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.cs rename to src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema.cs diff --git a/src/Generated/Models/InternalDotNetAssistantResponseFormatText.Serialization.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalDotNetAssistantResponseFormatText.Serialization.cs rename to src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.Serialization.cs index 70476504b..50ca8e74c 100644 --- a/src/Generated/Models/InternalDotNetAssistantResponseFormatText.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -34,7 +32,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotNetAssistantResponseFormatText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotNetAssistantResponseFormatText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override AssistantResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -69,7 +66,6 @@ internal static InternalDotNetAssistantResponseFormatText DeserializeInternalDot BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +80,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetAssistantResponseFormatText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotNetAssistantResponseFormatText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override AssistantResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetAssistantResponseFormatText.cs b/src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.cs similarity index 100% rename from src/Generated/Models/InternalDotNetAssistantResponseFormatText.cs rename to src/Generated/Models/Assistants/InternalDotNetAssistantResponseFormatText.cs diff --git a/src/Generated/Models/InternalIncludedRunStepProperty.cs b/src/Generated/Models/Assistants/InternalIncludedRunStepProperty.cs similarity index 100% rename from src/Generated/Models/InternalIncludedRunStepProperty.cs rename to src/Generated/Models/Assistants/InternalIncludedRunStepProperty.cs diff --git a/src/Generated/Models/InternalListAssistantsResponse.Serialization.cs b/src/Generated/Models/Assistants/InternalListAssistantsResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListAssistantsResponse.Serialization.cs rename to src/Generated/Models/Assistants/InternalListAssistantsResponse.Serialization.cs index 043c4599e..355041181 100644 --- a/src/Generated/Models/InternalListAssistantsResponse.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalListAssistantsResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListAssistantsResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListAssistantsResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -157,7 +154,6 @@ internal static InternalListAssistantsResponse DeserializeInternalListAssistants BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -172,7 +168,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListAssistantsResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListAssistantsResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListAssistantsResponse.cs b/src/Generated/Models/Assistants/InternalListAssistantsResponse.cs similarity index 100% rename from src/Generated/Models/InternalListAssistantsResponse.cs rename to src/Generated/Models/Assistants/InternalListAssistantsResponse.cs diff --git a/src/Generated/Models/InternalListMessagesResponse.Serialization.cs b/src/Generated/Models/Assistants/InternalListMessagesResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListMessagesResponse.Serialization.cs rename to src/Generated/Models/Assistants/InternalListMessagesResponse.Serialization.cs index 98a850a70..089a43108 100644 --- a/src/Generated/Models/InternalListMessagesResponse.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalListMessagesResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListMessagesResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListMessagesResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -157,7 +154,6 @@ internal static InternalListMessagesResponse DeserializeInternalListMessagesResp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -172,7 +168,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListMessagesResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListMessagesResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListMessagesResponse.cs b/src/Generated/Models/Assistants/InternalListMessagesResponse.cs similarity index 100% rename from src/Generated/Models/InternalListMessagesResponse.cs rename to src/Generated/Models/Assistants/InternalListMessagesResponse.cs diff --git a/src/Generated/Models/InternalListRunStepsResponse.Serialization.cs b/src/Generated/Models/Assistants/InternalListRunStepsResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListRunStepsResponse.Serialization.cs rename to src/Generated/Models/Assistants/InternalListRunStepsResponse.Serialization.cs index d61a9ae76..1709103c6 100644 --- a/src/Generated/Models/InternalListRunStepsResponse.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalListRunStepsResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListRunStepsResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListRunStepsResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -157,7 +154,6 @@ internal static InternalListRunStepsResponse DeserializeInternalListRunStepsResp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -172,7 +168,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListRunStepsResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListRunStepsResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListRunStepsResponse.cs b/src/Generated/Models/Assistants/InternalListRunStepsResponse.cs similarity index 100% rename from src/Generated/Models/InternalListRunStepsResponse.cs rename to src/Generated/Models/Assistants/InternalListRunStepsResponse.cs diff --git a/src/Generated/Models/InternalListRunsResponse.Serialization.cs b/src/Generated/Models/Assistants/InternalListRunsResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListRunsResponse.Serialization.cs rename to src/Generated/Models/Assistants/InternalListRunsResponse.Serialization.cs index 3662b7862..a02f126fd 100644 --- a/src/Generated/Models/InternalListRunsResponse.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalListRunsResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListRunsResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListRunsResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -157,7 +154,6 @@ internal static InternalListRunsResponse DeserializeInternalListRunsResponse(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -172,7 +168,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListRunsResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListRunsResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListRunsResponse.cs b/src/Generated/Models/Assistants/InternalListRunsResponse.cs similarity index 100% rename from src/Generated/Models/InternalListRunsResponse.cs rename to src/Generated/Models/Assistants/InternalListRunsResponse.cs diff --git a/src/Generated/Models/InternalMessageContentImageFileObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentImageFileObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalMessageContentImageFileObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentImageFileObject.Serialization.cs index b4fd0053a..2402633fb 100644 --- a/src/Generated/Models/InternalMessageContentImageFileObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentImageFileObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageContentImageFileObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageContentImageFileObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalMessageContentImageFileObject DeserializeInternalMessage BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentImageFileObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageContentImageFileObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override MessageContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentImageFileObject.cs b/src/Generated/Models/Assistants/InternalMessageContentImageFileObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentImageFileObject.cs rename to src/Generated/Models/Assistants/InternalMessageContentImageFileObject.cs diff --git a/src/Generated/Models/InternalMessageContentImageFileObjectImageFileDetail.cs b/src/Generated/Models/Assistants/InternalMessageContentImageFileObjectImageFileDetail.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentImageFileObjectImageFileDetail.cs rename to src/Generated/Models/Assistants/InternalMessageContentImageFileObjectImageFileDetail.cs diff --git a/src/Generated/Models/InternalMessageContentImageUrlObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalMessageContentImageUrlObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.Serialization.cs index e1cfca445..4d9c28d29 100644 --- a/src/Generated/Models/InternalMessageContentImageUrlObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageContentImageUrlObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageContentImageUrlObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalMessageContentImageUrlObject DeserializeInternalMessageC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentImageUrlObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageContentImageUrlObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override MessageContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentImageUrlObject.cs b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentImageUrlObject.cs rename to src/Generated/Models/Assistants/InternalMessageContentImageUrlObject.cs diff --git a/src/Generated/Models/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs index 3eedeaab1..cc3e657ba 100644 --- a/src/Generated/Models/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageContentImageUrlObjectImageUrl IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentImageUrlObjectImageUrl JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalMessageContentImageUrlObjectImageUrl DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentImageUrlObjectImageUrl IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentImageUrlObjectImageUrl PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentImageUrlObjectImageUrl.cs b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentImageUrlObjectImageUrl.cs rename to src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrl.cs diff --git a/src/Generated/Models/InternalMessageContentImageUrlObjectImageUrlDetail.cs b/src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrlDetail.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentImageUrlObjectImageUrlDetail.cs rename to src/Generated/Models/Assistants/InternalMessageContentImageUrlObjectImageUrlDetail.cs diff --git a/src/Generated/Models/InternalMessageContentItemFileObjectImageFile.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageContentItemFileObjectImageFile.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.Serialization.cs index 546d040af..a4bbb902a 100644 --- a/src/Generated/Models/InternalMessageContentItemFileObjectImageFile.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageContentItemFileObjectImageFile IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentItemFileObjectImageFile JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalMessageContentItemFileObjectImageFile DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentItemFileObjectImageFile IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentItemFileObjectImageFile PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentItemFileObjectImageFile.cs b/src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentItemFileObjectImageFile.cs rename to src/Generated/Models/Assistants/InternalMessageContentItemFileObjectImageFile.cs diff --git a/src/Generated/Models/InternalMessageContentRefusalObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentRefusalObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalMessageContentRefusalObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentRefusalObject.Serialization.cs index 06f1911d0..91d54e197 100644 --- a/src/Generated/Models/InternalMessageContentRefusalObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentRefusalObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageContentRefusalObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageContentRefusalObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalMessageContentRefusalObject DeserializeInternalMessageCo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentRefusalObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageContentRefusalObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override MessageContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentRefusalObject.cs b/src/Generated/Models/Assistants/InternalMessageContentRefusalObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentRefusalObject.cs rename to src/Generated/Models/Assistants/InternalMessageContentRefusalObject.cs diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationType.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationType.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentTextAnnotationType.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationType.cs diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs index 814468cda..fd1d30361 100644 --- a/src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(U writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageContentTextAnnotationsFileCitationObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageContentTextAnnotationsFileCitationObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageContentTextObjectAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +119,6 @@ internal static InternalMessageContentTextAnnotationsFileCitationObject Deserial BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentTextAnnotationsFileCitationObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageContentTextAnnotationsFileCitationObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageContentTextObjectAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObject.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObject.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObject.cs diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs index 7cfc76c5c..364120b4d 100644 --- a/src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageContentTextAnnotationsFileCitationObjectFileCitation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentTextAnnotationsFileCitationObjectFileCitation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalMessageContentTextAnnotationsFileCitationObjectFileCitat BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentTextAnnotationsFileCitationObjectFileCitation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentTextAnnotationsFileCitationObjectFileCitation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFileCitationObjectFileCitation.cs diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs index 1c68310f9..83ffc41da 100644 --- a/src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageContentTextAnnotationsFilePathObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageContentTextAnnotationsFilePathObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageContentTextObjectAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +119,6 @@ internal static InternalMessageContentTextAnnotationsFilePathObject DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentTextAnnotationsFilePathObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageContentTextAnnotationsFilePathObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageContentTextObjectAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObject.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObject.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObject.cs diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs index f41aa909f..012aabbd1 100644 --- a/src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageContentTextAnnotationsFilePathObjectFilePath IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentTextAnnotationsFilePathObjectFilePath JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalMessageContentTextAnnotationsFilePathObjectFilePath Dese BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentTextAnnotationsFilePathObjectFilePath IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentTextAnnotationsFilePathObjectFilePath PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObjectFilePath.cs b/src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentTextAnnotationsFilePathObjectFilePath.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextAnnotationsFilePathObjectFilePath.cs diff --git a/src/Generated/Models/InternalMessageContentTextObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObject.Serialization.cs similarity index 95% rename from src/Generated/Models/InternalMessageContentTextObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextObject.Serialization.cs index 6a9b54359..7af8de49f 100644 --- a/src/Generated/Models/InternalMessageContentTextObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentTextObject.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M InternalMessageContentTextObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageContentTextObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -39,7 +37,6 @@ protected override MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -54,7 +51,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentTextObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageContentTextObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override MessageContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentTextObject.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentTextObject.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextObject.cs diff --git a/src/Generated/Models/InternalMessageContentTextObjectAnnotation.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageContentTextObjectAnnotation.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.Serialization.cs index 32ec8c15c..e77add85a 100644 --- a/src/Generated/Models/InternalMessageContentTextObjectAnnotation.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageContentTextObjectAnnotation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentTextObjectAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalMessageContentTextObjectAnnotation DeserializeInternalMe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentTextObjectAnnotation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentTextObjectAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentTextObjectAnnotation.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentTextObjectAnnotation.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextObjectAnnotation.cs diff --git a/src/Generated/Models/InternalMessageContentTextObjectText1.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageContentTextObjectText1.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.Serialization.cs index 9820dac42..2bb64d713 100644 --- a/src/Generated/Models/InternalMessageContentTextObjectText1.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageContentTextObjectText1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentTextObjectText1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalMessageContentTextObjectText1 DeserializeInternalMessage BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentTextObjectText1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageContentTextObjectText1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageContentTextObjectText1.cs b/src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentTextObjectText1.cs rename to src/Generated/Models/Assistants/InternalMessageContentTextObjectText1.cs diff --git a/src/Generated/Models/InternalMessageContentType.cs b/src/Generated/Models/Assistants/InternalMessageContentType.cs similarity index 100% rename from src/Generated/Models/InternalMessageContentType.cs rename to src/Generated/Models/Assistants/InternalMessageContentType.cs diff --git a/src/Generated/Models/InternalMessageDeltaContent.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContent.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContent.Serialization.cs index 5b6c3da1b..f4f16a259 100644 --- a/src/Generated/Models/InternalMessageDeltaContent.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContent.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +95,6 @@ internal static InternalMessageDeltaContent DeserializeInternalMessageDeltaConte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +109,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContent.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContent.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContent.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContent.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentImageFileObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentImageFileObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.Serialization.cs index 9c27ad235..55c637efc 100644 --- a/src/Generated/Models/InternalMessageDeltaContentImageFileObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageDeltaContentImageFileObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageDeltaContentImageFileObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +95,6 @@ internal static InternalMessageDeltaContentImageFileObject DeserializeInternalMe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +109,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentImageFileObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageDeltaContentImageFileObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentImageFileObject.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentImageFileObject.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObject.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs index 015e0585d..0a7653d51 100644 --- a/src/Generated/Models/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaContentImageFileObjectImageFile IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentImageFileObjectImageFile JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalMessageDeltaContentImageFileObjectImageFile DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentImageFileObjectImageFile IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentImageFileObjectImageFile PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentImageFileObjectImageFile.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentImageFileObjectImageFile.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFile.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentImageFileObjectImageFileDetail.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFileDetail.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentImageFileObjectImageFileDetail.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageFileObjectImageFileDetail.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentImageUrlObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentImageUrlObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.Serialization.cs index fd31f686f..1e6e61f0d 100644 --- a/src/Generated/Models/InternalMessageDeltaContentImageUrlObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageDeltaContentImageUrlObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageDeltaContentImageUrlObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +95,6 @@ internal static InternalMessageDeltaContentImageUrlObject DeserializeInternalMes BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +109,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentImageUrlObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageDeltaContentImageUrlObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentImageUrlObject.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentImageUrlObject.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObject.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs index 5e8f4d08f..cb66aa532 100644 --- a/src/Generated/Models/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaContentImageUrlObjectImageUrl IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentImageUrlObjectImageUrl JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalMessageDeltaContentImageUrlObjectImageUrl DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentImageUrlObjectImageUrl IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentImageUrlObjectImageUrl PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentImageUrlObjectImageUrl.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentImageUrlObjectImageUrl.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrl.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentImageUrlObjectImageUrlDetail.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrlDetail.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentImageUrlObjectImageUrlDetail.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentImageUrlObjectImageUrlDetail.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentRefusalObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentRefusalObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.Serialization.cs index 11252d588..f88c17b7f 100644 --- a/src/Generated/Models/InternalMessageDeltaContentRefusalObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageDeltaContentRefusalObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageDeltaContentRefusalObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalMessageDeltaContentRefusalObject DeserializeInternalMess BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentRefusalObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageDeltaContentRefusalObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentRefusalObject.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentRefusalObject.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentRefusalObject.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs index 8def8fd3a..143c5628b 100644 --- a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageDeltaContentTextAnnotationsFileCitationObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageDeltaContentTextAnnotationsFileCitationObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaTextContentAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -146,7 +143,6 @@ internal static InternalMessageDeltaContentTextAnnotationsFileCitationObject Des BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -161,7 +157,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentTextAnnotationsFileCitationObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageDeltaContentTextAnnotationsFileCitationObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaTextContentAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObject.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObject.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObject.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs index bf5459b03..3f0acc31f 100644 --- a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalMessageDeltaContentTextAnnotationsFileCitationObjectFile BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs index 1c2aad81c..4a47dc8f3 100644 --- a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write( writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageDeltaContentTextAnnotationsFilePathObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageDeltaContentTextAnnotationsFilePathObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaTextContentAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -146,7 +143,6 @@ internal static InternalMessageDeltaContentTextAnnotationsFilePathObject Deseria BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -161,7 +157,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentTextAnnotationsFilePathObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageDeltaContentTextAnnotationsFilePathObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaTextContentAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObject.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObject.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObject.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs index 2afe03e43..156a9c647 100644 --- a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentTextObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentTextObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.Serialization.cs index 57b7527e8..1c51bb96d 100644 --- a/src/Generated/Models/InternalMessageDeltaContentTextObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageDeltaContentTextObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMessageDeltaContentTextObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +95,6 @@ internal static InternalMessageDeltaContentTextObject DeserializeInternalMessage BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +109,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentTextObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMessageDeltaContentTextObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentTextObject.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentTextObject.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextObject.cs diff --git a/src/Generated/Models/InternalMessageDeltaContentTextObjectText.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaContentTextObjectText.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.Serialization.cs index 19dfda7cc..2c3363477 100644 --- a/src/Generated/Models/InternalMessageDeltaContentTextObjectText.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaContentTextObjectText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentTextObjectText JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalMessageDeltaContentTextObjectText DeserializeInternalMes BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContentTextObjectText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaContentTextObjectText PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaContentTextObjectText.cs b/src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaContentTextObjectText.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaContentTextObjectText.cs diff --git a/src/Generated/Models/InternalMessageDeltaObject.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaObject.Serialization.cs index cc186b48b..fefad41d2 100644 --- a/src/Generated/Models/InternalMessageDeltaObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalMessageDeltaObject DeserializeInternalMessageDeltaObject BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaObject.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObject.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaObject.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaObject.cs diff --git a/src/Generated/Models/InternalMessageDeltaObjectDelta.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaObjectDelta.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs index 6f37ab8f8..d5e10648c 100644 --- a/src/Generated/Models/InternalMessageDeltaObjectDelta.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaObjectDelta IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaObjectDelta JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +118,6 @@ internal static InternalMessageDeltaObjectDelta DeserializeInternalMessageDeltaO BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +132,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaObjectDelta IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaObjectDelta PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaObjectDelta.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaObjectDelta.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.cs diff --git a/src/Generated/Models/InternalMessageDeltaObjectDeltaRole.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDeltaRole.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaObjectDeltaRole.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaObjectDeltaRole.cs diff --git a/src/Generated/Models/InternalMessageDeltaTextContentAnnotation.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageDeltaTextContentAnnotation.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.Serialization.cs index 831c4dee4..9d912cfdc 100644 --- a/src/Generated/Models/InternalMessageDeltaTextContentAnnotation.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageDeltaTextContentAnnotation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaTextContentAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalMessageDeltaTextContentAnnotation DeserializeInternalMes BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaTextContentAnnotation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageDeltaTextContentAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageDeltaTextContentAnnotation.cs b/src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.cs similarity index 100% rename from src/Generated/Models/InternalMessageDeltaTextContentAnnotation.cs rename to src/Generated/Models/Assistants/InternalMessageDeltaTextContentAnnotation.cs diff --git a/src/Generated/Models/InternalMessageObjectAttachment.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageObjectAttachment.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMessageObjectAttachment.Serialization.cs rename to src/Generated/Models/Assistants/InternalMessageObjectAttachment.Serialization.cs index d900e3f09..50b8fcbc3 100644 --- a/src/Generated/Models/InternalMessageObjectAttachment.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageObjectAttachment.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -79,7 +77,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMessageObjectAttachment IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMessageObjectAttachment JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +133,6 @@ internal static InternalMessageObjectAttachment DeserializeInternalMessageObject BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +147,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageObjectAttachment IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMessageObjectAttachment PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMessageObjectAttachment.cs b/src/Generated/Models/Assistants/InternalMessageObjectAttachment.cs similarity index 100% rename from src/Generated/Models/InternalMessageObjectAttachment.cs rename to src/Generated/Models/Assistants/InternalMessageObjectAttachment.cs diff --git a/src/Generated/Models/InternalMessageObjectRole.cs b/src/Generated/Models/Assistants/InternalMessageObjectRole.cs similarity index 100% rename from src/Generated/Models/InternalMessageObjectRole.cs rename to src/Generated/Models/Assistants/InternalMessageObjectRole.cs diff --git a/src/Generated/Models/InternalModifyAssistantRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalModifyAssistantRequestToolResources.Serialization.cs rename to src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.Serialization.cs index a7f996194..21ed76564 100644 --- a/src/Generated/Models/InternalModifyAssistantRequestToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalModifyAssistantRequestToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalModifyAssistantRequestToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalModifyAssistantRequestToolResources DeserializeInternalM BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalModifyAssistantRequestToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalModifyAssistantRequestToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalModifyAssistantRequestToolResources.cs b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.cs similarity index 100% rename from src/Generated/Models/InternalModifyAssistantRequestToolResources.cs rename to src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResources.cs diff --git a/src/Generated/Models/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs rename to src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs index 664ccc15f..183823da7 100644 --- a/src/Generated/Models/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalModifyAssistantRequestToolResourcesCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalModifyAssistantRequestToolResourcesCodeInterpreter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalModifyAssistantRequestToolResourcesCodeInterpreter Deser BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalModifyAssistantRequestToolResourcesCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalModifyAssistantRequestToolResourcesCodeInterpreter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalModifyAssistantRequestToolResourcesCodeInterpreter.cs b/src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalModifyAssistantRequestToolResourcesCodeInterpreter.cs rename to src/Generated/Models/Assistants/InternalModifyAssistantRequestToolResourcesCodeInterpreter.cs diff --git a/src/Generated/Models/InternalModifyThreadRequestToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalModifyThreadRequestToolResources.Serialization.cs rename to src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.Serialization.cs index bc2f8a880..3386aa530 100644 --- a/src/Generated/Models/InternalModifyThreadRequestToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalModifyThreadRequestToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalModifyThreadRequestToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalModifyThreadRequestToolResources DeserializeInternalModi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalModifyThreadRequestToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalModifyThreadRequestToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalModifyThreadRequestToolResources.cs b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.cs similarity index 100% rename from src/Generated/Models/InternalModifyThreadRequestToolResources.cs rename to src/Generated/Models/Assistants/InternalModifyThreadRequestToolResources.cs diff --git a/src/Generated/Models/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs rename to src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs index 5fb404d3a..17e30025b 100644 --- a/src/Generated/Models/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(U writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalModifyThreadRequestToolResourcesCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalModifyThreadRequestToolResourcesCodeInterpreter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalModifyThreadRequestToolResourcesCodeInterpreter Deserial BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalModifyThreadRequestToolResourcesCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalModifyThreadRequestToolResourcesCodeInterpreter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalModifyThreadRequestToolResourcesCodeInterpreter.cs b/src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalModifyThreadRequestToolResourcesCodeInterpreter.cs rename to src/Generated/Models/Assistants/InternalModifyThreadRequestToolResourcesCodeInterpreter.cs diff --git a/src/Generated/Models/InternalRequiredFunctionToolCall.Serialization.cs b/src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRequiredFunctionToolCall.Serialization.cs rename to src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.Serialization.cs index 2b1a5671a..6e21b3d4c 100644 --- a/src/Generated/Models/InternalRequiredFunctionToolCall.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRequiredFunctionToolCall IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRequiredFunctionToolCall JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalRequiredFunctionToolCall DeserializeInternalRequiredFunc BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRequiredFunctionToolCall IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRequiredFunctionToolCall PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRequiredFunctionToolCall.cs b/src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.cs similarity index 100% rename from src/Generated/Models/InternalRequiredFunctionToolCall.cs rename to src/Generated/Models/Assistants/InternalRequiredFunctionToolCall.cs diff --git a/src/Generated/Models/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs b/src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs index 56b81c720..7be643ac0 100644 --- a/src/Generated/Models/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Json writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -63,7 +61,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunObjectRequiredActionSubmitToolOutputs IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunObjectRequiredActionSubmitToolOutputs JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalRunObjectRequiredActionSubmitToolOutputs DeserializeInte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunObjectRequiredActionSubmitToolOutputs IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunObjectRequiredActionSubmitToolOutputs PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunObjectRequiredActionSubmitToolOutputs.cs b/src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.cs similarity index 100% rename from src/Generated/Models/InternalRunObjectRequiredActionSubmitToolOutputs.cs rename to src/Generated/Models/Assistants/InternalRunObjectRequiredActionSubmitToolOutputs.cs diff --git a/src/Generated/Models/InternalRunRequiredAction.Serialization.cs b/src/Generated/Models/Assistants/InternalRunRequiredAction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunRequiredAction.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunRequiredAction.Serialization.cs index 2e811a10d..731df68cf 100644 --- a/src/Generated/Models/InternalRunRequiredAction.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunRequiredAction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunRequiredAction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunRequiredAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalRunRequiredAction DeserializeInternalRunRequiredAction(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunRequiredAction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunRequiredAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunRequiredAction.cs b/src/Generated/Models/Assistants/InternalRunRequiredAction.cs similarity index 100% rename from src/Generated/Models/InternalRunRequiredAction.cs rename to src/Generated/Models/Assistants/InternalRunRequiredAction.cs diff --git a/src/Generated/Models/InternalRunStepCodeInterpreterLogOutput.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRunStepCodeInterpreterLogOutput.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.Serialization.cs index 8511246d7..573cf963d 100644 --- a/src/Generated/Models/InternalRunStepCodeInterpreterLogOutput.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepCodeInterpreterLogOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepCodeInterpreterLogOutput)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalRunStepCodeInterpreterLogOutput DeserializeInternalRunSt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepCodeInterpreterLogOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepCodeInterpreterLogOutput)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepCodeInterpreterLogOutput.cs b/src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.cs similarity index 100% rename from src/Generated/Models/InternalRunStepCodeInterpreterLogOutput.cs rename to src/Generated/Models/Assistants/InternalRunStepCodeInterpreterLogOutput.cs diff --git a/src/Generated/Models/InternalRunStepDelta.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDelta.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDelta.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDelta.Serialization.cs index eaa59f793..345e3c6c2 100644 --- a/src/Generated/Models/InternalRunStepDelta.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDelta.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDelta IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDelta JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalRunStepDelta DeserializeInternalRunStepDelta(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDelta IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDelta PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDelta.cs b/src/Generated/Models/Assistants/InternalRunStepDelta.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDelta.cs rename to src/Generated/Models/Assistants/InternalRunStepDelta.cs diff --git a/src/Generated/Models/InternalRunStepDeltaObjectDelta.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaObjectDelta.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.Serialization.cs index 2bda551fa..3fd3aa3a3 100644 --- a/src/Generated/Models/InternalRunStepDeltaObjectDelta.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDeltaObjectDelta IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaObjectDelta JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRunStepDeltaObjectDelta DeserializeInternalRunStepDeltaO BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaObjectDelta IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaObjectDelta PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaObjectDelta.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaObjectDelta.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaObjectDelta.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetails.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetails.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.Serialization.cs index 8bfce2a20..6fa4738df 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetails.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDeltaStepDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalRunStepDeltaStepDetails DeserializeInternalRunStepDeltaS BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetails.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetails.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetails.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs index dae28e258..a1675a82f 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8 writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetailsMessageCreationObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsMessageCreationObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalRunStepDeltaStepDetailsMessageCreationObject Deserialize BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsMessageCreationObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsMessageCreationObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObject.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObject.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs index e9f282d23..9422cfa58 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreat BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs index 6cd6ce822..393602921 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetailsToolCallsCodeObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsCodeObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +106,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsCodeObject DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -124,7 +120,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsCodeObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsCodeObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObject.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObject.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs index 4dc4a8758..fd2318501 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterprete BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs index 934dd5d2f..36d3ae67f 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.W writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepUpdateCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +95,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject De BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +109,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepUpdateCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs index f1c4a5fae..dec06f931 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectIma BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs index 3ed84fd29..ed2372a21 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepUpdateCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject Des BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepUpdateCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs index 342051dbe..b9ac69912 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write( writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetailsToolCallsFileSearchObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsFileSearchObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +102,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsFileSearchObject Deseria BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -120,7 +116,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsFileSearchObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsFileSearchObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObject.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs index 9f3cb6877..e841b02b9 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +119,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSear BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs index 3f36ecea3..874131bfb 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Ut writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetailsToolCallsFunctionObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsFunctionObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +106,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsFunctionObject Deseriali BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -124,7 +120,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsFunctionObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsFunctionObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObject.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs index 750038e9b..504cd6862 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel. writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +116,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction D BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +130,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs index dbee7cace..5172bd52d 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -43,7 +41,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetailsToolCallsObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +90,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsObject DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +104,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDeltaStepDetailsToolCallsObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObject.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObject.cs diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs index 69c9c7837..7e37a89da 100644 --- a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.W writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject De BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs diff --git a/src/Generated/Models/InternalRunStepDetailsCodeInterpreterOutputType.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsCodeInterpreterOutputType.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsCodeInterpreterOutputType.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsCodeInterpreterOutputType.cs diff --git a/src/Generated/Models/InternalRunStepDetailsMessageCreationObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsMessageCreationObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.Serialization.cs index c04c3ed27..83b2a9d2c 100644 --- a/src/Generated/Models/InternalRunStepDetailsMessageCreationObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDetailsMessageCreationObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDetailsMessageCreationObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalRunStepDetailsMessageCreationObject DeserializeInternalR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsMessageCreationObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDetailsMessageCreationObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsMessageCreationObject.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsMessageCreationObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObject.cs diff --git a/src/Generated/Models/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs index faa37062f..b7699e8e0 100644 --- a/src/Generated/Models/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDetailsMessageCreationObjectMessageCreation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsMessageCreationObjectMessageCreation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRunStepDetailsMessageCreationObjectMessageCreation Deser BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsMessageCreationObjectMessageCreation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsMessageCreationObjectMessageCreation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsMessageCreationObjectMessageCreation.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsMessageCreationObjectMessageCreation.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsMessageCreationObjectMessageCreation.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs index a553b4d8a..bfef7bdfb 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDetailsToolCallsCodeObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsCodeObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepToolCall JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRunStepDetailsToolCallsCodeObject DeserializeInternalRun BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsCodeObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsCodeObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepToolCall PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeObject.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsCodeObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObject.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs index f13c32de6..c7a5c8e18 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write( writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter Deseria BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs index 171a1c146..3c86a9879 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8 writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDetailsToolCallsCodeOutputImageObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsCodeOutputImageObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalRunStepDetailsToolCallsCodeOutputImageObject Deserialize BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsCodeOutputImageObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsCodeOutputImageObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObject.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObject.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs index 83bafaa75..b30ca6f8e 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDetailsToolCallsCodeOutputImageObjectImage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsCodeOutputImageObjectImage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRunStepDetailsToolCallsCodeOutputImageObjectImage Deseri BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsCodeOutputImageObjectImage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsCodeOutputImageObjectImage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsCodeOutputImageObjectImage.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs index 7d1f0e214..5ed260a4b 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDetailsToolCallsFileSearchObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsFileSearchObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepToolCall JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRunStepDetailsToolCallsFileSearchObject DeserializeInter BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsFileSearchObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsFileSearchObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepToolCall PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObject.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObject.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs index 13c46fcda..5e84cd7e0 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDetailsToolCallsFileSearchObjectFileSearch IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsFileSearchObjectFileSearch JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +119,6 @@ internal static InternalRunStepDetailsToolCallsFileSearchObjectFileSearch Deseri BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsFileSearchObjectFileSearch IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsFileSearchObjectFileSearch PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs index af43d0dc1..824bfb7e7 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.W writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject De BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs index c49c045bb..e77346ae7 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDetailsToolCallsFunctionObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsFunctionObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepToolCall JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRunStepDetailsToolCallsFunctionObject DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsFunctionObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsFunctionObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepToolCall PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObject.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObject.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs index 6a2bcf9d8..7bab94b00 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +76,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunStepDetailsToolCallsFunctionObjectFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsFunctionObjectFunction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +127,6 @@ internal static InternalRunStepDetailsToolCallsFunctionObjectFunction Deserializ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +141,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsFunctionObjectFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunStepDetailsToolCallsFunctionObjectFunction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObjectFunction.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsFunctionObjectFunction.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFunctionObjectFunction.cs diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunStepDetailsToolCallsObject.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.Serialization.cs index 17b9c7d8d..966581290 100644 --- a/src/Generated/Models/InternalRunStepDetailsToolCallsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDetailsToolCallsObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +90,6 @@ internal static InternalRunStepDetailsToolCallsObject DeserializeInternalRunStep BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +104,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDetailsToolCallsObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRunStepDetailsToolCallsObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunStepDetailsToolCallsObject.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsToolCallsObject.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsObject.cs diff --git a/src/Generated/Models/InternalRunStepDetailsType.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsType.cs similarity index 100% rename from src/Generated/Models/InternalRunStepDetailsType.cs rename to src/Generated/Models/Assistants/InternalRunStepDetailsType.cs diff --git a/src/Generated/Models/InternalRunToolCallObjectFunction.Serialization.cs b/src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunToolCallObjectFunction.Serialization.cs rename to src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.Serialization.cs index 559f3489b..3be6230db 100644 --- a/src/Generated/Models/InternalRunToolCallObjectFunction.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunToolCallObjectFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunToolCallObjectFunction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalRunToolCallObjectFunction DeserializeInternalRunToolCall BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunToolCallObjectFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunToolCallObjectFunction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunToolCallObjectFunction.cs b/src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.cs similarity index 100% rename from src/Generated/Models/InternalRunToolCallObjectFunction.cs rename to src/Generated/Models/Assistants/InternalRunToolCallObjectFunction.cs diff --git a/src/Generated/Models/InternalSubmitToolOutputsRunRequest.Serialization.cs b/src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalSubmitToolOutputsRunRequest.Serialization.cs rename to src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.Serialization.cs index 0251238d9..b75ce4ed5 100644 --- a/src/Generated/Models/InternalSubmitToolOutputsRunRequest.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalSubmitToolOutputsRunRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalSubmitToolOutputsRunRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +119,6 @@ internal static InternalSubmitToolOutputsRunRequest DeserializeInternalSubmitToo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalSubmitToolOutputsRunRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalSubmitToolOutputsRunRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalSubmitToolOutputsRunRequest.cs b/src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.cs similarity index 100% rename from src/Generated/Models/InternalSubmitToolOutputsRunRequest.cs rename to src/Generated/Models/Assistants/InternalSubmitToolOutputsRunRequest.cs diff --git a/src/Generated/Models/InternalThreadObjectToolResources.Serialization.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalThreadObjectToolResources.Serialization.cs rename to src/Generated/Models/Assistants/InternalThreadObjectToolResources.Serialization.cs index 82336bb0b..35bd93b4f 100644 --- a/src/Generated/Models/InternalThreadObjectToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalThreadObjectToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalThreadObjectToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalThreadObjectToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalThreadObjectToolResources DeserializeInternalThreadObjec BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalThreadObjectToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalThreadObjectToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalThreadObjectToolResources.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResources.cs similarity index 100% rename from src/Generated/Models/InternalThreadObjectToolResources.cs rename to src/Generated/Models/Assistants/InternalThreadObjectToolResources.cs diff --git a/src/Generated/Models/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs rename to src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs index 05a49a37a..522dbc384 100644 --- a/src/Generated/Models/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Json writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalThreadObjectToolResourcesCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalThreadObjectToolResourcesCodeInterpreter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalThreadObjectToolResourcesCodeInterpreter DeserializeInte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalThreadObjectToolResourcesCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalThreadObjectToolResourcesCodeInterpreter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalThreadObjectToolResourcesCodeInterpreter.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalThreadObjectToolResourcesCodeInterpreter.cs rename to src/Generated/Models/Assistants/InternalThreadObjectToolResourcesCodeInterpreter.cs diff --git a/src/Generated/Models/InternalThreadObjectToolResourcesFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalThreadObjectToolResourcesFileSearch.Serialization.cs rename to src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.Serialization.cs index e945a5b88..e148a2aa4 100644 --- a/src/Generated/Models/InternalThreadObjectToolResourcesFileSearch.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalThreadObjectToolResourcesFileSearch IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalThreadObjectToolResourcesFileSearch JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalThreadObjectToolResourcesFileSearch DeserializeInternalT BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalThreadObjectToolResourcesFileSearch IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalThreadObjectToolResourcesFileSearch PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalThreadObjectToolResourcesFileSearch.cs b/src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.cs similarity index 100% rename from src/Generated/Models/InternalThreadObjectToolResourcesFileSearch.cs rename to src/Generated/Models/Assistants/InternalThreadObjectToolResourcesFileSearch.cs diff --git a/src/Generated/Models/InternalToolResourcesFileSearchIdsOnly.Serialization.cs b/src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalToolResourcesFileSearchIdsOnly.Serialization.cs rename to src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.Serialization.cs index 84d2d2c7b..dd44a58b4 100644 --- a/src/Generated/Models/InternalToolResourcesFileSearchIdsOnly.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalToolResourcesFileSearchIdsOnly IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalToolResourcesFileSearchIdsOnly JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalToolResourcesFileSearchIdsOnly DeserializeInternalToolRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolResourcesFileSearchIdsOnly IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalToolResourcesFileSearchIdsOnly PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolResourcesFileSearchIdsOnly.cs b/src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.cs similarity index 100% rename from src/Generated/Models/InternalToolResourcesFileSearchIdsOnly.cs rename to src/Generated/Models/Assistants/InternalToolResourcesFileSearchIdsOnly.cs diff --git a/src/Generated/Models/InternalTruncationObjectType.cs b/src/Generated/Models/Assistants/InternalTruncationObjectType.cs similarity index 100% rename from src/Generated/Models/InternalTruncationObjectType.cs rename to src/Generated/Models/Assistants/InternalTruncationObjectType.cs diff --git a/src/Generated/Models/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs b/src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs rename to src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs index af4021a6d..81ed8a8ee 100644 --- a/src/Generated/Models/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri AssistantResponseFormat IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override AssistantResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -73,7 +70,6 @@ internal static InternalUnknownDotNetAssistantResponseFormat DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +84,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions AssistantResponseFormat IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override AssistantResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownDotNetAssistantResponseFormat.cs b/src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.cs similarity index 100% rename from src/Generated/Models/InternalUnknownDotNetAssistantResponseFormat.cs rename to src/Generated/Models/Assistants/InternalUnknownDotNetAssistantResponseFormat.cs diff --git a/src/Generated/Models/InternalUnknownMessageContent.Serialization.cs b/src/Generated/Models/Assistants/InternalUnknownMessageContent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownMessageContent.Serialization.cs rename to src/Generated/Models/Assistants/InternalUnknownMessageContent.Serialization.cs index 9ce355c0b..7d304a937 100644 --- a/src/Generated/Models/InternalUnknownMessageContent.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalUnknownMessageContent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri MessageContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownMessageContent DeserializeInternalUnknownMessageC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override MessageContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownMessageContent.cs b/src/Generated/Models/Assistants/InternalUnknownMessageContent.cs similarity index 100% rename from src/Generated/Models/InternalUnknownMessageContent.cs rename to src/Generated/Models/Assistants/InternalUnknownMessageContent.cs diff --git a/src/Generated/Models/MessageContent.Serialization.cs b/src/Generated/Models/Assistants/MessageContent.Serialization.cs similarity index 96% rename from src/Generated/Models/MessageContent.Serialization.cs rename to src/Generated/Models/Assistants/MessageContent.Serialization.cs index 4726db279..b38962f64 100644 --- a/src/Generated/Models/MessageContent.Serialization.cs +++ b/src/Generated/Models/Assistants/MessageContent.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit MessageContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -75,7 +72,6 @@ protected virtual MessageContent JsonModelCreateCore(ref Utf8JsonReader reader, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +86,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual MessageContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/MessageContent.cs b/src/Generated/Models/Assistants/MessageContent.cs similarity index 92% rename from src/Generated/Models/MessageContent.cs rename to src/Generated/Models/Assistants/MessageContent.cs index 8ee9a6a38..3b77dc837 100644 --- a/src/Generated/Models/MessageContent.cs +++ b/src/Generated/Models/Assistants/MessageContent.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public abstract partial class MessageContent { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/MessageCreationAttachment.Serialization.cs b/src/Generated/Models/Assistants/MessageCreationAttachment.Serialization.cs similarity index 97% rename from src/Generated/Models/MessageCreationAttachment.Serialization.cs rename to src/Generated/Models/Assistants/MessageCreationAttachment.Serialization.cs index 356a76b01..863a405b1 100644 --- a/src/Generated/Models/MessageCreationAttachment.Serialization.cs +++ b/src/Generated/Models/Assistants/MessageCreationAttachment.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit MessageCreationAttachment IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual MessageCreationAttachment JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static MessageCreationAttachment DeserializeMessageCreationAttachment(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageCreationAttachment IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual MessageCreationAttachment PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/MessageCreationAttachment.cs b/src/Generated/Models/Assistants/MessageCreationAttachment.cs similarity index 94% rename from src/Generated/Models/MessageCreationAttachment.cs rename to src/Generated/Models/Assistants/MessageCreationAttachment.cs index a55b32607..3ab711067 100644 --- a/src/Generated/Models/MessageCreationAttachment.cs +++ b/src/Generated/Models/Assistants/MessageCreationAttachment.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class MessageCreationAttachment { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/MessageCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs similarity index 98% rename from src/Generated/Models/MessageCreationOptions.Serialization.cs rename to src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs index b57648f9c..e0f893b62 100644 --- a/src/Generated/Models/MessageCreationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +90,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit MessageCreationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual MessageCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -175,7 +172,6 @@ internal static MessageCreationOptions DeserializeMessageCreationOptions(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -190,7 +186,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageCreationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual MessageCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/MessageCreationOptions.cs b/src/Generated/Models/Assistants/MessageCreationOptions.cs similarity index 94% rename from src/Generated/Models/MessageCreationOptions.cs rename to src/Generated/Models/Assistants/MessageCreationOptions.cs index bddddceb8..0d7989387 100644 --- a/src/Generated/Models/MessageCreationOptions.cs +++ b/src/Generated/Models/Assistants/MessageCreationOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class MessageCreationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/MessageDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs similarity index 97% rename from src/Generated/Models/MessageDeletionResult.Serialization.cs rename to src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs index e6260c3c9..051c5abf9 100644 --- a/src/Generated/Models/MessageDeletionResult.Serialization.cs +++ b/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit MessageDeletionResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual MessageDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static MessageDeletionResult DeserializeMessageDeletionResult(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageDeletionResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual MessageDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/MessageDeletionResult.cs b/src/Generated/Models/Assistants/MessageDeletionResult.cs similarity index 93% rename from src/Generated/Models/MessageDeletionResult.cs rename to src/Generated/Models/Assistants/MessageDeletionResult.cs index 02520dd5c..5ea587c08 100644 --- a/src/Generated/Models/MessageDeletionResult.cs +++ b/src/Generated/Models/Assistants/MessageDeletionResult.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class MessageDeletionResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/MessageFailureDetails.Serialization.cs b/src/Generated/Models/Assistants/MessageFailureDetails.Serialization.cs similarity index 96% rename from src/Generated/Models/MessageFailureDetails.Serialization.cs rename to src/Generated/Models/Assistants/MessageFailureDetails.Serialization.cs index 427f89997..262691e41 100644 --- a/src/Generated/Models/MessageFailureDetails.Serialization.cs +++ b/src/Generated/Models/Assistants/MessageFailureDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit MessageFailureDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual MessageFailureDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static MessageFailureDetails DeserializeMessageFailureDetails(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageFailureDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual MessageFailureDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/MessageFailureDetails.cs b/src/Generated/Models/Assistants/MessageFailureDetails.cs similarity index 92% rename from src/Generated/Models/MessageFailureDetails.cs rename to src/Generated/Models/Assistants/MessageFailureDetails.cs index 97711d979..e5023868a 100644 --- a/src/Generated/Models/MessageFailureDetails.cs +++ b/src/Generated/Models/Assistants/MessageFailureDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class MessageFailureDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/MessageFailureReason.cs b/src/Generated/Models/Assistants/MessageFailureReason.cs similarity index 96% rename from src/Generated/Models/MessageFailureReason.cs rename to src/Generated/Models/Assistants/MessageFailureReason.cs index 887e1efd7..3a2a0ac51 100644 --- a/src/Generated/Models/MessageFailureReason.cs +++ b/src/Generated/Models/Assistants/MessageFailureReason.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public readonly partial struct MessageFailureReason : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/MessageModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/MessageModificationOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/MessageModificationOptions.Serialization.cs rename to src/Generated/Models/Assistants/MessageModificationOptions.Serialization.cs index 2d01c099a..e6f2320df 100644 --- a/src/Generated/Models/MessageModificationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/MessageModificationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit MessageModificationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual MessageModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +116,6 @@ internal static MessageModificationOptions DeserializeMessageModificationOptions BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +130,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageModificationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual MessageModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/MessageModificationOptions.cs b/src/Generated/Models/Assistants/MessageModificationOptions.cs similarity index 93% rename from src/Generated/Models/MessageModificationOptions.cs rename to src/Generated/Models/Assistants/MessageModificationOptions.cs index 8528181c9..737b1c895 100644 --- a/src/Generated/Models/MessageModificationOptions.cs +++ b/src/Generated/Models/Assistants/MessageModificationOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class MessageModificationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/MessageRole.Serialization.cs b/src/Generated/Models/Assistants/MessageRole.Serialization.cs similarity index 100% rename from src/Generated/Models/MessageRole.Serialization.cs rename to src/Generated/Models/Assistants/MessageRole.Serialization.cs diff --git a/src/Generated/Models/MessageStatus.cs b/src/Generated/Models/Assistants/MessageStatus.cs similarity index 96% rename from src/Generated/Models/MessageStatus.cs rename to src/Generated/Models/Assistants/MessageStatus.cs index 350d35e2e..041421851 100644 --- a/src/Generated/Models/MessageStatus.cs +++ b/src/Generated/Models/Assistants/MessageStatus.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public readonly partial struct MessageStatus : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/RunCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs similarity index 99% rename from src/Generated/Models/RunCreationOptions.Serialization.cs rename to src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs index f844f91cd..cc6caeda4 100644 --- a/src/Generated/Models/RunCreationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Chat; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -163,7 +161,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunCreationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -410,7 +407,6 @@ internal static RunCreationOptions DeserializeRunCreationOptions(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -425,7 +421,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunCreationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunCreationOptions.cs b/src/Generated/Models/Assistants/RunCreationOptions.cs similarity index 96% rename from src/Generated/Models/RunCreationOptions.cs rename to src/Generated/Models/Assistants/RunCreationOptions.cs index 2a1c55960..afe4872f2 100644 --- a/src/Generated/Models/RunCreationOptions.cs +++ b/src/Generated/Models/Assistants/RunCreationOptions.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; using OpenAI.Chat; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunCreationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunError.Serialization.cs b/src/Generated/Models/Assistants/RunError.Serialization.cs similarity index 96% rename from src/Generated/Models/RunError.Serialization.cs rename to src/Generated/Models/Assistants/RunError.Serialization.cs index ce55e6cf5..c4ebe29e1 100644 --- a/src/Generated/Models/RunError.Serialization.cs +++ b/src/Generated/Models/Assistants/RunError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static RunError DeserializeRunError(JsonElement element, ModelReaderWri BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunError.cs b/src/Generated/Models/Assistants/RunError.cs similarity index 93% rename from src/Generated/Models/RunError.cs rename to src/Generated/Models/Assistants/RunError.cs index f769954e0..866b93247 100644 --- a/src/Generated/Models/RunError.cs +++ b/src/Generated/Models/Assistants/RunError.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunError { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunErrorCode.cs b/src/Generated/Models/Assistants/RunErrorCode.cs similarity index 96% rename from src/Generated/Models/RunErrorCode.cs rename to src/Generated/Models/Assistants/RunErrorCode.cs index faa82cd51..d42f1fcd0 100644 --- a/src/Generated/Models/RunErrorCode.cs +++ b/src/Generated/Models/Assistants/RunErrorCode.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public readonly partial struct RunErrorCode : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/RunIncompleteDetails.Serialization.cs b/src/Generated/Models/Assistants/RunIncompleteDetails.Serialization.cs similarity index 96% rename from src/Generated/Models/RunIncompleteDetails.Serialization.cs rename to src/Generated/Models/Assistants/RunIncompleteDetails.Serialization.cs index 6df08a57e..574554f1e 100644 --- a/src/Generated/Models/RunIncompleteDetails.Serialization.cs +++ b/src/Generated/Models/Assistants/RunIncompleteDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunIncompleteDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunIncompleteDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static RunIncompleteDetails DeserializeRunIncompleteDetails(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunIncompleteDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunIncompleteDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunIncompleteDetails.cs b/src/Generated/Models/Assistants/RunIncompleteDetails.cs similarity index 92% rename from src/Generated/Models/RunIncompleteDetails.cs rename to src/Generated/Models/Assistants/RunIncompleteDetails.cs index cd853f37a..b4123d191 100644 --- a/src/Generated/Models/RunIncompleteDetails.cs +++ b/src/Generated/Models/Assistants/RunIncompleteDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunIncompleteDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunIncompleteReason.cs b/src/Generated/Models/Assistants/RunIncompleteReason.cs similarity index 95% rename from src/Generated/Models/RunIncompleteReason.cs rename to src/Generated/Models/Assistants/RunIncompleteReason.cs index 514d5b257..4fb57faf6 100644 --- a/src/Generated/Models/RunIncompleteReason.cs +++ b/src/Generated/Models/Assistants/RunIncompleteReason.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public readonly partial struct RunIncompleteReason : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/RunModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/RunModificationOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/RunModificationOptions.Serialization.cs rename to src/Generated/Models/Assistants/RunModificationOptions.Serialization.cs index 792bfb13c..ef024ab96 100644 --- a/src/Generated/Models/RunModificationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/RunModificationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunModificationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +116,6 @@ internal static RunModificationOptions DeserializeRunModificationOptions(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +130,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunModificationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunModificationOptions.cs b/src/Generated/Models/Assistants/RunModificationOptions.cs similarity index 93% rename from src/Generated/Models/RunModificationOptions.cs rename to src/Generated/Models/Assistants/RunModificationOptions.cs index 83104f9d5..7977126b1 100644 --- a/src/Generated/Models/RunModificationOptions.cs +++ b/src/Generated/Models/Assistants/RunModificationOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunModificationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStatus.cs b/src/Generated/Models/Assistants/RunStatus.cs similarity index 97% rename from src/Generated/Models/RunStatus.cs rename to src/Generated/Models/Assistants/RunStatus.cs index 714824f53..2adc7f2bf 100644 --- a/src/Generated/Models/RunStatus.cs +++ b/src/Generated/Models/Assistants/RunStatus.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public readonly partial struct RunStatus : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/RunStep.Serialization.cs b/src/Generated/Models/Assistants/RunStep.Serialization.cs similarity index 98% rename from src/Generated/Models/RunStep.Serialization.cs rename to src/Generated/Models/Assistants/RunStep.Serialization.cs index 807684caf..a937a25cb 100644 --- a/src/Generated/Models/RunStep.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStep.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions o writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -190,7 +188,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStep IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStep JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -379,7 +376,6 @@ internal static RunStep DeserializeRunStep(JsonElement element, ModelReaderWrite BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -394,7 +390,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStep IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStep PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStep.cs b/src/Generated/Models/Assistants/RunStep.cs similarity index 97% rename from src/Generated/Models/RunStep.cs rename to src/Generated/Models/Assistants/RunStep.cs index 4772532fd..c0f33b39f 100644 --- a/src/Generated/Models/RunStep.cs +++ b/src/Generated/Models/Assistants/RunStep.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunStep { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStepCodeInterpreterOutput.Serialization.cs b/src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.Serialization.cs similarity index 97% rename from src/Generated/Models/RunStepCodeInterpreterOutput.Serialization.cs rename to src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.Serialization.cs index 95852153d..d64cbbf97 100644 --- a/src/Generated/Models/RunStepCodeInterpreterOutput.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStepCodeInterpreterOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStepCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static RunStepCodeInterpreterOutput DeserializeRunStepCodeInterpreterOu BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepCodeInterpreterOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStepCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStepCodeInterpreterOutput.cs b/src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.cs similarity index 93% rename from src/Generated/Models/RunStepCodeInterpreterOutput.cs rename to src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.cs index d6fb07559..8f29671e9 100644 --- a/src/Generated/Models/RunStepCodeInterpreterOutput.cs +++ b/src/Generated/Models/Assistants/RunStepCodeInterpreterOutput.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public abstract partial class RunStepCodeInterpreterOutput { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStepDetails.Serialization.cs b/src/Generated/Models/Assistants/RunStepDetails.Serialization.cs similarity index 96% rename from src/Generated/Models/RunStepDetails.Serialization.cs rename to src/Generated/Models/Assistants/RunStepDetails.Serialization.cs index 42bd6197b..d79773bdd 100644 --- a/src/Generated/Models/RunStepDetails.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepDetails.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStepDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static RunStepDetails DeserializeRunStepDetails(JsonElement element, Mo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStepDetails.cs b/src/Generated/Models/Assistants/RunStepDetails.cs similarity index 92% rename from src/Generated/Models/RunStepDetails.cs rename to src/Generated/Models/Assistants/RunStepDetails.cs index 88bc6652f..d27eaa9dd 100644 --- a/src/Generated/Models/RunStepDetails.cs +++ b/src/Generated/Models/Assistants/RunStepDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public abstract partial class RunStepDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStepError.Serialization.cs b/src/Generated/Models/Assistants/RunStepError.Serialization.cs similarity index 96% rename from src/Generated/Models/RunStepError.Serialization.cs rename to src/Generated/Models/Assistants/RunStepError.Serialization.cs index 2a510012a..4f6b8774c 100644 --- a/src/Generated/Models/RunStepError.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpti writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStepError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStepError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static RunStepError DeserializeRunStepError(JsonElement element, ModelR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStepError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStepError.cs b/src/Generated/Models/Assistants/RunStepError.cs similarity index 93% rename from src/Generated/Models/RunStepError.cs rename to src/Generated/Models/Assistants/RunStepError.cs index bcc513242..8c5f1aac7 100644 --- a/src/Generated/Models/RunStepError.cs +++ b/src/Generated/Models/Assistants/RunStepError.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunStepError { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStepErrorCode.cs b/src/Generated/Models/Assistants/RunStepErrorCode.cs similarity index 95% rename from src/Generated/Models/RunStepErrorCode.cs rename to src/Generated/Models/Assistants/RunStepErrorCode.cs index 853f910e5..fa09318b8 100644 --- a/src/Generated/Models/RunStepErrorCode.cs +++ b/src/Generated/Models/Assistants/RunStepErrorCode.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public readonly partial struct RunStepErrorCode : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/RunStepFileSearchResult.Serialization.cs b/src/Generated/Models/Assistants/RunStepFileSearchResult.Serialization.cs similarity index 97% rename from src/Generated/Models/RunStepFileSearchResult.Serialization.cs rename to src/Generated/Models/Assistants/RunStepFileSearchResult.Serialization.cs index c59b3bfca..861d7e331 100644 --- a/src/Generated/Models/RunStepFileSearchResult.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepFileSearchResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -82,7 +80,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStepFileSearchResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStepFileSearchResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +141,6 @@ internal static RunStepFileSearchResult DeserializeRunStepFileSearchResult(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -159,7 +155,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepFileSearchResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStepFileSearchResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStepFileSearchResult.cs b/src/Generated/Models/Assistants/RunStepFileSearchResult.cs similarity index 95% rename from src/Generated/Models/RunStepFileSearchResult.cs rename to src/Generated/Models/Assistants/RunStepFileSearchResult.cs index e95616147..4ac76140c 100644 --- a/src/Generated/Models/RunStepFileSearchResult.cs +++ b/src/Generated/Models/Assistants/RunStepFileSearchResult.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunStepFileSearchResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStepFileSearchResultContent.Serialization.cs b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs similarity index 97% rename from src/Generated/Models/RunStepFileSearchResultContent.Serialization.cs rename to src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs index 24b06d782..32f03bc92 100644 --- a/src/Generated/Models/RunStepFileSearchResultContent.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStepFileSearchResultContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStepFileSearchResultContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static RunStepFileSearchResultContent DeserializeRunStepFileSearchResul BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepFileSearchResultContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStepFileSearchResultContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStepFileSearchResultContent.cs b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs similarity index 93% rename from src/Generated/Models/RunStepFileSearchResultContent.cs rename to src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs index b08a9710f..4f72bb9f3 100644 --- a/src/Generated/Models/RunStepFileSearchResultContent.cs +++ b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunStepFileSearchResultContent { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStepFileSearchResultContentKind.Serialization.cs b/src/Generated/Models/Assistants/RunStepFileSearchResultContentKind.Serialization.cs similarity index 100% rename from src/Generated/Models/RunStepFileSearchResultContentKind.Serialization.cs rename to src/Generated/Models/Assistants/RunStepFileSearchResultContentKind.Serialization.cs diff --git a/src/Generated/Models/RunStepKind.Serialization.cs b/src/Generated/Models/Assistants/RunStepKind.Serialization.cs similarity index 100% rename from src/Generated/Models/RunStepKind.Serialization.cs rename to src/Generated/Models/Assistants/RunStepKind.Serialization.cs diff --git a/src/Generated/Models/RunStepStatus.cs b/src/Generated/Models/Assistants/RunStepStatus.cs similarity index 96% rename from src/Generated/Models/RunStepStatus.cs rename to src/Generated/Models/Assistants/RunStepStatus.cs index fa5259ea2..f815a2841 100644 --- a/src/Generated/Models/RunStepStatus.cs +++ b/src/Generated/Models/Assistants/RunStepStatus.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public readonly partial struct RunStepStatus : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/RunStepTokenUsage.Serialization.cs b/src/Generated/Models/Assistants/RunStepTokenUsage.Serialization.cs similarity index 97% rename from src/Generated/Models/RunStepTokenUsage.Serialization.cs rename to src/Generated/Models/Assistants/RunStepTokenUsage.Serialization.cs index c35797b6f..91754df75 100644 --- a/src/Generated/Models/RunStepTokenUsage.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepTokenUsage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStepTokenUsage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStepTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static RunStepTokenUsage DeserializeRunStepTokenUsage(JsonElement eleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepTokenUsage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStepTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStepTokenUsage.cs b/src/Generated/Models/Assistants/RunStepTokenUsage.cs similarity index 94% rename from src/Generated/Models/RunStepTokenUsage.cs rename to src/Generated/Models/Assistants/RunStepTokenUsage.cs index 64ae6e1b6..684e29813 100644 --- a/src/Generated/Models/RunStepTokenUsage.cs +++ b/src/Generated/Models/Assistants/RunStepTokenUsage.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunStepTokenUsage { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStepToolCall.Serialization.cs b/src/Generated/Models/Assistants/RunStepToolCall.Serialization.cs similarity index 97% rename from src/Generated/Models/RunStepToolCall.Serialization.cs rename to src/Generated/Models/Assistants/RunStepToolCall.Serialization.cs index fef00dc80..905669561 100644 --- a/src/Generated/Models/RunStepToolCall.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepToolCall.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStepToolCall IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStepToolCall JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -97,7 +94,6 @@ internal static RunStepToolCall DeserializeRunStepToolCall(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -112,7 +108,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepToolCall IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStepToolCall PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStepToolCall.cs b/src/Generated/Models/Assistants/RunStepToolCall.cs similarity index 93% rename from src/Generated/Models/RunStepToolCall.cs rename to src/Generated/Models/Assistants/RunStepToolCall.cs index 195c7f888..526e1750f 100644 --- a/src/Generated/Models/RunStepToolCall.cs +++ b/src/Generated/Models/Assistants/RunStepToolCall.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunStepToolCall { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunStepToolCallKind.Serialization.cs b/src/Generated/Models/Assistants/RunStepToolCallKind.Serialization.cs similarity index 100% rename from src/Generated/Models/RunStepToolCallKind.Serialization.cs rename to src/Generated/Models/Assistants/RunStepToolCallKind.Serialization.cs diff --git a/src/Generated/Models/RunStepUpdateCodeInterpreterOutput.Serialization.cs b/src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.Serialization.cs similarity index 97% rename from src/Generated/Models/RunStepUpdateCodeInterpreterOutput.Serialization.cs rename to src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.Serialization.cs index a085da572..3dbdad53b 100644 --- a/src/Generated/Models/RunStepUpdateCodeInterpreterOutput.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunStepUpdateCodeInterpreterOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunStepUpdateCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static RunStepUpdateCodeInterpreterOutput DeserializeRunStepUpdateCodeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepUpdateCodeInterpreterOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunStepUpdateCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunStepUpdateCodeInterpreterOutput.cs b/src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.cs similarity index 93% rename from src/Generated/Models/RunStepUpdateCodeInterpreterOutput.cs rename to src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.cs index 5bacde2b7..bb6fc030f 100644 --- a/src/Generated/Models/RunStepUpdateCodeInterpreterOutput.cs +++ b/src/Generated/Models/Assistants/RunStepUpdateCodeInterpreterOutput.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunStepUpdateCodeInterpreterOutput { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunTokenUsage.Serialization.cs b/src/Generated/Models/Assistants/RunTokenUsage.Serialization.cs similarity index 97% rename from src/Generated/Models/RunTokenUsage.Serialization.cs rename to src/Generated/Models/Assistants/RunTokenUsage.Serialization.cs index 46e5be182..571dde6d2 100644 --- a/src/Generated/Models/RunTokenUsage.Serialization.cs +++ b/src/Generated/Models/Assistants/RunTokenUsage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpt writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunTokenUsage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static RunTokenUsage DeserializeRunTokenUsage(JsonElement element, Mode BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunTokenUsage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunTokenUsage.cs b/src/Generated/Models/Assistants/RunTokenUsage.cs similarity index 94% rename from src/Generated/Models/RunTokenUsage.cs rename to src/Generated/Models/Assistants/RunTokenUsage.cs index 134f4a50f..9be1748fd 100644 --- a/src/Generated/Models/RunTokenUsage.cs +++ b/src/Generated/Models/Assistants/RunTokenUsage.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunTokenUsage { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RunTruncationStrategy.Serialization.cs b/src/Generated/Models/Assistants/RunTruncationStrategy.Serialization.cs similarity index 97% rename from src/Generated/Models/RunTruncationStrategy.Serialization.cs rename to src/Generated/Models/Assistants/RunTruncationStrategy.Serialization.cs index 5067136b6..948f4fdd4 100644 --- a/src/Generated/Models/RunTruncationStrategy.Serialization.cs +++ b/src/Generated/Models/Assistants/RunTruncationStrategy.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RunTruncationStrategy IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RunTruncationStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -112,7 +109,6 @@ internal static RunTruncationStrategy DeserializeRunTruncationStrategy(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -127,7 +123,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunTruncationStrategy IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RunTruncationStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RunTruncationStrategy.cs b/src/Generated/Models/Assistants/RunTruncationStrategy.cs similarity index 92% rename from src/Generated/Models/RunTruncationStrategy.cs rename to src/Generated/Models/Assistants/RunTruncationStrategy.cs index 38d3973f1..7560d617b 100644 --- a/src/Generated/Models/RunTruncationStrategy.cs +++ b/src/Generated/Models/Assistants/RunTruncationStrategy.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class RunTruncationStrategy { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ThreadCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/ThreadCreationOptions.Serialization.cs rename to src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs index 40330e87f..c618ee029 100644 --- a/src/Generated/Models/ThreadCreationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ThreadCreationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ThreadCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -160,7 +157,6 @@ internal static ThreadCreationOptions DeserializeThreadCreationOptions(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -175,7 +171,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ThreadCreationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ThreadCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ThreadCreationOptions.cs b/src/Generated/Models/Assistants/ThreadCreationOptions.cs similarity index 94% rename from src/Generated/Models/ThreadCreationOptions.cs rename to src/Generated/Models/Assistants/ThreadCreationOptions.cs index 4a72b3605..bdbbf4098 100644 --- a/src/Generated/Models/ThreadCreationOptions.cs +++ b/src/Generated/Models/Assistants/ThreadCreationOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ThreadCreationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ThreadDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs similarity index 97% rename from src/Generated/Models/ThreadDeletionResult.Serialization.cs rename to src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs index f1fa84111..880205f26 100644 --- a/src/Generated/Models/ThreadDeletionResult.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ThreadDeletionResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ThreadDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static ThreadDeletionResult DeserializeThreadDeletionResult(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ThreadDeletionResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ThreadDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ThreadDeletionResult.cs b/src/Generated/Models/Assistants/ThreadDeletionResult.cs similarity index 93% rename from src/Generated/Models/ThreadDeletionResult.cs rename to src/Generated/Models/Assistants/ThreadDeletionResult.cs index d0cb2643e..7934bf937 100644 --- a/src/Generated/Models/ThreadDeletionResult.cs +++ b/src/Generated/Models/Assistants/ThreadDeletionResult.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ThreadDeletionResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ThreadMessage.Serialization.cs b/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs similarity index 98% rename from src/Generated/Models/ThreadMessage.Serialization.cs rename to src/Generated/Models/Assistants/ThreadMessage.Serialization.cs index 205d4efd4..6f4f0167d 100644 --- a/src/Generated/Models/ThreadMessage.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpt writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -191,7 +189,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ThreadMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ThreadMessage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -376,7 +373,6 @@ internal static ThreadMessage DeserializeThreadMessage(JsonElement element, Mode BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -391,7 +387,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ThreadMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ThreadMessage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ThreadMessage.cs b/src/Generated/Models/Assistants/ThreadMessage.cs similarity index 97% rename from src/Generated/Models/ThreadMessage.cs rename to src/Generated/Models/Assistants/ThreadMessage.cs index 2078ef837..9ebd734f8 100644 --- a/src/Generated/Models/ThreadMessage.cs +++ b/src/Generated/Models/Assistants/ThreadMessage.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ThreadMessage { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ThreadModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/ThreadModificationOptions.Serialization.cs rename to src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs index 7a9cf4106..41328f209 100644 --- a/src/Generated/Models/ThreadModificationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -73,7 +71,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ThreadModificationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ThreadModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -135,7 +132,6 @@ internal static ThreadModificationOptions DeserializeThreadModificationOptions(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -150,7 +146,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ThreadModificationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ThreadModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ThreadModificationOptions.cs b/src/Generated/Models/Assistants/ThreadModificationOptions.cs similarity index 94% rename from src/Generated/Models/ThreadModificationOptions.cs rename to src/Generated/Models/Assistants/ThreadModificationOptions.cs index 5706a38a9..26b523c9f 100644 --- a/src/Generated/Models/ThreadModificationOptions.cs +++ b/src/Generated/Models/Assistants/ThreadModificationOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ThreadModificationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ThreadRun.Serialization.cs b/src/Generated/Models/Assistants/ThreadRun.Serialization.cs similarity index 99% rename from src/Generated/Models/ThreadRun.Serialization.cs rename to src/Generated/Models/Assistants/ThreadRun.Serialization.cs index e4d21839c..695d1d77b 100644 --- a/src/Generated/Models/ThreadRun.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadRun.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -307,7 +305,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ThreadRun IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ThreadRun JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -628,7 +625,6 @@ internal static ThreadRun DeserializeThreadRun(JsonElement element, ModelReaderW BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -643,7 +639,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ThreadRun IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ThreadRun PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ThreadRun.cs b/src/Generated/Models/Assistants/ThreadRun.cs similarity index 98% rename from src/Generated/Models/ThreadRun.cs rename to src/Generated/Models/Assistants/ThreadRun.cs index 2efc6cf73..04ebfd928 100644 --- a/src/Generated/Models/ThreadRun.cs +++ b/src/Generated/Models/Assistants/ThreadRun.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ThreadRun { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ToolConstraint.Serialization.cs b/src/Generated/Models/Assistants/ToolConstraint.Serialization.cs similarity index 95% rename from src/Generated/Models/ToolConstraint.Serialization.cs rename to src/Generated/Models/Assistants/ToolConstraint.Serialization.cs index 2e33733d9..9f60a8052 100644 --- a/src/Generated/Models/ToolConstraint.Serialization.cs +++ b/src/Generated/Models/Assistants/ToolConstraint.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -16,7 +15,6 @@ internal ToolConstraint() { } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -56,7 +54,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - [Experimental("OPENAI001")] protected virtual ToolConstraint JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ protected virtual ToolConstraint JsonModelCreateCore(ref Utf8JsonReader reader, return DeserializeToolConstraint(document.RootElement, options); } - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +77,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions } } - [Experimental("OPENAI001")] protected virtual ToolConstraint PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ToolConstraint.cs b/src/Generated/Models/Assistants/ToolConstraint.cs similarity index 93% rename from src/Generated/Models/ToolConstraint.cs rename to src/Generated/Models/Assistants/ToolConstraint.cs index f67ce426e..edea779a3 100644 --- a/src/Generated/Models/ToolConstraint.cs +++ b/src/Generated/Models/Assistants/ToolConstraint.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ToolConstraint { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/ToolDefinition.Serialization.cs similarity index 96% rename from src/Generated/Models/ToolDefinition.Serialization.cs rename to src/Generated/Models/Assistants/ToolDefinition.Serialization.cs index 950b4a1f9..c1c1453ed 100644 --- a/src/Generated/Models/ToolDefinition.Serialization.cs +++ b/src/Generated/Models/Assistants/ToolDefinition.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ToolDefinition JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ToolDefinition DeserializeToolDefinition(JsonElement element, Mo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ToolDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ToolDefinition PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ToolDefinition.cs b/src/Generated/Models/Assistants/ToolDefinition.cs similarity index 92% rename from src/Generated/Models/ToolDefinition.cs rename to src/Generated/Models/Assistants/ToolDefinition.cs index 5c4de0d67..65ca9ed23 100644 --- a/src/Generated/Models/ToolDefinition.cs +++ b/src/Generated/Models/Assistants/ToolDefinition.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ToolDefinition { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ToolOutput.Serialization.cs b/src/Generated/Models/Assistants/ToolOutput.Serialization.cs similarity index 96% rename from src/Generated/Models/ToolOutput.Serialization.cs rename to src/Generated/Models/Assistants/ToolOutput.Serialization.cs index 5bde3aa3e..851ac1b3f 100644 --- a/src/Generated/Models/ToolOutput.Serialization.cs +++ b/src/Generated/Models/Assistants/ToolOutput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOption writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ToolOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ToolOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static ToolOutput DeserializeToolOutput(JsonElement element, ModelReade BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ToolOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ToolOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ToolOutput.cs b/src/Generated/Models/Assistants/ToolOutput.cs similarity index 92% rename from src/Generated/Models/ToolOutput.cs rename to src/Generated/Models/Assistants/ToolOutput.cs index bcee7b40e..65228af04 100644 --- a/src/Generated/Models/ToolOutput.cs +++ b/src/Generated/Models/Assistants/ToolOutput.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ToolOutput { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ToolResources.Serialization.cs b/src/Generated/Models/Assistants/ToolResources.Serialization.cs similarity index 97% rename from src/Generated/Models/ToolResources.Serialization.cs rename to src/Generated/Models/Assistants/ToolResources.Serialization.cs index 89952017f..c83d7ac20 100644 --- a/src/Generated/Models/ToolResources.Serialization.cs +++ b/src/Generated/Models/Assistants/ToolResources.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpt writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ToolResources IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ToolResources JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static ToolResources DeserializeToolResources(JsonElement element, Mode BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ToolResources IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ToolResources PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ToolResources.cs b/src/Generated/Models/Assistants/ToolResources.cs similarity index 92% rename from src/Generated/Models/ToolResources.cs rename to src/Generated/Models/Assistants/ToolResources.cs index 14fd3aeed..700a26a3d 100644 --- a/src/Generated/Models/ToolResources.cs +++ b/src/Generated/Models/Assistants/ToolResources.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class ToolResources { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/UnknownAssistantToolDefinition.Serialization.cs b/src/Generated/Models/Assistants/UnknownAssistantToolDefinition.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownAssistantToolDefinition.Serialization.cs rename to src/Generated/Models/Assistants/UnknownAssistantToolDefinition.Serialization.cs index c9b82e758..8644bdcbb 100644 --- a/src/Generated/Models/UnknownAssistantToolDefinition.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownAssistantToolDefinition.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ToolDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ToolDefinition JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownAssistantToolDefinition DeserializeUnknownAssistantToolDe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ToolDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ToolDefinition PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownAssistantToolDefinition.cs b/src/Generated/Models/Assistants/UnknownAssistantToolDefinition.cs similarity index 100% rename from src/Generated/Models/UnknownAssistantToolDefinition.cs rename to src/Generated/Models/Assistants/UnknownAssistantToolDefinition.cs diff --git a/src/Generated/Models/UnknownMessageContentTextObjectAnnotation.Serialization.cs b/src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownMessageContentTextObjectAnnotation.Serialization.cs rename to src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.Serialization.cs index 7601c9972..84467985c 100644 --- a/src/Generated/Models/UnknownMessageContentTextObjectAnnotation.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageContentTextObjectAnnotation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageContentTextObjectAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownMessageContentTextObjectAnnotation DeserializeUnknownMess BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageContentTextObjectAnnotation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageContentTextObjectAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownMessageContentTextObjectAnnotation.cs b/src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.cs similarity index 100% rename from src/Generated/Models/UnknownMessageContentTextObjectAnnotation.cs rename to src/Generated/Models/Assistants/UnknownMessageContentTextObjectAnnotation.cs diff --git a/src/Generated/Models/UnknownMessageDeltaContent.Serialization.cs b/src/Generated/Models/Assistants/UnknownMessageDeltaContent.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownMessageDeltaContent.Serialization.cs rename to src/Generated/Models/Assistants/UnknownMessageDeltaContent.Serialization.cs index 37c989a3f..96754e5d9 100644 --- a/src/Generated/Models/UnknownMessageDeltaContent.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownMessageDeltaContent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageDeltaContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownMessageDeltaContent DeserializeUnknownMessageDeltaContent BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownMessageDeltaContent.cs b/src/Generated/Models/Assistants/UnknownMessageDeltaContent.cs similarity index 100% rename from src/Generated/Models/UnknownMessageDeltaContent.cs rename to src/Generated/Models/Assistants/UnknownMessageDeltaContent.cs diff --git a/src/Generated/Models/UnknownMessageDeltaTextContentAnnotation.Serialization.cs b/src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownMessageDeltaTextContentAnnotation.Serialization.cs rename to src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.Serialization.cs index d6003724a..3ea25fef5 100644 --- a/src/Generated/Models/UnknownMessageDeltaTextContentAnnotation.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMessageDeltaTextContentAnnotation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaTextContentAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownMessageDeltaTextContentAnnotation DeserializeUnknownMessa BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMessageDeltaTextContentAnnotation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalMessageDeltaTextContentAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownMessageDeltaTextContentAnnotation.cs b/src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.cs similarity index 100% rename from src/Generated/Models/UnknownMessageDeltaTextContentAnnotation.cs rename to src/Generated/Models/Assistants/UnknownMessageDeltaTextContentAnnotation.cs diff --git a/src/Generated/Models/UnknownRunStepDeltaStepDetails.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRunStepDeltaStepDetails.Serialization.cs rename to src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.Serialization.cs index e892b7cd5..e5c0cb392 100644 --- a/src/Generated/Models/UnknownRunStepDeltaStepDetails.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownRunStepDeltaStepDetails DeserializeUnknownRunStepDeltaSte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRunStepDeltaStepDetails.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.cs similarity index 100% rename from src/Generated/Models/UnknownRunStepDeltaStepDetails.cs rename to src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetails.cs diff --git a/src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs rename to src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs index b546e8139..a16c68337 100644 --- a/src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri RunStepUpdateCodeInterpreterOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepUpdateCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepUpdateCodeInterpreterOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepUpdateCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs similarity index 100% rename from src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs rename to src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs diff --git a/src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs rename to src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs index b7e60093d..eec900ecc 100644 --- a/src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.W writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject Des BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs b/src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs similarity index 100% rename from src/Generated/Models/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs rename to src/Generated/Models/Assistants/UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject.cs diff --git a/src/Generated/Models/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs rename to src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs index 0f1ba2bb3..dcbb3ff30 100644 --- a/src/Generated/Models/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri RunStepCodeInterpreterOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepCodeInterpreterOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsOb BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepCodeInterpreterOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepCodeInterpreterOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs similarity index 100% rename from src/Generated/Models/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs rename to src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.cs diff --git a/src/Generated/Models/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs rename to src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs index d27fdaadf..7fd383e7a 100644 --- a/src/Generated/Models/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri RunStepToolCall IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepToolCall JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static UnknownRunStepDetailsToolCallsObjectToolCallsObject DeserializeU BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepToolCall IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepToolCall PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRunStepDetailsToolCallsObjectToolCallsObject.cs b/src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.cs similarity index 100% rename from src/Generated/Models/UnknownRunStepDetailsToolCallsObjectToolCallsObject.cs rename to src/Generated/Models/Assistants/UnknownRunStepDetailsToolCallsObjectToolCallsObject.cs diff --git a/src/Generated/Models/UnknownRunStepObjectStepDetails.Serialization.cs b/src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRunStepObjectStepDetails.Serialization.cs rename to src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.Serialization.cs index a1ee40dcd..387e364b4 100644 --- a/src/Generated/Models/UnknownRunStepObjectStepDetails.Serialization.cs +++ b/src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri RunStepDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RunStepDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownRunStepObjectStepDetails DeserializeUnknownRunStepObjectS BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RunStepDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RunStepDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRunStepObjectStepDetails.cs b/src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.cs similarity index 100% rename from src/Generated/Models/UnknownRunStepObjectStepDetails.cs rename to src/Generated/Models/Assistants/UnknownRunStepObjectStepDetails.cs diff --git a/src/Generated/Models/VectorStoreCreationHelper.Serialization.cs b/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs similarity index 98% rename from src/Generated/Models/VectorStoreCreationHelper.Serialization.cs rename to src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs index 2bf673e45..f1a73198e 100644 --- a/src/Generated/Models/VectorStoreCreationHelper.Serialization.cs +++ b/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.VectorStores; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +87,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreCreationHelper IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreCreationHelper JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -172,7 +169,6 @@ internal static VectorStoreCreationHelper DeserializeVectorStoreCreationHelper(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -187,7 +183,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreCreationHelper IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreCreationHelper PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreCreationHelper.cs b/src/Generated/Models/Assistants/VectorStoreCreationHelper.cs similarity index 94% rename from src/Generated/Models/VectorStoreCreationHelper.cs rename to src/Generated/Models/Assistants/VectorStoreCreationHelper.cs index 8273e2a6c..ec9e1b8df 100644 --- a/src/Generated/Models/VectorStoreCreationHelper.cs +++ b/src/Generated/Models/Assistants/VectorStoreCreationHelper.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; using OpenAI.VectorStores; namespace OpenAI.Assistants { + [Experimental("OPENAI001")] public partial class VectorStoreCreationHelper { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/AudioTokenLogProbabilityDetails.Serialization.cs b/src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/AudioTokenLogProbabilityDetails.Serialization.cs rename to src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.Serialization.cs index 33e5a9cd7..6b7a1a353 100644 --- a/src/Generated/Models/AudioTokenLogProbabilityDetails.Serialization.cs +++ b/src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit AudioTokenLogProbabilityDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual AudioTokenLogProbabilityDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +131,6 @@ internal static AudioTokenLogProbabilityDetails DeserializeAudioTokenLogProbabil BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -149,7 +145,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions AudioTokenLogProbabilityDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual AudioTokenLogProbabilityDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/AudioTokenLogProbabilityDetails.cs b/src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.cs similarity index 94% rename from src/Generated/Models/AudioTokenLogProbabilityDetails.cs rename to src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.cs index 9da3683e7..551252fcf 100644 --- a/src/Generated/Models/AudioTokenLogProbabilityDetails.cs +++ b/src/Generated/Models/Audio/AudioTokenLogProbabilityDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Audio { + [Experimental("OPENAI001")] public partial class AudioTokenLogProbabilityDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/AudioTranscription.Serialization.cs b/src/Generated/Models/Audio/AudioTranscription.Serialization.cs similarity index 100% rename from src/Generated/Models/AudioTranscription.Serialization.cs rename to src/Generated/Models/Audio/AudioTranscription.Serialization.cs diff --git a/src/Generated/Models/AudioTranscription.cs b/src/Generated/Models/Audio/AudioTranscription.cs similarity index 100% rename from src/Generated/Models/AudioTranscription.cs rename to src/Generated/Models/Audio/AudioTranscription.cs diff --git a/src/Generated/Models/AudioTranscriptionFormat.cs b/src/Generated/Models/Audio/AudioTranscriptionFormat.cs similarity index 100% rename from src/Generated/Models/AudioTranscriptionFormat.cs rename to src/Generated/Models/Audio/AudioTranscriptionFormat.cs diff --git a/src/Generated/Models/AudioTranscriptionOptions.Serialization.cs b/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs similarity index 100% rename from src/Generated/Models/AudioTranscriptionOptions.Serialization.cs rename to src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs diff --git a/src/Generated/Models/AudioTranscriptionOptions.cs b/src/Generated/Models/Audio/AudioTranscriptionOptions.cs similarity index 100% rename from src/Generated/Models/AudioTranscriptionOptions.cs rename to src/Generated/Models/Audio/AudioTranscriptionOptions.cs diff --git a/src/Generated/Models/AudioTranslation.Serialization.cs b/src/Generated/Models/Audio/AudioTranslation.Serialization.cs similarity index 100% rename from src/Generated/Models/AudioTranslation.Serialization.cs rename to src/Generated/Models/Audio/AudioTranslation.Serialization.cs diff --git a/src/Generated/Models/AudioTranslation.cs b/src/Generated/Models/Audio/AudioTranslation.cs similarity index 100% rename from src/Generated/Models/AudioTranslation.cs rename to src/Generated/Models/Audio/AudioTranslation.cs diff --git a/src/Generated/Models/AudioTranslationFormat.cs b/src/Generated/Models/Audio/AudioTranslationFormat.cs similarity index 100% rename from src/Generated/Models/AudioTranslationFormat.cs rename to src/Generated/Models/Audio/AudioTranslationFormat.cs diff --git a/src/Generated/Models/AudioTranslationOptions.Serialization.cs b/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs similarity index 100% rename from src/Generated/Models/AudioTranslationOptions.Serialization.cs rename to src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs diff --git a/src/Generated/Models/AudioTranslationOptions.cs b/src/Generated/Models/Audio/AudioTranslationOptions.cs similarity index 100% rename from src/Generated/Models/AudioTranslationOptions.cs rename to src/Generated/Models/Audio/AudioTranslationOptions.cs diff --git a/src/Generated/Models/GeneratedSpeechFormat.cs b/src/Generated/Models/Audio/GeneratedSpeechFormat.cs similarity index 100% rename from src/Generated/Models/GeneratedSpeechFormat.cs rename to src/Generated/Models/Audio/GeneratedSpeechFormat.cs diff --git a/src/Generated/Models/GeneratedSpeechVoice.cs b/src/Generated/Models/Audio/GeneratedSpeechVoice.cs similarity index 100% rename from src/Generated/Models/GeneratedSpeechVoice.cs rename to src/Generated/Models/Audio/GeneratedSpeechVoice.cs diff --git a/src/Generated/Models/InternalCreateSpeechRequestModel.cs b/src/Generated/Models/Audio/InternalCreateSpeechRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateSpeechRequestModel.cs rename to src/Generated/Models/Audio/InternalCreateSpeechRequestModel.cs diff --git a/src/Generated/Models/InternalCreateTranscriptionRequestAccept.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionRequestAccept.cs similarity index 100% rename from src/Generated/Models/InternalCreateTranscriptionRequestAccept.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionRequestAccept.cs diff --git a/src/Generated/Models/InternalCreateTranscriptionRequestModel.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateTranscriptionRequestModel.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionRequestModel.cs diff --git a/src/Generated/Models/InternalCreateTranscriptionRequestTimestampGranularities.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionRequestTimestampGranularities.cs similarity index 100% rename from src/Generated/Models/InternalCreateTranscriptionRequestTimestampGranularities.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionRequestTimestampGranularities.cs diff --git a/src/Generated/Models/InternalCreateTranscriptionResponseJson.Serialization.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateTranscriptionResponseJson.Serialization.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.Serialization.cs index 082d64b28..7d36c88e9 100644 --- a/src/Generated/Models/InternalCreateTranscriptionResponseJson.Serialization.cs +++ b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateTranscriptionResponseJson IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateTranscriptionResponseJson JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +118,6 @@ internal static InternalCreateTranscriptionResponseJson DeserializeInternalCreat BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +132,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateTranscriptionResponseJson IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateTranscriptionResponseJson PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateTranscriptionResponseJson.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.cs similarity index 100% rename from src/Generated/Models/InternalCreateTranscriptionResponseJson.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionResponseJson.cs diff --git a/src/Generated/Models/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs index e27a08005..617f49dff 100644 --- a/src/Generated/Models/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs +++ b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateTranscriptionResponseJsonLogprob IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateTranscriptionResponseJsonLogprob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +129,6 @@ internal static InternalCreateTranscriptionResponseJsonLogprob DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -147,7 +143,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateTranscriptionResponseJsonLogprob IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateTranscriptionResponseJsonLogprob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateTranscriptionResponseJsonLogprob.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.cs similarity index 100% rename from src/Generated/Models/InternalCreateTranscriptionResponseJsonLogprob.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionResponseJsonLogprob.cs diff --git a/src/Generated/Models/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs index 4c2ddb65b..724025298 100644 --- a/src/Generated/Models/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs +++ b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +96,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateTranscriptionResponseVerboseJson IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateTranscriptionResponseVerboseJson JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -188,7 +185,6 @@ internal static InternalCreateTranscriptionResponseVerboseJson DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -203,7 +199,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateTranscriptionResponseVerboseJson IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateTranscriptionResponseVerboseJson PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateTranscriptionResponseVerboseJson.cs b/src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.cs similarity index 100% rename from src/Generated/Models/InternalCreateTranscriptionResponseVerboseJson.cs rename to src/Generated/Models/Audio/InternalCreateTranscriptionResponseVerboseJson.cs diff --git a/src/Generated/Models/InternalCreateTranslationRequestModel.cs b/src/Generated/Models/Audio/InternalCreateTranslationRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateTranslationRequestModel.cs rename to src/Generated/Models/Audio/InternalCreateTranslationRequestModel.cs diff --git a/src/Generated/Models/InternalCreateTranslationResponseJson.Serialization.cs b/src/Generated/Models/Audio/InternalCreateTranslationResponseJson.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateTranslationResponseJson.Serialization.cs rename to src/Generated/Models/Audio/InternalCreateTranslationResponseJson.Serialization.cs index c085fb38e..bb66cb0c3 100644 --- a/src/Generated/Models/InternalCreateTranslationResponseJson.Serialization.cs +++ b/src/Generated/Models/Audio/InternalCreateTranslationResponseJson.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateTranslationResponseJson IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateTranslationResponseJson JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalCreateTranslationResponseJson DeserializeInternalCreateT BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateTranslationResponseJson IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateTranslationResponseJson PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateTranslationResponseJson.cs b/src/Generated/Models/Audio/InternalCreateTranslationResponseJson.cs similarity index 100% rename from src/Generated/Models/InternalCreateTranslationResponseJson.cs rename to src/Generated/Models/Audio/InternalCreateTranslationResponseJson.cs diff --git a/src/Generated/Models/InternalTranscriptionInclude.cs b/src/Generated/Models/Audio/InternalTranscriptionInclude.cs similarity index 100% rename from src/Generated/Models/InternalTranscriptionInclude.cs rename to src/Generated/Models/Audio/InternalTranscriptionInclude.cs diff --git a/src/Generated/Models/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs b/src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs rename to src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs index 6e8a84eb5..7a35b71e6 100644 --- a/src/Generated/Models/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs +++ b/src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingAudioTranscriptionUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownCreateTranscriptionResponseStreamEvent Deserializ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingAudioTranscriptionUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownCreateTranscriptionResponseStreamEvent.cs b/src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.cs similarity index 100% rename from src/Generated/Models/InternalUnknownCreateTranscriptionResponseStreamEvent.cs rename to src/Generated/Models/Audio/InternalUnknownCreateTranscriptionResponseStreamEvent.cs diff --git a/src/Generated/Models/SpeechGenerationOptions.Serialization.cs b/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs similarity index 100% rename from src/Generated/Models/SpeechGenerationOptions.Serialization.cs rename to src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs diff --git a/src/Generated/Models/SpeechGenerationOptions.cs b/src/Generated/Models/Audio/SpeechGenerationOptions.cs similarity index 100% rename from src/Generated/Models/SpeechGenerationOptions.cs rename to src/Generated/Models/Audio/SpeechGenerationOptions.cs diff --git a/src/Generated/Models/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs rename to src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs index da9f7126e..9ec5142d5 100644 --- a/src/Generated/Models/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs +++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingAudioTranscriptionTextDeltaUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingAudioTranscriptionTextDeltaUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +105,6 @@ internal static StreamingAudioTranscriptionTextDeltaUpdate DeserializeStreamingA BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -123,7 +119,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingAudioTranscriptionTextDeltaUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingAudioTranscriptionTextDeltaUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingAudioTranscriptionTextDeltaUpdate.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingAudioTranscriptionTextDeltaUpdate.cs rename to src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.cs index d09ec2cbf..5d065dbe4 100644 --- a/src/Generated/Models/StreamingAudioTranscriptionTextDeltaUpdate.cs +++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDeltaUpdate.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Audio { + [Experimental("OPENAI001")] public partial class StreamingAudioTranscriptionTextDeltaUpdate : StreamingAudioTranscriptionUpdate { internal StreamingAudioTranscriptionTextDeltaUpdate(string delta) : base(StreamingAudioTranscriptionUpdateKind.TranscriptTextDelta) diff --git a/src/Generated/Models/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs rename to src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs index 1734aaa90..bcd178e6b 100644 --- a/src/Generated/Models/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs +++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingAudioTranscriptionTextDoneUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingAudioTranscriptionTextDoneUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +105,6 @@ internal static StreamingAudioTranscriptionTextDoneUpdate DeserializeStreamingAu BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -123,7 +119,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingAudioTranscriptionTextDoneUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingAudioTranscriptionTextDoneUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingAudioTranscriptionUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingAudioTranscriptionTextDoneUpdate.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingAudioTranscriptionTextDoneUpdate.cs rename to src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.cs index db3f18481..03484f99d 100644 --- a/src/Generated/Models/StreamingAudioTranscriptionTextDoneUpdate.cs +++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionTextDoneUpdate.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Audio { + [Experimental("OPENAI001")] public partial class StreamingAudioTranscriptionTextDoneUpdate : StreamingAudioTranscriptionUpdate { internal StreamingAudioTranscriptionTextDoneUpdate(string text) : base(StreamingAudioTranscriptionUpdateKind.TranscriptTextDone) diff --git a/src/Generated/Models/StreamingAudioTranscriptionUpdate.Serialization.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingAudioTranscriptionUpdate.Serialization.cs rename to src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.Serialization.cs index c13f7b767..91420738f 100644 --- a/src/Generated/Models/StreamingAudioTranscriptionUpdate.Serialization.cs +++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit StreamingAudioTranscriptionUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual StreamingAudioTranscriptionUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static StreamingAudioTranscriptionUpdate DeserializeStreamingAudioTrans BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingAudioTranscriptionUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual StreamingAudioTranscriptionUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingAudioTranscriptionUpdate.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingAudioTranscriptionUpdate.cs rename to src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.cs index b0b1da2b1..cf86c4437 100644 --- a/src/Generated/Models/StreamingAudioTranscriptionUpdate.cs +++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Audio { + [Experimental("OPENAI001")] public partial class StreamingAudioTranscriptionUpdate { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/StreamingAudioTranscriptionUpdateKind.cs b/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdateKind.cs similarity index 96% rename from src/Generated/Models/StreamingAudioTranscriptionUpdateKind.cs rename to src/Generated/Models/Audio/StreamingAudioTranscriptionUpdateKind.cs index 9a59a2e4e..99c4d4c77 100644 --- a/src/Generated/Models/StreamingAudioTranscriptionUpdateKind.cs +++ b/src/Generated/Models/Audio/StreamingAudioTranscriptionUpdateKind.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Audio { + [Experimental("OPENAI001")] public readonly partial struct StreamingAudioTranscriptionUpdateKind : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/TranscribedSegment.Serialization.cs b/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs similarity index 98% rename from src/Generated/Models/TranscribedSegment.Serialization.cs rename to src/Generated/Models/Audio/TranscribedSegment.Serialization.cs index f104f5012..a70d3049d 100644 --- a/src/Generated/Models/TranscribedSegment.Serialization.cs +++ b/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +109,6 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions TranscribedSegment IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] private TranscribedSegment JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -222,7 +219,6 @@ internal static TranscribedSegment DeserializeTranscribedSegment(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] private BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -237,7 +233,6 @@ private BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) TranscribedSegment IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] private TranscribedSegment PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/TranscribedSegment.cs b/src/Generated/Models/Audio/TranscribedSegment.cs similarity index 100% rename from src/Generated/Models/TranscribedSegment.cs rename to src/Generated/Models/Audio/TranscribedSegment.cs diff --git a/src/Generated/Models/TranscribedWord.Serialization.cs b/src/Generated/Models/Audio/TranscribedWord.Serialization.cs similarity index 97% rename from src/Generated/Models/TranscribedWord.Serialization.cs rename to src/Generated/Models/Audio/TranscribedWord.Serialization.cs index f67d2db34..07f28627b 100644 --- a/src/Generated/Models/TranscribedWord.Serialization.cs +++ b/src/Generated/Models/Audio/TranscribedWord.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions TranscribedWord IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] private TranscribedWord JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static TranscribedWord DeserializeTranscribedWord(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] private BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ private BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) TranscribedWord IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] private TranscribedWord PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/TranscribedWord.cs b/src/Generated/Models/Audio/TranscribedWord.cs similarity index 100% rename from src/Generated/Models/TranscribedWord.cs rename to src/Generated/Models/Audio/TranscribedWord.cs diff --git a/src/Generated/Models/InternalBatchError.Serialization.cs b/src/Generated/Models/Batch/InternalBatchError.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalBatchError.Serialization.cs rename to src/Generated/Models/Batch/InternalBatchError.Serialization.cs index cd40839de..830f6adfa 100644 --- a/src/Generated/Models/InternalBatchError.Serialization.cs +++ b/src/Generated/Models/Batch/InternalBatchError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalBatchError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalBatchError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -135,7 +132,6 @@ internal static InternalBatchError DeserializeInternalBatchError(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -150,7 +146,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalBatchError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalBatchError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalBatchError.cs b/src/Generated/Models/Batch/InternalBatchError.cs similarity index 100% rename from src/Generated/Models/InternalBatchError.cs rename to src/Generated/Models/Batch/InternalBatchError.cs diff --git a/src/Generated/Models/InternalBatchErrors.Serialization.cs b/src/Generated/Models/Batch/InternalBatchErrors.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalBatchErrors.Serialization.cs rename to src/Generated/Models/Batch/InternalBatchErrors.Serialization.cs index 0c900f91f..b04aa4480 100644 --- a/src/Generated/Models/InternalBatchErrors.Serialization.cs +++ b/src/Generated/Models/Batch/InternalBatchErrors.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalBatchErrors IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalBatchErrors JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalBatchErrors DeserializeInternalBatchErrors(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalBatchErrors IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalBatchErrors PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalBatchErrors.cs b/src/Generated/Models/Batch/InternalBatchErrors.cs similarity index 100% rename from src/Generated/Models/InternalBatchErrors.cs rename to src/Generated/Models/Batch/InternalBatchErrors.cs diff --git a/src/Generated/Models/InternalBatchJob.Serialization.cs b/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs similarity index 99% rename from src/Generated/Models/InternalBatchJob.Serialization.cs rename to src/Generated/Models/Batch/InternalBatchJob.Serialization.cs index 5ece5d44f..b63b87acd 100644 --- a/src/Generated/Models/InternalBatchJob.Serialization.cs +++ b/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -174,7 +172,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalBatchJob IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalBatchJob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -401,7 +398,6 @@ internal static InternalBatchJob DeserializeInternalBatchJob(JsonElement element BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -416,7 +412,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalBatchJob IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalBatchJob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalBatchJob.cs b/src/Generated/Models/Batch/InternalBatchJob.cs similarity index 100% rename from src/Generated/Models/InternalBatchJob.cs rename to src/Generated/Models/Batch/InternalBatchJob.cs diff --git a/src/Generated/Models/InternalBatchRequestCounts.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestCounts.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalBatchRequestCounts.Serialization.cs rename to src/Generated/Models/Batch/InternalBatchRequestCounts.Serialization.cs index 87c0d3398..338341627 100644 --- a/src/Generated/Models/InternalBatchRequestCounts.Serialization.cs +++ b/src/Generated/Models/Batch/InternalBatchRequestCounts.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalBatchRequestCounts IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestCounts JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalBatchRequestCounts DeserializeInternalBatchRequestCounts BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalBatchRequestCounts IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestCounts PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalBatchRequestCounts.cs b/src/Generated/Models/Batch/InternalBatchRequestCounts.cs similarity index 100% rename from src/Generated/Models/InternalBatchRequestCounts.cs rename to src/Generated/Models/Batch/InternalBatchRequestCounts.cs diff --git a/src/Generated/Models/InternalBatchRequestInput.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestInput.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalBatchRequestInput.Serialization.cs rename to src/Generated/Models/Batch/InternalBatchRequestInput.Serialization.cs index 0916d6289..d63d746f1 100644 --- a/src/Generated/Models/InternalBatchRequestInput.Serialization.cs +++ b/src/Generated/Models/Batch/InternalBatchRequestInput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalBatchRequestInput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestInput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalBatchRequestInput DeserializeInternalBatchRequestInput(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalBatchRequestInput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestInput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalBatchRequestInput.cs b/src/Generated/Models/Batch/InternalBatchRequestInput.cs similarity index 100% rename from src/Generated/Models/InternalBatchRequestInput.cs rename to src/Generated/Models/Batch/InternalBatchRequestInput.cs diff --git a/src/Generated/Models/InternalBatchRequestOutput.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestOutput.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalBatchRequestOutput.Serialization.cs rename to src/Generated/Models/Batch/InternalBatchRequestOutput.Serialization.cs index a2e122d41..cf30b8378 100644 --- a/src/Generated/Models/InternalBatchRequestOutput.Serialization.cs +++ b/src/Generated/Models/Batch/InternalBatchRequestOutput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalBatchRequestOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -135,7 +132,6 @@ internal static InternalBatchRequestOutput DeserializeInternalBatchRequestOutput BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -150,7 +146,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalBatchRequestOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalBatchRequestOutput.cs b/src/Generated/Models/Batch/InternalBatchRequestOutput.cs similarity index 100% rename from src/Generated/Models/InternalBatchRequestOutput.cs rename to src/Generated/Models/Batch/InternalBatchRequestOutput.cs diff --git a/src/Generated/Models/InternalBatchRequestOutputError.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestOutputError.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalBatchRequestOutputError.Serialization.cs rename to src/Generated/Models/Batch/InternalBatchRequestOutputError.Serialization.cs index 1df3ab156..79d104eab 100644 --- a/src/Generated/Models/InternalBatchRequestOutputError.Serialization.cs +++ b/src/Generated/Models/Batch/InternalBatchRequestOutputError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalBatchRequestOutputError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestOutputError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalBatchRequestOutputError DeserializeInternalBatchRequestO BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalBatchRequestOutputError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestOutputError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalBatchRequestOutputError.cs b/src/Generated/Models/Batch/InternalBatchRequestOutputError.cs similarity index 100% rename from src/Generated/Models/InternalBatchRequestOutputError.cs rename to src/Generated/Models/Batch/InternalBatchRequestOutputError.cs diff --git a/src/Generated/Models/InternalBatchRequestOutputResponse.Serialization.cs b/src/Generated/Models/Batch/InternalBatchRequestOutputResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalBatchRequestOutputResponse.Serialization.cs rename to src/Generated/Models/Batch/InternalBatchRequestOutputResponse.Serialization.cs index a63cbccfa..30d46d38e 100644 --- a/src/Generated/Models/InternalBatchRequestOutputResponse.Serialization.cs +++ b/src/Generated/Models/Batch/InternalBatchRequestOutputResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -85,7 +83,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalBatchRequestOutputResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestOutputResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -152,7 +149,6 @@ internal static InternalBatchRequestOutputResponse DeserializeInternalBatchReque BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -167,7 +163,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalBatchRequestOutputResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalBatchRequestOutputResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalBatchRequestOutputResponse.cs b/src/Generated/Models/Batch/InternalBatchRequestOutputResponse.cs similarity index 100% rename from src/Generated/Models/InternalBatchRequestOutputResponse.cs rename to src/Generated/Models/Batch/InternalBatchRequestOutputResponse.cs diff --git a/src/Generated/Models/InternalBatchStatus.cs b/src/Generated/Models/Batch/InternalBatchStatus.cs similarity index 100% rename from src/Generated/Models/InternalBatchStatus.cs rename to src/Generated/Models/Batch/InternalBatchStatus.cs diff --git a/src/Generated/Models/InternalCreateBatchRequest.Serialization.cs b/src/Generated/Models/Batch/InternalCreateBatchRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateBatchRequest.Serialization.cs rename to src/Generated/Models/Batch/InternalCreateBatchRequest.Serialization.cs index de6c9c888..c56f0e840 100644 --- a/src/Generated/Models/InternalCreateBatchRequest.Serialization.cs +++ b/src/Generated/Models/Batch/InternalCreateBatchRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateBatchRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateBatchRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalCreateBatchRequest DeserializeInternalCreateBatchRequest BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateBatchRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateBatchRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateBatchRequest.cs b/src/Generated/Models/Batch/InternalCreateBatchRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateBatchRequest.cs rename to src/Generated/Models/Batch/InternalCreateBatchRequest.cs diff --git a/src/Generated/Models/InternalCreateBatchRequestEndpoint.cs b/src/Generated/Models/Batch/InternalCreateBatchRequestEndpoint.cs similarity index 100% rename from src/Generated/Models/InternalCreateBatchRequestEndpoint.cs rename to src/Generated/Models/Batch/InternalCreateBatchRequestEndpoint.cs diff --git a/src/Generated/Models/InternalListBatchesResponse.Serialization.cs b/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListBatchesResponse.Serialization.cs rename to src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs index b06390c55..45fe4af08 100644 --- a/src/Generated/Models/InternalListBatchesResponse.Serialization.cs +++ b/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListBatchesResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListBatchesResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalListBatchesResponse DeserializeInternalListBatchesRespon BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListBatchesResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListBatchesResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListBatchesResponse.cs b/src/Generated/Models/Batch/InternalListBatchesResponse.cs similarity index 100% rename from src/Generated/Models/InternalListBatchesResponse.cs rename to src/Generated/Models/Batch/InternalListBatchesResponse.cs diff --git a/src/Generated/Models/AssistantChatMessage.Serialization.cs b/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs similarity index 100% rename from src/Generated/Models/AssistantChatMessage.Serialization.cs rename to src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs diff --git a/src/Generated/Models/AssistantChatMessage.cs b/src/Generated/Models/Chat/AssistantChatMessage.cs similarity index 100% rename from src/Generated/Models/AssistantChatMessage.cs rename to src/Generated/Models/Chat/AssistantChatMessage.cs diff --git a/src/Generated/Models/ChatAudioOptions.Serialization.cs b/src/Generated/Models/Chat/ChatAudioOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/ChatAudioOptions.Serialization.cs rename to src/Generated/Models/Chat/ChatAudioOptions.Serialization.cs index cdf912c64..1a3c0f723 100644 --- a/src/Generated/Models/ChatAudioOptions.Serialization.cs +++ b/src/Generated/Models/Chat/ChatAudioOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ChatAudioOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ChatAudioOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static ChatAudioOptions DeserializeChatAudioOptions(JsonElement element BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatAudioOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ChatAudioOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ChatAudioOptions.cs b/src/Generated/Models/Chat/ChatAudioOptions.cs similarity index 93% rename from src/Generated/Models/ChatAudioOptions.cs rename to src/Generated/Models/Chat/ChatAudioOptions.cs index 18b018e26..d35f5e290 100644 --- a/src/Generated/Models/ChatAudioOptions.cs +++ b/src/Generated/Models/Chat/ChatAudioOptions.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class ChatAudioOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ChatCompletion.Serialization.cs b/src/Generated/Models/Chat/ChatCompletion.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatCompletion.Serialization.cs rename to src/Generated/Models/Chat/ChatCompletion.Serialization.cs diff --git a/src/Generated/Models/ChatCompletion.cs b/src/Generated/Models/Chat/ChatCompletion.cs similarity index 100% rename from src/Generated/Models/ChatCompletion.cs rename to src/Generated/Models/Chat/ChatCompletion.cs diff --git a/src/Generated/Models/ChatCompletionDeletionResult.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs similarity index 97% rename from src/Generated/Models/ChatCompletionDeletionResult.Serialization.cs rename to src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs index ddb4abfd8..5e698e406 100644 --- a/src/Generated/Models/ChatCompletionDeletionResult.Serialization.cs +++ b/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ChatCompletionDeletionResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ChatCompletionDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static ChatCompletionDeletionResult DeserializeChatCompletionDeletionRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatCompletionDeletionResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ChatCompletionDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ChatCompletionDeletionResult.cs b/src/Generated/Models/Chat/ChatCompletionDeletionResult.cs similarity index 93% rename from src/Generated/Models/ChatCompletionDeletionResult.cs rename to src/Generated/Models/Chat/ChatCompletionDeletionResult.cs index 804ec7a55..d8d62cef1 100644 --- a/src/Generated/Models/ChatCompletionDeletionResult.cs +++ b/src/Generated/Models/Chat/ChatCompletionDeletionResult.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class ChatCompletionDeletionResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ChatCompletionOptions.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatCompletionOptions.Serialization.cs rename to src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs diff --git a/src/Generated/Models/ChatCompletionOptions.cs b/src/Generated/Models/Chat/ChatCompletionOptions.cs similarity index 100% rename from src/Generated/Models/ChatCompletionOptions.cs rename to src/Generated/Models/Chat/ChatCompletionOptions.cs diff --git a/src/Generated/Models/ChatFinishReason.Serialization.cs b/src/Generated/Models/Chat/ChatFinishReason.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatFinishReason.Serialization.cs rename to src/Generated/Models/Chat/ChatFinishReason.Serialization.cs diff --git a/src/Generated/Models/ChatFunction.Serialization.cs b/src/Generated/Models/Chat/ChatFunction.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatFunction.Serialization.cs rename to src/Generated/Models/Chat/ChatFunction.Serialization.cs diff --git a/src/Generated/Models/ChatFunction.cs b/src/Generated/Models/Chat/ChatFunction.cs similarity index 100% rename from src/Generated/Models/ChatFunction.cs rename to src/Generated/Models/Chat/ChatFunction.cs diff --git a/src/Generated/Models/ChatFunctionCall.Serialization.cs b/src/Generated/Models/Chat/ChatFunctionCall.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatFunctionCall.Serialization.cs rename to src/Generated/Models/Chat/ChatFunctionCall.Serialization.cs diff --git a/src/Generated/Models/ChatFunctionCall.cs b/src/Generated/Models/Chat/ChatFunctionCall.cs similarity index 100% rename from src/Generated/Models/ChatFunctionCall.cs rename to src/Generated/Models/Chat/ChatFunctionCall.cs diff --git a/src/Generated/Models/ChatFunctionChoice.Serialization.cs b/src/Generated/Models/Chat/ChatFunctionChoice.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatFunctionChoice.Serialization.cs rename to src/Generated/Models/Chat/ChatFunctionChoice.Serialization.cs diff --git a/src/Generated/Models/ChatFunctionChoice.cs b/src/Generated/Models/Chat/ChatFunctionChoice.cs similarity index 100% rename from src/Generated/Models/ChatFunctionChoice.cs rename to src/Generated/Models/Chat/ChatFunctionChoice.cs diff --git a/src/Generated/Models/ChatImageDetailLevel.cs b/src/Generated/Models/Chat/ChatImageDetailLevel.cs similarity index 100% rename from src/Generated/Models/ChatImageDetailLevel.cs rename to src/Generated/Models/Chat/ChatImageDetailLevel.cs diff --git a/src/Generated/Models/ChatInputAudioFormat.cs b/src/Generated/Models/Chat/ChatInputAudioFormat.cs similarity index 95% rename from src/Generated/Models/ChatInputAudioFormat.cs rename to src/Generated/Models/Chat/ChatInputAudioFormat.cs index ab86472b5..350fa3b75 100644 --- a/src/Generated/Models/ChatInputAudioFormat.cs +++ b/src/Generated/Models/Chat/ChatInputAudioFormat.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public readonly partial struct ChatInputAudioFormat : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ChatInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Chat/ChatInputTokenUsageDetails.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatInputTokenUsageDetails.Serialization.cs rename to src/Generated/Models/Chat/ChatInputTokenUsageDetails.Serialization.cs diff --git a/src/Generated/Models/ChatInputTokenUsageDetails.cs b/src/Generated/Models/Chat/ChatInputTokenUsageDetails.cs similarity index 100% rename from src/Generated/Models/ChatInputTokenUsageDetails.cs rename to src/Generated/Models/Chat/ChatInputTokenUsageDetails.cs diff --git a/src/Generated/Models/ChatMessage.Serialization.cs b/src/Generated/Models/Chat/ChatMessage.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatMessage.Serialization.cs rename to src/Generated/Models/Chat/ChatMessage.Serialization.cs diff --git a/src/Generated/Models/ChatMessage.cs b/src/Generated/Models/Chat/ChatMessage.cs similarity index 100% rename from src/Generated/Models/ChatMessage.cs rename to src/Generated/Models/Chat/ChatMessage.cs diff --git a/src/Generated/Models/ChatMessageAnnotation.Serialization.cs b/src/Generated/Models/Chat/ChatMessageAnnotation.Serialization.cs similarity index 96% rename from src/Generated/Models/ChatMessageAnnotation.Serialization.cs rename to src/Generated/Models/Chat/ChatMessageAnnotation.Serialization.cs index 9b2b3a3fa..6c61356b0 100644 --- a/src/Generated/Models/ChatMessageAnnotation.Serialization.cs +++ b/src/Generated/Models/Chat/ChatMessageAnnotation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ChatMessageAnnotation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ChatMessageAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ChatMessageAnnotation DeserializeChatMessageAnnotation(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatMessageAnnotation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ChatMessageAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ChatMessageAnnotation.cs b/src/Generated/Models/Chat/ChatMessageAnnotation.cs similarity index 93% rename from src/Generated/Models/ChatMessageAnnotation.cs rename to src/Generated/Models/Chat/ChatMessageAnnotation.cs index 8935768e1..7800a1e4b 100644 --- a/src/Generated/Models/ChatMessageAnnotation.cs +++ b/src/Generated/Models/Chat/ChatMessageAnnotation.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class ChatMessageAnnotation { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ChatMessageContentPart.Serialization.cs b/src/Generated/Models/Chat/ChatMessageContentPart.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatMessageContentPart.Serialization.cs rename to src/Generated/Models/Chat/ChatMessageContentPart.Serialization.cs diff --git a/src/Generated/Models/ChatMessageContentPart.cs b/src/Generated/Models/Chat/ChatMessageContentPart.cs similarity index 100% rename from src/Generated/Models/ChatMessageContentPart.cs rename to src/Generated/Models/Chat/ChatMessageContentPart.cs diff --git a/src/Generated/Models/ChatMessageContentPartKind.Serialization.cs b/src/Generated/Models/Chat/ChatMessageContentPartKind.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatMessageContentPartKind.Serialization.cs rename to src/Generated/Models/Chat/ChatMessageContentPartKind.Serialization.cs diff --git a/src/Generated/Models/ChatMessageRole.Serialization.cs b/src/Generated/Models/Chat/ChatMessageRole.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatMessageRole.Serialization.cs rename to src/Generated/Models/Chat/ChatMessageRole.Serialization.cs diff --git a/src/Generated/Models/ChatOutputAudio.Serialization.cs b/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs similarity index 97% rename from src/Generated/Models/ChatOutputAudio.Serialization.cs rename to src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs index f89485ec4..c0c06eaac 100644 --- a/src/Generated/Models/ChatOutputAudio.Serialization.cs +++ b/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ChatOutputAudio IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ChatOutputAudio JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static ChatOutputAudio DeserializeChatOutputAudio(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatOutputAudio IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ChatOutputAudio PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ChatOutputAudio.cs b/src/Generated/Models/Chat/ChatOutputAudio.cs similarity index 94% rename from src/Generated/Models/ChatOutputAudio.cs rename to src/Generated/Models/Chat/ChatOutputAudio.cs index cf03c955a..146b6f842 100644 --- a/src/Generated/Models/ChatOutputAudio.cs +++ b/src/Generated/Models/Chat/ChatOutputAudio.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class ChatOutputAudio { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ChatOutputAudioFormat.cs b/src/Generated/Models/Chat/ChatOutputAudioFormat.cs similarity index 96% rename from src/Generated/Models/ChatOutputAudioFormat.cs rename to src/Generated/Models/Chat/ChatOutputAudioFormat.cs index 0b4209f87..b48619dac 100644 --- a/src/Generated/Models/ChatOutputAudioFormat.cs +++ b/src/Generated/Models/Chat/ChatOutputAudioFormat.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public readonly partial struct ChatOutputAudioFormat : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ChatOutputAudioReference.Serialization.cs b/src/Generated/Models/Chat/ChatOutputAudioReference.Serialization.cs similarity index 96% rename from src/Generated/Models/ChatOutputAudioReference.Serialization.cs rename to src/Generated/Models/Chat/ChatOutputAudioReference.Serialization.cs index ededf4b9a..e3d770ee2 100644 --- a/src/Generated/Models/ChatOutputAudioReference.Serialization.cs +++ b/src/Generated/Models/Chat/ChatOutputAudioReference.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ChatOutputAudioReference IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ChatOutputAudioReference JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ChatOutputAudioReference DeserializeChatOutputAudioReference(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatOutputAudioReference IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ChatOutputAudioReference PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ChatOutputAudioReference.cs b/src/Generated/Models/Chat/ChatOutputAudioReference.cs similarity index 92% rename from src/Generated/Models/ChatOutputAudioReference.cs rename to src/Generated/Models/Chat/ChatOutputAudioReference.cs index 905a12475..09b6f70b2 100644 --- a/src/Generated/Models/ChatOutputAudioReference.cs +++ b/src/Generated/Models/Chat/ChatOutputAudioReference.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class ChatOutputAudioReference { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ChatOutputAudioVoice.cs b/src/Generated/Models/Chat/ChatOutputAudioVoice.cs similarity index 97% rename from src/Generated/Models/ChatOutputAudioVoice.cs rename to src/Generated/Models/Chat/ChatOutputAudioVoice.cs index 022c4b7ec..818bdbb4f 100644 --- a/src/Generated/Models/ChatOutputAudioVoice.cs +++ b/src/Generated/Models/Chat/ChatOutputAudioVoice.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public readonly partial struct ChatOutputAudioVoice : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ChatOutputPrediction.Serialization.cs b/src/Generated/Models/Chat/ChatOutputPrediction.Serialization.cs similarity index 96% rename from src/Generated/Models/ChatOutputPrediction.Serialization.cs rename to src/Generated/Models/Chat/ChatOutputPrediction.Serialization.cs index 50d108406..f1196f7fd 100644 --- a/src/Generated/Models/ChatOutputPrediction.Serialization.cs +++ b/src/Generated/Models/Chat/ChatOutputPrediction.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ChatOutputPrediction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ChatOutputPrediction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static ChatOutputPrediction DeserializeChatOutputPrediction(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatOutputPrediction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ChatOutputPrediction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ChatOutputPrediction.cs b/src/Generated/Models/Chat/ChatOutputPrediction.cs similarity index 92% rename from src/Generated/Models/ChatOutputPrediction.cs rename to src/Generated/Models/Chat/ChatOutputPrediction.cs index 9f10b8f0c..5abc5ccdb 100644 --- a/src/Generated/Models/ChatOutputPrediction.cs +++ b/src/Generated/Models/Chat/ChatOutputPrediction.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class ChatOutputPrediction { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ChatOutputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatOutputTokenUsageDetails.Serialization.cs rename to src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs diff --git a/src/Generated/Models/ChatOutputTokenUsageDetails.cs b/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.cs similarity index 100% rename from src/Generated/Models/ChatOutputTokenUsageDetails.cs rename to src/Generated/Models/Chat/ChatOutputTokenUsageDetails.cs diff --git a/src/Generated/Models/ChatReasoningEffortLevel.cs b/src/Generated/Models/Chat/ChatReasoningEffortLevel.cs similarity index 96% rename from src/Generated/Models/ChatReasoningEffortLevel.cs rename to src/Generated/Models/Chat/ChatReasoningEffortLevel.cs index 4055fb2ef..ff5fad88b 100644 --- a/src/Generated/Models/ChatReasoningEffortLevel.cs +++ b/src/Generated/Models/Chat/ChatReasoningEffortLevel.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public readonly partial struct ChatReasoningEffortLevel : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ChatResponseFormat.Serialization.cs b/src/Generated/Models/Chat/ChatResponseFormat.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatResponseFormat.Serialization.cs rename to src/Generated/Models/Chat/ChatResponseFormat.Serialization.cs diff --git a/src/Generated/Models/ChatResponseFormat.cs b/src/Generated/Models/Chat/ChatResponseFormat.cs similarity index 100% rename from src/Generated/Models/ChatResponseFormat.cs rename to src/Generated/Models/Chat/ChatResponseFormat.cs diff --git a/src/Generated/Models/ChatTokenLogProbabilityDetails.Serialization.cs b/src/Generated/Models/Chat/ChatTokenLogProbabilityDetails.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatTokenLogProbabilityDetails.Serialization.cs rename to src/Generated/Models/Chat/ChatTokenLogProbabilityDetails.Serialization.cs diff --git a/src/Generated/Models/ChatTokenLogProbabilityDetails.cs b/src/Generated/Models/Chat/ChatTokenLogProbabilityDetails.cs similarity index 100% rename from src/Generated/Models/ChatTokenLogProbabilityDetails.cs rename to src/Generated/Models/Chat/ChatTokenLogProbabilityDetails.cs diff --git a/src/Generated/Models/ChatTokenTopLogProbabilityDetails.Serialization.cs b/src/Generated/Models/Chat/ChatTokenTopLogProbabilityDetails.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatTokenTopLogProbabilityDetails.Serialization.cs rename to src/Generated/Models/Chat/ChatTokenTopLogProbabilityDetails.Serialization.cs diff --git a/src/Generated/Models/ChatTokenTopLogProbabilityDetails.cs b/src/Generated/Models/Chat/ChatTokenTopLogProbabilityDetails.cs similarity index 100% rename from src/Generated/Models/ChatTokenTopLogProbabilityDetails.cs rename to src/Generated/Models/Chat/ChatTokenTopLogProbabilityDetails.cs diff --git a/src/Generated/Models/ChatTokenUsage.Serialization.cs b/src/Generated/Models/Chat/ChatTokenUsage.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatTokenUsage.Serialization.cs rename to src/Generated/Models/Chat/ChatTokenUsage.Serialization.cs diff --git a/src/Generated/Models/ChatTokenUsage.cs b/src/Generated/Models/Chat/ChatTokenUsage.cs similarity index 100% rename from src/Generated/Models/ChatTokenUsage.cs rename to src/Generated/Models/Chat/ChatTokenUsage.cs diff --git a/src/Generated/Models/ChatTool.Serialization.cs b/src/Generated/Models/Chat/ChatTool.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatTool.Serialization.cs rename to src/Generated/Models/Chat/ChatTool.Serialization.cs diff --git a/src/Generated/Models/ChatTool.cs b/src/Generated/Models/Chat/ChatTool.cs similarity index 100% rename from src/Generated/Models/ChatTool.cs rename to src/Generated/Models/Chat/ChatTool.cs diff --git a/src/Generated/Models/ChatToolCall.Serialization.cs b/src/Generated/Models/Chat/ChatToolCall.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatToolCall.Serialization.cs rename to src/Generated/Models/Chat/ChatToolCall.Serialization.cs diff --git a/src/Generated/Models/ChatToolCall.cs b/src/Generated/Models/Chat/ChatToolCall.cs similarity index 100% rename from src/Generated/Models/ChatToolCall.cs rename to src/Generated/Models/Chat/ChatToolCall.cs diff --git a/src/Generated/Models/ChatToolCallKind.Serialization.cs b/src/Generated/Models/Chat/ChatToolCallKind.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatToolCallKind.Serialization.cs rename to src/Generated/Models/Chat/ChatToolCallKind.Serialization.cs diff --git a/src/Generated/Models/ChatToolChoice.Serialization.cs b/src/Generated/Models/Chat/ChatToolChoice.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatToolChoice.Serialization.cs rename to src/Generated/Models/Chat/ChatToolChoice.Serialization.cs diff --git a/src/Generated/Models/ChatToolChoice.cs b/src/Generated/Models/Chat/ChatToolChoice.cs similarity index 100% rename from src/Generated/Models/ChatToolChoice.cs rename to src/Generated/Models/Chat/ChatToolChoice.cs diff --git a/src/Generated/Models/ChatToolKind.Serialization.cs b/src/Generated/Models/Chat/ChatToolKind.Serialization.cs similarity index 100% rename from src/Generated/Models/ChatToolKind.Serialization.cs rename to src/Generated/Models/Chat/ChatToolKind.Serialization.cs diff --git a/src/Generated/Models/ChatWebSearchOptions.Serialization.cs b/src/Generated/Models/Chat/ChatWebSearchOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/ChatWebSearchOptions.Serialization.cs rename to src/Generated/Models/Chat/ChatWebSearchOptions.Serialization.cs index b9836c23e..74ee9635f 100644 --- a/src/Generated/Models/ChatWebSearchOptions.Serialization.cs +++ b/src/Generated/Models/Chat/ChatWebSearchOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -63,7 +61,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ChatWebSearchOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ChatWebSearchOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +110,6 @@ internal static ChatWebSearchOptions DeserializeChatWebSearchOptions(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +124,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatWebSearchOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ChatWebSearchOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ChatWebSearchOptions.cs b/src/Generated/Models/Chat/ChatWebSearchOptions.cs similarity index 93% rename from src/Generated/Models/ChatWebSearchOptions.cs rename to src/Generated/Models/Chat/ChatWebSearchOptions.cs index 0ae70d025..6c3cc6085 100644 --- a/src/Generated/Models/ChatWebSearchOptions.cs +++ b/src/Generated/Models/Chat/ChatWebSearchOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI.Internal; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class ChatWebSearchOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/DeveloperChatMessage.Serialization.cs b/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs similarity index 96% rename from src/Generated/Models/DeveloperChatMessage.Serialization.cs rename to src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs index 91dd91a32..df5f0fedc 100644 --- a/src/Generated/Models/DeveloperChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -13,7 +12,6 @@ namespace OpenAI.Chat { public partial class DeveloperChatMessage : IJsonModel { - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -31,7 +29,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri DeveloperChatMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (DeveloperChatMessage)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatMessage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static DeveloperChatMessage DeserializeDeveloperChatMessage(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions DeveloperChatMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (DeveloperChatMessage)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatMessage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/DeveloperChatMessage.cs b/src/Generated/Models/Chat/DeveloperChatMessage.cs similarity index 89% rename from src/Generated/Models/DeveloperChatMessage.cs rename to src/Generated/Models/Chat/DeveloperChatMessage.cs index 6d26223ca..83be37771 100644 --- a/src/Generated/Models/DeveloperChatMessage.cs +++ b/src/Generated/Models/Chat/DeveloperChatMessage.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class DeveloperChatMessage : ChatMessage { internal DeveloperChatMessage() : this(null, ChatMessageRole.Developer, null, null) diff --git a/src/Generated/Models/FunctionChatMessage.Serialization.cs b/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs similarity index 100% rename from src/Generated/Models/FunctionChatMessage.Serialization.cs rename to src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs diff --git a/src/Generated/Models/FunctionChatMessage.cs b/src/Generated/Models/Chat/FunctionChatMessage.cs similarity index 100% rename from src/Generated/Models/FunctionChatMessage.cs rename to src/Generated/Models/Chat/FunctionChatMessage.cs diff --git a/src/Generated/Models/InternalChatCompletionFunctionCallOption.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionFunctionCallOption.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.Serialization.cs index c2eca0978..ea176c3d7 100644 --- a/src/Generated/Models/InternalChatCompletionFunctionCallOption.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionFunctionCallOption IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionFunctionCallOption JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalChatCompletionFunctionCallOption DeserializeInternalChat BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionFunctionCallOption IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionFunctionCallOption PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionFunctionCallOption.cs b/src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionFunctionCallOption.cs rename to src/Generated/Models/Chat/InternalChatCompletionFunctionCallOption.cs diff --git a/src/Generated/Models/InternalChatCompletionList.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionList.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionList.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionList.Serialization.cs index b3f113fa8..fe9235048 100644 --- a/src/Generated/Models/InternalChatCompletionList.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionList.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionList JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalChatCompletionList DeserializeInternalChatCompletionList BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionList PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionList.cs b/src/Generated/Models/Chat/InternalChatCompletionList.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionList.cs rename to src/Generated/Models/Chat/InternalChatCompletionList.cs diff --git a/src/Generated/Models/InternalChatCompletionMessageList.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageList.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionMessageList.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionMessageList.Serialization.cs index 6ae688646..21bf965c2 100644 --- a/src/Generated/Models/InternalChatCompletionMessageList.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionMessageList.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionMessageList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionMessageList JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalChatCompletionMessageList DeserializeInternalChatComplet BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionMessageList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionMessageList PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionMessageList.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageList.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionMessageList.cs rename to src/Generated/Models/Chat/InternalChatCompletionMessageList.cs diff --git a/src/Generated/Models/InternalChatCompletionMessageListDatum.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageListDatum.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalChatCompletionMessageListDatum.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionMessageListDatum.Serialization.cs index 92f5db6c0..3290fffd8 100644 --- a/src/Generated/Models/InternalChatCompletionMessageListDatum.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionMessageListDatum.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +119,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionMessageListDatum IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionMessageListDatum JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -244,7 +241,6 @@ internal static InternalChatCompletionMessageListDatum DeserializeInternalChatCo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -259,7 +255,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionMessageListDatum IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionMessageListDatum PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionMessageListDatum.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageListDatum.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionMessageListDatum.cs rename to src/Generated/Models/Chat/InternalChatCompletionMessageListDatum.cs diff --git a/src/Generated/Models/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs index 1d0051cda..49b8bda93 100644 --- a/src/Generated/Models/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionMessageToolCallChunkFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionMessageToolCallChunkFunction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalChatCompletionMessageToolCallChunkFunction DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionMessageToolCallChunkFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionMessageToolCallChunkFunction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionMessageToolCallChunkFunction.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionMessageToolCallChunkFunction.cs rename to src/Generated/Models/Chat/InternalChatCompletionMessageToolCallChunkFunction.cs diff --git a/src/Generated/Models/InternalChatCompletionMessageToolCallFunction.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionMessageToolCallFunction.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.Serialization.cs index 96638e34e..715a2b4ef 100644 --- a/src/Generated/Models/InternalChatCompletionMessageToolCallFunction.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionMessageToolCallFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionMessageToolCallFunction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalChatCompletionMessageToolCallFunction DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionMessageToolCallFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionMessageToolCallFunction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionMessageToolCallFunction.cs b/src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionMessageToolCallFunction.cs rename to src/Generated/Models/Chat/InternalChatCompletionMessageToolCallFunction.cs diff --git a/src/Generated/Models/InternalChatCompletionNamedToolChoice.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionNamedToolChoice.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.Serialization.cs index a70983226..23c7c8beb 100644 --- a/src/Generated/Models/InternalChatCompletionNamedToolChoice.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionNamedToolChoice IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionNamedToolChoice JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalChatCompletionNamedToolChoice DeserializeInternalChatCom BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionNamedToolChoice IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionNamedToolChoice PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionNamedToolChoice.cs b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionNamedToolChoice.cs rename to src/Generated/Models/Chat/InternalChatCompletionNamedToolChoice.cs diff --git a/src/Generated/Models/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs index de5a825eb..ae2def8ad 100644 --- a/src/Generated/Models/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionNamedToolChoiceFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionNamedToolChoiceFunction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalChatCompletionNamedToolChoiceFunction DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionNamedToolChoiceFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionNamedToolChoiceFunction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionNamedToolChoiceFunction.cs b/src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionNamedToolChoiceFunction.cs rename to src/Generated/Models/Chat/InternalChatCompletionNamedToolChoiceFunction.cs diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs index fcd44abf7..f0f675dd9 100644 --- a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8 writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalChatCompletionRequestMessageContentPartAudio IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartAudio)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -77,7 +74,6 @@ internal static InternalChatCompletionRequestMessageContentPartAudio Deserialize BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +88,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionRequestMessageContentPartAudio IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartAudio)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudio.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudio.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudio.cs diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs index a3dd3d428..8ec55e6c8 100644 --- a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel. writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionRequestMessageContentPartAudioInputAudio IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionRequestMessageContentPartAudioInputAudio JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalChatCompletionRequestMessageContentPartAudioInputAudio D BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionRequestMessageContentPartAudioInputAudio IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionRequestMessageContentPartAudioInputAudio PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudioInputAudio.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartAudioInputAudio.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartAudioInputAudio.cs diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs index 4cc8e2aca..d95bda505 100644 --- a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalChatCompletionRequestMessageContentPartFile IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartFile)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -77,7 +74,6 @@ internal static InternalChatCompletionRequestMessageContentPartFile DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +88,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionRequestMessageContentPartFile IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartFile)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartFile.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartFile.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFile.cs diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs index 99026ba00..f5c5cf86e 100644 --- a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(U writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionRequestMessageContentPartFileFile IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionRequestMessageContentPartFileFile JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +111,6 @@ internal static InternalChatCompletionRequestMessageContentPartFileFile Deserial BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +125,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionRequestMessageContentPartFileFile IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionRequestMessageContentPartFileFile PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartFileFile.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartFileFile.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.cs diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs index aa8be7c2b..f7d52138f 100644 --- a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8 writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalChatCompletionRequestMessageContentPartImage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartImage)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -77,7 +74,6 @@ internal static InternalChatCompletionRequestMessageContentPartImage Deserialize BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +88,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionRequestMessageContentPartImage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartImage)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartImage.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartImage.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImage.cs diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs index 0531eba0a..e11c0ade9 100644 --- a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionRequestMessageContentPartImageImageUrl IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionRequestMessageContentPartImageImageUrl JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalChatCompletionRequestMessageContentPartImageImageUrl Des BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionRequestMessageContentPartImageImageUrl IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionRequestMessageContentPartImageImageUrl PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs index 8dff892df..390a377a1 100644 --- a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Ut writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalChatCompletionRequestMessageContentPartRefusal IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartRefusal)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +59,6 @@ internal static InternalChatCompletionRequestMessageContentPartRefusal Deseriali BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -77,7 +73,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionRequestMessageContentPartRefusal IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartRefusal)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartRefusal.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartRefusal.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartRefusal.cs diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartText.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartText.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.Serialization.cs index 50589d489..79f0947be 100644 --- a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartText.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalChatCompletionRequestMessageContentPartText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +59,6 @@ internal static InternalChatCompletionRequestMessageContentPartText DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -77,7 +73,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionRequestMessageContentPartText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalChatCompletionRequestMessageContentPartText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionRequestMessageContentPartText.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionRequestMessageContentPartText.cs rename to src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartText.cs diff --git a/src/Generated/Models/InternalChatCompletionResponseMessage.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalChatCompletionResponseMessage.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs index 161b6aa9f..6becf428f 100644 --- a/src/Generated/Models/InternalChatCompletionResponseMessage.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -116,7 +114,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionResponseMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionResponseMessage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -227,7 +224,6 @@ internal static InternalChatCompletionResponseMessage DeserializeInternalChatCom BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -242,7 +238,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionResponseMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionResponseMessage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionResponseMessage.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionResponseMessage.cs rename to src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs diff --git a/src/Generated/Models/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs index eb3f9e217..479a15721 100644 --- a/src/Generated/Models/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionResponseMessageAnnotationUrlCitation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionResponseMessageAnnotationUrlCitation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalChatCompletionResponseMessageAnnotationUrlCitation Deser BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionResponseMessageAnnotationUrlCitation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionResponseMessageAnnotationUrlCitation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionResponseMessageAnnotationUrlCitation.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionResponseMessageAnnotationUrlCitation.cs rename to src/Generated/Models/Chat/InternalChatCompletionResponseMessageAnnotationUrlCitation.cs diff --git a/src/Generated/Models/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs index f029aca59..c6ebc90a7 100644 --- a/src/Generated/Models/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionResponseMessageFunctionCall IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionResponseMessageFunctionCall JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalChatCompletionResponseMessageFunctionCall DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionResponseMessageFunctionCall IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionResponseMessageFunctionCall PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionResponseMessageFunctionCall.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionResponseMessageFunctionCall.cs rename to src/Generated/Models/Chat/InternalChatCompletionResponseMessageFunctionCall.cs diff --git a/src/Generated/Models/InternalChatCompletionStreamOptions.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionStreamOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChatCompletionStreamOptions.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionStreamOptions.Serialization.cs index 86e8e0ea4..eb679223b 100644 --- a/src/Generated/Models/InternalChatCompletionStreamOptions.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionStreamOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionStreamOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionStreamOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalChatCompletionStreamOptions DeserializeInternalChatCompl BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionStreamOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionStreamOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionStreamOptions.cs b/src/Generated/Models/Chat/InternalChatCompletionStreamOptions.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionStreamOptions.cs rename to src/Generated/Models/Chat/InternalChatCompletionStreamOptions.cs diff --git a/src/Generated/Models/InternalChatCompletionStreamResponseDelta.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalChatCompletionStreamResponseDelta.Serialization.cs rename to src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs index 77e16d083..e7f7f95d1 100644 --- a/src/Generated/Models/InternalChatCompletionStreamResponseDelta.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +87,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChatCompletionStreamResponseDelta IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionStreamResponseDelta JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -187,7 +184,6 @@ internal static InternalChatCompletionStreamResponseDelta DeserializeInternalCha BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -202,7 +198,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatCompletionStreamResponseDelta IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChatCompletionStreamResponseDelta PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatCompletionStreamResponseDelta.cs b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.cs similarity index 100% rename from src/Generated/Models/InternalChatCompletionStreamResponseDelta.cs rename to src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.cs diff --git a/src/Generated/Models/InternalChatOutputPredictionContent.Serialization.cs b/src/Generated/Models/Chat/InternalChatOutputPredictionContent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalChatOutputPredictionContent.Serialization.cs rename to src/Generated/Models/Chat/InternalChatOutputPredictionContent.Serialization.cs index 96af19cf1..d0bb1d047 100644 --- a/src/Generated/Models/InternalChatOutputPredictionContent.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatOutputPredictionContent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalChatOutputPredictionContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalChatOutputPredictionContent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatOutputPrediction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalChatOutputPredictionContent DeserializeInternalChatOutpu BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChatOutputPredictionContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalChatOutputPredictionContent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatOutputPrediction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChatOutputPredictionContent.cs b/src/Generated/Models/Chat/InternalChatOutputPredictionContent.cs similarity index 100% rename from src/Generated/Models/InternalChatOutputPredictionContent.cs rename to src/Generated/Models/Chat/InternalChatOutputPredictionContent.cs diff --git a/src/Generated/Models/InternalChatOutputPredictionKind.cs b/src/Generated/Models/Chat/InternalChatOutputPredictionKind.cs similarity index 100% rename from src/Generated/Models/InternalChatOutputPredictionKind.cs rename to src/Generated/Models/Chat/InternalChatOutputPredictionKind.cs diff --git a/src/Generated/Models/InternalCreateChatCompletionRequestModality.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestModality.cs similarity index 100% rename from src/Generated/Models/InternalCreateChatCompletionRequestModality.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionRequestModality.cs diff --git a/src/Generated/Models/InternalCreateChatCompletionRequestToolChoice.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestToolChoice.cs similarity index 100% rename from src/Generated/Models/InternalCreateChatCompletionRequestToolChoice.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionRequestToolChoice.cs diff --git a/src/Generated/Models/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs index a40b36d57..b834554c3 100644 --- a/src/Generated/Models/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs +++ b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -25,7 +24,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +105,6 @@ internal static InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1 BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -123,7 +119,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs similarity index 100% rename from src/Generated/Models/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1.cs diff --git a/src/Generated/Models/InternalCreateChatCompletionResponseChoice.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateChatCompletionResponseChoice.Serialization.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.Serialization.cs index f2105c295..591e90580 100644 --- a/src/Generated/Models/InternalCreateChatCompletionResponseChoice.Serialization.cs +++ b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateChatCompletionResponseChoice IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionResponseChoice JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalCreateChatCompletionResponseChoice DeserializeInternalCr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateChatCompletionResponseChoice IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionResponseChoice PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateChatCompletionResponseChoice.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.cs similarity index 100% rename from src/Generated/Models/InternalCreateChatCompletionResponseChoice.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoice.cs diff --git a/src/Generated/Models/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs index f418a7832..692841c98 100644 --- a/src/Generated/Models/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs +++ b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +72,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateChatCompletionResponseChoiceLogprobs IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionResponseChoiceLogprobs JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -135,7 +132,6 @@ internal static InternalCreateChatCompletionResponseChoiceLogprobs DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -150,7 +146,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateChatCompletionResponseChoiceLogprobs IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionResponseChoiceLogprobs PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateChatCompletionResponseChoiceLogprobs.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.cs similarity index 100% rename from src/Generated/Models/InternalCreateChatCompletionResponseChoiceLogprobs.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionResponseChoiceLogprobs.cs diff --git a/src/Generated/Models/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs index 021db5d6e..eb355a9c5 100644 --- a/src/Generated/Models/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs +++ b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -16,7 +15,6 @@ internal InternalCreateChatCompletionStreamResponseChoice() { } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -75,7 +73,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateChatCompletionStreamResponseChoice IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionStreamResponseChoice JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ protected virtual InternalCreateChatCompletionStreamResponseChoice JsonModelCrea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateChatCompletionStreamResponseChoice IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionStreamResponseChoice PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateChatCompletionStreamResponseChoice.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.cs similarity index 100% rename from src/Generated/Models/InternalCreateChatCompletionStreamResponseChoice.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.cs diff --git a/src/Generated/Models/InternalCreateChatCompletionStreamResponseChoiceFinishReason.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceFinishReason.cs similarity index 100% rename from src/Generated/Models/InternalCreateChatCompletionStreamResponseChoiceFinishReason.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceFinishReason.cs diff --git a/src/Generated/Models/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs index a07620aae..f85492249 100644 --- a/src/Generated/Models/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs +++ b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write( writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +72,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateChatCompletionStreamResponseChoiceLogprobs IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionStreamResponseChoiceLogprobs JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -135,7 +132,6 @@ internal static InternalCreateChatCompletionStreamResponseChoiceLogprobs Deseria BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -150,7 +146,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateChatCompletionStreamResponseChoiceLogprobs IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateChatCompletionStreamResponseChoiceLogprobs PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateChatCompletionStreamResponseChoiceLogprobs.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.cs similarity index 100% rename from src/Generated/Models/InternalCreateChatCompletionStreamResponseChoiceLogprobs.cs rename to src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoiceLogprobs.cs diff --git a/src/Generated/Models/InternalDotNetChatResponseFormatJsonObject.Serialization.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalDotNetChatResponseFormatJsonObject.Serialization.cs rename to src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.Serialization.cs index 4d31afdbc..8c813a9d2 100644 --- a/src/Generated/Models/InternalDotNetChatResponseFormatJsonObject.Serialization.cs +++ b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -34,7 +32,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotNetChatResponseFormatJsonObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotNetChatResponseFormatJsonObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -69,7 +66,6 @@ internal static InternalDotNetChatResponseFormatJsonObject DeserializeInternalDo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +80,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetChatResponseFormatJsonObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotNetChatResponseFormatJsonObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetChatResponseFormatJsonObject.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.cs similarity index 100% rename from src/Generated/Models/InternalDotNetChatResponseFormatJsonObject.cs rename to src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonObject.cs diff --git a/src/Generated/Models/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs rename to src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs index b59c83e4a..66c0523ca 100644 --- a/src/Generated/Models/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs +++ b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -43,7 +41,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotNetChatResponseFormatJsonSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotNetChatResponseFormatJsonSchema)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalDotNetChatResponseFormatJsonSchema DeserializeInternalDo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetChatResponseFormatJsonSchema IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotNetChatResponseFormatJsonSchema)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetChatResponseFormatJsonSchema.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.cs similarity index 100% rename from src/Generated/Models/InternalDotNetChatResponseFormatJsonSchema.cs rename to src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchema.cs diff --git a/src/Generated/Models/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs rename to src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs index 9080bce20..784ebbbe7 100644 --- a/src/Generated/Models/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs +++ b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8 writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalDotNetChatResponseFormatJsonSchemaJsonSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalDotNetChatResponseFormatJsonSchemaJsonSchema JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +142,6 @@ internal static InternalDotNetChatResponseFormatJsonSchemaJsonSchema Deserialize BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -160,7 +156,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetChatResponseFormatJsonSchemaJsonSchema IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalDotNetChatResponseFormatJsonSchemaJsonSchema PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.cs similarity index 100% rename from src/Generated/Models/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.cs rename to src/Generated/Models/Chat/InternalDotNetChatResponseFormatJsonSchemaJsonSchema.cs diff --git a/src/Generated/Models/InternalDotNetChatResponseFormatText.Serialization.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalDotNetChatResponseFormatText.Serialization.cs rename to src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.Serialization.cs index 990b242f9..b7bbbe7be 100644 --- a/src/Generated/Models/InternalDotNetChatResponseFormatText.Serialization.cs +++ b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -34,7 +32,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotNetChatResponseFormatText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotNetChatResponseFormatText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -69,7 +66,6 @@ internal static InternalDotNetChatResponseFormatText DeserializeInternalDotNetCh BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +80,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetChatResponseFormatText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotNetChatResponseFormatText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetChatResponseFormatText.cs b/src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.cs similarity index 100% rename from src/Generated/Models/InternalDotNetChatResponseFormatText.cs rename to src/Generated/Models/Chat/InternalDotNetChatResponseFormatText.cs diff --git a/src/Generated/Models/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs rename to src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs index d4ae88a7f..34551c311 100644 --- a/src/Generated/Models/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs +++ b/src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ChatMessageContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +63,6 @@ internal static InternalUnknownChatCompletionRequestMessageContentPart Deseriali BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +77,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatMessageContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatMessageContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownChatCompletionRequestMessageContentPart.cs b/src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.cs similarity index 100% rename from src/Generated/Models/InternalUnknownChatCompletionRequestMessageContentPart.cs rename to src/Generated/Models/Chat/InternalUnknownChatCompletionRequestMessageContentPart.cs diff --git a/src/Generated/Models/InternalUnknownChatMessage.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownChatMessage.Serialization.cs rename to src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs index 44db58467..f0d17235a 100644 --- a/src/Generated/Models/InternalUnknownChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -17,7 +16,6 @@ internal InternalUnknownChatMessage() : this(null, default, null) { } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -30,7 +28,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ChatMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatMessage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +68,6 @@ internal static InternalUnknownChatMessage DeserializeInternalUnknownChatMessage BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +82,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatMessage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownChatMessage.cs b/src/Generated/Models/Chat/InternalUnknownChatMessage.cs similarity index 100% rename from src/Generated/Models/InternalUnknownChatMessage.cs rename to src/Generated/Models/Chat/InternalUnknownChatMessage.cs diff --git a/src/Generated/Models/InternalUnknownChatOutputPrediction.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownChatOutputPrediction.Serialization.cs rename to src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.Serialization.cs index ae3f9138b..035a84676 100644 --- a/src/Generated/Models/InternalUnknownChatOutputPrediction.Serialization.cs +++ b/src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ChatOutputPrediction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatOutputPrediction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownChatOutputPrediction DeserializeInternalUnknownCh BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatOutputPrediction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatOutputPrediction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownChatOutputPrediction.cs b/src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.cs similarity index 100% rename from src/Generated/Models/InternalUnknownChatOutputPrediction.cs rename to src/Generated/Models/Chat/InternalUnknownChatOutputPrediction.cs diff --git a/src/Generated/Models/InternalUnknownChatResponseFormat.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatResponseFormat.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownChatResponseFormat.Serialization.cs rename to src/Generated/Models/Chat/InternalUnknownChatResponseFormat.Serialization.cs index 644abe420..b323a9194 100644 --- a/src/Generated/Models/InternalUnknownChatResponseFormat.Serialization.cs +++ b/src/Generated/Models/Chat/InternalUnknownChatResponseFormat.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ChatResponseFormat IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ChatResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -73,7 +70,6 @@ internal static InternalUnknownChatResponseFormat DeserializeInternalUnknownChat BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +84,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ChatResponseFormat IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ChatResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownChatResponseFormat.cs b/src/Generated/Models/Chat/InternalUnknownChatResponseFormat.cs similarity index 100% rename from src/Generated/Models/InternalUnknownChatResponseFormat.cs rename to src/Generated/Models/Chat/InternalUnknownChatResponseFormat.cs diff --git a/src/Generated/Models/StreamingChatCompletionUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs similarity index 100% rename from src/Generated/Models/StreamingChatCompletionUpdate.Serialization.cs rename to src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs diff --git a/src/Generated/Models/StreamingChatCompletionUpdate.cs b/src/Generated/Models/Chat/StreamingChatCompletionUpdate.cs similarity index 100% rename from src/Generated/Models/StreamingChatCompletionUpdate.cs rename to src/Generated/Models/Chat/StreamingChatCompletionUpdate.cs diff --git a/src/Generated/Models/StreamingChatFunctionCallUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatFunctionCallUpdate.Serialization.cs similarity index 100% rename from src/Generated/Models/StreamingChatFunctionCallUpdate.Serialization.cs rename to src/Generated/Models/Chat/StreamingChatFunctionCallUpdate.Serialization.cs diff --git a/src/Generated/Models/StreamingChatFunctionCallUpdate.cs b/src/Generated/Models/Chat/StreamingChatFunctionCallUpdate.cs similarity index 100% rename from src/Generated/Models/StreamingChatFunctionCallUpdate.cs rename to src/Generated/Models/Chat/StreamingChatFunctionCallUpdate.cs diff --git a/src/Generated/Models/StreamingChatOutputAudioUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingChatOutputAudioUpdate.Serialization.cs rename to src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs index d273ef6ca..cb7abdf9d 100644 --- a/src/Generated/Models/StreamingChatOutputAudioUpdate.Serialization.cs +++ b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit StreamingChatOutputAudioUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual StreamingChatOutputAudioUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +130,6 @@ internal static StreamingChatOutputAudioUpdate DeserializeStreamingChatOutputAud BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -148,7 +144,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingChatOutputAudioUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual StreamingChatOutputAudioUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingChatOutputAudioUpdate.cs b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingChatOutputAudioUpdate.cs rename to src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.cs index 9abebcebd..a20098a5b 100644 --- a/src/Generated/Models/StreamingChatOutputAudioUpdate.cs +++ b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Chat { + [Experimental("OPENAI001")] public partial class StreamingChatOutputAudioUpdate { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/StreamingChatToolCallUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs similarity index 100% rename from src/Generated/Models/StreamingChatToolCallUpdate.Serialization.cs rename to src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs diff --git a/src/Generated/Models/StreamingChatToolCallUpdate.cs b/src/Generated/Models/Chat/StreamingChatToolCallUpdate.cs similarity index 100% rename from src/Generated/Models/StreamingChatToolCallUpdate.cs rename to src/Generated/Models/Chat/StreamingChatToolCallUpdate.cs diff --git a/src/Generated/Models/SystemChatMessage.Serialization.cs b/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs similarity index 100% rename from src/Generated/Models/SystemChatMessage.Serialization.cs rename to src/Generated/Models/Chat/SystemChatMessage.Serialization.cs diff --git a/src/Generated/Models/SystemChatMessage.cs b/src/Generated/Models/Chat/SystemChatMessage.cs similarity index 100% rename from src/Generated/Models/SystemChatMessage.cs rename to src/Generated/Models/Chat/SystemChatMessage.cs diff --git a/src/Generated/Models/ToolChatMessage.Serialization.cs b/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs similarity index 100% rename from src/Generated/Models/ToolChatMessage.Serialization.cs rename to src/Generated/Models/Chat/ToolChatMessage.Serialization.cs diff --git a/src/Generated/Models/ToolChatMessage.cs b/src/Generated/Models/Chat/ToolChatMessage.cs similarity index 100% rename from src/Generated/Models/ToolChatMessage.cs rename to src/Generated/Models/Chat/ToolChatMessage.cs diff --git a/src/Generated/Models/UserChatMessage.Serialization.cs b/src/Generated/Models/Chat/UserChatMessage.Serialization.cs similarity index 100% rename from src/Generated/Models/UserChatMessage.Serialization.cs rename to src/Generated/Models/Chat/UserChatMessage.Serialization.cs diff --git a/src/Generated/Models/UserChatMessage.cs b/src/Generated/Models/Chat/UserChatMessage.cs similarity index 100% rename from src/Generated/Models/UserChatMessage.cs rename to src/Generated/Models/Chat/UserChatMessage.cs diff --git a/src/Generated/Models/InternalContainerFileListResource.Serialization.cs b/src/Generated/Models/Containers/InternalContainerFileListResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalContainerFileListResource.Serialization.cs rename to src/Generated/Models/Containers/InternalContainerFileListResource.Serialization.cs index 43356e275..c9800822d 100644 --- a/src/Generated/Models/InternalContainerFileListResource.Serialization.cs +++ b/src/Generated/Models/Containers/InternalContainerFileListResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalContainerFileListResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalContainerFileListResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalContainerFileListResource DeserializeInternalContainerFi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalContainerFileListResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalContainerFileListResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalContainerFileListResource.cs b/src/Generated/Models/Containers/InternalContainerFileListResource.cs similarity index 100% rename from src/Generated/Models/InternalContainerFileListResource.cs rename to src/Generated/Models/Containers/InternalContainerFileListResource.cs diff --git a/src/Generated/Models/InternalContainerFileResource.Serialization.cs b/src/Generated/Models/Containers/InternalContainerFileResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalContainerFileResource.Serialization.cs rename to src/Generated/Models/Containers/InternalContainerFileResource.Serialization.cs index 2ba733ee9..1b06bd61c 100644 --- a/src/Generated/Models/InternalContainerFileResource.Serialization.cs +++ b/src/Generated/Models/Containers/InternalContainerFileResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -91,7 +89,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalContainerFileResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalContainerFileResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -170,7 +167,6 @@ internal static InternalContainerFileResource DeserializeInternalContainerFileRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -185,7 +181,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalContainerFileResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalContainerFileResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalContainerFileResource.cs b/src/Generated/Models/Containers/InternalContainerFileResource.cs similarity index 100% rename from src/Generated/Models/InternalContainerFileResource.cs rename to src/Generated/Models/Containers/InternalContainerFileResource.cs diff --git a/src/Generated/Models/InternalContainerListResource.Serialization.cs b/src/Generated/Models/Containers/InternalContainerListResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalContainerListResource.Serialization.cs rename to src/Generated/Models/Containers/InternalContainerListResource.Serialization.cs index 403f8e51c..e3903d016 100644 --- a/src/Generated/Models/InternalContainerListResource.Serialization.cs +++ b/src/Generated/Models/Containers/InternalContainerListResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalContainerListResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalContainerListResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalContainerListResource DeserializeInternalContainerListRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalContainerListResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalContainerListResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalContainerListResource.cs b/src/Generated/Models/Containers/InternalContainerListResource.cs similarity index 100% rename from src/Generated/Models/InternalContainerListResource.cs rename to src/Generated/Models/Containers/InternalContainerListResource.cs diff --git a/src/Generated/Models/InternalContainerResource.Serialization.cs b/src/Generated/Models/Containers/InternalContainerResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalContainerResource.Serialization.cs rename to src/Generated/Models/Containers/InternalContainerResource.Serialization.cs index bc5ea226c..5f25abb98 100644 --- a/src/Generated/Models/InternalContainerResource.Serialization.cs +++ b/src/Generated/Models/Containers/InternalContainerResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalContainerResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalContainerResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -162,7 +159,6 @@ internal static InternalContainerResource DeserializeInternalContainerResource(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -177,7 +173,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalContainerResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalContainerResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalContainerResource.cs b/src/Generated/Models/Containers/InternalContainerResource.cs similarity index 100% rename from src/Generated/Models/InternalContainerResource.cs rename to src/Generated/Models/Containers/InternalContainerResource.cs diff --git a/src/Generated/Models/InternalContainerResourceExpiresAfter.Serialization.cs b/src/Generated/Models/Containers/InternalContainerResourceExpiresAfter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalContainerResourceExpiresAfter.Serialization.cs rename to src/Generated/Models/Containers/InternalContainerResourceExpiresAfter.Serialization.cs index 7619ebf84..3c54c0b7d 100644 --- a/src/Generated/Models/InternalContainerResourceExpiresAfter.Serialization.cs +++ b/src/Generated/Models/Containers/InternalContainerResourceExpiresAfter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalContainerResourceExpiresAfter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalContainerResourceExpiresAfter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalContainerResourceExpiresAfter DeserializeInternalContain BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalContainerResourceExpiresAfter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalContainerResourceExpiresAfter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalContainerResourceExpiresAfter.cs b/src/Generated/Models/Containers/InternalContainerResourceExpiresAfter.cs similarity index 100% rename from src/Generated/Models/InternalContainerResourceExpiresAfter.cs rename to src/Generated/Models/Containers/InternalContainerResourceExpiresAfter.cs diff --git a/src/Generated/Models/InternalCreateContainerBody.Serialization.cs b/src/Generated/Models/Containers/InternalCreateContainerBody.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateContainerBody.Serialization.cs rename to src/Generated/Models/Containers/InternalCreateContainerBody.Serialization.cs index fd5408afe..8c391fc1a 100644 --- a/src/Generated/Models/InternalCreateContainerBody.Serialization.cs +++ b/src/Generated/Models/Containers/InternalCreateContainerBody.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +79,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateContainerBody IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateContainerBody JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -148,7 +145,6 @@ internal static InternalCreateContainerBody DeserializeInternalCreateContainerBo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -163,7 +159,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateContainerBody IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateContainerBody PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateContainerBody.cs b/src/Generated/Models/Containers/InternalCreateContainerBody.cs similarity index 100% rename from src/Generated/Models/InternalCreateContainerBody.cs rename to src/Generated/Models/Containers/InternalCreateContainerBody.cs diff --git a/src/Generated/Models/InternalCreateContainerBodyExpiresAfter.Serialization.cs b/src/Generated/Models/Containers/InternalCreateContainerBodyExpiresAfter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateContainerBodyExpiresAfter.Serialization.cs rename to src/Generated/Models/Containers/InternalCreateContainerBodyExpiresAfter.Serialization.cs index 397b7bd65..73308b347 100644 --- a/src/Generated/Models/InternalCreateContainerBodyExpiresAfter.Serialization.cs +++ b/src/Generated/Models/Containers/InternalCreateContainerBodyExpiresAfter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateContainerBodyExpiresAfter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateContainerBodyExpiresAfter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalCreateContainerBodyExpiresAfter DeserializeInternalCreat BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateContainerBodyExpiresAfter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateContainerBodyExpiresAfter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateContainerBodyExpiresAfter.cs b/src/Generated/Models/Containers/InternalCreateContainerBodyExpiresAfter.cs similarity index 100% rename from src/Generated/Models/InternalCreateContainerBodyExpiresAfter.cs rename to src/Generated/Models/Containers/InternalCreateContainerBodyExpiresAfter.cs diff --git a/src/Generated/Models/InternalCreateContainerFileBody.Serialization.cs b/src/Generated/Models/Containers/InternalCreateContainerFileBody.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateContainerFileBody.Serialization.cs rename to src/Generated/Models/Containers/InternalCreateContainerFileBody.Serialization.cs index 4b26ce691..b1281d6b0 100644 --- a/src/Generated/Models/InternalCreateContainerFileBody.Serialization.cs +++ b/src/Generated/Models/Containers/InternalCreateContainerFileBody.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateContainerFileBody IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateContainerFileBody JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalCreateContainerFileBody DeserializeInternalCreateContain BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateContainerFileBody IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateContainerFileBody PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateContainerFileBody.cs b/src/Generated/Models/Containers/InternalCreateContainerFileBody.cs similarity index 100% rename from src/Generated/Models/InternalCreateContainerFileBody.cs rename to src/Generated/Models/Containers/InternalCreateContainerFileBody.cs diff --git a/src/Generated/Models/InternalDeleteContainerFileResponse.Serialization.cs b/src/Generated/Models/Containers/InternalDeleteContainerFileResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDeleteContainerFileResponse.Serialization.cs rename to src/Generated/Models/Containers/InternalDeleteContainerFileResponse.Serialization.cs index 3ccc1bb81..f66468ecd 100644 --- a/src/Generated/Models/InternalDeleteContainerFileResponse.Serialization.cs +++ b/src/Generated/Models/Containers/InternalDeleteContainerFileResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalDeleteContainerFileResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteContainerFileResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalDeleteContainerFileResponse DeserializeInternalDeleteCon BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDeleteContainerFileResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteContainerFileResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDeleteContainerFileResponse.cs b/src/Generated/Models/Containers/InternalDeleteContainerFileResponse.cs similarity index 100% rename from src/Generated/Models/InternalDeleteContainerFileResponse.cs rename to src/Generated/Models/Containers/InternalDeleteContainerFileResponse.cs diff --git a/src/Generated/Models/InternalDeleteContainerResponse.Serialization.cs b/src/Generated/Models/Containers/InternalDeleteContainerResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDeleteContainerResponse.Serialization.cs rename to src/Generated/Models/Containers/InternalDeleteContainerResponse.Serialization.cs index fe5333c58..708fe805e 100644 --- a/src/Generated/Models/InternalDeleteContainerResponse.Serialization.cs +++ b/src/Generated/Models/Containers/InternalDeleteContainerResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalDeleteContainerResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteContainerResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalDeleteContainerResponse DeserializeInternalDeleteContain BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDeleteContainerResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteContainerResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDeleteContainerResponse.cs b/src/Generated/Models/Containers/InternalDeleteContainerResponse.cs similarity index 100% rename from src/Generated/Models/InternalDeleteContainerResponse.cs rename to src/Generated/Models/Containers/InternalDeleteContainerResponse.cs diff --git a/src/Generated/Models/EmbeddingGenerationOptions.Serialization.cs b/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs similarity index 100% rename from src/Generated/Models/EmbeddingGenerationOptions.Serialization.cs rename to src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs diff --git a/src/Generated/Models/EmbeddingGenerationOptions.cs b/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.cs similarity index 100% rename from src/Generated/Models/EmbeddingGenerationOptions.cs rename to src/Generated/Models/Embeddings/EmbeddingGenerationOptions.cs diff --git a/src/Generated/Models/EmbeddingTokenUsage.Serialization.cs b/src/Generated/Models/Embeddings/EmbeddingTokenUsage.Serialization.cs similarity index 100% rename from src/Generated/Models/EmbeddingTokenUsage.Serialization.cs rename to src/Generated/Models/Embeddings/EmbeddingTokenUsage.Serialization.cs diff --git a/src/Generated/Models/EmbeddingTokenUsage.cs b/src/Generated/Models/Embeddings/EmbeddingTokenUsage.cs similarity index 100% rename from src/Generated/Models/EmbeddingTokenUsage.cs rename to src/Generated/Models/Embeddings/EmbeddingTokenUsage.cs diff --git a/src/Generated/Models/InternalCreateEmbeddingRequestEncodingFormat.cs b/src/Generated/Models/Embeddings/InternalCreateEmbeddingRequestEncodingFormat.cs similarity index 100% rename from src/Generated/Models/InternalCreateEmbeddingRequestEncodingFormat.cs rename to src/Generated/Models/Embeddings/InternalCreateEmbeddingRequestEncodingFormat.cs diff --git a/src/Generated/Models/InternalCreateEmbeddingRequestModel.cs b/src/Generated/Models/Embeddings/InternalCreateEmbeddingRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateEmbeddingRequestModel.cs rename to src/Generated/Models/Embeddings/InternalCreateEmbeddingRequestModel.cs diff --git a/src/Generated/Models/OpenAIEmbedding.Serialization.cs b/src/Generated/Models/Embeddings/OpenAIEmbedding.Serialization.cs similarity index 100% rename from src/Generated/Models/OpenAIEmbedding.Serialization.cs rename to src/Generated/Models/Embeddings/OpenAIEmbedding.Serialization.cs diff --git a/src/Generated/Models/OpenAIEmbedding.cs b/src/Generated/Models/Embeddings/OpenAIEmbedding.cs similarity index 100% rename from src/Generated/Models/OpenAIEmbedding.cs rename to src/Generated/Models/Embeddings/OpenAIEmbedding.cs diff --git a/src/Generated/Models/OpenAIEmbeddingCollection.Serialization.cs b/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs similarity index 100% rename from src/Generated/Models/OpenAIEmbeddingCollection.Serialization.cs rename to src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs diff --git a/src/Generated/Models/OpenAIEmbeddingCollection.cs b/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.cs similarity index 100% rename from src/Generated/Models/OpenAIEmbeddingCollection.cs rename to src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.cs diff --git a/src/Generated/Models/InternalCreateEvalRequest.Serialization.cs b/src/Generated/Models/Evals/InternalCreateEvalRequest.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalCreateEvalRequest.Serialization.cs rename to src/Generated/Models/Evals/InternalCreateEvalRequest.Serialization.cs index 24717f3fd..cd4daa0c2 100644 --- a/src/Generated/Models/InternalCreateEvalRequest.Serialization.cs +++ b/src/Generated/Models/Evals/InternalCreateEvalRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +90,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateEvalRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateEvalRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -166,7 +163,6 @@ internal static InternalCreateEvalRequest DeserializeInternalCreateEvalRequest(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -181,7 +177,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateEvalRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateEvalRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateEvalRequest.cs b/src/Generated/Models/Evals/InternalCreateEvalRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateEvalRequest.cs rename to src/Generated/Models/Evals/InternalCreateEvalRequest.cs diff --git a/src/Generated/Models/InternalCreateEvalRunRequest.Serialization.cs b/src/Generated/Models/Evals/InternalCreateEvalRunRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateEvalRunRequest.Serialization.cs rename to src/Generated/Models/Evals/InternalCreateEvalRunRequest.Serialization.cs index 2d3dcb7a4..2aa9b27ec 100644 --- a/src/Generated/Models/InternalCreateEvalRunRequest.Serialization.cs +++ b/src/Generated/Models/Evals/InternalCreateEvalRunRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -82,7 +80,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateEvalRunRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateEvalRunRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +142,6 @@ internal static InternalCreateEvalRunRequest DeserializeInternalCreateEvalRunReq BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -160,7 +156,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateEvalRunRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateEvalRunRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateEvalRunRequest.cs b/src/Generated/Models/Evals/InternalCreateEvalRunRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateEvalRunRequest.cs rename to src/Generated/Models/Evals/InternalCreateEvalRunRequest.cs diff --git a/src/Generated/Models/InternalDeleteEvalResponse.Serialization.cs b/src/Generated/Models/Evals/InternalDeleteEvalResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDeleteEvalResponse.Serialization.cs rename to src/Generated/Models/Evals/InternalDeleteEvalResponse.Serialization.cs index c57917845..074b57d44 100644 --- a/src/Generated/Models/InternalDeleteEvalResponse.Serialization.cs +++ b/src/Generated/Models/Evals/InternalDeleteEvalResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalDeleteEvalResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteEvalResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalDeleteEvalResponse DeserializeInternalDeleteEvalResponse BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDeleteEvalResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteEvalResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDeleteEvalResponse.cs b/src/Generated/Models/Evals/InternalDeleteEvalResponse.cs similarity index 100% rename from src/Generated/Models/InternalDeleteEvalResponse.cs rename to src/Generated/Models/Evals/InternalDeleteEvalResponse.cs diff --git a/src/Generated/Models/InternalDeleteEvalRunResponse.Serialization.cs b/src/Generated/Models/Evals/InternalDeleteEvalRunResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDeleteEvalRunResponse.Serialization.cs rename to src/Generated/Models/Evals/InternalDeleteEvalRunResponse.Serialization.cs index 6e4d5246e..4f0d872cc 100644 --- a/src/Generated/Models/InternalDeleteEvalRunResponse.Serialization.cs +++ b/src/Generated/Models/Evals/InternalDeleteEvalRunResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalDeleteEvalRunResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteEvalRunResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalDeleteEvalRunResponse DeserializeInternalDeleteEvalRunRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDeleteEvalRunResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteEvalRunResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDeleteEvalRunResponse.cs b/src/Generated/Models/Evals/InternalDeleteEvalRunResponse.cs similarity index 100% rename from src/Generated/Models/InternalDeleteEvalRunResponse.cs rename to src/Generated/Models/Evals/InternalDeleteEvalRunResponse.cs diff --git a/src/Generated/Models/InternalEval.Serialization.cs b/src/Generated/Models/Evals/InternalEval.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEval.Serialization.cs rename to src/Generated/Models/Evals/InternalEval.Serialization.cs index f09e65103..f3c2c1a0f 100644 --- a/src/Generated/Models/InternalEval.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEval.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpti writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +119,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEval IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEval JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -227,7 +224,6 @@ internal static InternalEval DeserializeInternalEval(JsonElement element, ModelR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -242,7 +238,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEval IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEval PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEval.cs b/src/Generated/Models/Evals/InternalEval.cs similarity index 100% rename from src/Generated/Models/InternalEval.cs rename to src/Generated/Models/Evals/InternalEval.cs diff --git a/src/Generated/Models/InternalEvalApiError.Serialization.cs b/src/Generated/Models/Evals/InternalEvalApiError.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalApiError.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalApiError.Serialization.cs index 1e2126b6a..1a4f4ae6b 100644 --- a/src/Generated/Models/InternalEvalApiError.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalApiError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalApiError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalApiError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalEvalApiError DeserializeInternalEvalApiError(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalApiError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalApiError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalApiError.cs b/src/Generated/Models/Evals/InternalEvalApiError.cs similarity index 100% rename from src/Generated/Models/InternalEvalApiError.cs rename to src/Generated/Models/Evals/InternalEvalApiError.cs diff --git a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalCompletionsRunDataSourceParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.Serialization.cs index 914786fe2..ba1121a28 100644 --- a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalCompletionsRunDataSourceParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalCompletionsRunDataSourceParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataSourceParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +141,6 @@ internal static InternalEvalCompletionsRunDataSourceParams DeserializeInternalEv BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -159,7 +155,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalCompletionsRunDataSourceParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalCompletionsRunDataSourceParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataSourceParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParams.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalCompletionsRunDataSourceParams.cs rename to src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParams.cs diff --git a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs index a58b3fe29..fd574a31f 100644 --- a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write( writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalCompletionsRunDataSourceParamsInputMessages1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalCompletionsRunDataSourceParamsInputMessages1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +133,6 @@ internal static InternalEvalCompletionsRunDataSourceParamsInputMessages1 Deseria BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +147,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalCompletionsRunDataSourceParamsInputMessages1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalCompletionsRunDataSourceParamsInputMessages1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs similarity index 100% rename from src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs rename to src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages1.cs diff --git a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs index b718e63e2..3402411d2 100644 --- a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write( writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalCompletionsRunDataSourceParamsInputMessages2 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalCompletionsRunDataSourceParamsInputMessages2 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalEvalCompletionsRunDataSourceParamsInputMessages2 Deseria BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalCompletionsRunDataSourceParamsInputMessages2 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalCompletionsRunDataSourceParamsInputMessages2 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs similarity index 100% rename from src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs rename to src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsInputMessages2.cs diff --git a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs index 5821c517f..8e8969d02 100644 --- a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Chat; @@ -22,7 +21,6 @@ void IJsonModel.Write( writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +87,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalCompletionsRunDataSourceParamsSamplingParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalCompletionsRunDataSourceParamsSamplingParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -190,7 +187,6 @@ internal static InternalEvalCompletionsRunDataSourceParamsSamplingParams Deseria BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -205,7 +201,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalCompletionsRunDataSourceParamsSamplingParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalCompletionsRunDataSourceParamsSamplingParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsSamplingParams.cs b/src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalCompletionsRunDataSourceParamsSamplingParams.cs rename to src/Generated/Models/Evals/InternalEvalCompletionsRunDataSourceParamsSamplingParams.cs diff --git a/src/Generated/Models/InternalEvalCustomDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalCustomDataSourceConfigParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.Serialization.cs index 5c7a55e6a..f553dd925 100644 --- a/src/Generated/Models/InternalEvalCustomDataSourceConfigParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -65,7 +63,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalCustomDataSourceConfigParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalCustomDataSourceConfigParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +125,6 @@ internal static InternalEvalCustomDataSourceConfigParams DeserializeInternalEval BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -143,7 +139,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalCustomDataSourceConfigParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalCustomDataSourceConfigParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalCustomDataSourceConfigParams.cs b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalCustomDataSourceConfigParams.cs rename to src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigParams.cs diff --git a/src/Generated/Models/InternalEvalCustomDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalCustomDataSourceConfigResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.Serialization.cs index 8d817fa47..40b420bdf 100644 --- a/src/Generated/Models/InternalEvalCustomDataSourceConfigResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -60,7 +58,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalCustomDataSourceConfigResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalCustomDataSourceConfigResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +110,6 @@ internal static InternalEvalCustomDataSourceConfigResource DeserializeInternalEv BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +124,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalCustomDataSourceConfigResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalCustomDataSourceConfigResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalCustomDataSourceConfigResource.cs b/src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalCustomDataSourceConfigResource.cs rename to src/Generated/Models/Evals/InternalEvalCustomDataSourceConfigResource.cs diff --git a/src/Generated/Models/InternalEvalDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalDataSourceConfigParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.Serialization.cs index f2293d80c..7eae7ad2b 100644 --- a/src/Generated/Models/InternalEvalDataSourceConfigParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalDataSourceConfigParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalDataSourceConfigParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalEvalDataSourceConfigParams DeserializeInternalEvalDataSo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalDataSourceConfigParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalDataSourceConfigParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalDataSourceConfigParams.cs b/src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalDataSourceConfigParams.cs rename to src/Generated/Models/Evals/InternalEvalDataSourceConfigParams.cs diff --git a/src/Generated/Models/InternalEvalDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalDataSourceConfigResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.Serialization.cs index 13fe428d1..83dbe11ee 100644 --- a/src/Generated/Models/InternalEvalDataSourceConfigResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalDataSourceConfigResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalDataSourceConfigResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalEvalDataSourceConfigResource DeserializeInternalEvalData BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalDataSourceConfigResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalDataSourceConfigResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalDataSourceConfigResource.cs b/src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalDataSourceConfigResource.cs rename to src/Generated/Models/Evals/InternalEvalDataSourceConfigResource.cs diff --git a/src/Generated/Models/InternalEvalDataSourceConfigType.cs b/src/Generated/Models/Evals/InternalEvalDataSourceConfigType.cs similarity index 100% rename from src/Generated/Models/InternalEvalDataSourceConfigType.cs rename to src/Generated/Models/Evals/InternalEvalDataSourceConfigType.cs diff --git a/src/Generated/Models/InternalEvalGraderLabelModelParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalGraderLabelModelParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.Serialization.cs index e253136e4..3b7bad63b 100644 --- a/src/Generated/Models/InternalEvalGraderLabelModelParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +98,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderLabelModelParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderLabelModelParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -208,7 +205,6 @@ internal static InternalEvalGraderLabelModelParams DeserializeInternalEvalGrader BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -223,7 +219,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderLabelModelParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderLabelModelParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderLabelModelParams.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderLabelModelParams.cs rename to src/Generated/Models/Evals/InternalEvalGraderLabelModelParams.cs diff --git a/src/Generated/Models/InternalEvalGraderLabelModelParamsInput.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalGraderLabelModelParamsInput.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.Serialization.cs index c407b99f4..66a380d17 100644 --- a/src/Generated/Models/InternalEvalGraderLabelModelParamsInput.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalGraderLabelModelParamsInput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalGraderLabelModelParamsInput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalEvalGraderLabelModelParamsInput DeserializeInternalEvalG BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderLabelModelParamsInput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalGraderLabelModelParamsInput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderLabelModelParamsInput.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderLabelModelParamsInput.cs rename to src/Generated/Models/Evals/InternalEvalGraderLabelModelParamsInput.cs diff --git a/src/Generated/Models/InternalEvalGraderLabelModelResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalGraderLabelModelResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.Serialization.cs index 33c90e58d..fbefea86e 100644 --- a/src/Generated/Models/InternalEvalGraderLabelModelResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +86,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderLabelModelResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderLabelModelResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -189,7 +186,6 @@ internal static InternalEvalGraderLabelModelResource DeserializeInternalEvalGrad BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -204,7 +200,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderLabelModelResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderLabelModelResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderLabelModelResource.cs b/src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderLabelModelResource.cs rename to src/Generated/Models/Evals/InternalEvalGraderLabelModelResource.cs diff --git a/src/Generated/Models/InternalEvalGraderParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalGraderParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderParams.Serialization.cs index 0cb03200d..7b41d8833 100644 --- a/src/Generated/Models/InternalEvalGraderParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderParams.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalGraderParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalGraderParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalEvalGraderParams DeserializeInternalEvalGraderParams(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalGraderParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderParams.cs b/src/Generated/Models/Evals/InternalEvalGraderParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderParams.cs rename to src/Generated/Models/Evals/InternalEvalGraderParams.cs diff --git a/src/Generated/Models/InternalEvalGraderPythonParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderPythonParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalGraderPythonParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderPythonParams.Serialization.cs index 48bbc4818..95b78aadf 100644 --- a/src/Generated/Models/InternalEvalGraderPythonParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderPythonParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -58,7 +56,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderPythonParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderPythonParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -127,7 +124,6 @@ internal static InternalEvalGraderPythonParams DeserializeInternalEvalGraderPyth BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -142,7 +138,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderPythonParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderPythonParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderPythonParams.cs b/src/Generated/Models/Evals/InternalEvalGraderPythonParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderPythonParams.cs rename to src/Generated/Models/Evals/InternalEvalGraderPythonParams.cs diff --git a/src/Generated/Models/InternalEvalGraderPythonResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderPythonResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalGraderPythonResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderPythonResource.Serialization.cs index 5e65941a8..c65c50a86 100644 --- a/src/Generated/Models/InternalEvalGraderPythonResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderPythonResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -58,7 +56,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderPythonResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderPythonResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -127,7 +124,6 @@ internal static InternalEvalGraderPythonResource DeserializeInternalEvalGraderPy BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -142,7 +138,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderPythonResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderPythonResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderPythonResource.cs b/src/Generated/Models/Evals/InternalEvalGraderPythonResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderPythonResource.cs rename to src/Generated/Models/Evals/InternalEvalGraderPythonResource.cs diff --git a/src/Generated/Models/InternalEvalGraderResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalGraderResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderResource.Serialization.cs index d6f62e324..0b0c66081 100644 --- a/src/Generated/Models/InternalEvalGraderResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderResource.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalGraderResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalGraderResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +95,6 @@ internal static InternalEvalGraderResource DeserializeInternalEvalGraderResource BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +109,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalGraderResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderResource.cs b/src/Generated/Models/Evals/InternalEvalGraderResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderResource.cs rename to src/Generated/Models/Evals/InternalEvalGraderResource.cs diff --git a/src/Generated/Models/InternalEvalGraderScoreModelParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalGraderScoreModelParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.Serialization.cs index cedc9adf8..3c6f98891 100644 --- a/src/Generated/Models/InternalEvalGraderScoreModelParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -85,7 +83,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderScoreModelParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderScoreModelParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -186,7 +183,6 @@ internal static InternalEvalGraderScoreModelParams DeserializeInternalEvalGrader BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -201,7 +197,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderScoreModelParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderScoreModelParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderScoreModelParams.cs b/src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderScoreModelParams.cs rename to src/Generated/Models/Evals/InternalEvalGraderScoreModelParams.cs diff --git a/src/Generated/Models/InternalEvalGraderScoreModelResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalGraderScoreModelResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.Serialization.cs index e3217e6b4..f781ccf0e 100644 --- a/src/Generated/Models/InternalEvalGraderScoreModelResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -85,7 +83,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderScoreModelResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderScoreModelResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -186,7 +183,6 @@ internal static InternalEvalGraderScoreModelResource DeserializeInternalEvalGrad BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -201,7 +197,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderScoreModelResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderScoreModelResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderScoreModelResource.cs b/src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalGraderScoreModelResource.cs rename to src/Generated/Models/Evals/InternalEvalGraderScoreModelResource.cs diff --git a/src/Generated/Models/InternalEvalGraderStringCheckParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.Serialization.cs similarity index 95% rename from src/Generated/Models/InternalEvalGraderStringCheckParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.Serialization.cs index 216b48db6..89ad93f61 100644 --- a/src/Generated/Models/InternalEvalGraderStringCheckParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -58,7 +56,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderStringCheckParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderStringCheckParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +78,7 @@ internal static InternalEvalGraderStringCheckParams DeserializeInternalEvalGrade string name = default; string input = default; string reference = default; - InternalEvalGraderStringCheckParamsOperation operation = default; + InternalGraderStringCheckOperation operation = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -106,7 +103,7 @@ internal static InternalEvalGraderStringCheckParams DeserializeInternalEvalGrade } if (prop.NameEquals("operation"u8)) { - operation = new InternalEvalGraderStringCheckParamsOperation(prop.Value.GetString()); + operation = new InternalGraderStringCheckOperation(prop.Value.GetString()); continue; } // Plugin customization: remove options.Format != "W" check @@ -123,7 +120,6 @@ internal static InternalEvalGraderStringCheckParams DeserializeInternalEvalGrade BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -138,7 +134,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderStringCheckParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderStringCheckParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderStringCheckParams.cs b/src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.cs similarity index 78% rename from src/Generated/Models/InternalEvalGraderStringCheckParams.cs rename to src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.cs index c205da9e3..0d86f8a47 100644 --- a/src/Generated/Models/InternalEvalGraderStringCheckParams.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderStringCheckParams.cs @@ -11,7 +11,7 @@ namespace OpenAI.Evals { internal partial class InternalEvalGraderStringCheckParams : InternalEvalGraderParams { - internal InternalEvalGraderStringCheckParams(string name, string input, string reference, InternalEvalGraderStringCheckParamsOperation operation) : base(InternalGraderType.StringCheck) + internal InternalEvalGraderStringCheckParams(string name, string input, string reference, InternalGraderStringCheckOperation operation) : base(InternalGraderType.StringCheck) { Argument.AssertNotNull(name, nameof(name)); Argument.AssertNotNull(input, nameof(input)); @@ -23,7 +23,7 @@ internal InternalEvalGraderStringCheckParams(string name, string input, string r Operation = operation; } - internal InternalEvalGraderStringCheckParams(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalEvalGraderStringCheckParamsOperation operation) : base(kind, additionalBinaryDataProperties) + internal InternalEvalGraderStringCheckParams(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalGraderStringCheckOperation operation) : base(kind, additionalBinaryDataProperties) { Name = name; Input = input; @@ -37,6 +37,6 @@ internal InternalEvalGraderStringCheckParams(InternalGraderType kind, IDictionar public string Reference { get; } - internal InternalEvalGraderStringCheckParamsOperation Operation { get; } + internal InternalGraderStringCheckOperation Operation { get; } } } diff --git a/src/Generated/Models/InternalEvalGraderTextSimilarityParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.Serialization.cs similarity index 94% rename from src/Generated/Models/InternalEvalGraderTextSimilarityParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.Serialization.cs index c9b336d87..961f98b6b 100644 --- a/src/Generated/Models/InternalEvalGraderTextSimilarityParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -63,7 +61,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderTextSimilarityParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderTextSimilarityParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +83,7 @@ internal static InternalEvalGraderTextSimilarityParams DeserializeInternalEvalGr string name = default; string input = default; string reference = default; - InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric = default; + InternalGraderTextSimilarityEvaluationMetric evaluationMetric = default; float passThreshold = default; foreach (var prop in element.EnumerateObject()) { @@ -112,7 +109,7 @@ internal static InternalEvalGraderTextSimilarityParams DeserializeInternalEvalGr } if (prop.NameEquals("evaluation_metric"u8)) { - evaluationMetric = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(prop.Value.GetString()); + evaluationMetric = new InternalGraderTextSimilarityEvaluationMetric(prop.Value.GetString()); continue; } if (prop.NameEquals("pass_threshold"u8)) @@ -135,7 +132,6 @@ internal static InternalEvalGraderTextSimilarityParams DeserializeInternalEvalGr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -150,7 +146,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderTextSimilarityParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderTextSimilarityParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderTextSimilarityParams.cs b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.cs similarity index 75% rename from src/Generated/Models/InternalEvalGraderTextSimilarityParams.cs rename to src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.cs index 71b0ca306..700aebdba 100644 --- a/src/Generated/Models/InternalEvalGraderTextSimilarityParams.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityParams.cs @@ -11,7 +11,7 @@ namespace OpenAI.Evals { internal partial class InternalEvalGraderTextSimilarityParams : InternalEvalGraderParams { - internal InternalEvalGraderTextSimilarityParams(string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric, float passThreshold) : base(InternalGraderType.TextSimilarity) + internal InternalEvalGraderTextSimilarityParams(string name, string input, string reference, InternalGraderTextSimilarityEvaluationMetric evaluationMetric, float passThreshold) : base(InternalGraderType.TextSimilarity) { Argument.AssertNotNull(name, nameof(name)); Argument.AssertNotNull(input, nameof(input)); @@ -24,7 +24,7 @@ internal InternalEvalGraderTextSimilarityParams(string name, string input, strin PassThreshold = passThreshold; } - internal InternalEvalGraderTextSimilarityParams(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric, float passThreshold) : base(kind, additionalBinaryDataProperties) + internal InternalEvalGraderTextSimilarityParams(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalGraderTextSimilarityEvaluationMetric evaluationMetric, float passThreshold) : base(kind, additionalBinaryDataProperties) { Name = name; Input = input; @@ -39,7 +39,7 @@ internal InternalEvalGraderTextSimilarityParams(InternalGraderType kind, IDictio public string Reference { get; } - internal InternalEvalGraderTextSimilarityResourceEvaluationMetric EvaluationMetric { get; } + internal InternalGraderTextSimilarityEvaluationMetric EvaluationMetric { get; } public float PassThreshold { get; } } diff --git a/src/Generated/Models/InternalEvalGraderTextSimilarityResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.Serialization.cs similarity index 94% rename from src/Generated/Models/InternalEvalGraderTextSimilarityResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.Serialization.cs index ffbc618a2..7cf5943ea 100644 --- a/src/Generated/Models/InternalEvalGraderTextSimilarityResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -63,7 +61,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderTextSimilarityResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalGraderTextSimilarityResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +83,7 @@ internal static InternalEvalGraderTextSimilarityResource DeserializeInternalEval string name = default; string input = default; string reference = default; - InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric = default; + InternalGraderTextSimilarityEvaluationMetric evaluationMetric = default; float passThreshold = default; foreach (var prop in element.EnumerateObject()) { @@ -112,7 +109,7 @@ internal static InternalEvalGraderTextSimilarityResource DeserializeInternalEval } if (prop.NameEquals("evaluation_metric"u8)) { - evaluationMetric = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(prop.Value.GetString()); + evaluationMetric = new InternalGraderTextSimilarityEvaluationMetric(prop.Value.GetString()); continue; } if (prop.NameEquals("pass_threshold"u8)) @@ -135,7 +132,6 @@ internal static InternalEvalGraderTextSimilarityResource DeserializeInternalEval BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -150,7 +146,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderTextSimilarityResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalGraderTextSimilarityResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalGraderTextSimilarityResource.cs b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.cs similarity index 71% rename from src/Generated/Models/InternalEvalGraderTextSimilarityResource.cs rename to src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.cs index 32cba108d..d9c9ecbb3 100644 --- a/src/Generated/Models/InternalEvalGraderTextSimilarityResource.cs +++ b/src/Generated/Models/Evals/InternalEvalGraderTextSimilarityResource.cs @@ -10,7 +10,7 @@ namespace OpenAI.Evals { internal partial class InternalEvalGraderTextSimilarityResource : InternalEvalGraderResource { - internal InternalEvalGraderTextSimilarityResource(string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric, float passThreshold) : base(InternalGraderType.TextSimilarity) + internal InternalEvalGraderTextSimilarityResource(string name, string input, string reference, InternalGraderTextSimilarityEvaluationMetric evaluationMetric, float passThreshold) : base(InternalGraderType.TextSimilarity) { Name = name; Input = input; @@ -19,7 +19,7 @@ internal InternalEvalGraderTextSimilarityResource(string name, string input, str PassThreshold = passThreshold; } - internal InternalEvalGraderTextSimilarityResource(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric, float passThreshold) : base(kind, additionalBinaryDataProperties) + internal InternalEvalGraderTextSimilarityResource(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalGraderTextSimilarityEvaluationMetric evaluationMetric, float passThreshold) : base(kind, additionalBinaryDataProperties) { Name = name; Input = input; @@ -34,7 +34,7 @@ internal InternalEvalGraderTextSimilarityResource(InternalGraderType kind, IDict public string Reference { get; } - internal InternalEvalGraderTextSimilarityResourceEvaluationMetric EvaluationMetric { get; } + internal InternalGraderTextSimilarityEvaluationMetric EvaluationMetric { get; } public float PassThreshold { get; } } diff --git a/src/Generated/Models/InternalEvalItem.Serialization.cs b/src/Generated/Models/Evals/InternalEvalItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalItem.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalItem.Serialization.cs index 333db4a77..e91fc6139 100644 --- a/src/Generated/Models/InternalEvalItem.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +76,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -125,7 +122,6 @@ internal static InternalEvalItem DeserializeInternalEvalItem(JsonElement element BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -140,7 +136,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalItem.cs b/src/Generated/Models/Evals/InternalEvalItem.cs similarity index 100% rename from src/Generated/Models/InternalEvalItem.cs rename to src/Generated/Models/Evals/InternalEvalItem.cs diff --git a/src/Generated/Models/InternalEvalItemContent.Serialization.cs b/src/Generated/Models/Evals/InternalEvalItemContent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalEvalItemContent.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalItemContent.Serialization.cs index 5a410415e..1b4c7883a 100644 --- a/src/Generated/Models/InternalEvalItemContent.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalItemContent.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalItemContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalItemContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalEvalItemContent DeserializeInternalEvalItemContent(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalItemContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalItemContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalItemContent.cs b/src/Generated/Models/Evals/InternalEvalItemContent.cs similarity index 100% rename from src/Generated/Models/InternalEvalItemContent.cs rename to src/Generated/Models/Evals/InternalEvalItemContent.cs diff --git a/src/Generated/Models/InternalEvalItemContentInputText.Serialization.cs b/src/Generated/Models/Evals/InternalEvalItemContentInputText.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalEvalItemContentInputText.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalItemContentInputText.Serialization.cs index 186786412..2d7ee5e43 100644 --- a/src/Generated/Models/InternalEvalItemContentInputText.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalItemContentInputText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalItemContentInputText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalItemContentInputText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalItemContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalEvalItemContentInputText DeserializeInternalEvalItemCont BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalItemContentInputText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalItemContentInputText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalItemContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalItemContentInputText.cs b/src/Generated/Models/Evals/InternalEvalItemContentInputText.cs similarity index 100% rename from src/Generated/Models/InternalEvalItemContentInputText.cs rename to src/Generated/Models/Evals/InternalEvalItemContentInputText.cs diff --git a/src/Generated/Models/InternalEvalItemContentOutputText.Serialization.cs b/src/Generated/Models/Evals/InternalEvalItemContentOutputText.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalEvalItemContentOutputText.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalItemContentOutputText.Serialization.cs index 385ea3d71..71c420b45 100644 --- a/src/Generated/Models/InternalEvalItemContentOutputText.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalItemContentOutputText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalItemContentOutputText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalItemContentOutputText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalItemContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalEvalItemContentOutputText DeserializeInternalEvalItemCon BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalItemContentOutputText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalItemContentOutputText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalItemContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalItemContentOutputText.cs b/src/Generated/Models/Evals/InternalEvalItemContentOutputText.cs similarity index 100% rename from src/Generated/Models/InternalEvalItemContentOutputText.cs rename to src/Generated/Models/Evals/InternalEvalItemContentOutputText.cs diff --git a/src/Generated/Models/InternalEvalItemContentType.cs b/src/Generated/Models/Evals/InternalEvalItemContentType.cs similarity index 100% rename from src/Generated/Models/InternalEvalItemContentType.cs rename to src/Generated/Models/Evals/InternalEvalItemContentType.cs diff --git a/src/Generated/Models/InternalEvalItemRole.cs b/src/Generated/Models/Evals/InternalEvalItemRole.cs similarity index 100% rename from src/Generated/Models/InternalEvalItemRole.cs rename to src/Generated/Models/Evals/InternalEvalItemRole.cs diff --git a/src/Generated/Models/InternalEvalJsonlRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalJsonlRunDataSourceParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.Serialization.cs index c299ce50a..33d90a09f 100644 --- a/src/Generated/Models/InternalEvalJsonlRunDataSourceParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -49,7 +47,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalJsonlRunDataSourceParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalJsonlRunDataSourceParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataSourceParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +87,6 @@ internal static InternalEvalJsonlRunDataSourceParams DeserializeInternalEvalJson BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +101,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalJsonlRunDataSourceParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalJsonlRunDataSourceParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataSourceParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalJsonlRunDataSourceParams.cs b/src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalJsonlRunDataSourceParams.cs rename to src/Generated/Models/Evals/InternalEvalJsonlRunDataSourceParams.cs diff --git a/src/Generated/Models/InternalEvalList.Serialization.cs b/src/Generated/Models/Evals/InternalEvalList.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalList.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalList.Serialization.cs index add9c2e1a..467bd927f 100644 --- a/src/Generated/Models/InternalEvalList.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalList.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalList JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalEvalList DeserializeInternalEvalList(JsonElement element BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalList PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalList.cs b/src/Generated/Models/Evals/InternalEvalList.cs similarity index 100% rename from src/Generated/Models/InternalEvalList.cs rename to src/Generated/Models/Evals/InternalEvalList.cs diff --git a/src/Generated/Models/InternalEvalLogsDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalLogsDataSourceConfigParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.Serialization.cs index 9687927cf..b1ef4aeab 100644 --- a/src/Generated/Models/InternalEvalLogsDataSourceConfigParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -49,7 +47,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalLogsDataSourceConfigParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalLogsDataSourceConfigParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -106,7 +103,6 @@ internal static InternalEvalLogsDataSourceConfigParams DeserializeInternalEvalLo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +117,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalLogsDataSourceConfigParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalLogsDataSourceConfigParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalLogsDataSourceConfigParams.cs b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalLogsDataSourceConfigParams.cs rename to src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigParams.cs diff --git a/src/Generated/Models/InternalEvalLogsDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalLogsDataSourceConfigResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.Serialization.cs index 8076e7c2b..ec2724dbf 100644 --- a/src/Generated/Models/InternalEvalLogsDataSourceConfigResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalLogsDataSourceConfigResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalLogsDataSourceConfigResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -159,7 +156,6 @@ internal static InternalEvalLogsDataSourceConfigResource DeserializeInternalEval BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -174,7 +170,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalLogsDataSourceConfigResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalLogsDataSourceConfigResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalLogsDataSourceConfigResource.cs b/src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalLogsDataSourceConfigResource.cs rename to src/Generated/Models/Evals/InternalEvalLogsDataSourceConfigResource.cs diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.Serialization.cs index c17308f47..8986200ba 100644 --- a/src/Generated/Models/InternalEvalResponsesRunDataSourceParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalResponsesRunDataSourceParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalResponsesRunDataSourceParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataSourceParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +141,6 @@ internal static InternalEvalResponsesRunDataSourceParams DeserializeInternalEval BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -159,7 +155,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalResponsesRunDataSourceParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalResponsesRunDataSourceParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataSourceParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParams.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParams.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParams.cs diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs index d4bfc37f2..041e1c45f 100644 --- a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Ut writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalResponsesRunDataSourceParamsInputMessages1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsInputMessages1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +133,6 @@ internal static InternalEvalResponsesRunDataSourceParamsInputMessages1 Deseriali BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +147,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalResponsesRunDataSourceParamsInputMessages1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsInputMessages1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs similarity index 100% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages1.cs diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs index ce1c91647..38dfbaa96 100644 --- a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Ut writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalResponsesRunDataSourceParamsInputMessages2 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsInputMessages2 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalEvalResponsesRunDataSourceParamsInputMessages2 Deseriali BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalResponsesRunDataSourceParamsInputMessages2 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsInputMessages2 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs similarity index 100% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessages2.cs diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs index ef8b8c513..5c039085a 100644 --- a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel. writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1 D BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.cs similarity index 100% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1.cs diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs index 32d0cf95c..04f181800 100644 --- a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Responses; @@ -21,7 +20,6 @@ void IJsonModel.Write(Ut writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +86,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalResponsesRunDataSourceParamsSamplingParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsSamplingParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -189,7 +186,6 @@ internal static InternalEvalResponsesRunDataSourceParamsSamplingParams Deseriali BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -204,7 +200,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalResponsesRunDataSourceParamsSamplingParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsSamplingParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParams.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParams.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParams.cs diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs index af596aff1..45bf44a5e 100644 --- a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Responses; @@ -21,7 +20,6 @@ void IJsonModel.Writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -58,7 +56,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalResponsesRunDataSourceParamsSamplingParamsText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsSamplingParamsText JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -97,7 +94,6 @@ internal static InternalEvalResponsesRunDataSourceParamsSamplingParamsText Deser BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -112,7 +108,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalResponsesRunDataSourceParamsSamplingParamsText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalResponsesRunDataSourceParamsSamplingParamsText PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.cs b/src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.cs similarity index 100% rename from src/Generated/Models/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.cs rename to src/Generated/Models/Evals/InternalEvalResponsesRunDataSourceParamsSamplingParamsText.cs diff --git a/src/Generated/Models/InternalEvalRun.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRun.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalRun.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRun.Serialization.cs index dbaad9c05..adff0abc6 100644 --- a/src/Generated/Models/InternalEvalRun.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRun.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -154,7 +152,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRun IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRun JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -309,7 +306,6 @@ internal static InternalEvalRun DeserializeInternalEvalRun(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -324,7 +320,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRun IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRun PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRun.cs b/src/Generated/Models/Evals/InternalEvalRun.cs similarity index 100% rename from src/Generated/Models/InternalEvalRun.cs rename to src/Generated/Models/Evals/InternalEvalRun.cs diff --git a/src/Generated/Models/InternalEvalRunDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunDataContentSource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunDataContentSource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunDataContentSource.Serialization.cs index 7b1c7f0de..2a0ef6ed0 100644 --- a/src/Generated/Models/InternalEvalRunDataContentSource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunDataContentSource.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunDataContentSource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunDataContentSource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +95,6 @@ internal static InternalEvalRunDataContentSource DeserializeInternalEvalRunDataC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +109,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunDataContentSource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunDataContentSource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunDataContentSource.cs b/src/Generated/Models/Evals/InternalEvalRunDataContentSource.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunDataContentSource.cs rename to src/Generated/Models/Evals/InternalEvalRunDataContentSource.cs diff --git a/src/Generated/Models/InternalEvalRunDataContentSourceType.cs b/src/Generated/Models/Evals/InternalEvalRunDataContentSourceType.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunDataContentSourceType.cs rename to src/Generated/Models/Evals/InternalEvalRunDataContentSourceType.cs diff --git a/src/Generated/Models/InternalEvalRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunDataSourceParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunDataSourceParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunDataSourceParams.Serialization.cs index d8760327d..417c09702 100644 --- a/src/Generated/Models/InternalEvalRunDataSourceParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunDataSourceParams.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunDataSourceParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunDataSourceParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalEvalRunDataSourceParams DeserializeInternalEvalRunDataSo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunDataSourceParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunDataSourceParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunDataSourceParams.cs b/src/Generated/Models/Evals/InternalEvalRunDataSourceParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunDataSourceParams.cs rename to src/Generated/Models/Evals/InternalEvalRunDataSourceParams.cs diff --git a/src/Generated/Models/InternalEvalRunDataSourceResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunDataSourceResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunDataSourceResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunDataSourceResource.Serialization.cs index aaec2a67d..770f9ce81 100644 --- a/src/Generated/Models/InternalEvalRunDataSourceResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunDataSourceResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunDataSourceResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunDataSourceResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalEvalRunDataSourceResource DeserializeInternalEvalRunData BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunDataSourceResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunDataSourceResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunDataSourceResource.cs b/src/Generated/Models/Evals/InternalEvalRunDataSourceResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunDataSourceResource.cs rename to src/Generated/Models/Evals/InternalEvalRunDataSourceResource.cs diff --git a/src/Generated/Models/InternalEvalRunDataSourceType.cs b/src/Generated/Models/Evals/InternalEvalRunDataSourceType.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunDataSourceType.cs rename to src/Generated/Models/Evals/InternalEvalRunDataSourceType.cs diff --git a/src/Generated/Models/InternalEvalRunFileContentDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunFileContentDataContentSource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.Serialization.cs index 8484da391..9c4968a3b 100644 --- a/src/Generated/Models/InternalEvalRunFileContentDataContentSource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalRunFileContentDataContentSource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalRunFileContentDataContentSource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +90,6 @@ internal static InternalEvalRunFileContentDataContentSource DeserializeInternalE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +104,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunFileContentDataContentSource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalRunFileContentDataContentSource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunFileContentDataContentSource.cs b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunFileContentDataContentSource.cs rename to src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSource.cs diff --git a/src/Generated/Models/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs index f9fdef49e..ff742bda3 100644 --- a/src/Generated/Models/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -102,7 +100,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunFileContentDataContentSourceContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunFileContentDataContentSourceContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +168,6 @@ internal static InternalEvalRunFileContentDataContentSourceContent DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -186,7 +182,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunFileContentDataContentSourceContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunFileContentDataContentSourceContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunFileContentDataContentSourceContent.cs b/src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunFileContentDataContentSourceContent.cs rename to src/Generated/Models/Evals/InternalEvalRunFileContentDataContentSourceContent.cs diff --git a/src/Generated/Models/InternalEvalRunFileIdDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalEvalRunFileIdDataContentSource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.Serialization.cs index 14f216f37..c398650b1 100644 --- a/src/Generated/Models/InternalEvalRunFileIdDataContentSource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalRunFileIdDataContentSource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalRunFileIdDataContentSource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalEvalRunFileIdDataContentSource DeserializeInternalEvalRu BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunFileIdDataContentSource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalRunFileIdDataContentSource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunFileIdDataContentSource.cs b/src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunFileIdDataContentSource.cs rename to src/Generated/Models/Evals/InternalEvalRunFileIdDataContentSource.cs diff --git a/src/Generated/Models/InternalEvalRunList.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunList.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunList.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunList.Serialization.cs index f30490806..af0ce4eab 100644 --- a/src/Generated/Models/InternalEvalRunList.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunList.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunList JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalEvalRunList DeserializeInternalEvalRunList(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunList PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunList.cs b/src/Generated/Models/Evals/InternalEvalRunList.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunList.cs rename to src/Generated/Models/Evals/InternalEvalRunList.cs diff --git a/src/Generated/Models/InternalEvalRunOutputItem.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItem.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalRunOutputItem.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItem.Serialization.cs index 186fe20e2..840ec8a0b 100644 --- a/src/Generated/Models/InternalEvalRunOutputItem.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunOutputItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -152,7 +150,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunOutputItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -288,7 +285,6 @@ internal static InternalEvalRunOutputItem DeserializeInternalEvalRunOutputItem(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -303,7 +299,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunOutputItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunOutputItem.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItem.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunOutputItem.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItem.cs diff --git a/src/Generated/Models/InternalEvalRunOutputItemList.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemList.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunOutputItemList.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemList.Serialization.cs index 4786e003c..f008b5504 100644 --- a/src/Generated/Models/InternalEvalRunOutputItemList.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemList.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunOutputItemList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemList JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalEvalRunOutputItemList DeserializeInternalEvalRunOutputIt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunOutputItemList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemList PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunOutputItemList.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemList.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunOutputItemList.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemList.cs diff --git a/src/Generated/Models/InternalEvalRunOutputItemSample.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSample.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalRunOutputItemSample.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemSample.Serialization.cs index 060c0ef60..78a3e6d4f 100644 --- a/src/Generated/Models/InternalEvalRunOutputItemSample.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemSample.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -116,7 +114,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunOutputItemSample IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemSample JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -226,7 +223,6 @@ internal static InternalEvalRunOutputItemSample DeserializeInternalEvalRunOutput BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -241,7 +237,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunOutputItemSample IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemSample PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunOutputItemSample.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSample.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunOutputItemSample.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemSample.cs diff --git a/src/Generated/Models/InternalEvalRunOutputItemSampleInput.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunOutputItemSampleInput.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.Serialization.cs index 771ef4a5d..bd4e887ca 100644 --- a/src/Generated/Models/InternalEvalRunOutputItemSampleInput.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunOutputItemSampleInput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemSampleInput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalEvalRunOutputItemSampleInput DeserializeInternalEvalRunO BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunOutputItemSampleInput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemSampleInput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunOutputItemSampleInput.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunOutputItemSampleInput.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemSampleInput.cs diff --git a/src/Generated/Models/InternalEvalRunOutputItemSampleOutput.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunOutputItemSampleOutput.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.Serialization.cs index 386d5d2b7..3646b6248 100644 --- a/src/Generated/Models/InternalEvalRunOutputItemSampleOutput.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunOutputItemSampleOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemSampleOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalEvalRunOutputItemSampleOutput DeserializeInternalEvalRun BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunOutputItemSampleOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemSampleOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunOutputItemSampleOutput.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunOutputItemSampleOutput.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemSampleOutput.cs diff --git a/src/Generated/Models/InternalEvalRunOutputItemSampleUsage.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunOutputItemSampleUsage.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.Serialization.cs index a39410a00..4261d1e4a 100644 --- a/src/Generated/Models/InternalEvalRunOutputItemSampleUsage.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunOutputItemSampleUsage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemSampleUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalEvalRunOutputItemSampleUsage DeserializeInternalEvalRunO BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunOutputItemSampleUsage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunOutputItemSampleUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunOutputItemSampleUsage.cs b/src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunOutputItemSampleUsage.cs rename to src/Generated/Models/Evals/InternalEvalRunOutputItemSampleUsage.cs diff --git a/src/Generated/Models/InternalEvalRunPerModelUsage.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunPerModelUsage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunPerModelUsage.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunPerModelUsage.Serialization.cs index 717dba759..8df75e0c9 100644 --- a/src/Generated/Models/InternalEvalRunPerModelUsage.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunPerModelUsage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunPerModelUsage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunPerModelUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -158,7 +155,6 @@ internal static InternalEvalRunPerModelUsage DeserializeInternalEvalRunPerModelU BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -173,7 +169,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunPerModelUsage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunPerModelUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunPerModelUsage.cs b/src/Generated/Models/Evals/InternalEvalRunPerModelUsage.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunPerModelUsage.cs rename to src/Generated/Models/Evals/InternalEvalRunPerModelUsage.cs diff --git a/src/Generated/Models/InternalEvalRunPerTestingCriteriaResult.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunPerTestingCriteriaResult.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.Serialization.cs index a051d6d59..309c04941 100644 --- a/src/Generated/Models/InternalEvalRunPerTestingCriteriaResult.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunPerTestingCriteriaResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunPerTestingCriteriaResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalEvalRunPerTestingCriteriaResult DeserializeInternalEvalR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunPerTestingCriteriaResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunPerTestingCriteriaResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunPerTestingCriteriaResult.cs b/src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunPerTestingCriteriaResult.cs rename to src/Generated/Models/Evals/InternalEvalRunPerTestingCriteriaResult.cs diff --git a/src/Generated/Models/InternalEvalRunResponsesDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalRunResponsesDataContentSource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.Serialization.cs index 98e65d489..d7a57a719 100644 --- a/src/Generated/Models/InternalEvalRunResponsesDataContentSource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Chat; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +113,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalRunResponsesDataContentSource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalRunResponsesDataContentSource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -305,7 +302,6 @@ internal static InternalEvalRunResponsesDataContentSource DeserializeInternalEva BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -320,7 +316,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunResponsesDataContentSource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalRunResponsesDataContentSource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunResponsesDataContentSource.cs b/src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunResponsesDataContentSource.cs rename to src/Generated/Models/Evals/InternalEvalRunResponsesDataContentSource.cs diff --git a/src/Generated/Models/InternalEvalRunResultCounts.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunResultCounts.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalRunResultCounts.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunResultCounts.Serialization.cs index ed4d4d4ec..e3406109c 100644 --- a/src/Generated/Models/InternalEvalRunResultCounts.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunResultCounts.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalEvalRunResultCounts IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunResultCounts JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalEvalRunResultCounts DeserializeInternalEvalRunResultCoun BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunResultCounts IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalEvalRunResultCounts PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunResultCounts.cs b/src/Generated/Models/Evals/InternalEvalRunResultCounts.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunResultCounts.cs rename to src/Generated/Models/Evals/InternalEvalRunResultCounts.cs diff --git a/src/Generated/Models/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs index 81b8ec22f..67cc61236 100644 --- a/src/Generated/Models/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -80,7 +78,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalRunStoredCompletionsDataContentSource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalRunStoredCompletionsDataContentSource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -189,7 +186,6 @@ internal static InternalEvalRunStoredCompletionsDataContentSource DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -204,7 +200,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunStoredCompletionsDataContentSource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalRunStoredCompletionsDataContentSource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalRunStoredCompletionsDataContentSource.cs b/src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.cs similarity index 100% rename from src/Generated/Models/InternalEvalRunStoredCompletionsDataContentSource.cs rename to src/Generated/Models/Evals/InternalEvalRunStoredCompletionsDataContentSource.cs diff --git a/src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs index ef03c0035..0ab9c65e3 100644 --- a/src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -56,7 +54,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalStoredCompletionsDataSourceConfigParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalStoredCompletionsDataSourceConfigParams)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +110,6 @@ internal static InternalEvalStoredCompletionsDataSourceConfigParams DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +124,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalStoredCompletionsDataSourceConfigParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalStoredCompletionsDataSourceConfigParams)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigParams.cs b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.cs similarity index 100% rename from src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigParams.cs rename to src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigParams.cs diff --git a/src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs rename to src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs index e95c29834..d3605355a 100644 --- a/src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalStoredCompletionsDataSourceConfigResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalEvalStoredCompletionsDataSourceConfigResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -159,7 +156,6 @@ internal static InternalEvalStoredCompletionsDataSourceConfigResource Deserializ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -174,7 +170,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalStoredCompletionsDataSourceConfigResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalEvalStoredCompletionsDataSourceConfigResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigResource.cs b/src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.cs similarity index 100% rename from src/Generated/Models/InternalEvalStoredCompletionsDataSourceConfigResource.cs rename to src/Generated/Models/Evals/InternalEvalStoredCompletionsDataSourceConfigResource.cs diff --git a/src/Generated/Models/InternalGetEvalRunOutputItemsRequestStatus.cs b/src/Generated/Models/Evals/InternalGetEvalRunOutputItemsRequestStatus.cs similarity index 100% rename from src/Generated/Models/InternalGetEvalRunOutputItemsRequestStatus.cs rename to src/Generated/Models/Evals/InternalGetEvalRunOutputItemsRequestStatus.cs diff --git a/src/Generated/Models/InternalGetEvalRunsRequestStatus.cs b/src/Generated/Models/Evals/InternalGetEvalRunsRequestStatus.cs similarity index 100% rename from src/Generated/Models/InternalGetEvalRunsRequestStatus.cs rename to src/Generated/Models/Evals/InternalGetEvalRunsRequestStatus.cs diff --git a/src/Generated/Models/InternalListEvalsRequestOrderBy.cs b/src/Generated/Models/Evals/InternalListEvalsRequestOrderBy.cs similarity index 100% rename from src/Generated/Models/InternalListEvalsRequestOrderBy.cs rename to src/Generated/Models/Evals/InternalListEvalsRequestOrderBy.cs diff --git a/src/Generated/Models/InternalMetadataPropertyForRequest.Serialization.cs b/src/Generated/Models/Evals/InternalMetadataPropertyForRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMetadataPropertyForRequest.Serialization.cs rename to src/Generated/Models/Evals/InternalMetadataPropertyForRequest.Serialization.cs index e336b0619..605fe02d2 100644 --- a/src/Generated/Models/InternalMetadataPropertyForRequest.Serialization.cs +++ b/src/Generated/Models/Evals/InternalMetadataPropertyForRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMetadataPropertyForRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMetadataPropertyForRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +116,6 @@ internal static InternalMetadataPropertyForRequest DeserializeInternalMetadataPr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +130,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMetadataPropertyForRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMetadataPropertyForRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMetadataPropertyForRequest.cs b/src/Generated/Models/Evals/InternalMetadataPropertyForRequest.cs similarity index 100% rename from src/Generated/Models/InternalMetadataPropertyForRequest.cs rename to src/Generated/Models/Evals/InternalMetadataPropertyForRequest.cs diff --git a/src/Generated/Models/InternalUnknownEvalDataSourceConfigParams.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownEvalDataSourceConfigParams.Serialization.cs rename to src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.Serialization.cs index e45d0eb29..49dbc4e39 100644 --- a/src/Generated/Models/InternalUnknownEvalDataSourceConfigParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalDataSourceConfigParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownEvalDataSourceConfigParams DeserializeInternalUnk BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalDataSourceConfigParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownEvalDataSourceConfigParams.cs b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.cs similarity index 100% rename from src/Generated/Models/InternalUnknownEvalDataSourceConfigParams.cs rename to src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigParams.cs diff --git a/src/Generated/Models/InternalUnknownEvalDataSourceConfigResource.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownEvalDataSourceConfigResource.Serialization.cs rename to src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.Serialization.cs index a600e0067..f2456c7f3 100644 --- a/src/Generated/Models/InternalUnknownEvalDataSourceConfigResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalDataSourceConfigResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownEvalDataSourceConfigResource DeserializeInternalU BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalDataSourceConfigResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalDataSourceConfigResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownEvalDataSourceConfigResource.cs b/src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.cs similarity index 100% rename from src/Generated/Models/InternalUnknownEvalDataSourceConfigResource.cs rename to src/Generated/Models/Evals/InternalUnknownEvalDataSourceConfigResource.cs diff --git a/src/Generated/Models/InternalUnknownEvalGraderParams.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalGraderParams.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownEvalGraderParams.Serialization.cs rename to src/Generated/Models/Evals/InternalUnknownEvalGraderParams.Serialization.cs index 79b5b0672..247d230da 100644 --- a/src/Generated/Models/InternalUnknownEvalGraderParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalUnknownEvalGraderParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -73,7 +70,6 @@ internal static InternalUnknownEvalGraderParams DeserializeInternalUnknownEvalGr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +84,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownEvalGraderParams.cs b/src/Generated/Models/Evals/InternalUnknownEvalGraderParams.cs similarity index 100% rename from src/Generated/Models/InternalUnknownEvalGraderParams.cs rename to src/Generated/Models/Evals/InternalUnknownEvalGraderParams.cs diff --git a/src/Generated/Models/InternalUnknownEvalGraderResource.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalGraderResource.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownEvalGraderResource.Serialization.cs rename to src/Generated/Models/Evals/InternalUnknownEvalGraderResource.Serialization.cs index 7c3ad1259..e7ddff201 100644 --- a/src/Generated/Models/InternalUnknownEvalGraderResource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalUnknownEvalGraderResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalGraderResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -73,7 +70,6 @@ internal static InternalUnknownEvalGraderResource DeserializeInternalUnknownEval BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +84,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalGraderResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalGraderResource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownEvalGraderResource.cs b/src/Generated/Models/Evals/InternalUnknownEvalGraderResource.cs similarity index 100% rename from src/Generated/Models/InternalUnknownEvalGraderResource.cs rename to src/Generated/Models/Evals/InternalUnknownEvalGraderResource.cs diff --git a/src/Generated/Models/InternalUnknownEvalItemContent.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalItemContent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownEvalItemContent.Serialization.cs rename to src/Generated/Models/Evals/InternalUnknownEvalItemContent.Serialization.cs index 34f280ea7..9067b853d 100644 --- a/src/Generated/Models/InternalUnknownEvalItemContent.Serialization.cs +++ b/src/Generated/Models/Evals/InternalUnknownEvalItemContent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalItemContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalItemContent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownEvalItemContent DeserializeInternalUnknownEvalIte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalItemContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalItemContent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownEvalItemContent.cs b/src/Generated/Models/Evals/InternalUnknownEvalItemContent.cs similarity index 100% rename from src/Generated/Models/InternalUnknownEvalItemContent.cs rename to src/Generated/Models/Evals/InternalUnknownEvalItemContent.cs diff --git a/src/Generated/Models/InternalUnknownEvalRunDataContentSource.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownEvalRunDataContentSource.Serialization.cs rename to src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.Serialization.cs index c005495ac..cca717378 100644 --- a/src/Generated/Models/InternalUnknownEvalRunDataContentSource.Serialization.cs +++ b/src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalRunDataContentSource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownEvalRunDataContentSource DeserializeInternalUnkno BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunDataContentSource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataContentSource PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownEvalRunDataContentSource.cs b/src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.cs similarity index 100% rename from src/Generated/Models/InternalUnknownEvalRunDataContentSource.cs rename to src/Generated/Models/Evals/InternalUnknownEvalRunDataContentSource.cs diff --git a/src/Generated/Models/InternalUnknownEvalRunDataSourceParams.Serialization.cs b/src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownEvalRunDataSourceParams.Serialization.cs rename to src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.Serialization.cs index 688b96996..018a2dafd 100644 --- a/src/Generated/Models/InternalUnknownEvalRunDataSourceParams.Serialization.cs +++ b/src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalEvalRunDataSourceParams IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataSourceParams JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownEvalRunDataSourceParams DeserializeInternalUnknow BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalEvalRunDataSourceParams IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalEvalRunDataSourceParams PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownEvalRunDataSourceParams.cs b/src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.cs similarity index 100% rename from src/Generated/Models/InternalUnknownEvalRunDataSourceParams.cs rename to src/Generated/Models/Evals/InternalUnknownEvalRunDataSourceParams.cs diff --git a/src/Generated/Models/InternalUpdateEvalRequest.Serialization.cs b/src/Generated/Models/Evals/InternalUpdateEvalRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalUpdateEvalRequest.Serialization.cs rename to src/Generated/Models/Evals/InternalUpdateEvalRequest.Serialization.cs index f728b3e96..727eb74cf 100644 --- a/src/Generated/Models/InternalUpdateEvalRequest.Serialization.cs +++ b/src/Generated/Models/Evals/InternalUpdateEvalRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalUpdateEvalRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalUpdateEvalRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalUpdateEvalRequest DeserializeInternalUpdateEvalRequest(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalUpdateEvalRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalUpdateEvalRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUpdateEvalRequest.cs b/src/Generated/Models/Evals/InternalUpdateEvalRequest.cs similarity index 100% rename from src/Generated/Models/InternalUpdateEvalRequest.cs rename to src/Generated/Models/Evals/InternalUpdateEvalRequest.cs diff --git a/src/Generated/Models/FileDeletionResult.Serialization.cs b/src/Generated/Models/Files/FileDeletionResult.Serialization.cs similarity index 100% rename from src/Generated/Models/FileDeletionResult.Serialization.cs rename to src/Generated/Models/Files/FileDeletionResult.Serialization.cs diff --git a/src/Generated/Models/FileDeletionResult.cs b/src/Generated/Models/Files/FileDeletionResult.cs similarity index 100% rename from src/Generated/Models/FileDeletionResult.cs rename to src/Generated/Models/Files/FileDeletionResult.cs diff --git a/src/Generated/Models/FilePurpose.Serialization.cs b/src/Generated/Models/Files/FilePurpose.Serialization.cs similarity index 100% rename from src/Generated/Models/FilePurpose.Serialization.cs rename to src/Generated/Models/Files/FilePurpose.Serialization.cs diff --git a/src/Generated/Models/FileStatus.Serialization.cs b/src/Generated/Models/Files/FileStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/FileStatus.Serialization.cs rename to src/Generated/Models/Files/FileStatus.Serialization.cs diff --git a/src/Generated/Models/FileUploadPurpose.cs b/src/Generated/Models/Files/FileUploadPurpose.cs similarity index 100% rename from src/Generated/Models/FileUploadPurpose.cs rename to src/Generated/Models/Files/FileUploadPurpose.cs diff --git a/src/Generated/Models/InternalAddUploadPartRequest.Serialization.cs b/src/Generated/Models/Files/InternalAddUploadPartRequest.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalAddUploadPartRequest.Serialization.cs rename to src/Generated/Models/Files/InternalAddUploadPartRequest.Serialization.cs index e948f2dd0..ee470cd35 100644 --- a/src/Generated/Models/InternalAddUploadPartRequest.Serialization.cs +++ b/src/Generated/Models/Files/InternalAddUploadPartRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalAddUploadPartRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalAddUploadPartRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalAddUploadPartRequest DeserializeInternalAddUploadPartReq BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalAddUploadPartRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalAddUploadPartRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalAddUploadPartRequest.cs b/src/Generated/Models/Files/InternalAddUploadPartRequest.cs similarity index 100% rename from src/Generated/Models/InternalAddUploadPartRequest.cs rename to src/Generated/Models/Files/InternalAddUploadPartRequest.cs diff --git a/src/Generated/Models/InternalCompleteUploadRequest.Serialization.cs b/src/Generated/Models/Files/InternalCompleteUploadRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCompleteUploadRequest.Serialization.cs rename to src/Generated/Models/Files/InternalCompleteUploadRequest.Serialization.cs index 2bc41d386..8a6dc84d5 100644 --- a/src/Generated/Models/InternalCompleteUploadRequest.Serialization.cs +++ b/src/Generated/Models/Files/InternalCompleteUploadRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCompleteUploadRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCompleteUploadRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalCompleteUploadRequest DeserializeInternalCompleteUploadR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCompleteUploadRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCompleteUploadRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCompleteUploadRequest.cs b/src/Generated/Models/Files/InternalCompleteUploadRequest.cs similarity index 100% rename from src/Generated/Models/InternalCompleteUploadRequest.cs rename to src/Generated/Models/Files/InternalCompleteUploadRequest.cs diff --git a/src/Generated/Models/InternalCreateUploadRequest.Serialization.cs b/src/Generated/Models/Files/InternalCreateUploadRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateUploadRequest.Serialization.cs rename to src/Generated/Models/Files/InternalCreateUploadRequest.Serialization.cs index 0864b7923..56d43413a 100644 --- a/src/Generated/Models/InternalCreateUploadRequest.Serialization.cs +++ b/src/Generated/Models/Files/InternalCreateUploadRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateUploadRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateUploadRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalCreateUploadRequest DeserializeInternalCreateUploadReque BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateUploadRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateUploadRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateUploadRequest.cs b/src/Generated/Models/Files/InternalCreateUploadRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateUploadRequest.cs rename to src/Generated/Models/Files/InternalCreateUploadRequest.cs diff --git a/src/Generated/Models/InternalCreateUploadRequestPurpose.cs b/src/Generated/Models/Files/InternalCreateUploadRequestPurpose.cs similarity index 100% rename from src/Generated/Models/InternalCreateUploadRequestPurpose.cs rename to src/Generated/Models/Files/InternalCreateUploadRequestPurpose.cs diff --git a/src/Generated/Models/InternalFileUploadOptions.Serialization.cs b/src/Generated/Models/Files/InternalFileUploadOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFileUploadOptions.Serialization.cs rename to src/Generated/Models/Files/InternalFileUploadOptions.Serialization.cs index c4cbeaff3..635c2e510 100644 --- a/src/Generated/Models/InternalFileUploadOptions.Serialization.cs +++ b/src/Generated/Models/Files/InternalFileUploadOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.IO; using System.Text.Json; using OpenAI; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -70,7 +68,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFileUploadOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFileUploadOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalFileUploadOptions DeserializeInternalFileUploadOptions(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFileUploadOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFileUploadOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFileUploadOptions.cs b/src/Generated/Models/Files/InternalFileUploadOptions.cs similarity index 100% rename from src/Generated/Models/InternalFileUploadOptions.cs rename to src/Generated/Models/Files/InternalFileUploadOptions.cs diff --git a/src/Generated/Models/InternalUpload.Serialization.cs b/src/Generated/Models/Files/InternalUpload.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalUpload.Serialization.cs rename to src/Generated/Models/Files/InternalUpload.Serialization.cs index 93f1711fd..b793b213d 100644 --- a/src/Generated/Models/InternalUpload.Serialization.cs +++ b/src/Generated/Models/Files/InternalUpload.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -101,7 +99,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalUpload IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalUpload JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -199,7 +196,6 @@ internal static InternalUpload DeserializeInternalUpload(JsonElement element, Mo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -214,7 +210,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalUpload IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalUpload PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUpload.cs b/src/Generated/Models/Files/InternalUpload.cs similarity index 100% rename from src/Generated/Models/InternalUpload.cs rename to src/Generated/Models/Files/InternalUpload.cs diff --git a/src/Generated/Models/InternalUploadPart.Serialization.cs b/src/Generated/Models/Files/InternalUploadPart.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalUploadPart.Serialization.cs rename to src/Generated/Models/Files/InternalUploadPart.Serialization.cs index 8bfbc4ebe..8883ad57b 100644 --- a/src/Generated/Models/InternalUploadPart.Serialization.cs +++ b/src/Generated/Models/Files/InternalUploadPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalUploadPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalUploadPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalUploadPart DeserializeInternalUploadPart(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalUploadPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalUploadPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUploadPart.cs b/src/Generated/Models/Files/InternalUploadPart.cs similarity index 100% rename from src/Generated/Models/InternalUploadPart.cs rename to src/Generated/Models/Files/InternalUploadPart.cs diff --git a/src/Generated/Models/InternalUploadStatus.cs b/src/Generated/Models/Files/InternalUploadStatus.cs similarity index 100% rename from src/Generated/Models/InternalUploadStatus.cs rename to src/Generated/Models/Files/InternalUploadStatus.cs diff --git a/src/Generated/Models/OpenAIFile.Serialization.cs b/src/Generated/Models/Files/OpenAIFile.Serialization.cs similarity index 100% rename from src/Generated/Models/OpenAIFile.Serialization.cs rename to src/Generated/Models/Files/OpenAIFile.Serialization.cs diff --git a/src/Generated/Models/OpenAIFile.cs b/src/Generated/Models/Files/OpenAIFile.cs similarity index 100% rename from src/Generated/Models/OpenAIFile.cs rename to src/Generated/Models/Files/OpenAIFile.cs diff --git a/src/Generated/Models/OpenAIFileCollection.Serialization.cs b/src/Generated/Models/Files/OpenAIFileCollection.Serialization.cs similarity index 100% rename from src/Generated/Models/OpenAIFileCollection.Serialization.cs rename to src/Generated/Models/Files/OpenAIFileCollection.Serialization.cs diff --git a/src/Generated/Models/OpenAIFileCollection.cs b/src/Generated/Models/Files/OpenAIFileCollection.cs similarity index 100% rename from src/Generated/Models/OpenAIFileCollection.cs rename to src/Generated/Models/Files/OpenAIFileCollection.cs diff --git a/src/Generated/Models/FineTuningCheckpoint.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningCheckpoint.Serialization.cs similarity index 97% rename from src/Generated/Models/FineTuningCheckpoint.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningCheckpoint.Serialization.cs index a1db46293..314963dd8 100644 --- a/src/Generated/Models/FineTuningCheckpoint.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningCheckpoint.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -91,7 +89,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FineTuningCheckpoint IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FineTuningCheckpoint JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -170,7 +167,6 @@ internal static FineTuningCheckpoint DeserializeFineTuningCheckpoint(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -185,7 +181,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningCheckpoint IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FineTuningCheckpoint PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningCheckpoint.cs b/src/Generated/Models/FineTuning/FineTuningCheckpoint.cs similarity index 95% rename from src/Generated/Models/FineTuningCheckpoint.cs rename to src/Generated/Models/FineTuning/FineTuningCheckpoint.cs index e25c89fa6..2ec46d98d 100644 --- a/src/Generated/Models/FineTuningCheckpoint.cs +++ b/src/Generated/Models/FineTuning/FineTuningCheckpoint.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class FineTuningCheckpoint { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FineTuningCheckpointMetrics.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs similarity index 98% rename from src/Generated/Models/FineTuningCheckpointMetrics.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs index 7fd8deee1..b4c10b5a8 100644 --- a/src/Generated/Models/FineTuningCheckpointMetrics.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FineTuningCheckpointMetrics IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FineTuningCheckpointMetrics JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -194,7 +191,6 @@ internal static FineTuningCheckpointMetrics DeserializeFineTuningCheckpointMetri BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -209,7 +205,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningCheckpointMetrics IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FineTuningCheckpointMetrics PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningCheckpointMetrics.cs b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.cs similarity index 95% rename from src/Generated/Models/FineTuningCheckpointMetrics.cs rename to src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.cs index b9e9dcc07..bfd253b31 100644 --- a/src/Generated/Models/FineTuningCheckpointMetrics.cs +++ b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class FineTuningCheckpointMetrics { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FineTuningError.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningError.Serialization.cs similarity index 97% rename from src/Generated/Models/FineTuningError.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningError.Serialization.cs index b15cd56d6..c76bdffb3 100644 --- a/src/Generated/Models/FineTuningError.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +76,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FineTuningError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FineTuningError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +127,6 @@ internal static FineTuningError DeserializeFineTuningError(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +141,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FineTuningError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningError.cs b/src/Generated/Models/FineTuning/FineTuningError.cs similarity index 94% rename from src/Generated/Models/FineTuningError.cs rename to src/Generated/Models/FineTuning/FineTuningError.cs index bb557fba4..7b1ecde19 100644 --- a/src/Generated/Models/FineTuningError.cs +++ b/src/Generated/Models/FineTuning/FineTuningError.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class FineTuningError { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FineTuningEvent.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/FineTuningEvent.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningEvent.Serialization.cs index 6949f7523..4b5e48385 100644 --- a/src/Generated/Models/FineTuningEvent.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +96,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FineTuningEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FineTuningEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -185,7 +182,6 @@ internal static FineTuningEvent DeserializeFineTuningEvent(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -200,7 +196,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FineTuningEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningEvent.cs b/src/Generated/Models/FineTuning/FineTuningEvent.cs similarity index 95% rename from src/Generated/Models/FineTuningEvent.cs rename to src/Generated/Models/FineTuning/FineTuningEvent.cs index 1839367f6..69e83ce03 100644 --- a/src/Generated/Models/FineTuningEvent.cs +++ b/src/Generated/Models/FineTuning/FineTuningEvent.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class FineTuningEvent { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FineTuningHyperparameters.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs similarity index 98% rename from src/Generated/Models/FineTuningHyperparameters.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs index f16876538..9472a243f 100644 --- a/src/Generated/Models/FineTuningHyperparameters.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +90,6 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions FineTuningHyperparameters IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] private FineTuningHyperparameters JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -152,7 +149,6 @@ internal static FineTuningHyperparameters DeserializeFineTuningHyperparameters(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] private BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -167,7 +163,6 @@ private BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) FineTuningHyperparameters IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] private FineTuningHyperparameters PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningHyperparameters.cs b/src/Generated/Models/FineTuning/FineTuningHyperparameters.cs similarity index 93% rename from src/Generated/Models/FineTuningHyperparameters.cs rename to src/Generated/Models/FineTuning/FineTuningHyperparameters.cs index d63b03e79..5cee791ab 100644 --- a/src/Generated/Models/FineTuningHyperparameters.cs +++ b/src/Generated/Models/FineTuning/FineTuningHyperparameters.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public readonly partial struct FineTuningHyperparameters { private readonly IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FineTuningIntegration.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningIntegration.Serialization.cs similarity index 96% rename from src/Generated/Models/FineTuningIntegration.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningIntegration.Serialization.cs index 089bff598..bbe378975 100644 --- a/src/Generated/Models/FineTuningIntegration.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningIntegration.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FineTuningIntegration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FineTuningIntegration JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static FineTuningIntegration DeserializeFineTuningIntegration(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningIntegration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FineTuningIntegration PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningIntegration.cs b/src/Generated/Models/FineTuning/FineTuningIntegration.cs similarity index 93% rename from src/Generated/Models/FineTuningIntegration.cs rename to src/Generated/Models/FineTuning/FineTuningIntegration.cs index 323e2717d..1c7394e4e 100644 --- a/src/Generated/Models/FineTuningIntegration.cs +++ b/src/Generated/Models/FineTuning/FineTuningIntegration.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class FineTuningIntegration { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FineTuningIntegrationWandbWandb.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.Serialization.cs similarity index 97% rename from src/Generated/Models/FineTuningIntegrationWandbWandb.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.Serialization.cs index 2937d3132..8c45c1645 100644 --- a/src/Generated/Models/FineTuningIntegrationWandbWandb.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FineTuningIntegrationWandbWandb IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FineTuningIntegrationWandbWandb JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -165,7 +162,6 @@ internal static FineTuningIntegrationWandbWandb DeserializeFineTuningIntegration BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -180,7 +176,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningIntegrationWandbWandb IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FineTuningIntegrationWandbWandb PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningIntegrationWandbWandb.cs b/src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.cs similarity index 100% rename from src/Generated/Models/FineTuningIntegrationWandbWandb.cs rename to src/Generated/Models/FineTuning/FineTuningIntegrationWandbWandb.cs diff --git a/src/Generated/Models/FineTuningJobEventKind.cs b/src/Generated/Models/FineTuning/FineTuningJobEventKind.cs similarity index 95% rename from src/Generated/Models/FineTuningJobEventKind.cs rename to src/Generated/Models/FineTuning/FineTuningJobEventKind.cs index 1718f5e67..abdc9231d 100644 --- a/src/Generated/Models/FineTuningJobEventKind.cs +++ b/src/Generated/Models/FineTuning/FineTuningJobEventKind.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public readonly partial struct FineTuningJobEventKind : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/FineTuningJobEventLevel.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningJobEventLevel.Serialization.cs similarity index 100% rename from src/Generated/Models/FineTuningJobEventLevel.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningJobEventLevel.Serialization.cs diff --git a/src/Generated/Models/FineTuningOptions.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningOptions.Serialization.cs similarity index 98% rename from src/Generated/Models/FineTuningOptions.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningOptions.Serialization.cs index dd73bbb88..77e01dfe3 100644 --- a/src/Generated/Models/FineTuningOptions.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +111,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FineTuningOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FineTuningOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -254,7 +251,6 @@ internal static FineTuningOptions DeserializeFineTuningOptions(JsonElement eleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -269,7 +265,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FineTuningOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningOptions.cs b/src/Generated/Models/FineTuning/FineTuningOptions.cs similarity index 95% rename from src/Generated/Models/FineTuningOptions.cs rename to src/Generated/Models/FineTuning/FineTuningOptions.cs index b2590b5f9..1dc51fa41 100644 --- a/src/Generated/Models/FineTuningOptions.cs +++ b/src/Generated/Models/FineTuning/FineTuningOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class FineTuningOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FineTuningStatus.cs b/src/Generated/Models/FineTuning/FineTuningStatus.cs similarity index 96% rename from src/Generated/Models/FineTuningStatus.cs rename to src/Generated/Models/FineTuning/FineTuningStatus.cs index 829405d75..59de5e938 100644 --- a/src/Generated/Models/FineTuningStatus.cs +++ b/src/Generated/Models/FineTuning/FineTuningStatus.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public readonly partial struct FineTuningStatus : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/FineTuningTrainingMethod.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs similarity index 97% rename from src/Generated/Models/FineTuningTrainingMethod.Serialization.cs rename to src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs index 917389894..944ff1b67 100644 --- a/src/Generated/Models/FineTuningTrainingMethod.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FineTuningTrainingMethod IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FineTuningTrainingMethod JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static FineTuningTrainingMethod DeserializeFineTuningTrainingMethod(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningTrainingMethod IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FineTuningTrainingMethod PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FineTuningTrainingMethod.cs b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.cs similarity index 94% rename from src/Generated/Models/FineTuningTrainingMethod.cs rename to src/Generated/Models/FineTuning/FineTuningTrainingMethod.cs index 5fdd89939..d7b0ddf86 100644 --- a/src/Generated/Models/FineTuningTrainingMethod.cs +++ b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class FineTuningTrainingMethod { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/HyperparameterOptions.Serialization.cs b/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/HyperparameterOptions.Serialization.cs rename to src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs index 7d3b5cc5f..41deb45e2 100644 --- a/src/Generated/Models/HyperparameterOptions.Serialization.cs +++ b/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit HyperparameterOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual HyperparameterOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +123,6 @@ internal static HyperparameterOptions DeserializeHyperparameterOptions(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +137,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions HyperparameterOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual HyperparameterOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/HyperparameterOptions.cs b/src/Generated/Models/FineTuning/HyperparameterOptions.cs similarity index 100% rename from src/Generated/Models/HyperparameterOptions.cs rename to src/Generated/Models/FineTuning/HyperparameterOptions.cs diff --git a/src/Generated/Models/HyperparametersForDPO.Serialization.cs b/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs similarity index 97% rename from src/Generated/Models/HyperparametersForDPO.Serialization.cs rename to src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs index bfca88769..f9c3b5e89 100644 --- a/src/Generated/Models/HyperparametersForDPO.Serialization.cs +++ b/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +98,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit HyperparametersForDPO IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual HyperparametersForDPO JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -169,7 +166,6 @@ internal static HyperparametersForDPO DeserializeHyperparametersForDPO(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -184,7 +180,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions HyperparametersForDPO IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual HyperparametersForDPO PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/HyperparametersForDPO.cs b/src/Generated/Models/FineTuning/HyperparametersForDPO.cs similarity index 93% rename from src/Generated/Models/HyperparametersForDPO.cs rename to src/Generated/Models/FineTuning/HyperparametersForDPO.cs index 2932624ce..2cd73b97f 100644 --- a/src/Generated/Models/HyperparametersForDPO.cs +++ b/src/Generated/Models/FineTuning/HyperparametersForDPO.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class HyperparametersForDPO { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/HyperparametersForSupervised.Serialization.cs b/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs similarity index 97% rename from src/Generated/Models/HyperparametersForSupervised.Serialization.cs rename to src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs index 6c6cba3a1..5824cea1d 100644 --- a/src/Generated/Models/HyperparametersForSupervised.Serialization.cs +++ b/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +86,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit HyperparametersForSupervised IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual HyperparametersForSupervised JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -147,7 +144,6 @@ internal static HyperparametersForSupervised DeserializeHyperparametersForSuperv BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -162,7 +158,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions HyperparametersForSupervised IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual HyperparametersForSupervised PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/HyperparametersForSupervised.cs b/src/Generated/Models/FineTuning/HyperparametersForSupervised.cs similarity index 93% rename from src/Generated/Models/HyperparametersForSupervised.cs rename to src/Generated/Models/FineTuning/HyperparametersForSupervised.cs index 8d0e8c6e3..4ab785a17 100644 --- a/src/Generated/Models/HyperparametersForSupervised.cs +++ b/src/Generated/Models/FineTuning/HyperparametersForSupervised.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class HyperparametersForSupervised { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs index a64b5edf8..a905d95d0 100644 --- a/src/Generated/Models/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateFineTuningCheckpointPermissionRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateFineTuningCheckpointPermissionRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalCreateFineTuningCheckpointPermissionRequest DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateFineTuningCheckpointPermissionRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateFineTuningCheckpointPermissionRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateFineTuningCheckpointPermissionRequest.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateFineTuningCheckpointPermissionRequest.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningCheckpointPermissionRequest.cs diff --git a/src/Generated/Models/InternalCreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum.cs similarity index 100% rename from src/Generated/Models/InternalCreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum.cs diff --git a/src/Generated/Models/InternalCreateFineTuningJobRequestHyperparametersBetaChoiceEnum.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestHyperparametersBetaChoiceEnum.cs similarity index 100% rename from src/Generated/Models/InternalCreateFineTuningJobRequestHyperparametersBetaChoiceEnum.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestHyperparametersBetaChoiceEnum.cs diff --git a/src/Generated/Models/InternalCreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum.cs similarity index 100% rename from src/Generated/Models/InternalCreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum.cs diff --git a/src/Generated/Models/InternalCreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum.cs similarity index 100% rename from src/Generated/Models/InternalCreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum.cs diff --git a/src/Generated/Models/InternalCreateFineTuningJobRequestIntegrationType.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestIntegrationType.cs similarity index 100% rename from src/Generated/Models/InternalCreateFineTuningJobRequestIntegrationType.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestIntegrationType.cs diff --git a/src/Generated/Models/InternalCreateFineTuningJobRequestModel.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateFineTuningJobRequestModel.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestModel.cs diff --git a/src/Generated/Models/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs index 7f6516faf..2e616e794 100644 --- a/src/Generated/Models/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(U writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateFineTuningJobRequestWandbIntegrationWandb IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateFineTuningJobRequestWandbIntegrationWandb JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -165,7 +162,6 @@ internal static InternalCreateFineTuningJobRequestWandbIntegrationWandb Deserial BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -180,7 +176,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateFineTuningJobRequestWandbIntegrationWandb IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateFineTuningJobRequestWandbIntegrationWandb PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs similarity index 100% rename from src/Generated/Models/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs rename to src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs diff --git a/src/Generated/Models/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs rename to src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs index 032ad9e45..74cc1decf 100644 --- a/src/Generated/Models/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8 writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalDeleteFineTuningCheckpointPermissionResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteFineTuningCheckpointPermissionResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalDeleteFineTuningCheckpointPermissionResponse Deserialize BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDeleteFineTuningCheckpointPermissionResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalDeleteFineTuningCheckpointPermissionResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDeleteFineTuningCheckpointPermissionResponse.cs b/src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.cs similarity index 100% rename from src/Generated/Models/InternalDeleteFineTuningCheckpointPermissionResponse.cs rename to src/Generated/Models/FineTuning/InternalDeleteFineTuningCheckpointPermissionResponse.cs diff --git a/src/Generated/Models/InternalFineTuneChatCompletionRequestAssistantMessageWeight.cs b/src/Generated/Models/FineTuning/InternalFineTuneChatCompletionRequestAssistantMessageWeight.cs similarity index 100% rename from src/Generated/Models/InternalFineTuneChatCompletionRequestAssistantMessageWeight.cs rename to src/Generated/Models/FineTuning/InternalFineTuneChatCompletionRequestAssistantMessageWeight.cs diff --git a/src/Generated/Models/InternalFineTuneMethodType.cs b/src/Generated/Models/FineTuning/InternalFineTuneMethodType.cs similarity index 100% rename from src/Generated/Models/InternalFineTuneMethodType.cs rename to src/Generated/Models/FineTuning/InternalFineTuneMethodType.cs diff --git a/src/Generated/Models/InternalFineTuneReinforcementHyperparametersReasoningEffort.cs b/src/Generated/Models/FineTuning/InternalFineTuneReinforcementHyperparametersReasoningEffort.cs similarity index 100% rename from src/Generated/Models/InternalFineTuneReinforcementHyperparametersReasoningEffort.cs rename to src/Generated/Models/FineTuning/InternalFineTuneReinforcementHyperparametersReasoningEffort.cs diff --git a/src/Generated/Models/InternalFineTuneReinforcementMethod.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFineTuneReinforcementMethod.Serialization.cs rename to src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.Serialization.cs index 655c33ba4..28ff9919c 100644 --- a/src/Generated/Models/InternalFineTuneReinforcementMethod.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Graders; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +72,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFineTuneReinforcementMethod IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuneReinforcementMethod JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +116,6 @@ internal static InternalFineTuneReinforcementMethod DeserializeInternalFineTuneR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +130,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuneReinforcementMethod IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuneReinforcementMethod PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuneReinforcementMethod.cs b/src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.cs similarity index 100% rename from src/Generated/Models/InternalFineTuneReinforcementMethod.cs rename to src/Generated/Models/FineTuning/InternalFineTuneReinforcementMethod.cs diff --git a/src/Generated/Models/InternalFineTuningCheckpointPermission.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFineTuningCheckpointPermission.Serialization.cs rename to src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.Serialization.cs index fafe704a8..ef6dda545 100644 --- a/src/Generated/Models/InternalFineTuningCheckpointPermission.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFineTuningCheckpointPermission IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningCheckpointPermission JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalFineTuningCheckpointPermission DeserializeInternalFineTu BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuningCheckpointPermission IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningCheckpointPermission PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuningCheckpointPermission.cs b/src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.cs similarity index 100% rename from src/Generated/Models/InternalFineTuningCheckpointPermission.cs rename to src/Generated/Models/FineTuning/InternalFineTuningCheckpointPermission.cs diff --git a/src/Generated/Models/InternalFineTuningIntegration.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningIntegration.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalFineTuningIntegration.Serialization.cs rename to src/Generated/Models/FineTuning/InternalFineTuningIntegration.Serialization.cs index e034f0c81..0ddf175dd 100644 --- a/src/Generated/Models/InternalFineTuningIntegration.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningIntegration.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFineTuningIntegration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningIntegration JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static InternalFineTuningIntegration DeserializeInternalFineTuningInteg BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuningIntegration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningIntegration PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuningIntegration.cs b/src/Generated/Models/FineTuning/InternalFineTuningIntegration.cs similarity index 100% rename from src/Generated/Models/InternalFineTuningIntegration.cs rename to src/Generated/Models/FineTuning/InternalFineTuningIntegration.cs diff --git a/src/Generated/Models/InternalFineTuningIntegrationType.cs b/src/Generated/Models/FineTuning/InternalFineTuningIntegrationType.cs similarity index 100% rename from src/Generated/Models/InternalFineTuningIntegrationType.cs rename to src/Generated/Models/FineTuning/InternalFineTuningIntegrationType.cs diff --git a/src/Generated/Models/InternalFineTuningIntegrationWandb.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalFineTuningIntegrationWandb.Serialization.cs rename to src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.Serialization.cs index 91d210aca..23b3aeb4a 100644 --- a/src/Generated/Models/InternalFineTuningIntegrationWandb.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalFineTuningIntegrationWandb IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFineTuningIntegrationWandb)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalFineTuningIntegration JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalFineTuningIntegrationWandb DeserializeInternalFineTuning BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuningIntegrationWandb IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFineTuningIntegrationWandb)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalFineTuningIntegration PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuningIntegrationWandb.cs b/src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.cs similarity index 100% rename from src/Generated/Models/InternalFineTuningIntegrationWandb.cs rename to src/Generated/Models/FineTuning/InternalFineTuningIntegrationWandb.cs diff --git a/src/Generated/Models/InternalFineTuningJob.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs similarity index 99% rename from src/Generated/Models/InternalFineTuningJob.Serialization.cs rename to src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs index 8b6a8c797..b97c9b880 100644 --- a/src/Generated/Models/InternalFineTuningJob.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -224,7 +222,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFineTuningJob IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningJob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -471,7 +468,6 @@ internal static InternalFineTuningJob DeserializeInternalFineTuningJob(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -486,7 +482,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuningJob IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningJob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuningJob.cs b/src/Generated/Models/FineTuning/InternalFineTuningJob.cs similarity index 100% rename from src/Generated/Models/InternalFineTuningJob.cs rename to src/Generated/Models/FineTuning/InternalFineTuningJob.cs diff --git a/src/Generated/Models/InternalFineTuningJobRequestMethodDpo.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFineTuningJobRequestMethodDpo.Serialization.cs rename to src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.Serialization.cs index 7a9474445..f1e94d598 100644 --- a/src/Generated/Models/InternalFineTuningJobRequestMethodDpo.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFineTuningJobRequestMethodDpo IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningJobRequestMethodDpo JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalFineTuningJobRequestMethodDpo DeserializeInternalFineTun BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuningJobRequestMethodDpo IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningJobRequestMethodDpo PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuningJobRequestMethodDpo.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.cs similarity index 100% rename from src/Generated/Models/InternalFineTuningJobRequestMethodDpo.cs rename to src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodDpo.cs diff --git a/src/Generated/Models/InternalFineTuningJobRequestMethodSupervised.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFineTuningJobRequestMethodSupervised.Serialization.cs rename to src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.Serialization.cs index ec5db34eb..9751bc43d 100644 --- a/src/Generated/Models/InternalFineTuningJobRequestMethodSupervised.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFineTuningJobRequestMethodSupervised IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningJobRequestMethodSupervised JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalFineTuningJobRequestMethodSupervised DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuningJobRequestMethodSupervised IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningJobRequestMethodSupervised PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuningJobRequestMethodSupervised.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.cs similarity index 100% rename from src/Generated/Models/InternalFineTuningJobRequestMethodSupervised.cs rename to src/Generated/Models/FineTuning/InternalFineTuningJobRequestMethodSupervised.cs diff --git a/src/Generated/Models/InternalFineTuningJobsPageToken.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFineTuningJobsPageToken.Serialization.cs rename to src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.Serialization.cs index 17b145f40..e95d81178 100644 --- a/src/Generated/Models/InternalFineTuningJobsPageToken.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFineTuningJobsPageToken IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningJobsPageToken JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalFineTuningJobsPageToken DeserializeInternalFineTuningJob BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuningJobsPageToken IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuningJobsPageToken PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuningJobsPageToken.cs b/src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.cs similarity index 100% rename from src/Generated/Models/InternalFineTuningJobsPageToken.cs rename to src/Generated/Models/FineTuning/InternalFineTuningJobsPageToken.cs diff --git a/src/Generated/Models/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs rename to src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs index 923ff1d6f..ba7dab38c 100644 --- a/src/Generated/Models/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListFineTuningCheckpointPermissionResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListFineTuningCheckpointPermissionResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -166,7 +163,6 @@ internal static InternalListFineTuningCheckpointPermissionResponse DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -181,7 +177,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListFineTuningCheckpointPermissionResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListFineTuningCheckpointPermissionResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListFineTuningCheckpointPermissionResponse.cs b/src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.cs similarity index 100% rename from src/Generated/Models/InternalListFineTuningCheckpointPermissionResponse.cs rename to src/Generated/Models/FineTuning/InternalListFineTuningCheckpointPermissionResponse.cs diff --git a/src/Generated/Models/InternalListFineTuningJobCheckpointsResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalListFineTuningJobCheckpointsResponse.Serialization.cs rename to src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.Serialization.cs index 35c34b8a8..035c35112 100644 --- a/src/Generated/Models/InternalListFineTuningJobCheckpointsResponse.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListFineTuningJobCheckpointsResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListFineTuningJobCheckpointsResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -166,7 +163,6 @@ internal static InternalListFineTuningJobCheckpointsResponse DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -181,7 +177,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListFineTuningJobCheckpointsResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListFineTuningJobCheckpointsResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListFineTuningJobCheckpointsResponse.cs b/src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.cs similarity index 100% rename from src/Generated/Models/InternalListFineTuningJobCheckpointsResponse.cs rename to src/Generated/Models/FineTuning/InternalListFineTuningJobCheckpointsResponse.cs diff --git a/src/Generated/Models/InternalListFineTuningJobEventsResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListFineTuningJobEventsResponse.Serialization.cs rename to src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.Serialization.cs index 866bdab2b..68e008509 100644 --- a/src/Generated/Models/InternalListFineTuningJobEventsResponse.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListFineTuningJobEventsResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListFineTuningJobEventsResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +125,6 @@ internal static InternalListFineTuningJobEventsResponse DeserializeInternalListF BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -143,7 +139,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListFineTuningJobEventsResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListFineTuningJobEventsResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListFineTuningJobEventsResponse.cs b/src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.cs similarity index 100% rename from src/Generated/Models/InternalListFineTuningJobEventsResponse.cs rename to src/Generated/Models/FineTuning/InternalListFineTuningJobEventsResponse.cs diff --git a/src/Generated/Models/InternalListPaginatedFineTuningJobsResponse.Serialization.cs b/src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListPaginatedFineTuningJobsResponse.Serialization.cs rename to src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.Serialization.cs index f4a7df28a..6e9277e4e 100644 --- a/src/Generated/Models/InternalListPaginatedFineTuningJobsResponse.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListPaginatedFineTuningJobsResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListPaginatedFineTuningJobsResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +125,6 @@ internal static InternalListPaginatedFineTuningJobsResponse DeserializeInternalL BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -143,7 +139,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListPaginatedFineTuningJobsResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListPaginatedFineTuningJobsResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListPaginatedFineTuningJobsResponse.cs b/src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.cs similarity index 100% rename from src/Generated/Models/InternalListPaginatedFineTuningJobsResponse.cs rename to src/Generated/Models/FineTuning/InternalListPaginatedFineTuningJobsResponse.cs diff --git a/src/Generated/Models/InternalTodoFineTuneChatRequestInput.Serialization.cs b/src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalTodoFineTuneChatRequestInput.Serialization.cs rename to src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.Serialization.cs index 2520831c7..9a9feb8cf 100644 --- a/src/Generated/Models/InternalTodoFineTuneChatRequestInput.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Chat; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +98,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalTodoFineTuneChatRequestInput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalTodoFineTuneChatRequestInput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -191,7 +188,6 @@ internal static InternalTodoFineTuneChatRequestInput DeserializeInternalTodoFine BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -206,7 +202,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalTodoFineTuneChatRequestInput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalTodoFineTuneChatRequestInput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalTodoFineTuneChatRequestInput.cs b/src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.cs similarity index 100% rename from src/Generated/Models/InternalTodoFineTuneChatRequestInput.cs rename to src/Generated/Models/FineTuning/InternalTodoFineTuneChatRequestInput.cs diff --git a/src/Generated/Models/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs b/src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs rename to src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs index 3a2d4a911..cc1244d18 100644 --- a/src/Generated/Models/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs +++ b/src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri FineTuningIntegration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override FineTuningIntegration JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownCreateFineTuningJobRequestIntegration DeserializeUnknownC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FineTuningIntegration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override FineTuningIntegration PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownCreateFineTuningJobRequestIntegration.cs b/src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.cs similarity index 100% rename from src/Generated/Models/UnknownCreateFineTuningJobRequestIntegration.cs rename to src/Generated/Models/FineTuning/UnknownCreateFineTuningJobRequestIntegration.cs diff --git a/src/Generated/Models/UnknownFineTuningIntegration.Serialization.cs b/src/Generated/Models/FineTuning/UnknownFineTuningIntegration.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownFineTuningIntegration.Serialization.cs rename to src/Generated/Models/FineTuning/UnknownFineTuningIntegration.Serialization.cs index 3066b3c46..5a73d78af 100644 --- a/src/Generated/Models/UnknownFineTuningIntegration.Serialization.cs +++ b/src/Generated/Models/FineTuning/UnknownFineTuningIntegration.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalFineTuningIntegration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalFineTuningIntegration JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownFineTuningIntegration DeserializeUnknownFineTuningIntegra BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuningIntegration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalFineTuningIntegration PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownFineTuningIntegration.cs b/src/Generated/Models/FineTuning/UnknownFineTuningIntegration.cs similarity index 100% rename from src/Generated/Models/UnknownFineTuningIntegration.cs rename to src/Generated/Models/FineTuning/UnknownFineTuningIntegration.cs diff --git a/src/Generated/Models/WeightsAndBiasesIntegration.Serialization.cs b/src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.Serialization.cs similarity index 96% rename from src/Generated/Models/WeightsAndBiasesIntegration.Serialization.cs rename to src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.Serialization.cs index a556332e0..a8625d518 100644 --- a/src/Generated/Models/WeightsAndBiasesIntegration.Serialization.cs +++ b/src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri WeightsAndBiasesIntegration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (WeightsAndBiasesIntegration)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override FineTuningIntegration JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static WeightsAndBiasesIntegration DeserializeWeightsAndBiasesIntegrati BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions WeightsAndBiasesIntegration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (WeightsAndBiasesIntegration)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override FineTuningIntegration PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/WeightsAndBiasesIntegration.cs b/src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.cs similarity index 88% rename from src/Generated/Models/WeightsAndBiasesIntegration.cs rename to src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.cs index 365dcaaba..9b71e1c5a 100644 --- a/src/Generated/Models/WeightsAndBiasesIntegration.cs +++ b/src/Generated/Models/FineTuning/WeightsAndBiasesIntegration.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.FineTuning { + [Experimental("OPENAI001")] public partial class WeightsAndBiasesIntegration : FineTuningIntegration { internal WeightsAndBiasesIntegration(InternalCreateFineTuningJobRequestIntegrationType kind, IDictionary additionalBinaryDataProperties, InternalCreateFineTuningJobRequestWandbIntegrationWandb innerWandb) : base(kind, additionalBinaryDataProperties) diff --git a/src/Generated/Models/InternalFineTuneReinforcementHyperparameters.Serialization.cs b/src/Generated/Models/Graders/InternalFineTuneReinforcementHyperparameters.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalFineTuneReinforcementHyperparameters.Serialization.cs rename to src/Generated/Models/Graders/InternalFineTuneReinforcementHyperparameters.Serialization.cs index 6ddef2122..4dfd94c1b 100644 --- a/src/Generated/Models/InternalFineTuneReinforcementHyperparameters.Serialization.cs +++ b/src/Generated/Models/Graders/InternalFineTuneReinforcementHyperparameters.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.FineTuning; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +128,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFineTuneReinforcementHyperparameters IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuneReinforcementHyperparameters JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -237,7 +234,6 @@ internal static InternalFineTuneReinforcementHyperparameters DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -252,7 +248,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFineTuneReinforcementHyperparameters IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFineTuneReinforcementHyperparameters PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFineTuneReinforcementHyperparameters.cs b/src/Generated/Models/Graders/InternalFineTuneReinforcementHyperparameters.cs similarity index 100% rename from src/Generated/Models/InternalFineTuneReinforcementHyperparameters.cs rename to src/Generated/Models/Graders/InternalFineTuneReinforcementHyperparameters.cs diff --git a/src/Generated/Models/InternalGrader.Serialization.cs b/src/Generated/Models/Graders/InternalGrader.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalGrader.Serialization.cs rename to src/Generated/Models/Graders/InternalGrader.Serialization.cs index 2966f3216..d4de904f2 100644 --- a/src/Generated/Models/InternalGrader.Serialization.cs +++ b/src/Generated/Models/Graders/InternalGrader.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalGrader IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalGrader JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,8 +80,6 @@ internal static InternalGrader DeserializeInternalGrader(JsonElement element, Mo { switch (discriminator.GetString()) { - case "label_model": - return InternalGraderLabelModel.DeserializeInternalGraderLabelModel(element, options); case "string_check": return InternalGraderStringCheck.DeserializeInternalGraderStringCheck(element, options); case "text_similarity": @@ -95,6 +90,8 @@ internal static InternalGrader DeserializeInternalGrader(JsonElement element, Mo return InternalGraderScoreModel.DeserializeInternalGraderScoreModel(element, options); case "multi": return InternalGraderMulti.DeserializeInternalGraderMulti(element, options); + case "label_model": + return InternalGraderLabelModel.DeserializeInternalGraderLabelModel(element, options); } } return InternalUnknownGrader.DeserializeInternalUnknownGrader(element, options); @@ -102,7 +99,6 @@ internal static InternalGrader DeserializeInternalGrader(JsonElement element, Mo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +113,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalGrader IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalGrader PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalGrader.cs b/src/Generated/Models/Graders/InternalGrader.cs similarity index 100% rename from src/Generated/Models/InternalGrader.cs rename to src/Generated/Models/Graders/InternalGrader.cs diff --git a/src/Generated/Models/InternalGraderLabelModel.Serialization.cs b/src/Generated/Models/Graders/InternalGraderLabelModel.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalGraderLabelModel.Serialization.cs rename to src/Generated/Models/Graders/InternalGraderLabelModel.Serialization.cs index 55530df75..0c2ba93ae 100644 --- a/src/Generated/Models/InternalGraderLabelModel.Serialization.cs +++ b/src/Generated/Models/Graders/InternalGraderLabelModel.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Evals; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +86,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalGraderLabelModel IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalGraderLabelModel)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalGrader JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -189,7 +186,6 @@ internal static InternalGraderLabelModel DeserializeInternalGraderLabelModel(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -204,7 +200,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalGraderLabelModel IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalGraderLabelModel)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalGrader PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalGraderLabelModel.cs b/src/Generated/Models/Graders/InternalGraderLabelModel.cs similarity index 100% rename from src/Generated/Models/InternalGraderLabelModel.cs rename to src/Generated/Models/Graders/InternalGraderLabelModel.cs diff --git a/src/Generated/Models/InternalGraderMulti.Serialization.cs b/src/Generated/Models/Graders/InternalGraderMulti.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalGraderMulti.Serialization.cs rename to src/Generated/Models/Graders/InternalGraderMulti.Serialization.cs index 3b8736f84..3b8e6edf5 100644 --- a/src/Generated/Models/InternalGraderMulti.Serialization.cs +++ b/src/Generated/Models/Graders/InternalGraderMulti.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -59,7 +57,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalGraderMulti IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalGraderMulti)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalGrader JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -112,7 +109,6 @@ internal static InternalGraderMulti DeserializeInternalGraderMulti(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -127,7 +123,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalGraderMulti IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalGraderMulti)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalGrader PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalGraderMulti.cs b/src/Generated/Models/Graders/InternalGraderMulti.cs similarity index 100% rename from src/Generated/Models/InternalGraderMulti.cs rename to src/Generated/Models/Graders/InternalGraderMulti.cs diff --git a/src/Generated/Models/InternalGraderPython.Serialization.cs b/src/Generated/Models/Graders/InternalGraderPython.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalGraderPython.Serialization.cs rename to src/Generated/Models/Graders/InternalGraderPython.Serialization.cs index 63572d39e..1413017d8 100644 --- a/src/Generated/Models/InternalGraderPython.Serialization.cs +++ b/src/Generated/Models/Graders/InternalGraderPython.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalGraderPython IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalGraderPython)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalGrader JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +102,6 @@ internal static InternalGraderPython DeserializeInternalGraderPython(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -120,7 +116,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalGraderPython IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalGraderPython)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalGrader PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalGraderPython.cs b/src/Generated/Models/Graders/InternalGraderPython.cs similarity index 100% rename from src/Generated/Models/InternalGraderPython.cs rename to src/Generated/Models/Graders/InternalGraderPython.cs diff --git a/src/Generated/Models/InternalGraderScoreModel.Serialization.cs b/src/Generated/Models/Graders/InternalGraderScoreModel.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalGraderScoreModel.Serialization.cs rename to src/Generated/Models/Graders/InternalGraderScoreModel.Serialization.cs index f5b2c028c..c53ba23bc 100644 --- a/src/Generated/Models/InternalGraderScoreModel.Serialization.cs +++ b/src/Generated/Models/Graders/InternalGraderScoreModel.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Evals; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -80,7 +78,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalGraderScoreModel IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalGraderScoreModel)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalGrader JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -170,7 +167,6 @@ internal static InternalGraderScoreModel DeserializeInternalGraderScoreModel(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -185,7 +181,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalGraderScoreModel IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalGraderScoreModel)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalGrader PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalGraderScoreModel.cs b/src/Generated/Models/Graders/InternalGraderScoreModel.cs similarity index 100% rename from src/Generated/Models/InternalGraderScoreModel.cs rename to src/Generated/Models/Graders/InternalGraderScoreModel.cs diff --git a/src/Generated/Models/InternalGraderStringCheck.Serialization.cs b/src/Generated/Models/Graders/InternalGraderStringCheck.Serialization.cs similarity index 94% rename from src/Generated/Models/InternalGraderStringCheck.Serialization.cs rename to src/Generated/Models/Graders/InternalGraderStringCheck.Serialization.cs index 86ff8cca3..6e5dfa762 100644 --- a/src/Generated/Models/InternalGraderStringCheck.Serialization.cs +++ b/src/Generated/Models/Graders/InternalGraderStringCheck.Serialization.cs @@ -5,10 +5,8 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; -using OpenAI.Evals; namespace OpenAI.Graders { @@ -25,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -58,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalGraderStringCheck IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalGraderStringCheck)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalGrader JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +77,7 @@ internal static InternalGraderStringCheck DeserializeInternalGraderStringCheck(J string name = default; string input = default; string reference = default; - InternalEvalGraderStringCheckParamsOperation operation = default; + InternalGraderStringCheckOperation operation = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -106,7 +102,7 @@ internal static InternalGraderStringCheck DeserializeInternalGraderStringCheck(J } if (prop.NameEquals("operation"u8)) { - operation = new InternalEvalGraderStringCheckParamsOperation(prop.Value.GetString()); + operation = new InternalGraderStringCheckOperation(prop.Value.GetString()); continue; } // Plugin customization: remove options.Format != "W" check @@ -123,7 +119,6 @@ internal static InternalGraderStringCheck DeserializeInternalGraderStringCheck(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -138,7 +133,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalGraderStringCheck IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalGraderStringCheck)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalGrader PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalGraderStringCheck.cs b/src/Generated/Models/Graders/InternalGraderStringCheck.cs similarity index 72% rename from src/Generated/Models/InternalGraderStringCheck.cs rename to src/Generated/Models/Graders/InternalGraderStringCheck.cs index 53831aa9a..47218b744 100644 --- a/src/Generated/Models/InternalGraderStringCheck.cs +++ b/src/Generated/Models/Graders/InternalGraderStringCheck.cs @@ -5,13 +5,12 @@ using System; using System.Collections.Generic; using OpenAI; -using OpenAI.Evals; namespace OpenAI.Graders { internal partial class InternalGraderStringCheck : InternalGrader { - internal InternalGraderStringCheck(string name, string input, string reference, InternalEvalGraderStringCheckParamsOperation operation) : base(InternalGraderType.StringCheck) + internal InternalGraderStringCheck(string name, string input, string reference, InternalGraderStringCheckOperation operation) : base(InternalGraderType.StringCheck) { Argument.AssertNotNull(name, nameof(name)); Argument.AssertNotNull(input, nameof(input)); @@ -23,7 +22,7 @@ internal InternalGraderStringCheck(string name, string input, string reference, Operation = operation; } - internal InternalGraderStringCheck(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalEvalGraderStringCheckParamsOperation operation) : base(kind, additionalBinaryDataProperties) + internal InternalGraderStringCheck(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalGraderStringCheckOperation operation) : base(kind, additionalBinaryDataProperties) { Name = name; Input = input; @@ -37,6 +36,6 @@ internal InternalGraderStringCheck(InternalGraderType kind, IDictionary + +#nullable disable + +using System; +using System.ComponentModel; +using OpenAI; + +namespace OpenAI.Graders +{ + internal readonly partial struct InternalGraderStringCheckOperation : IEquatable + { + private readonly string _value; + private const string EqValue = "eq"; + private const string NeValue = "ne"; + private const string LikeValue = "like"; + private const string IlikeValue = "ilike"; + + public InternalGraderStringCheckOperation(string value) + { + Argument.AssertNotNull(value, nameof(value)); + + _value = value; + } + + internal static InternalGraderStringCheckOperation Eq { get; } = new InternalGraderStringCheckOperation(EqValue); + + internal static InternalGraderStringCheckOperation Ne { get; } = new InternalGraderStringCheckOperation(NeValue); + + internal static InternalGraderStringCheckOperation Like { get; } = new InternalGraderStringCheckOperation(LikeValue); + + internal static InternalGraderStringCheckOperation Ilike { get; } = new InternalGraderStringCheckOperation(IlikeValue); + + public static bool operator ==(InternalGraderStringCheckOperation left, InternalGraderStringCheckOperation right) => left.Equals(right); + + public static bool operator !=(InternalGraderStringCheckOperation left, InternalGraderStringCheckOperation right) => !left.Equals(right); + + public static implicit operator InternalGraderStringCheckOperation(string value) => new InternalGraderStringCheckOperation(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalGraderStringCheckOperation other && Equals(other); + + public bool Equals(InternalGraderStringCheckOperation other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/InternalGraderTextSimilarity.Serialization.cs b/src/Generated/Models/Graders/InternalGraderTextSimilarity.Serialization.cs similarity index 94% rename from src/Generated/Models/InternalGraderTextSimilarity.Serialization.cs rename to src/Generated/Models/Graders/InternalGraderTextSimilarity.Serialization.cs index 1456ddfd2..ab6ad3e0f 100644 --- a/src/Generated/Models/InternalGraderTextSimilarity.Serialization.cs +++ b/src/Generated/Models/Graders/InternalGraderTextSimilarity.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalGraderTextSimilarity IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalGraderTextSimilarity)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalGrader JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -80,7 +77,7 @@ internal static InternalGraderTextSimilarity DeserializeInternalGraderTextSimila string name = default; string input = default; string reference = default; - InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric = default; + InternalGraderTextSimilarityEvaluationMetric evaluationMetric = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -105,7 +102,7 @@ internal static InternalGraderTextSimilarity DeserializeInternalGraderTextSimila } if (prop.NameEquals("evaluation_metric"u8)) { - evaluationMetric = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(prop.Value.GetString()); + evaluationMetric = new InternalGraderTextSimilarityEvaluationMetric(prop.Value.GetString()); continue; } // Plugin customization: remove options.Format != "W" check @@ -122,7 +119,6 @@ internal static InternalGraderTextSimilarity DeserializeInternalGraderTextSimila BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalGraderTextSimilarity IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalGraderTextSimilarity)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalGrader PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalGraderTextSimilarity.cs b/src/Generated/Models/Graders/InternalGraderTextSimilarity.cs similarity index 71% rename from src/Generated/Models/InternalGraderTextSimilarity.cs rename to src/Generated/Models/Graders/InternalGraderTextSimilarity.cs index 08075dfea..cdd30704a 100644 --- a/src/Generated/Models/InternalGraderTextSimilarity.cs +++ b/src/Generated/Models/Graders/InternalGraderTextSimilarity.cs @@ -10,7 +10,7 @@ namespace OpenAI.Graders { internal partial class InternalGraderTextSimilarity : InternalGrader { - internal InternalGraderTextSimilarity(string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric) : base(InternalGraderType.TextSimilarity) + internal InternalGraderTextSimilarity(string name, string input, string reference, InternalGraderTextSimilarityEvaluationMetric evaluationMetric) : base(InternalGraderType.TextSimilarity) { Argument.AssertNotNull(name, nameof(name)); Argument.AssertNotNull(input, nameof(input)); @@ -22,7 +22,7 @@ internal InternalGraderTextSimilarity(string name, string input, string referenc EvaluationMetric = evaluationMetric; } - internal InternalGraderTextSimilarity(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalEvalGraderTextSimilarityResourceEvaluationMetric evaluationMetric) : base(kind, additionalBinaryDataProperties) + internal InternalGraderTextSimilarity(InternalGraderType kind, IDictionary additionalBinaryDataProperties, string name, string input, string reference, InternalGraderTextSimilarityEvaluationMetric evaluationMetric) : base(kind, additionalBinaryDataProperties) { Name = name; Input = input; @@ -36,6 +36,6 @@ internal InternalGraderTextSimilarity(InternalGraderType kind, IDictionary + +#nullable disable + +using System; +using System.ComponentModel; +using OpenAI; + +namespace OpenAI.Graders +{ + internal readonly partial struct InternalGraderTextSimilarityEvaluationMetric : IEquatable + { + private readonly string _value; + private const string FuzzyMatchValue = "fuzzy_match"; + private const string BleuValue = "bleu"; + private const string GleuValue = "gleu"; + private const string MeteorValue = "meteor"; + private const string Rouge1Value = "rouge_1"; + private const string Rouge2Value = "rouge_2"; + private const string Rouge3Value = "rouge_3"; + private const string Rouge4Value = "rouge_4"; + private const string Rouge5Value = "rouge_5"; + private const string RougeLValue = "rouge_l"; + + public InternalGraderTextSimilarityEvaluationMetric(string value) + { + Argument.AssertNotNull(value, nameof(value)); + + _value = value; + } + + internal static InternalGraderTextSimilarityEvaluationMetric FuzzyMatch { get; } = new InternalGraderTextSimilarityEvaluationMetric(FuzzyMatchValue); + + internal static InternalGraderTextSimilarityEvaluationMetric Bleu { get; } = new InternalGraderTextSimilarityEvaluationMetric(BleuValue); + + internal static InternalGraderTextSimilarityEvaluationMetric Gleu { get; } = new InternalGraderTextSimilarityEvaluationMetric(GleuValue); + + internal static InternalGraderTextSimilarityEvaluationMetric Meteor { get; } = new InternalGraderTextSimilarityEvaluationMetric(MeteorValue); + + internal static InternalGraderTextSimilarityEvaluationMetric Rouge1 { get; } = new InternalGraderTextSimilarityEvaluationMetric(Rouge1Value); + + internal static InternalGraderTextSimilarityEvaluationMetric Rouge2 { get; } = new InternalGraderTextSimilarityEvaluationMetric(Rouge2Value); + + internal static InternalGraderTextSimilarityEvaluationMetric Rouge3 { get; } = new InternalGraderTextSimilarityEvaluationMetric(Rouge3Value); + + internal static InternalGraderTextSimilarityEvaluationMetric Rouge4 { get; } = new InternalGraderTextSimilarityEvaluationMetric(Rouge4Value); + + internal static InternalGraderTextSimilarityEvaluationMetric Rouge5 { get; } = new InternalGraderTextSimilarityEvaluationMetric(Rouge5Value); + + internal static InternalGraderTextSimilarityEvaluationMetric RougeL { get; } = new InternalGraderTextSimilarityEvaluationMetric(RougeLValue); + + public static bool operator ==(InternalGraderTextSimilarityEvaluationMetric left, InternalGraderTextSimilarityEvaluationMetric right) => left.Equals(right); + + public static bool operator !=(InternalGraderTextSimilarityEvaluationMetric left, InternalGraderTextSimilarityEvaluationMetric right) => !left.Equals(right); + + public static implicit operator InternalGraderTextSimilarityEvaluationMetric(string value) => new InternalGraderTextSimilarityEvaluationMetric(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalGraderTextSimilarityEvaluationMetric other && Equals(other); + + public bool Equals(InternalGraderTextSimilarityEvaluationMetric other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/InternalGraderType.cs b/src/Generated/Models/Graders/InternalGraderType.cs similarity index 100% rename from src/Generated/Models/InternalGraderType.cs rename to src/Generated/Models/Graders/InternalGraderType.cs diff --git a/src/Generated/Models/InternalRunGraderRequest.Serialization.cs b/src/Generated/Models/Graders/InternalRunGraderRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunGraderRequest.Serialization.cs rename to src/Generated/Models/Graders/InternalRunGraderRequest.Serialization.cs index be7babcf7..bc32bb2a3 100644 --- a/src/Generated/Models/InternalRunGraderRequest.Serialization.cs +++ b/src/Generated/Models/Graders/InternalRunGraderRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -85,7 +83,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunGraderRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunGraderRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +133,6 @@ internal static InternalRunGraderRequest DeserializeInternalRunGraderRequest(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +147,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunGraderRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunGraderRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunGraderRequest.cs b/src/Generated/Models/Graders/InternalRunGraderRequest.cs similarity index 100% rename from src/Generated/Models/InternalRunGraderRequest.cs rename to src/Generated/Models/Graders/InternalRunGraderRequest.cs diff --git a/src/Generated/Models/InternalRunGraderResponse.Serialization.cs b/src/Generated/Models/Graders/InternalRunGraderResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRunGraderResponse.Serialization.cs rename to src/Generated/Models/Graders/InternalRunGraderResponse.Serialization.cs index 918313bc7..c5199852c 100644 --- a/src/Generated/Models/InternalRunGraderResponse.Serialization.cs +++ b/src/Generated/Models/Graders/InternalRunGraderResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +88,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunGraderResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunGraderResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -143,7 +140,6 @@ internal static InternalRunGraderResponse DeserializeInternalRunGraderResponse(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -158,7 +154,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunGraderResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunGraderResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunGraderResponse.cs b/src/Generated/Models/Graders/InternalRunGraderResponse.cs similarity index 100% rename from src/Generated/Models/InternalRunGraderResponse.cs rename to src/Generated/Models/Graders/InternalRunGraderResponse.cs diff --git a/src/Generated/Models/InternalRunGraderResponseMetadata.Serialization.cs b/src/Generated/Models/Graders/InternalRunGraderResponseMetadata.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalRunGraderResponseMetadata.Serialization.cs rename to src/Generated/Models/Graders/InternalRunGraderResponseMetadata.Serialization.cs index 38c39c000..55c841759 100644 --- a/src/Generated/Models/InternalRunGraderResponseMetadata.Serialization.cs +++ b/src/Generated/Models/Graders/InternalRunGraderResponseMetadata.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -112,7 +110,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunGraderResponseMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunGraderResponseMetadata JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -201,7 +198,6 @@ internal static InternalRunGraderResponseMetadata DeserializeInternalRunGraderRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -216,7 +212,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunGraderResponseMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunGraderResponseMetadata PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunGraderResponseMetadata.cs b/src/Generated/Models/Graders/InternalRunGraderResponseMetadata.cs similarity index 100% rename from src/Generated/Models/InternalRunGraderResponseMetadata.cs rename to src/Generated/Models/Graders/InternalRunGraderResponseMetadata.cs diff --git a/src/Generated/Models/InternalRunGraderResponseMetadataErrors.Serialization.cs b/src/Generated/Models/Graders/InternalRunGraderResponseMetadataErrors.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalRunGraderResponseMetadataErrors.Serialization.cs rename to src/Generated/Models/Graders/InternalRunGraderResponseMetadataErrors.Serialization.cs index cc582168f..d48adf2ce 100644 --- a/src/Generated/Models/InternalRunGraderResponseMetadataErrors.Serialization.cs +++ b/src/Generated/Models/Graders/InternalRunGraderResponseMetadataErrors.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -147,7 +145,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRunGraderResponseMetadataErrors IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRunGraderResponseMetadataErrors JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -290,7 +287,6 @@ internal static InternalRunGraderResponseMetadataErrors DeserializeInternalRunGr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -305,7 +301,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRunGraderResponseMetadataErrors IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRunGraderResponseMetadataErrors PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRunGraderResponseMetadataErrors.cs b/src/Generated/Models/Graders/InternalRunGraderResponseMetadataErrors.cs similarity index 100% rename from src/Generated/Models/InternalRunGraderResponseMetadataErrors.cs rename to src/Generated/Models/Graders/InternalRunGraderResponseMetadataErrors.cs diff --git a/src/Generated/Models/InternalUnknownGrader.Serialization.cs b/src/Generated/Models/Graders/InternalUnknownGrader.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownGrader.Serialization.cs rename to src/Generated/Models/Graders/InternalUnknownGrader.Serialization.cs index 096e3bc0c..b51a20da7 100644 --- a/src/Generated/Models/InternalUnknownGrader.Serialization.cs +++ b/src/Generated/Models/Graders/InternalUnknownGrader.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalGrader IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalGrader JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownGrader DeserializeInternalUnknownGrader(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalGrader IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalGrader PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownGrader.cs b/src/Generated/Models/Graders/InternalUnknownGrader.cs similarity index 100% rename from src/Generated/Models/InternalUnknownGrader.cs rename to src/Generated/Models/Graders/InternalUnknownGrader.cs diff --git a/src/Generated/Models/InternalValidateGraderRequest.Serialization.cs b/src/Generated/Models/Graders/InternalValidateGraderRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalValidateGraderRequest.Serialization.cs rename to src/Generated/Models/Graders/InternalValidateGraderRequest.Serialization.cs index a5c80440a..7e5228ef3 100644 --- a/src/Generated/Models/InternalValidateGraderRequest.Serialization.cs +++ b/src/Generated/Models/Graders/InternalValidateGraderRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalValidateGraderRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalValidateGraderRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalValidateGraderRequest DeserializeInternalValidateGraderR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalValidateGraderRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalValidateGraderRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalValidateGraderRequest.cs b/src/Generated/Models/Graders/InternalValidateGraderRequest.cs similarity index 100% rename from src/Generated/Models/InternalValidateGraderRequest.cs rename to src/Generated/Models/Graders/InternalValidateGraderRequest.cs diff --git a/src/Generated/Models/InternalValidateGraderResponse.Serialization.cs b/src/Generated/Models/Graders/InternalValidateGraderResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalValidateGraderResponse.Serialization.cs rename to src/Generated/Models/Graders/InternalValidateGraderResponse.Serialization.cs index ea3a7c8de..9da1c49e7 100644 --- a/src/Generated/Models/InternalValidateGraderResponse.Serialization.cs +++ b/src/Generated/Models/Graders/InternalValidateGraderResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -64,7 +62,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalValidateGraderResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalValidateGraderResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalValidateGraderResponse DeserializeInternalValidateGrader BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalValidateGraderResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalValidateGraderResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalValidateGraderResponse.cs b/src/Generated/Models/Graders/InternalValidateGraderResponse.cs similarity index 100% rename from src/Generated/Models/InternalValidateGraderResponse.cs rename to src/Generated/Models/Graders/InternalValidateGraderResponse.cs diff --git a/src/Generated/Models/GeneratedImage.Serialization.cs b/src/Generated/Models/Images/GeneratedImage.Serialization.cs similarity index 100% rename from src/Generated/Models/GeneratedImage.Serialization.cs rename to src/Generated/Models/Images/GeneratedImage.Serialization.cs diff --git a/src/Generated/Models/GeneratedImage.cs b/src/Generated/Models/Images/GeneratedImage.cs similarity index 100% rename from src/Generated/Models/GeneratedImage.cs rename to src/Generated/Models/Images/GeneratedImage.cs diff --git a/src/Generated/Models/GeneratedImageBackground.cs b/src/Generated/Models/Images/GeneratedImageBackground.cs similarity index 96% rename from src/Generated/Models/GeneratedImageBackground.cs rename to src/Generated/Models/Images/GeneratedImageBackground.cs index 42cc41bcb..5cc89a256 100644 --- a/src/Generated/Models/GeneratedImageBackground.cs +++ b/src/Generated/Models/Images/GeneratedImageBackground.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Images { + [Experimental("OPENAI001")] public readonly partial struct GeneratedImageBackground : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/GeneratedImageCollection.Serialization.cs b/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs similarity index 100% rename from src/Generated/Models/GeneratedImageCollection.Serialization.cs rename to src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs diff --git a/src/Generated/Models/GeneratedImageCollection.cs b/src/Generated/Models/Images/GeneratedImageCollection.cs similarity index 100% rename from src/Generated/Models/GeneratedImageCollection.cs rename to src/Generated/Models/Images/GeneratedImageCollection.cs diff --git a/src/Generated/Models/GeneratedImageFileFormat.cs b/src/Generated/Models/Images/GeneratedImageFileFormat.cs similarity index 96% rename from src/Generated/Models/GeneratedImageFileFormat.cs rename to src/Generated/Models/Images/GeneratedImageFileFormat.cs index 290308230..aeadc8d89 100644 --- a/src/Generated/Models/GeneratedImageFileFormat.cs +++ b/src/Generated/Models/Images/GeneratedImageFileFormat.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Images { + [Experimental("OPENAI001")] public readonly partial struct GeneratedImageFileFormat : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/GeneratedImageFormat.cs b/src/Generated/Models/Images/GeneratedImageFormat.cs similarity index 100% rename from src/Generated/Models/GeneratedImageFormat.cs rename to src/Generated/Models/Images/GeneratedImageFormat.cs diff --git a/src/Generated/Models/GeneratedImageModerationLevel.cs b/src/Generated/Models/Images/GeneratedImageModerationLevel.cs similarity index 96% rename from src/Generated/Models/GeneratedImageModerationLevel.cs rename to src/Generated/Models/Images/GeneratedImageModerationLevel.cs index 083c3c553..c55776921 100644 --- a/src/Generated/Models/GeneratedImageModerationLevel.cs +++ b/src/Generated/Models/Images/GeneratedImageModerationLevel.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Images { + [Experimental("OPENAI001")] public readonly partial struct GeneratedImageModerationLevel : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/GeneratedImageQuality.cs b/src/Generated/Models/Images/GeneratedImageQuality.cs similarity index 100% rename from src/Generated/Models/GeneratedImageQuality.cs rename to src/Generated/Models/Images/GeneratedImageQuality.cs diff --git a/src/Generated/Models/GeneratedImageSize.cs b/src/Generated/Models/Images/GeneratedImageSize.cs similarity index 100% rename from src/Generated/Models/GeneratedImageSize.cs rename to src/Generated/Models/Images/GeneratedImageSize.cs diff --git a/src/Generated/Models/GeneratedImageStyle.cs b/src/Generated/Models/Images/GeneratedImageStyle.cs similarity index 100% rename from src/Generated/Models/GeneratedImageStyle.cs rename to src/Generated/Models/Images/GeneratedImageStyle.cs diff --git a/src/Generated/Models/ImageEditOptions.Serialization.cs b/src/Generated/Models/Images/ImageEditOptions.Serialization.cs similarity index 100% rename from src/Generated/Models/ImageEditOptions.Serialization.cs rename to src/Generated/Models/Images/ImageEditOptions.Serialization.cs diff --git a/src/Generated/Models/ImageEditOptions.cs b/src/Generated/Models/Images/ImageEditOptions.cs similarity index 100% rename from src/Generated/Models/ImageEditOptions.cs rename to src/Generated/Models/Images/ImageEditOptions.cs diff --git a/src/Generated/Models/ImageGenerationOptions.Serialization.cs b/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs similarity index 100% rename from src/Generated/Models/ImageGenerationOptions.Serialization.cs rename to src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs diff --git a/src/Generated/Models/ImageGenerationOptions.cs b/src/Generated/Models/Images/ImageGenerationOptions.cs similarity index 100% rename from src/Generated/Models/ImageGenerationOptions.cs rename to src/Generated/Models/Images/ImageGenerationOptions.cs diff --git a/src/Generated/Models/ImageInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/ImageInputTokenUsageDetails.Serialization.cs rename to src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs index d8db6226f..dcb8b64f0 100644 --- a/src/Generated/Models/ImageInputTokenUsageDetails.Serialization.cs +++ b/src/Generated/Models/Images/ImageInputTokenUsageDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ImageInputTokenUsageDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ImageInputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static ImageInputTokenUsageDetails DeserializeImageInputTokenUsageDetai BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ImageInputTokenUsageDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ImageInputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ImageInputTokenUsageDetails.cs b/src/Generated/Models/Images/ImageInputTokenUsageDetails.cs similarity index 93% rename from src/Generated/Models/ImageInputTokenUsageDetails.cs rename to src/Generated/Models/Images/ImageInputTokenUsageDetails.cs index 53837640a..106cb5e77 100644 --- a/src/Generated/Models/ImageInputTokenUsageDetails.cs +++ b/src/Generated/Models/Images/ImageInputTokenUsageDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Images { + [Experimental("OPENAI001")] public partial class ImageInputTokenUsageDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ImageTokenUsage.Serialization.cs b/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs similarity index 97% rename from src/Generated/Models/ImageTokenUsage.Serialization.cs rename to src/Generated/Models/Images/ImageTokenUsage.Serialization.cs index a2afc166f..87a23db70 100644 --- a/src/Generated/Models/ImageTokenUsage.Serialization.cs +++ b/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ImageTokenUsage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ImageTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static ImageTokenUsage DeserializeImageTokenUsage(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ImageTokenUsage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ImageTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ImageTokenUsage.cs b/src/Generated/Models/Images/ImageTokenUsage.cs similarity index 94% rename from src/Generated/Models/ImageTokenUsage.cs rename to src/Generated/Models/Images/ImageTokenUsage.cs index 78a9e846d..068453002 100644 --- a/src/Generated/Models/ImageTokenUsage.cs +++ b/src/Generated/Models/Images/ImageTokenUsage.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Images { + [Experimental("OPENAI001")] public partial class ImageTokenUsage { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ImageVariationOptions.Serialization.cs b/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs similarity index 100% rename from src/Generated/Models/ImageVariationOptions.Serialization.cs rename to src/Generated/Models/Images/ImageVariationOptions.Serialization.cs diff --git a/src/Generated/Models/ImageVariationOptions.cs b/src/Generated/Models/Images/ImageVariationOptions.cs similarity index 100% rename from src/Generated/Models/ImageVariationOptions.cs rename to src/Generated/Models/Images/ImageVariationOptions.cs diff --git a/src/Generated/Models/InternalCreateImageEditRequestBackground.cs b/src/Generated/Models/Images/InternalCreateImageEditRequestBackground.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageEditRequestBackground.cs rename to src/Generated/Models/Images/InternalCreateImageEditRequestBackground.cs diff --git a/src/Generated/Models/InternalCreateImageEditRequestModel.cs b/src/Generated/Models/Images/InternalCreateImageEditRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageEditRequestModel.cs rename to src/Generated/Models/Images/InternalCreateImageEditRequestModel.cs diff --git a/src/Generated/Models/InternalCreateImageEditRequestQuality.cs b/src/Generated/Models/Images/InternalCreateImageEditRequestQuality.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageEditRequestQuality.cs rename to src/Generated/Models/Images/InternalCreateImageEditRequestQuality.cs diff --git a/src/Generated/Models/InternalCreateImageEditRequestResponseFormat.cs b/src/Generated/Models/Images/InternalCreateImageEditRequestResponseFormat.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageEditRequestResponseFormat.cs rename to src/Generated/Models/Images/InternalCreateImageEditRequestResponseFormat.cs diff --git a/src/Generated/Models/InternalCreateImageEditRequestSize.cs b/src/Generated/Models/Images/InternalCreateImageEditRequestSize.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageEditRequestSize.cs rename to src/Generated/Models/Images/InternalCreateImageEditRequestSize.cs diff --git a/src/Generated/Models/InternalCreateImageRequestModel.cs b/src/Generated/Models/Images/InternalCreateImageRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageRequestModel.cs rename to src/Generated/Models/Images/InternalCreateImageRequestModel.cs diff --git a/src/Generated/Models/InternalCreateImageVariationRequestModel.cs b/src/Generated/Models/Images/InternalCreateImageVariationRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageVariationRequestModel.cs rename to src/Generated/Models/Images/InternalCreateImageVariationRequestModel.cs diff --git a/src/Generated/Models/InternalCreateImageVariationRequestResponseFormat.cs b/src/Generated/Models/Images/InternalCreateImageVariationRequestResponseFormat.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageVariationRequestResponseFormat.cs rename to src/Generated/Models/Images/InternalCreateImageVariationRequestResponseFormat.cs diff --git a/src/Generated/Models/InternalCreateImageVariationRequestSize.cs b/src/Generated/Models/Images/InternalCreateImageVariationRequestSize.cs similarity index 100% rename from src/Generated/Models/InternalCreateImageVariationRequestSize.cs rename to src/Generated/Models/Images/InternalCreateImageVariationRequestSize.cs diff --git a/src/Generated/Models/InternalLogProbProperties.Serialization.cs b/src/Generated/Models/Internal/InternalLogProbProperties.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalLogProbProperties.Serialization.cs rename to src/Generated/Models/Internal/InternalLogProbProperties.Serialization.cs index 9a92a749b..8c8b4a7de 100644 --- a/src/Generated/Models/InternalLogProbProperties.Serialization.cs +++ b/src/Generated/Models/Internal/InternalLogProbProperties.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalLogProbProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalLogProbProperties JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +125,6 @@ internal static InternalLogProbProperties DeserializeInternalLogProbProperties(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -143,7 +139,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLogProbProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalLogProbProperties PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLogProbProperties.cs b/src/Generated/Models/Internal/InternalLogProbProperties.cs similarity index 100% rename from src/Generated/Models/InternalLogProbProperties.cs rename to src/Generated/Models/Internal/InternalLogProbProperties.cs diff --git a/src/Generated/Models/InternalModelIdsShared.cs b/src/Generated/Models/Internal/InternalModelIdsShared.cs similarity index 100% rename from src/Generated/Models/InternalModelIdsShared.cs rename to src/Generated/Models/Internal/InternalModelIdsShared.cs diff --git a/src/Generated/Models/InternalResponseFormat.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormat.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseFormat.Serialization.cs rename to src/Generated/Models/Internal/InternalResponseFormat.Serialization.cs index a1c6411e7..5f9e348ed 100644 --- a/src/Generated/Models/InternalResponseFormat.Serialization.cs +++ b/src/Generated/Models/Internal/InternalResponseFormat.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalResponseFormat IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalResponseFormat DeserializeInternalResponseFormat(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseFormat IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseFormat.cs b/src/Generated/Models/Internal/InternalResponseFormat.cs similarity index 100% rename from src/Generated/Models/InternalResponseFormat.cs rename to src/Generated/Models/Internal/InternalResponseFormat.cs diff --git a/src/Generated/Models/InternalResponseFormatJsonObject.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseFormatJsonObject.Serialization.cs rename to src/Generated/Models/Internal/InternalResponseFormatJsonObject.Serialization.cs index 685569130..c19392c10 100644 --- a/src/Generated/Models/InternalResponseFormatJsonObject.Serialization.cs +++ b/src/Generated/Models/Internal/InternalResponseFormatJsonObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseFormatJsonObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseFormatJsonObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalResponseFormatJsonObject DeserializeInternalResponseForm BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseFormatJsonObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseFormatJsonObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseFormatJsonObject.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonObject.cs similarity index 100% rename from src/Generated/Models/InternalResponseFormatJsonObject.cs rename to src/Generated/Models/Internal/InternalResponseFormatJsonObject.cs diff --git a/src/Generated/Models/InternalResponseFormatJsonSchema.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchema.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseFormatJsonSchema.Serialization.cs rename to src/Generated/Models/Internal/InternalResponseFormatJsonSchema.Serialization.cs index 9214d71aa..14c059411 100644 --- a/src/Generated/Models/InternalResponseFormatJsonSchema.Serialization.cs +++ b/src/Generated/Models/Internal/InternalResponseFormatJsonSchema.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseFormatJsonSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseFormatJsonSchema)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalResponseFormatJsonSchema DeserializeInternalResponseForm BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseFormatJsonSchema IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseFormatJsonSchema)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseFormatJsonSchema.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchema.cs similarity index 100% rename from src/Generated/Models/InternalResponseFormatJsonSchema.cs rename to src/Generated/Models/Internal/InternalResponseFormatJsonSchema.cs diff --git a/src/Generated/Models/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs rename to src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs index f7dea1894..600d2def9 100644 --- a/src/Generated/Models/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs +++ b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalResponseFormatJsonSchemaJsonSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalResponseFormatJsonSchemaJsonSchema JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +142,6 @@ internal static InternalResponseFormatJsonSchemaJsonSchema DeserializeInternalRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -160,7 +156,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseFormatJsonSchemaJsonSchema IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalResponseFormatJsonSchemaJsonSchema PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseFormatJsonSchemaJsonSchema.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.cs similarity index 100% rename from src/Generated/Models/InternalResponseFormatJsonSchemaJsonSchema.cs rename to src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.cs diff --git a/src/Generated/Models/InternalResponseFormatJsonSchemaSchema.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseFormatJsonSchemaSchema.Serialization.cs rename to src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.Serialization.cs index f0dfc3103..d29f3c9d6 100644 --- a/src/Generated/Models/InternalResponseFormatJsonSchemaSchema.Serialization.cs +++ b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -44,7 +42,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalResponseFormatJsonSchemaSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalResponseFormatJsonSchemaSchema JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalResponseFormatJsonSchemaSchema DeserializeInternalRespon BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseFormatJsonSchemaSchema IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalResponseFormatJsonSchemaSchema PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseFormatJsonSchemaSchema.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.cs similarity index 100% rename from src/Generated/Models/InternalResponseFormatJsonSchemaSchema.cs rename to src/Generated/Models/Internal/InternalResponseFormatJsonSchemaSchema.cs diff --git a/src/Generated/Models/InternalResponseFormatText.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatText.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseFormatText.Serialization.cs rename to src/Generated/Models/Internal/InternalResponseFormatText.Serialization.cs index 4fe0cb0cc..269c8edc7 100644 --- a/src/Generated/Models/InternalResponseFormatText.Serialization.cs +++ b/src/Generated/Models/Internal/InternalResponseFormatText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseFormatText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseFormatText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalResponseFormatText DeserializeInternalResponseFormatText BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseFormatText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseFormatText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseFormatText.cs b/src/Generated/Models/Internal/InternalResponseFormatText.cs similarity index 100% rename from src/Generated/Models/InternalResponseFormatText.cs rename to src/Generated/Models/Internal/InternalResponseFormatText.cs diff --git a/src/Generated/Models/InternalResponseFormatType.cs b/src/Generated/Models/Internal/InternalResponseFormatType.cs similarity index 100% rename from src/Generated/Models/InternalResponseFormatType.cs rename to src/Generated/Models/Internal/InternalResponseFormatType.cs diff --git a/src/Generated/Models/InternalServiceTier.cs b/src/Generated/Models/Internal/InternalServiceTier.cs similarity index 100% rename from src/Generated/Models/InternalServiceTier.cs rename to src/Generated/Models/Internal/InternalServiceTier.cs diff --git a/src/Generated/Models/InternalUnknownResponseFormat.Serialization.cs b/src/Generated/Models/Internal/InternalUnknownResponseFormat.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownResponseFormat.Serialization.cs rename to src/Generated/Models/Internal/InternalUnknownResponseFormat.Serialization.cs index 512140d25..535a64c1c 100644 --- a/src/Generated/Models/InternalUnknownResponseFormat.Serialization.cs +++ b/src/Generated/Models/Internal/InternalUnknownResponseFormat.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseFormat IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalResponseFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownResponseFormat DeserializeInternalUnknownResponse BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseFormat IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalResponseFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownResponseFormat.cs b/src/Generated/Models/Internal/InternalUnknownResponseFormat.cs similarity index 100% rename from src/Generated/Models/InternalUnknownResponseFormat.cs rename to src/Generated/Models/Internal/InternalUnknownResponseFormat.cs diff --git a/src/Generated/Models/InternalVoiceIdsShared.cs b/src/Generated/Models/Internal/InternalVoiceIdsShared.cs similarity index 100% rename from src/Generated/Models/InternalVoiceIdsShared.cs rename to src/Generated/Models/Internal/InternalVoiceIdsShared.cs diff --git a/src/Generated/Models/InternalWebSearchContextSize.cs b/src/Generated/Models/Internal/InternalWebSearchContextSize.cs similarity index 100% rename from src/Generated/Models/InternalWebSearchContextSize.cs rename to src/Generated/Models/Internal/InternalWebSearchContextSize.cs diff --git a/src/Generated/Models/InternalWebSearchLocation.Serialization.cs b/src/Generated/Models/Internal/InternalWebSearchLocation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalWebSearchLocation.Serialization.cs rename to src/Generated/Models/Internal/InternalWebSearchLocation.Serialization.cs index 99aeb38ac..f22235c9b 100644 --- a/src/Generated/Models/InternalWebSearchLocation.Serialization.cs +++ b/src/Generated/Models/Internal/InternalWebSearchLocation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalWebSearchLocation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalWebSearchLocation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -125,7 +122,6 @@ internal static InternalWebSearchLocation DeserializeInternalWebSearchLocation(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -140,7 +136,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalWebSearchLocation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalWebSearchLocation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalWebSearchLocation.cs b/src/Generated/Models/Internal/InternalWebSearchLocation.cs similarity index 100% rename from src/Generated/Models/InternalWebSearchLocation.cs rename to src/Generated/Models/Internal/InternalWebSearchLocation.cs diff --git a/src/Generated/Models/OpenAIError.Serialization.cs b/src/Generated/Models/Internal/OpenAIError.Serialization.cs similarity index 97% rename from src/Generated/Models/OpenAIError.Serialization.cs rename to src/Generated/Models/Internal/OpenAIError.Serialization.cs index 8d5fe8a98..2857752df 100644 --- a/src/Generated/Models/OpenAIError.Serialization.cs +++ b/src/Generated/Models/Internal/OpenAIError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptio writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +88,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit OpenAIError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual OpenAIError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -153,7 +150,6 @@ internal static OpenAIError DeserializeOpenAIError(JsonElement element, ModelRea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -168,7 +164,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions OpenAIError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual OpenAIError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/OpenAIError.cs b/src/Generated/Models/Internal/OpenAIError.cs similarity index 100% rename from src/Generated/Models/OpenAIError.cs rename to src/Generated/Models/Internal/OpenAIError.cs diff --git a/src/Generated/Models/OpenAIErrorResponse.Serialization.cs b/src/Generated/Models/Internal/OpenAIErrorResponse.Serialization.cs similarity index 96% rename from src/Generated/Models/OpenAIErrorResponse.Serialization.cs rename to src/Generated/Models/Internal/OpenAIErrorResponse.Serialization.cs index 3f543f557..bdded8a68 100644 --- a/src/Generated/Models/OpenAIErrorResponse.Serialization.cs +++ b/src/Generated/Models/Internal/OpenAIErrorResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit OpenAIErrorResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual OpenAIErrorResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static OpenAIErrorResponse DeserializeOpenAIErrorResponse(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions OpenAIErrorResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual OpenAIErrorResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/OpenAIErrorResponse.cs b/src/Generated/Models/Internal/OpenAIErrorResponse.cs similarity index 100% rename from src/Generated/Models/OpenAIErrorResponse.cs rename to src/Generated/Models/Internal/OpenAIErrorResponse.cs diff --git a/src/Generated/Models/InternalEvalGraderStringCheckParamsOperation.cs b/src/Generated/Models/InternalEvalGraderStringCheckParamsOperation.cs deleted file mode 100644 index 3d3f3b715..000000000 --- a/src/Generated/Models/InternalEvalGraderStringCheckParamsOperation.cs +++ /dev/null @@ -1,50 +0,0 @@ -// - -#nullable disable - -using System; -using System.ComponentModel; -using OpenAI; - -namespace OpenAI.Evals -{ - internal readonly partial struct InternalEvalGraderStringCheckParamsOperation : IEquatable - { - private readonly string _value; - private const string EqValue = "eq"; - private const string NeValue = "ne"; - private const string LikeValue = "like"; - private const string IlikeValue = "ilike"; - - public InternalEvalGraderStringCheckParamsOperation(string value) - { - Argument.AssertNotNull(value, nameof(value)); - - _value = value; - } - - internal static InternalEvalGraderStringCheckParamsOperation Eq { get; } = new InternalEvalGraderStringCheckParamsOperation(EqValue); - - internal static InternalEvalGraderStringCheckParamsOperation Ne { get; } = new InternalEvalGraderStringCheckParamsOperation(NeValue); - - internal static InternalEvalGraderStringCheckParamsOperation Like { get; } = new InternalEvalGraderStringCheckParamsOperation(LikeValue); - - internal static InternalEvalGraderStringCheckParamsOperation Ilike { get; } = new InternalEvalGraderStringCheckParamsOperation(IlikeValue); - - public static bool operator ==(InternalEvalGraderStringCheckParamsOperation left, InternalEvalGraderStringCheckParamsOperation right) => left.Equals(right); - - public static bool operator !=(InternalEvalGraderStringCheckParamsOperation left, InternalEvalGraderStringCheckParamsOperation right) => !left.Equals(right); - - public static implicit operator InternalEvalGraderStringCheckParamsOperation(string value) => new InternalEvalGraderStringCheckParamsOperation(value); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is InternalEvalGraderStringCheckParamsOperation other && Equals(other); - - public bool Equals(InternalEvalGraderStringCheckParamsOperation other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - - public override string ToString() => _value; - } -} diff --git a/src/Generated/Models/InternalEvalGraderTextSimilarityResourceEvaluationMetric.cs b/src/Generated/Models/InternalEvalGraderTextSimilarityResourceEvaluationMetric.cs deleted file mode 100644 index 4a7fbc169..000000000 --- a/src/Generated/Models/InternalEvalGraderTextSimilarityResourceEvaluationMetric.cs +++ /dev/null @@ -1,68 +0,0 @@ -// - -#nullable disable - -using System; -using System.ComponentModel; -using OpenAI; - -namespace OpenAI.Graders -{ - internal readonly partial struct InternalEvalGraderTextSimilarityResourceEvaluationMetric : IEquatable - { - private readonly string _value; - private const string FuzzyMatchValue = "fuzzy_match"; - private const string BleuValue = "bleu"; - private const string GleuValue = "gleu"; - private const string MeteorValue = "meteor"; - private const string Rouge1Value = "rouge_1"; - private const string Rouge2Value = "rouge_2"; - private const string Rouge3Value = "rouge_3"; - private const string Rouge4Value = "rouge_4"; - private const string Rouge5Value = "rouge_5"; - private const string RougeLValue = "rouge_l"; - - public InternalEvalGraderTextSimilarityResourceEvaluationMetric(string value) - { - Argument.AssertNotNull(value, nameof(value)); - - _value = value; - } - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric FuzzyMatch { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(FuzzyMatchValue); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric Bleu { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(BleuValue); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric Gleu { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(GleuValue); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric Meteor { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(MeteorValue); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric Rouge1 { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(Rouge1Value); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric Rouge2 { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(Rouge2Value); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric Rouge3 { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(Rouge3Value); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric Rouge4 { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(Rouge4Value); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric Rouge5 { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(Rouge5Value); - - internal static InternalEvalGraderTextSimilarityResourceEvaluationMetric RougeL { get; } = new InternalEvalGraderTextSimilarityResourceEvaluationMetric(RougeLValue); - - public static bool operator ==(InternalEvalGraderTextSimilarityResourceEvaluationMetric left, InternalEvalGraderTextSimilarityResourceEvaluationMetric right) => left.Equals(right); - - public static bool operator !=(InternalEvalGraderTextSimilarityResourceEvaluationMetric left, InternalEvalGraderTextSimilarityResourceEvaluationMetric right) => !left.Equals(right); - - public static implicit operator InternalEvalGraderTextSimilarityResourceEvaluationMetric(string value) => new InternalEvalGraderTextSimilarityResourceEvaluationMetric(value); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is InternalEvalGraderTextSimilarityResourceEvaluationMetric other && Equals(other); - - public bool Equals(InternalEvalGraderTextSimilarityResourceEvaluationMetric other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - - public override string ToString() => _value; - } -} diff --git a/src/Generated/Models/InternalFunctionDefinition.Serialization.cs b/src/Generated/Models/InternalFunctionDefinition.Serialization.cs index f595ba7a8..a4bf17b19 100644 --- a/src/Generated/Models/InternalFunctionDefinition.Serialization.cs +++ b/src/Generated/Models/InternalFunctionDefinition.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; namespace OpenAI @@ -23,7 +22,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -82,7 +80,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalFunctionDefinition IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalFunctionDefinition JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +141,6 @@ internal static InternalFunctionDefinition DeserializeInternalFunctionDefinition BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -159,7 +155,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFunctionDefinition IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalFunctionDefinition PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateCompletionRequest.Serialization.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.Serialization.cs similarity index 99% rename from src/Generated/Models/InternalCreateCompletionRequest.Serialization.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.Serialization.cs index 29d3d8915..6f8980db3 100644 --- a/src/Generated/Models/InternalCreateCompletionRequest.Serialization.cs +++ b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Chat; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -174,7 +172,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateCompletionRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateCompletionRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -414,7 +411,6 @@ internal static InternalCreateCompletionRequest DeserializeInternalCreateComplet BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -429,7 +425,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateCompletionRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateCompletionRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateCompletionRequest.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateCompletionRequest.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequest.cs diff --git a/src/Generated/Models/InternalCreateCompletionRequestModel.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateCompletionRequestModel.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionRequestModel.cs diff --git a/src/Generated/Models/InternalCreateCompletionResponse.Serialization.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalCreateCompletionResponse.Serialization.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.Serialization.cs index 2ab4e6b5b..6c2ff891a 100644 --- a/src/Generated/Models/InternalCreateCompletionResponse.Serialization.cs +++ b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Chat; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -97,7 +95,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateCompletionResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateCompletionResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -185,7 +182,6 @@ internal static InternalCreateCompletionResponse DeserializeInternalCreateComple BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -200,7 +196,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateCompletionResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateCompletionResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateCompletionResponse.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.cs similarity index 100% rename from src/Generated/Models/InternalCreateCompletionResponse.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponse.cs diff --git a/src/Generated/Models/InternalCreateCompletionResponseChoice.Serialization.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateCompletionResponseChoice.Serialization.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.Serialization.cs index 58fb59407..1f5ce1e4f 100644 --- a/src/Generated/Models/InternalCreateCompletionResponseChoice.Serialization.cs +++ b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateCompletionResponseChoice IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateCompletionResponseChoice JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalCreateCompletionResponseChoice DeserializeInternalCreate BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateCompletionResponseChoice IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateCompletionResponseChoice PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateCompletionResponseChoice.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.cs similarity index 100% rename from src/Generated/Models/InternalCreateCompletionResponseChoice.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoice.cs diff --git a/src/Generated/Models/InternalCreateCompletionResponseChoiceFinishReason.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceFinishReason.cs similarity index 100% rename from src/Generated/Models/InternalCreateCompletionResponseChoiceFinishReason.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceFinishReason.cs diff --git a/src/Generated/Models/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs index 66fef3092..2592e1352 100644 --- a/src/Generated/Models/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs +++ b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +106,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateCompletionResponseChoiceLogprobs IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateCompletionResponseChoiceLogprobs JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -216,7 +213,6 @@ internal static InternalCreateCompletionResponseChoiceLogprobs DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -231,7 +227,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateCompletionResponseChoiceLogprobs IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateCompletionResponseChoiceLogprobs PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateCompletionResponseChoiceLogprobs.cs b/src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.cs similarity index 100% rename from src/Generated/Models/InternalCreateCompletionResponseChoiceLogprobs.cs rename to src/Generated/Models/LegacyCompletions/InternalCreateCompletionResponseChoiceLogprobs.cs diff --git a/src/Generated/Models/ModelDeletionResult.Serialization.cs b/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs similarity index 100% rename from src/Generated/Models/ModelDeletionResult.Serialization.cs rename to src/Generated/Models/Models/ModelDeletionResult.Serialization.cs diff --git a/src/Generated/Models/ModelDeletionResult.cs b/src/Generated/Models/Models/ModelDeletionResult.cs similarity index 100% rename from src/Generated/Models/ModelDeletionResult.cs rename to src/Generated/Models/Models/ModelDeletionResult.cs diff --git a/src/Generated/Models/OpenAIModel.Serialization.cs b/src/Generated/Models/Models/OpenAIModel.Serialization.cs similarity index 100% rename from src/Generated/Models/OpenAIModel.Serialization.cs rename to src/Generated/Models/Models/OpenAIModel.Serialization.cs diff --git a/src/Generated/Models/OpenAIModel.cs b/src/Generated/Models/Models/OpenAIModel.cs similarity index 100% rename from src/Generated/Models/OpenAIModel.cs rename to src/Generated/Models/Models/OpenAIModel.cs diff --git a/src/Generated/Models/OpenAIModelCollection.Serialization.cs b/src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs similarity index 100% rename from src/Generated/Models/OpenAIModelCollection.Serialization.cs rename to src/Generated/Models/Models/OpenAIModelCollection.Serialization.cs diff --git a/src/Generated/Models/OpenAIModelCollection.cs b/src/Generated/Models/Models/OpenAIModelCollection.cs similarity index 100% rename from src/Generated/Models/OpenAIModelCollection.cs rename to src/Generated/Models/Models/OpenAIModelCollection.cs diff --git a/src/Generated/Models/InternalCreateModerationRequestInput2.Serialization.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateModerationRequestInput2.Serialization.cs rename to src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.Serialization.cs index 0654c5b69..f8f233c5c 100644 --- a/src/Generated/Models/InternalCreateModerationRequestInput2.Serialization.cs +++ b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateModerationRequestInput2 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateModerationRequestInput2 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalCreateModerationRequestInput2 DeserializeInternalCreateM BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateModerationRequestInput2 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateModerationRequestInput2 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateModerationRequestInput2.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.cs similarity index 100% rename from src/Generated/Models/InternalCreateModerationRequestInput2.cs rename to src/Generated/Models/Moderations/InternalCreateModerationRequestInput2.cs diff --git a/src/Generated/Models/InternalCreateModerationRequestInput3.Serialization.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateModerationRequestInput3.Serialization.cs rename to src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.Serialization.cs index 6b9e466dd..84cce037e 100644 --- a/src/Generated/Models/InternalCreateModerationRequestInput3.Serialization.cs +++ b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateModerationRequestInput3 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateModerationRequestInput3 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalCreateModerationRequestInput3 DeserializeInternalCreateM BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateModerationRequestInput3 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateModerationRequestInput3 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateModerationRequestInput3.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.cs similarity index 100% rename from src/Generated/Models/InternalCreateModerationRequestInput3.cs rename to src/Generated/Models/Moderations/InternalCreateModerationRequestInput3.cs diff --git a/src/Generated/Models/InternalCreateModerationRequestInputImageUrl.Serialization.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateModerationRequestInputImageUrl.Serialization.cs rename to src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.Serialization.cs index 3b95d4627..8b7f92301 100644 --- a/src/Generated/Models/InternalCreateModerationRequestInputImageUrl.Serialization.cs +++ b/src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateModerationRequestInputImageUrl IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateModerationRequestInputImageUrl JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalCreateModerationRequestInputImageUrl DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateModerationRequestInputImageUrl IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateModerationRequestInputImageUrl PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateModerationRequestInputImageUrl.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.cs similarity index 100% rename from src/Generated/Models/InternalCreateModerationRequestInputImageUrl.cs rename to src/Generated/Models/Moderations/InternalCreateModerationRequestInputImageUrl.cs diff --git a/src/Generated/Models/InternalCreateModerationRequestModel.cs b/src/Generated/Models/Moderations/InternalCreateModerationRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalCreateModerationRequestModel.cs rename to src/Generated/Models/Moderations/InternalCreateModerationRequestModel.cs diff --git a/src/Generated/Models/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs b/src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs similarity index 99% rename from src/Generated/Models/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs rename to src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs index a4dc76c43..9f502c732 100644 --- a/src/Generated/Models/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs +++ b/src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -251,7 +249,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateModerationResponseResultCategoryAppliedInputTypes IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateModerationResponseResultCategoryAppliedInputTypes JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -528,7 +525,6 @@ internal static InternalCreateModerationResponseResultCategoryAppliedInputTypes BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -543,7 +539,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateModerationResponseResultCategoryAppliedInputTypes IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateModerationResponseResultCategoryAppliedInputTypes PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateModerationResponseResultCategoryAppliedInputTypes.cs b/src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.cs similarity index 100% rename from src/Generated/Models/InternalCreateModerationResponseResultCategoryAppliedInputTypes.cs rename to src/Generated/Models/Moderations/InternalCreateModerationResponseResultCategoryAppliedInputTypes.cs diff --git a/src/Generated/Models/InternalModerationCategories.Serialization.cs b/src/Generated/Models/Moderations/InternalModerationCategories.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalModerationCategories.Serialization.cs rename to src/Generated/Models/Moderations/InternalModerationCategories.Serialization.cs index 88be5666d..05185889c 100644 --- a/src/Generated/Models/InternalModerationCategories.Serialization.cs +++ b/src/Generated/Models/Moderations/InternalModerationCategories.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +119,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalModerationCategories IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalModerationCategories JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -242,7 +239,6 @@ internal static InternalModerationCategories DeserializeInternalModerationCatego BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -257,7 +253,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalModerationCategories IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalModerationCategories PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalModerationCategories.cs b/src/Generated/Models/Moderations/InternalModerationCategories.cs similarity index 100% rename from src/Generated/Models/InternalModerationCategories.cs rename to src/Generated/Models/Moderations/InternalModerationCategories.cs diff --git a/src/Generated/Models/InternalModerationCategoryScores.Serialization.cs b/src/Generated/Models/Moderations/InternalModerationCategoryScores.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalModerationCategoryScores.Serialization.cs rename to src/Generated/Models/Moderations/InternalModerationCategoryScores.Serialization.cs index 9bf4ed9c9..678048def 100644 --- a/src/Generated/Models/InternalModerationCategoryScores.Serialization.cs +++ b/src/Generated/Models/Moderations/InternalModerationCategoryScores.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +119,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalModerationCategoryScores IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalModerationCategoryScores JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -242,7 +239,6 @@ internal static InternalModerationCategoryScores DeserializeInternalModerationCa BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -257,7 +253,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalModerationCategoryScores IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalModerationCategoryScores PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalModerationCategoryScores.cs b/src/Generated/Models/Moderations/InternalModerationCategoryScores.cs similarity index 100% rename from src/Generated/Models/InternalModerationCategoryScores.cs rename to src/Generated/Models/Moderations/InternalModerationCategoryScores.cs diff --git a/src/Generated/Models/ModerationApplicableInputKinds.Serialization.cs b/src/Generated/Models/Moderations/ModerationApplicableInputKinds.Serialization.cs similarity index 100% rename from src/Generated/Models/ModerationApplicableInputKinds.Serialization.cs rename to src/Generated/Models/Moderations/ModerationApplicableInputKinds.Serialization.cs diff --git a/src/Generated/Models/ModerationOptions.Serialization.cs b/src/Generated/Models/Moderations/ModerationOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/ModerationOptions.Serialization.cs rename to src/Generated/Models/Moderations/ModerationOptions.Serialization.cs index e52847192..41a17144e 100644 --- a/src/Generated/Models/ModerationOptions.Serialization.cs +++ b/src/Generated/Models/Moderations/ModerationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -69,7 +67,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ModerationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ModerationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +111,6 @@ internal static ModerationOptions DeserializeModerationOptions(JsonElement eleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +125,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ModerationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ModerationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ModerationOptions.cs b/src/Generated/Models/Moderations/ModerationOptions.cs similarity index 100% rename from src/Generated/Models/ModerationOptions.cs rename to src/Generated/Models/Moderations/ModerationOptions.cs diff --git a/src/Generated/Models/ModerationResult.Serialization.cs b/src/Generated/Models/Moderations/ModerationResult.Serialization.cs similarity index 100% rename from src/Generated/Models/ModerationResult.Serialization.cs rename to src/Generated/Models/Moderations/ModerationResult.Serialization.cs diff --git a/src/Generated/Models/ModerationResult.cs b/src/Generated/Models/Moderations/ModerationResult.cs similarity index 100% rename from src/Generated/Models/ModerationResult.cs rename to src/Generated/Models/Moderations/ModerationResult.cs diff --git a/src/Generated/Models/ModerationResultCollection.Serialization.cs b/src/Generated/Models/Moderations/ModerationResultCollection.Serialization.cs similarity index 100% rename from src/Generated/Models/ModerationResultCollection.Serialization.cs rename to src/Generated/Models/Moderations/ModerationResultCollection.Serialization.cs diff --git a/src/Generated/Models/ModerationResultCollection.cs b/src/Generated/Models/Moderations/ModerationResultCollection.cs similarity index 100% rename from src/Generated/Models/ModerationResultCollection.cs rename to src/Generated/Models/Moderations/ModerationResultCollection.cs diff --git a/src/Generated/Models/ConversationContentPart.Serialization.cs b/src/Generated/Models/Realtime/ConversationContentPart.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationContentPart.Serialization.cs rename to src/Generated/Models/Realtime/ConversationContentPart.Serialization.cs index d6c51b46a..2e6f1c284 100644 --- a/src/Generated/Models/ConversationContentPart.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationContentPart.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +95,6 @@ internal static ConversationContentPart DeserializeConversationContentPart(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +109,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationContentPart.cs b/src/Generated/Models/Realtime/ConversationContentPart.cs similarity index 92% rename from src/Generated/Models/ConversationContentPart.cs rename to src/Generated/Models/Realtime/ConversationContentPart.cs index a0ef394cb..57f630856 100644 --- a/src/Generated/Models/ConversationContentPart.cs +++ b/src/Generated/Models/Realtime/ConversationContentPart.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationContentPart { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationContentPartKind.cs b/src/Generated/Models/Realtime/ConversationContentPartKind.cs similarity index 96% rename from src/Generated/Models/ConversationContentPartKind.cs rename to src/Generated/Models/Realtime/ConversationContentPartKind.cs index 7d652e37e..32da7dd1b 100644 --- a/src/Generated/Models/ConversationContentPartKind.cs +++ b/src/Generated/Models/Realtime/ConversationContentPartKind.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct ConversationContentPartKind : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ConversationFunctionTool.Serialization.cs b/src/Generated/Models/Realtime/ConversationFunctionTool.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationFunctionTool.Serialization.cs rename to src/Generated/Models/Realtime/ConversationFunctionTool.Serialization.cs index 9f8753187..f27ac29f4 100644 --- a/src/Generated/Models/ConversationFunctionTool.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationFunctionTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -59,7 +57,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ConversationFunctionTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ConversationFunctionTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ConversationTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -116,7 +113,6 @@ internal static ConversationFunctionTool DeserializeConversationFunctionTool(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -131,7 +127,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationFunctionTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ConversationFunctionTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ConversationTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationFunctionTool.cs b/src/Generated/Models/Realtime/ConversationFunctionTool.cs similarity index 91% rename from src/Generated/Models/ConversationFunctionTool.cs rename to src/Generated/Models/Realtime/ConversationFunctionTool.cs index 801f3a64b..cedddb9f7 100644 --- a/src/Generated/Models/ConversationFunctionTool.cs +++ b/src/Generated/Models/Realtime/ConversationFunctionTool.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationFunctionTool : ConversationTool { public ConversationFunctionTool(string name) : base(ConversationToolKind.Function) diff --git a/src/Generated/Models/ConversationIncompleteReason.cs b/src/Generated/Models/Realtime/ConversationIncompleteReason.cs similarity index 96% rename from src/Generated/Models/ConversationIncompleteReason.cs rename to src/Generated/Models/Realtime/ConversationIncompleteReason.cs index e67cdd8ed..ffabc74e5 100644 --- a/src/Generated/Models/ConversationIncompleteReason.cs +++ b/src/Generated/Models/Realtime/ConversationIncompleteReason.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct ConversationIncompleteReason : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ConversationInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationInputTokenUsageDetails.Serialization.cs rename to src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs index 9c13750f6..8ba480d8b 100644 --- a/src/Generated/Models/ConversationInputTokenUsageDetails.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationInputTokenUsageDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationInputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +123,6 @@ internal static ConversationInputTokenUsageDetails DeserializeConversationInputT BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +137,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationInputTokenUsageDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationInputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationInputTokenUsageDetails.cs b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.cs similarity index 93% rename from src/Generated/Models/ConversationInputTokenUsageDetails.cs rename to src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.cs index d78ed7607..12f1ad939 100644 --- a/src/Generated/Models/ConversationInputTokenUsageDetails.cs +++ b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationInputTokenUsageDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationItemStatus.cs b/src/Generated/Models/Realtime/ConversationItemStatus.cs similarity index 96% rename from src/Generated/Models/ConversationItemStatus.cs rename to src/Generated/Models/Realtime/ConversationItemStatus.cs index 5b9885ddb..e3f03b909 100644 --- a/src/Generated/Models/ConversationItemStatus.cs +++ b/src/Generated/Models/Realtime/ConversationItemStatus.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct ConversationItemStatus : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ConversationMessageRole.cs b/src/Generated/Models/Realtime/ConversationMessageRole.cs similarity index 96% rename from src/Generated/Models/ConversationMessageRole.cs rename to src/Generated/Models/Realtime/ConversationMessageRole.cs index 7eb76dce4..2e5764891 100644 --- a/src/Generated/Models/ConversationMessageRole.cs +++ b/src/Generated/Models/Realtime/ConversationMessageRole.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct ConversationMessageRole : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ConversationOutputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationOutputTokenUsageDetails.Serialization.cs rename to src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.Serialization.cs index fbee16f6c..0cfa2125f 100644 --- a/src/Generated/Models/ConversationOutputTokenUsageDetails.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationOutputTokenUsageDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationOutputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static ConversationOutputTokenUsageDetails DeserializeConversationOutpu BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationOutputTokenUsageDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationOutputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationOutputTokenUsageDetails.cs b/src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.cs similarity index 92% rename from src/Generated/Models/ConversationOutputTokenUsageDetails.cs rename to src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.cs index 4b87f484c..0c67e8963 100644 --- a/src/Generated/Models/ConversationOutputTokenUsageDetails.cs +++ b/src/Generated/Models/Realtime/ConversationOutputTokenUsageDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationOutputTokenUsageDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationRateLimitDetailsItem.Serialization.cs b/src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationRateLimitDetailsItem.Serialization.cs rename to src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.Serialization.cs index fca2be443..7701a419e 100644 --- a/src/Generated/Models/ConversationRateLimitDetailsItem.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationRateLimitDetailsItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationRateLimitDetailsItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static ConversationRateLimitDetailsItem DeserializeConversationRateLimi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationRateLimitDetailsItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationRateLimitDetailsItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationRateLimitDetailsItem.cs b/src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.cs similarity index 94% rename from src/Generated/Models/ConversationRateLimitDetailsItem.cs rename to src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.cs index 237220f3b..bf84325a8 100644 --- a/src/Generated/Models/ConversationRateLimitDetailsItem.cs +++ b/src/Generated/Models/Realtime/ConversationRateLimitDetailsItem.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationRateLimitDetailsItem { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationResponseOptions.Serialization.cs b/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs similarity index 98% rename from src/Generated/Models/ConversationResponseOptions.Serialization.cs rename to src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs index e8fc6af36..a8516f6d5 100644 --- a/src/Generated/Models/ConversationResponseOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -140,7 +138,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationResponseOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationResponseOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -314,7 +311,6 @@ internal static ConversationResponseOptions DeserializeConversationResponseOptio BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -329,7 +325,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationResponseOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationResponseOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationResponseOptions.cs b/src/Generated/Models/Realtime/ConversationResponseOptions.cs similarity index 97% rename from src/Generated/Models/ConversationResponseOptions.cs rename to src/Generated/Models/Realtime/ConversationResponseOptions.cs index 7ac64dd4c..89bf56d3c 100644 --- a/src/Generated/Models/ConversationResponseOptions.cs +++ b/src/Generated/Models/Realtime/ConversationResponseOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationResponseOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationSessionConfiguredUpdate.Serialization.cs b/src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationSessionConfiguredUpdate.Serialization.cs rename to src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.Serialization.cs index 00302bc5d..1c3916e79 100644 --- a/src/Generated/Models/ConversationSessionConfiguredUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ConversationSessionConfiguredUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ConversationSessionConfiguredUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static ConversationSessionConfiguredUpdate DeserializeConversationSessi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationSessionConfiguredUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ConversationSessionConfiguredUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationSessionConfiguredUpdate.cs b/src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.cs similarity index 91% rename from src/Generated/Models/ConversationSessionConfiguredUpdate.cs rename to src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.cs index 83fa390d9..0036ac93a 100644 --- a/src/Generated/Models/ConversationSessionConfiguredUpdate.cs +++ b/src/Generated/Models/Realtime/ConversationSessionConfiguredUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationSessionConfiguredUpdate : RealtimeUpdate { internal ConversationSessionConfiguredUpdate(InternalRealtimeResponseSession internalSession) : base(RealtimeUpdateKind.SessionConfigured) diff --git a/src/Generated/Models/ConversationSessionOptions.Serialization.cs b/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs similarity index 98% rename from src/Generated/Models/ConversationSessionOptions.Serialization.cs rename to src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs index 5e00620ce..166776635 100644 --- a/src/Generated/Models/ConversationSessionOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +139,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationSessionOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationSessionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -322,7 +319,6 @@ internal static ConversationSessionOptions DeserializeConversationSessionOptions BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -337,7 +333,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationSessionOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationSessionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationSessionOptions.cs b/src/Generated/Models/Realtime/ConversationSessionOptions.cs similarity index 97% rename from src/Generated/Models/ConversationSessionOptions.cs rename to src/Generated/Models/Realtime/ConversationSessionOptions.cs index 4d1b48907..aa49361f8 100644 --- a/src/Generated/Models/ConversationSessionOptions.cs +++ b/src/Generated/Models/Realtime/ConversationSessionOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationSessionOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationSessionStartedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ConversationSessionStartedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationSessionStartedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/ConversationSessionStartedUpdate.Serialization.cs index 50274c137..a184d6072 100644 --- a/src/Generated/Models/ConversationSessionStartedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationSessionStartedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ConversationSessionStartedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ConversationSessionStartedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static ConversationSessionStartedUpdate DeserializeConversationSessionS BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationSessionStartedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ConversationSessionStartedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationSessionStartedUpdate.cs b/src/Generated/Models/Realtime/ConversationSessionStartedUpdate.cs similarity index 91% rename from src/Generated/Models/ConversationSessionStartedUpdate.cs rename to src/Generated/Models/Realtime/ConversationSessionStartedUpdate.cs index fa732417e..8df906439 100644 --- a/src/Generated/Models/ConversationSessionStartedUpdate.cs +++ b/src/Generated/Models/Realtime/ConversationSessionStartedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationSessionStartedUpdate : RealtimeUpdate { internal ConversationSessionStartedUpdate(InternalRealtimeResponseSession internalSession) : base(RealtimeUpdateKind.SessionStarted) diff --git a/src/Generated/Models/ConversationStatus.cs b/src/Generated/Models/Realtime/ConversationStatus.cs similarity index 96% rename from src/Generated/Models/ConversationStatus.cs rename to src/Generated/Models/Realtime/ConversationStatus.cs index 223f5680e..89c834973 100644 --- a/src/Generated/Models/ConversationStatus.cs +++ b/src/Generated/Models/Realtime/ConversationStatus.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct ConversationStatus : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ConversationStatusDetails.Serialization.cs b/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationStatusDetails.Serialization.cs rename to src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs index 03c672a9e..091d90529 100644 --- a/src/Generated/Models/ConversationStatusDetails.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationStatusDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationStatusDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static ConversationStatusDetails DeserializeConversationStatusDetails(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationStatusDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationStatusDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationStatusDetails.cs b/src/Generated/Models/Realtime/ConversationStatusDetails.cs similarity index 94% rename from src/Generated/Models/ConversationStatusDetails.cs rename to src/Generated/Models/Realtime/ConversationStatusDetails.cs index 40506973d..4626ac4bb 100644 --- a/src/Generated/Models/ConversationStatusDetails.cs +++ b/src/Generated/Models/Realtime/ConversationStatusDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationStatusDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationTokenUsage.Serialization.cs b/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs similarity index 97% rename from src/Generated/Models/ConversationTokenUsage.Serialization.cs rename to src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs index ee3e7b62e..868097c19 100644 --- a/src/Generated/Models/ConversationTokenUsage.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -77,7 +75,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationTokenUsage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -162,7 +159,6 @@ internal static ConversationTokenUsage DeserializeConversationTokenUsage(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -177,7 +173,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationTokenUsage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationTokenUsage.cs b/src/Generated/Models/Realtime/ConversationTokenUsage.cs similarity index 94% rename from src/Generated/Models/ConversationTokenUsage.cs rename to src/Generated/Models/Realtime/ConversationTokenUsage.cs index d62deb937..fe6361c24 100644 --- a/src/Generated/Models/ConversationTokenUsage.cs +++ b/src/Generated/Models/Realtime/ConversationTokenUsage.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationTokenUsage { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationTool.Serialization.cs b/src/Generated/Models/Realtime/ConversationTool.Serialization.cs similarity index 96% rename from src/Generated/Models/ConversationTool.Serialization.cs rename to src/Generated/Models/Realtime/ConversationTool.Serialization.cs index e8ae4179e..bfc6aab39 100644 --- a/src/Generated/Models/ConversationTool.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationTool.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ConversationTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ConversationTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static ConversationTool DeserializeConversationTool(JsonElement element BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ConversationTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ConversationTool.cs b/src/Generated/Models/Realtime/ConversationTool.cs similarity index 92% rename from src/Generated/Models/ConversationTool.cs rename to src/Generated/Models/Realtime/ConversationTool.cs index b596b0613..8f3f9c4a4 100644 --- a/src/Generated/Models/ConversationTool.cs +++ b/src/Generated/Models/Realtime/ConversationTool.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ConversationTool { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ConversationToolChoiceKind.Serialization.cs b/src/Generated/Models/Realtime/ConversationToolChoiceKind.Serialization.cs similarity index 100% rename from src/Generated/Models/ConversationToolChoiceKind.Serialization.cs rename to src/Generated/Models/Realtime/ConversationToolChoiceKind.Serialization.cs diff --git a/src/Generated/Models/ConversationToolKind.cs b/src/Generated/Models/Realtime/ConversationToolKind.cs similarity index 95% rename from src/Generated/Models/ConversationToolKind.cs rename to src/Generated/Models/Realtime/ConversationToolKind.cs index bc0cdd846..83240bcc2 100644 --- a/src/Generated/Models/ConversationToolKind.cs +++ b/src/Generated/Models/Realtime/ConversationToolKind.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct ConversationToolKind : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ConversationVoice.cs b/src/Generated/Models/Realtime/ConversationVoice.cs similarity index 97% rename from src/Generated/Models/ConversationVoice.cs rename to src/Generated/Models/Realtime/ConversationVoice.cs index bd2c89de0..46057b361 100644 --- a/src/Generated/Models/ConversationVoice.cs +++ b/src/Generated/Models/Realtime/ConversationVoice.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct ConversationVoice : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/InputAudioClearedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioClearedUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/InputAudioClearedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InputAudioClearedUpdate.Serialization.cs index 0e483dee1..bd2b88a86 100644 --- a/src/Generated/Models/InputAudioClearedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InputAudioClearedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InputAudioClearedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InputAudioClearedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +71,6 @@ internal static InputAudioClearedUpdate DeserializeInputAudioClearedUpdate(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +85,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputAudioClearedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InputAudioClearedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputAudioClearedUpdate.cs b/src/Generated/Models/Realtime/InputAudioClearedUpdate.cs similarity index 88% rename from src/Generated/Models/InputAudioClearedUpdate.cs rename to src/Generated/Models/Realtime/InputAudioClearedUpdate.cs index e4da4a626..629635cb0 100644 --- a/src/Generated/Models/InputAudioClearedUpdate.cs +++ b/src/Generated/Models/Realtime/InputAudioClearedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputAudioClearedUpdate : RealtimeUpdate { internal InputAudioClearedUpdate() : this(RealtimeUpdateKind.InputAudioCleared, null, null) diff --git a/src/Generated/Models/InputAudioCommittedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioCommittedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/InputAudioCommittedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InputAudioCommittedUpdate.Serialization.cs index 741771f01..22f92eb61 100644 --- a/src/Generated/Models/InputAudioCommittedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InputAudioCommittedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InputAudioCommittedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InputAudioCommittedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InputAudioCommittedUpdate DeserializeInputAudioCommittedUpdate(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputAudioCommittedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InputAudioCommittedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputAudioCommittedUpdate.cs b/src/Generated/Models/Realtime/InputAudioCommittedUpdate.cs similarity index 92% rename from src/Generated/Models/InputAudioCommittedUpdate.cs rename to src/Generated/Models/Realtime/InputAudioCommittedUpdate.cs index c56d614b3..d41035be3 100644 --- a/src/Generated/Models/InputAudioCommittedUpdate.cs +++ b/src/Generated/Models/Realtime/InputAudioCommittedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputAudioCommittedUpdate : RealtimeUpdate { internal InputAudioCommittedUpdate(string previousItemId, string itemId) : base(RealtimeUpdateKind.InputAudioCommitted) diff --git a/src/Generated/Models/InputAudioSpeechFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/InputAudioSpeechFinishedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.Serialization.cs index ebe03af8e..7ad8819ce 100644 --- a/src/Generated/Models/InputAudioSpeechFinishedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InputAudioSpeechFinishedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InputAudioSpeechFinishedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InputAudioSpeechFinishedUpdate DeserializeInputAudioSpeechFinish BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputAudioSpeechFinishedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InputAudioSpeechFinishedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputAudioSpeechFinishedUpdate.cs b/src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.cs similarity index 91% rename from src/Generated/Models/InputAudioSpeechFinishedUpdate.cs rename to src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.cs index ab437c624..f2878a84e 100644 --- a/src/Generated/Models/InputAudioSpeechFinishedUpdate.cs +++ b/src/Generated/Models/Realtime/InputAudioSpeechFinishedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputAudioSpeechFinishedUpdate : RealtimeUpdate { internal InputAudioSpeechFinishedUpdate(string itemId, int audioEndMs) : base(RealtimeUpdateKind.InputSpeechStopped) diff --git a/src/Generated/Models/InputAudioSpeechStartedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/InputAudioSpeechStartedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.Serialization.cs index 47ae7b0f9..339c89e15 100644 --- a/src/Generated/Models/InputAudioSpeechStartedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InputAudioSpeechStartedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InputAudioSpeechStartedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InputAudioSpeechStartedUpdate DeserializeInputAudioSpeechStarted BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputAudioSpeechStartedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InputAudioSpeechStartedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputAudioSpeechStartedUpdate.cs b/src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.cs similarity index 91% rename from src/Generated/Models/InputAudioSpeechStartedUpdate.cs rename to src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.cs index d66788173..39e1daae7 100644 --- a/src/Generated/Models/InputAudioSpeechStartedUpdate.cs +++ b/src/Generated/Models/Realtime/InputAudioSpeechStartedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputAudioSpeechStartedUpdate : RealtimeUpdate { internal InputAudioSpeechStartedUpdate(string itemId, int audioStartMs) : base(RealtimeUpdateKind.InputSpeechStarted) diff --git a/src/Generated/Models/InputAudioTranscriptionDeltaUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/InputAudioTranscriptionDeltaUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.Serialization.cs index 2393e5c30..e8be3808a 100644 --- a/src/Generated/Models/InputAudioTranscriptionDeltaUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InputAudioTranscriptionDeltaUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InputAudioTranscriptionDeltaUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -147,7 +144,6 @@ internal static InputAudioTranscriptionDeltaUpdate DeserializeInputAudioTranscri BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -162,7 +158,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputAudioTranscriptionDeltaUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InputAudioTranscriptionDeltaUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputAudioTranscriptionDeltaUpdate.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.cs similarity index 94% rename from src/Generated/Models/InputAudioTranscriptionDeltaUpdate.cs rename to src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.cs index 855902f7e..73566cbee 100644 --- a/src/Generated/Models/InputAudioTranscriptionDeltaUpdate.cs +++ b/src/Generated/Models/Realtime/InputAudioTranscriptionDeltaUpdate.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputAudioTranscriptionDeltaUpdate : RealtimeUpdate { internal InputAudioTranscriptionDeltaUpdate(string itemId) : base(RealtimeUpdateKind.InputTranscriptionDelta) diff --git a/src/Generated/Models/InputAudioTranscriptionFailedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/InputAudioTranscriptionFailedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.Serialization.cs index 488bcd098..fcaf79c5c 100644 --- a/src/Generated/Models/InputAudioTranscriptionFailedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InputAudioTranscriptionFailedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InputAudioTranscriptionFailedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InputAudioTranscriptionFailedUpdate DeserializeInputAudioTranscr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputAudioTranscriptionFailedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InputAudioTranscriptionFailedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputAudioTranscriptionFailedUpdate.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.cs similarity index 93% rename from src/Generated/Models/InputAudioTranscriptionFailedUpdate.cs rename to src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.cs index dd0048377..8baa4ca2f 100644 --- a/src/Generated/Models/InputAudioTranscriptionFailedUpdate.cs +++ b/src/Generated/Models/Realtime/InputAudioTranscriptionFailedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputAudioTranscriptionFailedUpdate : RealtimeUpdate { internal InputAudioTranscriptionFailedUpdate(string itemId, int contentIndex, InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError error) : base(RealtimeUpdateKind.InputTranscriptionFailed) diff --git a/src/Generated/Models/InputAudioTranscriptionFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/InputAudioTranscriptionFinishedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.Serialization.cs index e144b29a8..b584e76e5 100644 --- a/src/Generated/Models/InputAudioTranscriptionFinishedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InputAudioTranscriptionFinishedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InputAudioTranscriptionFinishedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -143,7 +140,6 @@ internal static InputAudioTranscriptionFinishedUpdate DeserializeInputAudioTrans BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -158,7 +154,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputAudioTranscriptionFinishedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InputAudioTranscriptionFinishedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputAudioTranscriptionFinishedUpdate.cs b/src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.cs similarity index 95% rename from src/Generated/Models/InputAudioTranscriptionFinishedUpdate.cs rename to src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.cs index faf0c050e..d62edffb2 100644 --- a/src/Generated/Models/InputAudioTranscriptionFinishedUpdate.cs +++ b/src/Generated/Models/Realtime/InputAudioTranscriptionFinishedUpdate.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputAudioTranscriptionFinishedUpdate : RealtimeUpdate { internal InputAudioTranscriptionFinishedUpdate(string itemId, int contentIndex, string transcript) : base(RealtimeUpdateKind.InputTranscriptionFinished) diff --git a/src/Generated/Models/InputNoiseReductionKind.Serialization.cs b/src/Generated/Models/Realtime/InputNoiseReductionKind.Serialization.cs similarity index 100% rename from src/Generated/Models/InputNoiseReductionKind.Serialization.cs rename to src/Generated/Models/Realtime/InputNoiseReductionKind.Serialization.cs diff --git a/src/Generated/Models/InputNoiseReductionOptions.Serialization.cs b/src/Generated/Models/Realtime/InputNoiseReductionOptions.Serialization.cs similarity index 96% rename from src/Generated/Models/InputNoiseReductionOptions.Serialization.cs rename to src/Generated/Models/Realtime/InputNoiseReductionOptions.Serialization.cs index 8c9512524..55f559f15 100644 --- a/src/Generated/Models/InputNoiseReductionOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/InputNoiseReductionOptions.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InputNoiseReductionOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InputNoiseReductionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -75,7 +72,6 @@ protected virtual InputNoiseReductionOptions JsonModelCreateCore(ref Utf8JsonRea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +86,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputNoiseReductionOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InputNoiseReductionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputNoiseReductionOptions.cs b/src/Generated/Models/Realtime/InputNoiseReductionOptions.cs similarity index 92% rename from src/Generated/Models/InputNoiseReductionOptions.cs rename to src/Generated/Models/Realtime/InputNoiseReductionOptions.cs index b19329fbe..e059c81c9 100644 --- a/src/Generated/Models/InputNoiseReductionOptions.cs +++ b/src/Generated/Models/Realtime/InputNoiseReductionOptions.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputNoiseReductionOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/InputTranscriptionModel.cs b/src/Generated/Models/Realtime/InputTranscriptionModel.cs similarity index 95% rename from src/Generated/Models/InputTranscriptionModel.cs rename to src/Generated/Models/Realtime/InputTranscriptionModel.cs index 9bfcf2aad..59a498312 100644 --- a/src/Generated/Models/InputTranscriptionModel.cs +++ b/src/Generated/Models/Realtime/InputTranscriptionModel.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct InputTranscriptionModel : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/InputTranscriptionOptions.Serialization.cs b/src/Generated/Models/Realtime/InputTranscriptionOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/InputTranscriptionOptions.Serialization.cs rename to src/Generated/Models/Realtime/InputTranscriptionOptions.Serialization.cs index f83aba3c5..811c8e528 100644 --- a/src/Generated/Models/InputTranscriptionOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/InputTranscriptionOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InputTranscriptionOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InputTranscriptionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InputTranscriptionOptions DeserializeInputTranscriptionOptions(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputTranscriptionOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InputTranscriptionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InputTranscriptionOptions.cs b/src/Generated/Models/Realtime/InputTranscriptionOptions.cs similarity index 93% rename from src/Generated/Models/InputTranscriptionOptions.cs rename to src/Generated/Models/Realtime/InputTranscriptionOptions.cs index f73468d31..f8eee4b66 100644 --- a/src/Generated/Models/InputTranscriptionOptions.cs +++ b/src/Generated/Models/Realtime/InputTranscriptionOptions.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class InputTranscriptionOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/InternalDotNetRealtimeLogProbProperties.Serialization.cs b/src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDotNetRealtimeLogProbProperties.Serialization.cs rename to src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.Serialization.cs index 169b8c478..b5b4ec90d 100644 --- a/src/Generated/Models/InternalDotNetRealtimeLogProbProperties.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalDotNetRealtimeLogProbProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalDotNetRealtimeLogProbProperties JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +125,6 @@ internal static InternalDotNetRealtimeLogProbProperties DeserializeInternalDotNe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -143,7 +139,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetRealtimeLogProbProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalDotNetRealtimeLogProbProperties PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetRealtimeLogProbProperties.cs b/src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.cs similarity index 100% rename from src/Generated/Models/InternalDotNetRealtimeLogProbProperties.cs rename to src/Generated/Models/Realtime/InternalDotNetRealtimeLogProbProperties.cs diff --git a/src/Generated/Models/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs index 8938b38ed..5c7b31b63 100644 --- a/src/Generated/Models/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeAudioFarFieldNoiseReduction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeAudioFarFieldNoiseReduction)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InputNoiseReductionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalRealtimeAudioFarFieldNoiseReduction DeserializeInternalR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeAudioFarFieldNoiseReduction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeAudioFarFieldNoiseReduction)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InputNoiseReductionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeAudioFarFieldNoiseReduction.cs b/src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeAudioFarFieldNoiseReduction.cs rename to src/Generated/Models/Realtime/InternalRealtimeAudioFarFieldNoiseReduction.cs diff --git a/src/Generated/Models/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs index c3422e577..deccb6295 100644 --- a/src/Generated/Models/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeAudioNearFieldNoiseReduction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeAudioNearFieldNoiseReduction)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InputNoiseReductionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalRealtimeAudioNearFieldNoiseReduction DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeAudioNearFieldNoiseReduction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeAudioNearFieldNoiseReduction)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InputNoiseReductionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeAudioNearFieldNoiseReduction.cs b/src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeAudioNearFieldNoiseReduction.cs rename to src/Generated/Models/Realtime/InternalRealtimeAudioNearFieldNoiseReduction.cs diff --git a/src/Generated/Models/InternalRealtimeClientEvent.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEvent.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEvent.Serialization.cs index c29d61655..9066138c2 100644 --- a/src/Generated/Models/InternalRealtimeClientEvent.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEvent.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeClientEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +116,6 @@ internal static InternalRealtimeClientEvent DeserializeInternalRealtimeClientEve BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +130,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEvent.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEvent.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEvent.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEvent.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventConversationItemCreate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventConversationItemCreate.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.Serialization.cs index bee1f7ee2..f21a8d3b2 100644 --- a/src/Generated/Models/InternalRealtimeClientEventConversationItemCreate.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventConversationItemCreate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventConversationItemCreate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalRealtimeClientEventConversationItemCreate DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventConversationItemCreate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventConversationItemCreate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventConversationItemCreate.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventConversationItemCreate.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemCreate.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventConversationItemDelete.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventConversationItemDelete.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.Serialization.cs index 483042940..190509217 100644 --- a/src/Generated/Models/InternalRealtimeClientEventConversationItemDelete.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventConversationItemDelete IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventConversationItemDelete)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeClientEventConversationItemDelete DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventConversationItemDelete IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventConversationItemDelete)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventConversationItemDelete.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventConversationItemDelete.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemDelete.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs index bcc53f91b..160a68638 100644 --- a/src/Generated/Models/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventConversationItemRetrieve IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventConversationItemRetrieve)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeClientEventConversationItemRetrieve DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventConversationItemRetrieve IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventConversationItemRetrieve)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventConversationItemRetrieve.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventConversationItemRetrieve.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemRetrieve.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs index 3b9f0b0bf..9f76a0b64 100644 --- a/src/Generated/Models/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventConversationItemTruncate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventConversationItemTruncate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalRealtimeClientEventConversationItemTruncate DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventConversationItemTruncate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventConversationItemTruncate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventConversationItemTruncate.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventConversationItemTruncate.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventConversationItemTruncate.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs index 433955967..22f2e295a 100644 --- a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventInputAudioBufferAppend IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventInputAudioBufferAppend)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeClientEventInputAudioBufferAppend DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventInputAudioBufferAppend IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventInputAudioBufferAppend)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferAppend.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventInputAudioBufferAppend.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferAppend.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs index a80746645..9bde32d52 100644 --- a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Json writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventInputAudioBufferClear IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventInputAudioBufferClear)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +71,6 @@ internal static InternalRealtimeClientEventInputAudioBufferClear DeserializeInte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +85,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventInputAudioBufferClear IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventInputAudioBufferClear)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferClear.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventInputAudioBufferClear.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferClear.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs index 855b5a86f..c38265928 100644 --- a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventInputAudioBufferCommit IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventInputAudioBufferCommit)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +71,6 @@ internal static InternalRealtimeClientEventInputAudioBufferCommit DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +85,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventInputAudioBufferCommit IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventInputAudioBufferCommit)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventInputAudioBufferCommit.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventInputAudioBufferCommit.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventInputAudioBufferCommit.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs index ced0b2f8f..bd2ad5c3f 100644 --- a/src/Generated/Models/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventOutputAudioBufferClear IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventOutputAudioBufferClear)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +71,6 @@ internal static InternalRealtimeClientEventOutputAudioBufferClear DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +85,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventOutputAudioBufferClear IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventOutputAudioBufferClear)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventOutputAudioBufferClear.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventOutputAudioBufferClear.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventOutputAudioBufferClear.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventResponseCancel.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventResponseCancel.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.Serialization.cs index 99b4065dd..cb75a5fc6 100644 --- a/src/Generated/Models/InternalRealtimeClientEventResponseCancel.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventResponseCancel IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventResponseCancel)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -85,7 +82,6 @@ internal static InternalRealtimeClientEventResponseCancel DeserializeInternalRea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +96,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventResponseCancel IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventResponseCancel)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventResponseCancel.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventResponseCancel.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCancel.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventResponseCreate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventResponseCreate.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.Serialization.cs index c6828f2a7..e121880b0 100644 --- a/src/Generated/Models/InternalRealtimeClientEventResponseCreate.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventResponseCreate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventResponseCreate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeClientEventResponseCreate DeserializeInternalRea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventResponseCreate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventResponseCreate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventResponseCreate.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventResponseCreate.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventResponseCreate.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventSessionUpdate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventSessionUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.Serialization.cs index 483391424..16ca0e356 100644 --- a/src/Generated/Models/InternalRealtimeClientEventSessionUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventSessionUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventSessionUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeClientEventSessionUpdate DeserializeInternalReal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventSessionUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventSessionUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventSessionUpdate.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventSessionUpdate.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventSessionUpdate.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs index 9fda7c75f..b35bd942a 100644 --- a/src/Generated/Models/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEventTranscriptionSessionUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeClientEventTranscriptionSessionUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeClientEventTranscriptionSessionUpdate Deserializ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEventTranscriptionSessionUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeClientEventTranscriptionSessionUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeClientEventTranscriptionSessionUpdate.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventTranscriptionSessionUpdate.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventTranscriptionSessionUpdate.cs diff --git a/src/Generated/Models/InternalRealtimeClientEventType.cs b/src/Generated/Models/Realtime/InternalRealtimeClientEventType.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeClientEventType.cs rename to src/Generated/Models/Realtime/InternalRealtimeClientEventType.cs diff --git a/src/Generated/Models/InternalRealtimeItemType.cs b/src/Generated/Models/Realtime/InternalRealtimeItemType.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeItemType.cs rename to src/Generated/Models/Realtime/InternalRealtimeItemType.cs diff --git a/src/Generated/Models/InternalRealtimeRequestAssistantMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeRequestAssistantMessageItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.Serialization.cs index 3162950dc..9512d159d 100644 --- a/src/Generated/Models/InternalRealtimeRequestAssistantMessageItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestAssistantMessageItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeRequestAssistantMessageItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +118,6 @@ internal static InternalRealtimeRequestAssistantMessageItem DeserializeInternalR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +132,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestAssistantMessageItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeRequestAssistantMessageItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeRequestAssistantMessageItem.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestAssistantMessageItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestAssistantMessageItem.cs diff --git a/src/Generated/Models/InternalRealtimeRequestAudioContentPart.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeRequestAudioContentPart.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.Serialization.cs index 8ec9587e9..6d31aabfa 100644 --- a/src/Generated/Models/InternalRealtimeRequestAudioContentPart.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestAudioContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeRequestAudioContentPart)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ConversationContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -79,7 +76,6 @@ internal static InternalRealtimeRequestAudioContentPart DeserializeInternalRealt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +90,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestAudioContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeRequestAudioContentPart)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ConversationContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeRequestAudioContentPart.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestAudioContentPart.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestAudioContentPart.cs diff --git a/src/Generated/Models/InternalRealtimeRequestFunctionCallItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeRequestFunctionCallItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.Serialization.cs index 6e02e0ede..80a4aafa8 100644 --- a/src/Generated/Models/InternalRealtimeRequestFunctionCallItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestFunctionCallItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeRequestFunctionCallItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +130,6 @@ internal static InternalRealtimeRequestFunctionCallItem DeserializeInternalRealt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -148,7 +144,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestFunctionCallItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeRequestFunctionCallItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeRequestFunctionCallItem.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestFunctionCallItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallItem.cs diff --git a/src/Generated/Models/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs index 40b000800..39300ca5d 100644 --- a/src/Generated/Models/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestFunctionCallOutputItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeRequestFunctionCallOutputItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalRealtimeRequestFunctionCallOutputItem DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestFunctionCallOutputItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeRequestFunctionCallOutputItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeRequestFunctionCallOutputItem.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestFunctionCallOutputItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestFunctionCallOutputItem.cs diff --git a/src/Generated/Models/InternalRealtimeRequestMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeRequestMessageItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.Serialization.cs index 48166759c..c09ce8c24 100644 --- a/src/Generated/Models/InternalRealtimeRequestMessageItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -23,7 +22,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -46,7 +44,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestMessageItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeRequestMessageItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +78,6 @@ internal static InternalRealtimeRequestMessageItem DeserializeInternalRealtimeRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +92,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestMessageItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeRequestMessageItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeRequestMessageItem.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestMessageItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestMessageItem.cs diff --git a/src/Generated/Models/InternalRealtimeRequestSessionModality.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestSessionModality.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestSessionModality.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestSessionModality.cs diff --git a/src/Generated/Models/InternalRealtimeRequestSessionModel.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestSessionModel.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestSessionModel.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestSessionModel.cs diff --git a/src/Generated/Models/InternalRealtimeRequestSystemMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeRequestSystemMessageItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.Serialization.cs index 81cd0edc8..2eb7e38a6 100644 --- a/src/Generated/Models/InternalRealtimeRequestSystemMessageItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestSystemMessageItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeRequestSystemMessageItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +118,6 @@ internal static InternalRealtimeRequestSystemMessageItem DeserializeInternalReal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +132,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestSystemMessageItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeRequestSystemMessageItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeRequestSystemMessageItem.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestSystemMessageItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestSystemMessageItem.cs diff --git a/src/Generated/Models/InternalRealtimeRequestTextContentPart.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeRequestTextContentPart.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.Serialization.cs index 5f4dff3e1..8d200a157 100644 --- a/src/Generated/Models/InternalRealtimeRequestTextContentPart.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestTextContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeRequestTextContentPart)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ConversationContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalRealtimeRequestTextContentPart DeserializeInternalRealti BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestTextContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeRequestTextContentPart)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ConversationContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeRequestTextContentPart.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestTextContentPart.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestTextContentPart.cs diff --git a/src/Generated/Models/InternalRealtimeRequestUserMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeRequestUserMessageItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.Serialization.cs index e2a20ffd0..382947a66 100644 --- a/src/Generated/Models/InternalRealtimeRequestUserMessageItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestUserMessageItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeRequestUserMessageItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +118,6 @@ internal static InternalRealtimeRequestUserMessageItem DeserializeInternalRealti BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +132,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestUserMessageItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeRequestUserMessageItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeRequestUserMessageItem.cs b/src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeRequestUserMessageItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeRequestUserMessageItem.cs diff --git a/src/Generated/Models/InternalRealtimeResponse.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalRealtimeResponse.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs index d2d1146c7..004fc30f5 100644 --- a/src/Generated/Models/InternalRealtimeResponse.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +154,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -340,7 +337,6 @@ internal static InternalRealtimeResponse DeserializeInternalRealtimeResponse(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -355,7 +351,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponse.cs b/src/Generated/Models/Realtime/InternalRealtimeResponse.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponse.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponse.cs diff --git a/src/Generated/Models/InternalRealtimeResponseAudioContentPart.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeResponseAudioContentPart.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.Serialization.cs index c988582a8..b660a0299 100644 --- a/src/Generated/Models/InternalRealtimeResponseAudioContentPart.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -49,7 +47,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeResponseAudioContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeResponseAudioContentPart)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ConversationContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -95,7 +92,6 @@ internal static InternalRealtimeResponseAudioContentPart DeserializeInternalReal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -110,7 +106,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseAudioContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeResponseAudioContentPart)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ConversationContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponseAudioContentPart.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseAudioContentPart.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseAudioContentPart.cs diff --git a/src/Generated/Models/InternalRealtimeResponseFunctionCallItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeResponseFunctionCallItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.Serialization.cs index 28672e436..e96272bc2 100644 --- a/src/Generated/Models/InternalRealtimeResponseFunctionCallItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeResponseFunctionCallItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeResponseFunctionCallItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalRealtimeResponseFunctionCallItem DeserializeInternalReal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseFunctionCallItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeResponseFunctionCallItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponseFunctionCallItem.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseFunctionCallItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallItem.cs diff --git a/src/Generated/Models/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs index 33f34732c..dbdbeee4a 100644 --- a/src/Generated/Models/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeResponseFunctionCallOutputItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeResponseFunctionCallOutputItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalRealtimeResponseFunctionCallOutputItem DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseFunctionCallOutputItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeResponseFunctionCallOutputItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponseFunctionCallOutputItem.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseFunctionCallOutputItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseFunctionCallOutputItem.cs diff --git a/src/Generated/Models/InternalRealtimeResponseItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeResponseItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseItem.Serialization.cs index b0d85d3ee..698f7a272 100644 --- a/src/Generated/Models/InternalRealtimeResponseItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseItem.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +76,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -113,7 +110,6 @@ internal static InternalRealtimeResponseItem DeserializeInternalRealtimeResponse BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +124,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponseItem.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseItem.cs diff --git a/src/Generated/Models/InternalRealtimeResponseMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeResponseMessageItem.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs index cefd61c57..2bddaae3a 100644 --- a/src/Generated/Models/InternalRealtimeResponseMessageItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeResponseMessageItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeResponseMessageItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -139,7 +136,6 @@ internal static InternalRealtimeResponseMessageItem DeserializeInternalRealtimeR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -154,7 +150,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseMessageItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeResponseMessageItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponseMessageItem.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseMessageItem.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.cs diff --git a/src/Generated/Models/InternalRealtimeResponseModality.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseModality.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseModality.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseModality.cs diff --git a/src/Generated/Models/InternalRealtimeResponseOutputAudioFormat.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseOutputAudioFormat.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseOutputAudioFormat.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseOutputAudioFormat.cs diff --git a/src/Generated/Models/InternalRealtimeResponseSession.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalRealtimeResponseSession.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs index 0df20934a..74ccefdc3 100644 --- a/src/Generated/Models/InternalRealtimeResponseSession.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -169,7 +167,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeResponseSession IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeResponseSession JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -324,7 +321,6 @@ internal static InternalRealtimeResponseSession DeserializeInternalRealtimeRespo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -339,7 +335,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseSession IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeResponseSession PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponseSession.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseSession.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseSession.cs diff --git a/src/Generated/Models/InternalRealtimeResponseStatusDetailsError.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeResponseStatusDetailsError.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.Serialization.cs index 17662e016..5e6d95874 100644 --- a/src/Generated/Models/InternalRealtimeResponseStatusDetailsError.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeResponseStatusDetailsError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeResponseStatusDetailsError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalRealtimeResponseStatusDetailsError DeserializeInternalRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseStatusDetailsError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeResponseStatusDetailsError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponseStatusDetailsError.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseStatusDetailsError.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsError.cs diff --git a/src/Generated/Models/InternalRealtimeResponseStatusDetailsType.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsType.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseStatusDetailsType.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseStatusDetailsType.cs diff --git a/src/Generated/Models/InternalRealtimeResponseTextContentPart.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeResponseTextContentPart.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.Serialization.cs index 156c29821..df9c03e78 100644 --- a/src/Generated/Models/InternalRealtimeResponseTextContentPart.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeResponseTextContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeResponseTextContentPart)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ConversationContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalRealtimeResponseTextContentPart DeserializeInternalRealt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseTextContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeResponseTextContentPart)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ConversationContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeResponseTextContentPart.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeResponseTextContentPart.cs rename to src/Generated/Models/Realtime/InternalRealtimeResponseTextContentPart.cs diff --git a/src/Generated/Models/InternalRealtimeSemanticVadTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSemanticVadTurnDetection.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.Serialization.cs index 9faf721af..1c244187f 100644 --- a/src/Generated/Models/InternalRealtimeSemanticVadTurnDetection.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +36,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeSemanticVadTurnDetection IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeSemanticVadTurnDetection)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override TurnDetectionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalRealtimeSemanticVadTurnDetection DeserializeInternalReal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSemanticVadTurnDetection IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeSemanticVadTurnDetection)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override TurnDetectionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSemanticVadTurnDetection.cs b/src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSemanticVadTurnDetection.cs rename to src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetection.cs diff --git a/src/Generated/Models/InternalRealtimeSemanticVadTurnDetectionEagerness.cs b/src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetectionEagerness.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSemanticVadTurnDetectionEagerness.cs rename to src/Generated/Models/Realtime/InternalRealtimeSemanticVadTurnDetectionEagerness.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventConversationCreated.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventConversationCreated.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.Serialization.cs index 1ed00da1a..0addccb03 100644 --- a/src/Generated/Models/InternalRealtimeServerEventConversationCreated.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventConversationCreated IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventConversationCreated)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeServerEventConversationCreated DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventConversationCreated IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventConversationCreated)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventConversationCreated.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventConversationCreated.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreated.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs index fd39277e1..0d0fc9a66 100644 --- a/src/Generated/Models/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeServerEventConversationCreatedConversation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeServerEventConversationCreatedConversation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalRealtimeServerEventConversationCreatedConversation Deser BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventConversationCreatedConversation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeServerEventConversationCreatedConversation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventConversationCreatedConversation.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventConversationCreatedConversation.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventConversationCreatedConversation.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs index 60c8f9d9b..d49c38f5b 100644 --- a/src/Generated/Models/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -125,7 +122,6 @@ internal static InternalRealtimeServerEventConversationItemInputAudioTranscripti BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -140,7 +136,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventErrorError.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventErrorError.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.Serialization.cs index b9f77d0dd..81c58f68d 100644 --- a/src/Generated/Models/InternalRealtimeServerEventErrorError.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +79,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeServerEventErrorError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeServerEventErrorError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -161,7 +158,6 @@ internal static InternalRealtimeServerEventErrorError DeserializeInternalRealtim BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -176,7 +172,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventErrorError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeServerEventErrorError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventErrorError.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventErrorError.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventErrorError.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs index 72a17f15a..98b2ce4d9 100644 --- a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventOutputAudioBufferCleared IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventOutputAudioBufferCleared)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeServerEventOutputAudioBufferCleared DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventOutputAudioBufferCleared IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventOutputAudioBufferCleared)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferCleared.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferCleared.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferCleared.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs index 10e526895..e90957568 100644 --- a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventOutputAudioBufferStarted IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventOutputAudioBufferStarted)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeServerEventOutputAudioBufferStarted DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventOutputAudioBufferStarted IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventOutputAudioBufferStarted)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStarted.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStarted.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStarted.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs index 3e2be661f..2b1e5f529 100644 --- a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventOutputAudioBufferStopped IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventOutputAudioBufferStopped)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static InternalRealtimeServerEventOutputAudioBufferStopped DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventOutputAudioBufferStopped IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventOutputAudioBufferStopped)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStopped.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventOutputAudioBufferStopped.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventOutputAudioBufferStopped.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs index ef85594a8..e473a4fca 100644 --- a/src/Generated/Models/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventResponseAudioDelta IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseAudioDelta)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalRealtimeServerEventResponseAudioDelta DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventResponseAudioDelta IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseAudioDelta)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseAudioDelta.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventResponseAudioDelta.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioDelta.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs index ac287578f..db02d37b9 100644 --- a/src/Generated/Models/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(U writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventResponseAudioTranscriptDelta IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseAudioTranscriptDelta)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalRealtimeServerEventResponseAudioTranscriptDelta Deserial BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventResponseAudioTranscriptDelta IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseAudioTranscriptDelta)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseAudioTranscriptDelta.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventResponseAudioTranscriptDelta.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseAudioTranscriptDelta.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs index a968b9e99..b38fa5618 100644 --- a/src/Generated/Models/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8J writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventResponseContentPartAdded IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseContentPartAdded)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalRealtimeServerEventResponseContentPartAdded DeserializeI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventResponseContentPartAdded IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseContentPartAdded)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseContentPartAdded.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventResponseContentPartAdded.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartAdded.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs index 4f853e6bb..b13c5b072 100644 --- a/src/Generated/Models/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventResponseContentPartDone IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseContentPartDone)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalRealtimeServerEventResponseContentPartDone DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventResponseContentPartDone IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseContentPartDone)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseContentPartDone.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventResponseContentPartDone.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseContentPartDone.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs index c04e5400c..6c523ca13 100644 --- a/src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.W writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventResponseFunctionCallArgumentsDelta IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseFunctionCallArgumentsDelta)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalRealtimeServerEventResponseFunctionCallArgumentsDelta De BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventResponseFunctionCallArgumentsDelta IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseFunctionCallArgumentsDelta)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDelta.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs index bdb0d9c69..965159934 100644 --- a/src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventResponseFunctionCallArgumentsDone IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseFunctionCallArgumentsDone)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalRealtimeServerEventResponseFunctionCallArgumentsDone Des BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventResponseFunctionCallArgumentsDone IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseFunctionCallArgumentsDone)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseFunctionCallArgumentsDone.cs diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseTextDelta.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerEventResponseTextDelta.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.Serialization.cs index 2b01874c0..27a532086 100644 --- a/src/Generated/Models/InternalRealtimeServerEventResponseTextDelta.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerEventResponseTextDelta IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseTextDelta)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static InternalRealtimeServerEventResponseTextDelta DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerEventResponseTextDelta IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerEventResponseTextDelta)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerEventResponseTextDelta.cs b/src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerEventResponseTextDelta.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerEventResponseTextDelta.cs diff --git a/src/Generated/Models/InternalRealtimeServerVadTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeServerVadTurnDetection.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.Serialization.cs index 69308501c..51673050f 100644 --- a/src/Generated/Models/InternalRealtimeServerVadTurnDetection.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -48,7 +46,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeServerVadTurnDetection IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeServerVadTurnDetection)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override TurnDetectionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +129,6 @@ internal static InternalRealtimeServerVadTurnDetection DeserializeInternalRealti BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -147,7 +143,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeServerVadTurnDetection IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeServerVadTurnDetection)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override TurnDetectionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeServerVadTurnDetection.cs b/src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeServerVadTurnDetection.cs rename to src/Generated/Models/Realtime/InternalRealtimeServerVadTurnDetection.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequest.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.Serialization.cs similarity index 99% rename from src/Generated/Models/InternalRealtimeSessionCreateRequest.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.Serialization.cs index 55e2858b8..ef2d19a65 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateRequest.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -21,7 +20,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -157,7 +155,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -366,7 +363,6 @@ internal static InternalRealtimeSessionCreateRequest DeserializeInternalRealtime BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -381,7 +377,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequest.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequest.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequest.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs index ab8870a72..ec34ec3a1 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Json writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateRequestClientSecret IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestClientSecret JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRealtimeSessionCreateRequestClientSecret DeserializeInte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateRequestClientSecret IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestClientSecret PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecret.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecret.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecret.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs index c333b8ad8..92533b40c 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateRequestClientSecretExpiresAt IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestClientSecretExpiresAt JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalRealtimeSessionCreateRequestClientSecretExpiresAt Deseri BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateRequestClientSecretExpiresAt IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestClientSecretExpiresAt PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestClientSecretExpiresAt.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs index 832066ae0..3205a2651 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.W writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1 De BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioNoiseReductionType.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReductionType.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioNoiseReductionType.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioNoiseReductionType.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs index 0537d7ea4..4c1ca5323 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateRequestInputAudioTranscription IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestInputAudioTranscription JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +111,6 @@ internal static InternalRealtimeSessionCreateRequestInputAudioTranscription Dese BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +125,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateRequestInputAudioTranscription IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestInputAudioTranscription PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioTranscription.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestInputAudioTranscription.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestInputAudioTranscription.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestModel.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestModel.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestModel.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestModel.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs index f6dff7a69..02d7d3adc 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +72,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateRequestTracing1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestTracing1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -125,7 +122,6 @@ internal static InternalRealtimeSessionCreateRequestTracing1 DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -140,7 +136,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateRequestTracing1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestTracing1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestTracing1.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestTracing1.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTracing1.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs index b74699ac4..a64c37881 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateRequestTurnDetection IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestTurnDetection JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -194,7 +191,6 @@ internal static InternalRealtimeSessionCreateRequestTurnDetection DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -209,7 +205,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateRequestTurnDetection IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateRequestTurnDetection PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetection.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetection.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetection.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetectionEagerness.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetectionEagerness.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetectionEagerness.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetectionEagerness.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetectionType.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetectionType.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateRequestTurnDetectionType.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateRequestTurnDetectionType.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponse.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalRealtimeSessionCreateResponse.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.Serialization.cs index 7be358b14..ca291a979 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateResponse.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +149,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -333,7 +330,6 @@ internal static InternalRealtimeSessionCreateResponse DeserializeInternalRealtim BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -348,7 +344,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponse.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateResponse.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponse.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs index 4afc26546..b451d965c 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateResponseClientSecret IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponseClientSecret JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalRealtimeSessionCreateResponseClientSecret DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateResponseClientSecret IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponseClientSecret PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponseClientSecret.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateResponseClientSecret.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseClientSecret.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs index ef5062fd6..2ac5de615 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateResponseInputAudioTranscription IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponseInputAudioTranscription JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static InternalRealtimeSessionCreateResponseInputAudioTranscription Des BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateResponseInputAudioTranscription IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponseInputAudioTranscription PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponseInputAudioTranscription.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateResponseInputAudioTranscription.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseInputAudioTranscription.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs index 502fcc29c..3c35311f2 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +72,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateResponseTracing1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponseTracing1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -125,7 +122,6 @@ internal static InternalRealtimeSessionCreateResponseTracing1 DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -140,7 +136,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateResponseTracing1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponseTracing1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponseTracing1.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateResponseTracing1.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTracing1.cs diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs index f53ae750c..e62468378 100644 --- a/src/Generated/Models/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeSessionCreateResponseTurnDetection IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponseTurnDetection JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +134,6 @@ internal static InternalRealtimeSessionCreateResponseTurnDetection DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -152,7 +148,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeSessionCreateResponseTurnDetection IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeSessionCreateResponseTurnDetection PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeSessionCreateResponseTurnDetection.cs b/src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeSessionCreateResponseTurnDetection.cs rename to src/Generated/Models/Realtime/InternalRealtimeSessionCreateResponseTurnDetection.cs diff --git a/src/Generated/Models/InternalRealtimeToolChoiceFunctionObject.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeToolChoiceFunctionObject.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.Serialization.cs index 1a5d5af44..3f9d8c1a3 100644 --- a/src/Generated/Models/InternalRealtimeToolChoiceFunctionObject.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeToolChoiceFunctionObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeToolChoiceFunctionObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalRealtimeToolChoiceFunctionObject DeserializeInternalReal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeToolChoiceFunctionObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalRealtimeToolChoiceFunctionObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeToolChoiceFunctionObject.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeToolChoiceFunctionObject.cs rename to src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObject.cs diff --git a/src/Generated/Models/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs index 881c50f97..2f7d370d0 100644 --- a/src/Generated/Models/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Json writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeToolChoiceFunctionObjectFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeToolChoiceFunctionObjectFunction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRealtimeToolChoiceFunctionObjectFunction DeserializeInte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeToolChoiceFunctionObjectFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeToolChoiceFunctionObjectFunction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeToolChoiceFunctionObjectFunction.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeToolChoiceFunctionObjectFunction.cs rename to src/Generated/Models/Realtime/InternalRealtimeToolChoiceFunctionObjectFunction.cs diff --git a/src/Generated/Models/InternalRealtimeToolChoiceObject.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalRealtimeToolChoiceObject.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.Serialization.cs index 471ab02b0..7e901fad6 100644 --- a/src/Generated/Models/InternalRealtimeToolChoiceObject.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeToolChoiceObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static InternalRealtimeToolChoiceObject DeserializeInternalRealtimeTool BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeToolChoiceObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeToolChoiceObject.cs b/src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeToolChoiceObject.cs rename to src/Generated/Models/Realtime/InternalRealtimeToolChoiceObject.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs index 5f840d467..a58234dbb 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.W writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateRequestClientSecret IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestClientSecret JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRealtimeTranscriptionSessionCreateRequestClientSecret De BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateRequestClientSecret IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestClientSecret PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecret.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs index 35740b28c..1b51ce340 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalRealtimeTranscriptionSessionCreateRequestClientSecretExp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioFormat.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioFormat.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioFormat.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioFormat.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs index a96555532..a59f956e9 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoise BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs index 3d5cc1fcf..6b2df0fb6 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalRealtimeTranscriptionSessionCreateRequestInputAudioTrans BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestModality.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestModality.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestModality.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestModality.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs index ffb536e1b..f7249a0c1 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel. writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateRequestTurnDetection IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestTurnDetection JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -194,7 +191,6 @@ internal static InternalRealtimeTranscriptionSessionCreateRequestTurnDetection D BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -209,7 +205,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateRequestTurnDetection IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateRequestTurnDetection PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetection.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionType.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionType.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionType.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateRequestTurnDetectionType.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs index 296fbd143..ede2199db 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -168,7 +165,6 @@ internal static InternalRealtimeTranscriptionSessionCreateResponse DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -183,7 +179,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponse.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponse.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponse.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs index fbbd00493..5048b849c 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel. writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateResponseClientSecret IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateResponseClientSecret JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalRealtimeTranscriptionSessionCreateResponseClientSecret D BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateResponseClientSecret IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateResponseClientSecret PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseClientSecret.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs index b39b97aa0..49b348287 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalRealtimeTranscriptionSessionCreateResponseInputAudioTran BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseModality.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseModality.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseModality.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseModality.cs diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs index 4dcfb69b4..75e8acc1a 100644 --- a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalRealtimeTranscriptionSessionCreateResponseTurnDetection IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateResponseTurnDetection JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +134,6 @@ internal static InternalRealtimeTranscriptionSessionCreateResponseTurnDetection BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -152,7 +148,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeTranscriptionSessionCreateResponseTurnDetection IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalRealtimeTranscriptionSessionCreateResponseTurnDetection PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.cs b/src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.cs similarity index 100% rename from src/Generated/Models/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.cs rename to src/Generated/Models/Realtime/InternalRealtimeTranscriptionSessionCreateResponseTurnDetection.cs diff --git a/src/Generated/Models/InternalTranscriptTextDeltaEventLogprob.Serialization.cs b/src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalTranscriptTextDeltaEventLogprob.Serialization.cs rename to src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.Serialization.cs index d1e48d6aa..ea8999024 100644 --- a/src/Generated/Models/InternalTranscriptTextDeltaEventLogprob.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalTranscriptTextDeltaEventLogprob IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalTranscriptTextDeltaEventLogprob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +129,6 @@ internal static InternalTranscriptTextDeltaEventLogprob DeserializeInternalTrans BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -147,7 +143,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalTranscriptTextDeltaEventLogprob IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalTranscriptTextDeltaEventLogprob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalTranscriptTextDeltaEventLogprob.cs b/src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.cs similarity index 100% rename from src/Generated/Models/InternalTranscriptTextDeltaEventLogprob.cs rename to src/Generated/Models/Realtime/InternalTranscriptTextDeltaEventLogprob.cs diff --git a/src/Generated/Models/InternalTranscriptTextDoneEventLogprob.Serialization.cs b/src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalTranscriptTextDoneEventLogprob.Serialization.cs rename to src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.Serialization.cs index b472c00b9..00cec008b 100644 --- a/src/Generated/Models/InternalTranscriptTextDoneEventLogprob.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalTranscriptTextDoneEventLogprob IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalTranscriptTextDoneEventLogprob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +129,6 @@ internal static InternalTranscriptTextDoneEventLogprob DeserializeInternalTransc BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -147,7 +143,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalTranscriptTextDoneEventLogprob IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalTranscriptTextDoneEventLogprob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalTranscriptTextDoneEventLogprob.cs b/src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.cs similarity index 100% rename from src/Generated/Models/InternalTranscriptTextDoneEventLogprob.cs rename to src/Generated/Models/Realtime/InternalTranscriptTextDoneEventLogprob.cs diff --git a/src/Generated/Models/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs b/src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs rename to src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs index 51fbe16dc..af88c7585 100644 --- a/src/Generated/Models/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InputNoiseReductionOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InputNoiseReductionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownRealtimeAudioNoiseReduction DeserializeInternalUn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InputNoiseReductionOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InputNoiseReductionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownRealtimeAudioNoiseReduction.cs b/src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.cs similarity index 100% rename from src/Generated/Models/InternalUnknownRealtimeAudioNoiseReduction.cs rename to src/Generated/Models/Realtime/InternalUnknownRealtimeAudioNoiseReduction.cs diff --git a/src/Generated/Models/InternalVadConfig.Serialization.cs b/src/Generated/Models/Realtime/InternalVadConfig.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalVadConfig.Serialization.cs rename to src/Generated/Models/Realtime/InternalVadConfig.Serialization.cs index bf2eec1af..a83db55a0 100644 --- a/src/Generated/Models/InternalVadConfig.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalVadConfig.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVadConfig IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVadConfig JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +134,6 @@ internal static InternalVadConfig DeserializeInternalVadConfig(JsonElement eleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -152,7 +148,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVadConfig IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVadConfig PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVadConfig.cs b/src/Generated/Models/Realtime/InternalVadConfig.cs similarity index 100% rename from src/Generated/Models/InternalVadConfig.cs rename to src/Generated/Models/Realtime/InternalVadConfig.cs diff --git a/src/Generated/Models/ItemCreatedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ItemCreatedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/ItemCreatedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/ItemCreatedUpdate.Serialization.cs index 42e7e9964..abe63777a 100644 --- a/src/Generated/Models/ItemCreatedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/ItemCreatedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ItemCreatedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ItemCreatedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static ItemCreatedUpdate DeserializeItemCreatedUpdate(JsonElement eleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ItemCreatedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ItemCreatedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ItemCreatedUpdate.cs b/src/Generated/Models/Realtime/ItemCreatedUpdate.cs similarity index 92% rename from src/Generated/Models/ItemCreatedUpdate.cs rename to src/Generated/Models/Realtime/ItemCreatedUpdate.cs index 2cd351179..42af0b765 100644 --- a/src/Generated/Models/ItemCreatedUpdate.cs +++ b/src/Generated/Models/Realtime/ItemCreatedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ItemCreatedUpdate : RealtimeUpdate { internal ItemCreatedUpdate(string previousItemId, InternalRealtimeResponseItem internalItem) : base(RealtimeUpdateKind.ItemCreated) diff --git a/src/Generated/Models/ItemDeletedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ItemDeletedUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/ItemDeletedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/ItemDeletedUpdate.Serialization.cs index 9c0051b47..ece092a63 100644 --- a/src/Generated/Models/ItemDeletedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/ItemDeletedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ItemDeletedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ItemDeletedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static ItemDeletedUpdate DeserializeItemDeletedUpdate(JsonElement eleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ItemDeletedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ItemDeletedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ItemDeletedUpdate.cs b/src/Generated/Models/Realtime/ItemDeletedUpdate.cs similarity index 89% rename from src/Generated/Models/ItemDeletedUpdate.cs rename to src/Generated/Models/Realtime/ItemDeletedUpdate.cs index 617faba25..37039ac04 100644 --- a/src/Generated/Models/ItemDeletedUpdate.cs +++ b/src/Generated/Models/Realtime/ItemDeletedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ItemDeletedUpdate : RealtimeUpdate { internal ItemDeletedUpdate(string itemId) : base(RealtimeUpdateKind.ItemDeleted) diff --git a/src/Generated/Models/ItemRetrievedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ItemRetrievedUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/ItemRetrievedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/ItemRetrievedUpdate.Serialization.cs index c43859daa..14043245b 100644 --- a/src/Generated/Models/ItemRetrievedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/ItemRetrievedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ItemRetrievedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ItemRetrievedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static ItemRetrievedUpdate DeserializeItemRetrievedUpdate(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ItemRetrievedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ItemRetrievedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ItemRetrievedUpdate.cs b/src/Generated/Models/Realtime/ItemRetrievedUpdate.cs similarity index 89% rename from src/Generated/Models/ItemRetrievedUpdate.cs rename to src/Generated/Models/Realtime/ItemRetrievedUpdate.cs index 69b0430a4..bd30d5496 100644 --- a/src/Generated/Models/ItemRetrievedUpdate.cs +++ b/src/Generated/Models/Realtime/ItemRetrievedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ItemRetrievedUpdate : RealtimeUpdate { internal ItemRetrievedUpdate(RealtimeItem item) : base(RealtimeUpdateKind.ItemRetrieved) diff --git a/src/Generated/Models/ItemTruncatedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ItemTruncatedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/ItemTruncatedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/ItemTruncatedUpdate.Serialization.cs index b43c6a133..32f328e5f 100644 --- a/src/Generated/Models/ItemTruncatedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/ItemTruncatedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ItemTruncatedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ItemTruncatedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static ItemTruncatedUpdate DeserializeItemTruncatedUpdate(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ItemTruncatedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ItemTruncatedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ItemTruncatedUpdate.cs b/src/Generated/Models/Realtime/ItemTruncatedUpdate.cs similarity index 92% rename from src/Generated/Models/ItemTruncatedUpdate.cs rename to src/Generated/Models/Realtime/ItemTruncatedUpdate.cs index 32285185a..656d939d3 100644 --- a/src/Generated/Models/ItemTruncatedUpdate.cs +++ b/src/Generated/Models/Realtime/ItemTruncatedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ItemTruncatedUpdate : RealtimeUpdate { internal ItemTruncatedUpdate(string itemId, int contentIndex, int audioEndMs) : base(RealtimeUpdateKind.ItemTruncated) diff --git a/src/Generated/Models/OutputAudioFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputAudioFinishedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/OutputAudioFinishedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/OutputAudioFinishedUpdate.Serialization.cs index 56b2dcd66..4d98cb820 100644 --- a/src/Generated/Models/OutputAudioFinishedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/OutputAudioFinishedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri OutputAudioFinishedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (OutputAudioFinishedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static OutputAudioFinishedUpdate DeserializeOutputAudioFinishedUpdate(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions OutputAudioFinishedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (OutputAudioFinishedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/OutputAudioFinishedUpdate.cs b/src/Generated/Models/Realtime/OutputAudioFinishedUpdate.cs similarity index 94% rename from src/Generated/Models/OutputAudioFinishedUpdate.cs rename to src/Generated/Models/Realtime/OutputAudioFinishedUpdate.cs index d40f311d9..9c968c9a0 100644 --- a/src/Generated/Models/OutputAudioFinishedUpdate.cs +++ b/src/Generated/Models/Realtime/OutputAudioFinishedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class OutputAudioFinishedUpdate : RealtimeUpdate { internal OutputAudioFinishedUpdate(string responseId, string itemId, int outputIndex, int contentIndex) : base(RealtimeUpdateKind.ItemStreamingPartAudioFinished) diff --git a/src/Generated/Models/OutputAudioTranscriptionFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/OutputAudioTranscriptionFinishedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.Serialization.cs index ea2a00982..bcdd5c96e 100644 --- a/src/Generated/Models/OutputAudioTranscriptionFinishedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri OutputAudioTranscriptionFinishedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (OutputAudioTranscriptionFinishedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static OutputAudioTranscriptionFinishedUpdate DeserializeOutputAudioTra BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions OutputAudioTranscriptionFinishedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (OutputAudioTranscriptionFinishedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/OutputAudioTranscriptionFinishedUpdate.cs b/src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.cs similarity index 94% rename from src/Generated/Models/OutputAudioTranscriptionFinishedUpdate.cs rename to src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.cs index 5ac0c0d36..ed30769ed 100644 --- a/src/Generated/Models/OutputAudioTranscriptionFinishedUpdate.cs +++ b/src/Generated/Models/Realtime/OutputAudioTranscriptionFinishedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class OutputAudioTranscriptionFinishedUpdate : RealtimeUpdate { internal OutputAudioTranscriptionFinishedUpdate(string responseId, string itemId, int outputIndex, int contentIndex, string transcript) : base(RealtimeUpdateKind.ItemStreamingPartAudioTranscriptionFinished) diff --git a/src/Generated/Models/OutputStreamingFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/OutputStreamingFinishedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.Serialization.cs index 4f9fbd751..cebd5c528 100644 --- a/src/Generated/Models/OutputStreamingFinishedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri OutputStreamingFinishedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (OutputStreamingFinishedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static OutputStreamingFinishedUpdate DeserializeOutputStreamingFinished BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions OutputStreamingFinishedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (OutputStreamingFinishedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/OutputStreamingFinishedUpdate.cs b/src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.cs similarity index 93% rename from src/Generated/Models/OutputStreamingFinishedUpdate.cs rename to src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.cs index 936996eb5..1e2cd6b2a 100644 --- a/src/Generated/Models/OutputStreamingFinishedUpdate.cs +++ b/src/Generated/Models/Realtime/OutputStreamingFinishedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class OutputStreamingFinishedUpdate : RealtimeUpdate { internal OutputStreamingFinishedUpdate(string responseId, int outputIndex, InternalRealtimeResponseItem internalItem) : base(RealtimeUpdateKind.ItemStreamingFinished) diff --git a/src/Generated/Models/OutputStreamingStartedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputStreamingStartedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/OutputStreamingStartedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/OutputStreamingStartedUpdate.Serialization.cs index 8cf62a9c9..1049862df 100644 --- a/src/Generated/Models/OutputStreamingStartedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/OutputStreamingStartedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri OutputStreamingStartedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (OutputStreamingStartedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static OutputStreamingStartedUpdate DeserializeOutputStreamingStartedUp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions OutputStreamingStartedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (OutputStreamingStartedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/OutputStreamingStartedUpdate.cs b/src/Generated/Models/Realtime/OutputStreamingStartedUpdate.cs similarity index 93% rename from src/Generated/Models/OutputStreamingStartedUpdate.cs rename to src/Generated/Models/Realtime/OutputStreamingStartedUpdate.cs index 5982986b8..b600bda33 100644 --- a/src/Generated/Models/OutputStreamingStartedUpdate.cs +++ b/src/Generated/Models/Realtime/OutputStreamingStartedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class OutputStreamingStartedUpdate : RealtimeUpdate { internal OutputStreamingStartedUpdate(string responseId, int itemIndex, InternalRealtimeResponseItem internalItem) : base(RealtimeUpdateKind.ItemStreamingStarted) diff --git a/src/Generated/Models/OutputTextFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/OutputTextFinishedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/OutputTextFinishedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/OutputTextFinishedUpdate.Serialization.cs index 0748f2c00..ec3b15f5c 100644 --- a/src/Generated/Models/OutputTextFinishedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/OutputTextFinishedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri OutputTextFinishedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (OutputTextFinishedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static OutputTextFinishedUpdate DeserializeOutputTextFinishedUpdate(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions OutputTextFinishedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (OutputTextFinishedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/OutputTextFinishedUpdate.cs b/src/Generated/Models/Realtime/OutputTextFinishedUpdate.cs similarity index 94% rename from src/Generated/Models/OutputTextFinishedUpdate.cs rename to src/Generated/Models/Realtime/OutputTextFinishedUpdate.cs index d430675ba..7610d8948 100644 --- a/src/Generated/Models/OutputTextFinishedUpdate.cs +++ b/src/Generated/Models/Realtime/OutputTextFinishedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class OutputTextFinishedUpdate : RealtimeUpdate { internal OutputTextFinishedUpdate(string responseId, string itemId, int outputIndex, int contentIndex, string text) : base(RealtimeUpdateKind.ItemStreamingPartTextFinished) diff --git a/src/Generated/Models/RateLimitsUpdate.Serialization.cs b/src/Generated/Models/Realtime/RateLimitsUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/RateLimitsUpdate.Serialization.cs rename to src/Generated/Models/Realtime/RateLimitsUpdate.Serialization.cs index ca1d3fb76..75a960547 100644 --- a/src/Generated/Models/RateLimitsUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/RateLimitsUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri RateLimitsUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (RateLimitsUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +96,6 @@ internal static RateLimitsUpdate DeserializeRateLimitsUpdate(JsonElement element BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +110,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RateLimitsUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (RateLimitsUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RateLimitsUpdate.cs b/src/Generated/Models/Realtime/RateLimitsUpdate.cs similarity index 92% rename from src/Generated/Models/RateLimitsUpdate.cs rename to src/Generated/Models/Realtime/RateLimitsUpdate.cs index 71f8039be..5ceca009b 100644 --- a/src/Generated/Models/RateLimitsUpdate.cs +++ b/src/Generated/Models/Realtime/RateLimitsUpdate.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class RateLimitsUpdate : RealtimeUpdate { internal RateLimitsUpdate(IEnumerable allDetails) : base(RealtimeUpdateKind.RateLimitsUpdated) diff --git a/src/Generated/Models/RealtimeAudioFormat.cs b/src/Generated/Models/Realtime/RealtimeAudioFormat.cs similarity index 96% rename from src/Generated/Models/RealtimeAudioFormat.cs rename to src/Generated/Models/Realtime/RealtimeAudioFormat.cs index d9bdbe867..db7621079 100644 --- a/src/Generated/Models/RealtimeAudioFormat.cs +++ b/src/Generated/Models/Realtime/RealtimeAudioFormat.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct RealtimeAudioFormat : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/RealtimeErrorUpdate.Serialization.cs b/src/Generated/Models/Realtime/RealtimeErrorUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/RealtimeErrorUpdate.Serialization.cs rename to src/Generated/Models/Realtime/RealtimeErrorUpdate.Serialization.cs index 7b84c74e9..b8d66b8ad 100644 --- a/src/Generated/Models/RealtimeErrorUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/RealtimeErrorUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri RealtimeErrorUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (RealtimeErrorUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static RealtimeErrorUpdate DeserializeRealtimeErrorUpdate(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RealtimeErrorUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (RealtimeErrorUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RealtimeErrorUpdate.cs b/src/Generated/Models/Realtime/RealtimeErrorUpdate.cs similarity index 90% rename from src/Generated/Models/RealtimeErrorUpdate.cs rename to src/Generated/Models/Realtime/RealtimeErrorUpdate.cs index f7b760480..7a34905a5 100644 --- a/src/Generated/Models/RealtimeErrorUpdate.cs +++ b/src/Generated/Models/Realtime/RealtimeErrorUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class RealtimeErrorUpdate : RealtimeUpdate { internal RealtimeErrorUpdate(InternalRealtimeServerEventErrorError error) : base(RealtimeUpdateKind.Error) diff --git a/src/Generated/Models/RealtimeItem.Serialization.cs b/src/Generated/Models/Realtime/RealtimeItem.Serialization.cs similarity index 96% rename from src/Generated/Models/RealtimeItem.Serialization.cs rename to src/Generated/Models/Realtime/RealtimeItem.Serialization.cs index ad43cd388..821ad0262 100644 --- a/src/Generated/Models/RealtimeItem.Serialization.cs +++ b/src/Generated/Models/Realtime/RealtimeItem.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpti writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RealtimeItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -101,7 +98,6 @@ internal static RealtimeItem DeserializeRealtimeItem(JsonElement element, ModelR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -116,7 +112,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RealtimeItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RealtimeItem.cs b/src/Generated/Models/Realtime/RealtimeItem.cs similarity index 93% rename from src/Generated/Models/RealtimeItem.cs rename to src/Generated/Models/Realtime/RealtimeItem.cs index 490669ae9..189bb90a6 100644 --- a/src/Generated/Models/RealtimeItem.cs +++ b/src/Generated/Models/Realtime/RealtimeItem.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class RealtimeItem { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RealtimeUpdate.Serialization.cs b/src/Generated/Models/Realtime/RealtimeUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/RealtimeUpdate.Serialization.cs rename to src/Generated/Models/Realtime/RealtimeUpdate.Serialization.cs index 7934c8efc..393b8d101 100644 --- a/src/Generated/Models/RealtimeUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/RealtimeUpdate.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit RealtimeUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -80,7 +77,6 @@ protected virtual RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -95,7 +91,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RealtimeUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/RealtimeUpdate.cs b/src/Generated/Models/Realtime/RealtimeUpdate.cs similarity index 93% rename from src/Generated/Models/RealtimeUpdate.cs rename to src/Generated/Models/Realtime/RealtimeUpdate.cs index 9b54d9254..2f708b3ea 100644 --- a/src/Generated/Models/RealtimeUpdate.cs +++ b/src/Generated/Models/Realtime/RealtimeUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class RealtimeUpdate { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/RealtimeUpdateKind.Serialization.cs b/src/Generated/Models/Realtime/RealtimeUpdateKind.Serialization.cs similarity index 100% rename from src/Generated/Models/RealtimeUpdateKind.Serialization.cs rename to src/Generated/Models/Realtime/RealtimeUpdateKind.Serialization.cs diff --git a/src/Generated/Models/ResponseConversationSelection.cs b/src/Generated/Models/Realtime/ResponseConversationSelection.cs similarity index 96% rename from src/Generated/Models/ResponseConversationSelection.cs rename to src/Generated/Models/Realtime/ResponseConversationSelection.cs index cc87d77d6..f4d230362 100644 --- a/src/Generated/Models/ResponseConversationSelection.cs +++ b/src/Generated/Models/Realtime/ResponseConversationSelection.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public readonly partial struct ResponseConversationSelection : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ResponseFinishedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ResponseFinishedUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/ResponseFinishedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/ResponseFinishedUpdate.Serialization.cs index 3040af8de..9b778301b 100644 --- a/src/Generated/Models/ResponseFinishedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/ResponseFinishedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ResponseFinishedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ResponseFinishedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static ResponseFinishedUpdate DeserializeResponseFinishedUpdate(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseFinishedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ResponseFinishedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseFinishedUpdate.cs b/src/Generated/Models/Realtime/ResponseFinishedUpdate.cs similarity index 90% rename from src/Generated/Models/ResponseFinishedUpdate.cs rename to src/Generated/Models/Realtime/ResponseFinishedUpdate.cs index 7277debee..90842c7ea 100644 --- a/src/Generated/Models/ResponseFinishedUpdate.cs +++ b/src/Generated/Models/Realtime/ResponseFinishedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ResponseFinishedUpdate : RealtimeUpdate { internal ResponseFinishedUpdate(InternalRealtimeResponse internalResponse) : base(RealtimeUpdateKind.ResponseFinished) diff --git a/src/Generated/Models/ResponseStartedUpdate.Serialization.cs b/src/Generated/Models/Realtime/ResponseStartedUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/ResponseStartedUpdate.Serialization.cs rename to src/Generated/Models/Realtime/ResponseStartedUpdate.Serialization.cs index e07662d19..3ed4709f8 100644 --- a/src/Generated/Models/ResponseStartedUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/ResponseStartedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ResponseStartedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ResponseStartedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static ResponseStartedUpdate DeserializeResponseStartedUpdate(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseStartedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ResponseStartedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseStartedUpdate.cs b/src/Generated/Models/Realtime/ResponseStartedUpdate.cs similarity index 90% rename from src/Generated/Models/ResponseStartedUpdate.cs rename to src/Generated/Models/Realtime/ResponseStartedUpdate.cs index daa145436..1db395b89 100644 --- a/src/Generated/Models/ResponseStartedUpdate.cs +++ b/src/Generated/Models/Realtime/ResponseStartedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class ResponseStartedUpdate : RealtimeUpdate { internal ResponseStartedUpdate(InternalRealtimeResponse internalResponse) : base(RealtimeUpdateKind.ResponseStarted) diff --git a/src/Generated/Models/TranscriptionSessionConfiguredUpdate.Serialization.cs b/src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/TranscriptionSessionConfiguredUpdate.Serialization.cs rename to src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.Serialization.cs index 3d43d16e3..fdccd672b 100644 --- a/src/Generated/Models/TranscriptionSessionConfiguredUpdate.Serialization.cs +++ b/src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri TranscriptionSessionConfiguredUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (TranscriptionSessionConfiguredUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static TranscriptionSessionConfiguredUpdate DeserializeTranscriptionSes BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions TranscriptionSessionConfiguredUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (TranscriptionSessionConfiguredUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/TranscriptionSessionConfiguredUpdate.cs b/src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.cs similarity index 91% rename from src/Generated/Models/TranscriptionSessionConfiguredUpdate.cs rename to src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.cs index 27e66d73c..6e7677f07 100644 --- a/src/Generated/Models/TranscriptionSessionConfiguredUpdate.cs +++ b/src/Generated/Models/Realtime/TranscriptionSessionConfiguredUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class TranscriptionSessionConfiguredUpdate : RealtimeUpdate { internal TranscriptionSessionConfiguredUpdate(InternalRealtimeTranscriptionSessionCreateResponse internalSession) : base(RealtimeUpdateKind.TranscriptionSessionConfigured) diff --git a/src/Generated/Models/TranscriptionSessionOptions.Serialization.cs b/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs similarity index 98% rename from src/Generated/Models/TranscriptionSessionOptions.Serialization.cs rename to src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs index 1d937ae5e..c1b019248 100644 --- a/src/Generated/Models/TranscriptionSessionOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -102,7 +100,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit TranscriptionSessionOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual TranscriptionSessionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -227,7 +224,6 @@ internal static TranscriptionSessionOptions DeserializeTranscriptionSessionOptio BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -242,7 +238,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions TranscriptionSessionOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual TranscriptionSessionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/TranscriptionSessionOptions.cs b/src/Generated/Models/Realtime/TranscriptionSessionOptions.cs similarity index 96% rename from src/Generated/Models/TranscriptionSessionOptions.cs rename to src/Generated/Models/Realtime/TranscriptionSessionOptions.cs index 1f1db675d..257e81135 100644 --- a/src/Generated/Models/TranscriptionSessionOptions.cs +++ b/src/Generated/Models/Realtime/TranscriptionSessionOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class TranscriptionSessionOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/TurnDetectionKind.Serialization.cs b/src/Generated/Models/Realtime/TurnDetectionKind.Serialization.cs similarity index 100% rename from src/Generated/Models/TurnDetectionKind.Serialization.cs rename to src/Generated/Models/Realtime/TurnDetectionKind.Serialization.cs diff --git a/src/Generated/Models/TurnDetectionOptions.Serialization.cs b/src/Generated/Models/Realtime/TurnDetectionOptions.Serialization.cs similarity index 96% rename from src/Generated/Models/TurnDetectionOptions.Serialization.cs rename to src/Generated/Models/Realtime/TurnDetectionOptions.Serialization.cs index 80bc7f795..717814ea4 100644 --- a/src/Generated/Models/TurnDetectionOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/TurnDetectionOptions.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit TurnDetectionOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual TurnDetectionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -85,7 +82,6 @@ protected virtual TurnDetectionOptions JsonModelCreateCore(ref Utf8JsonReader re BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +96,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions TurnDetectionOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual TurnDetectionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/TurnDetectionOptions.cs b/src/Generated/Models/Realtime/TurnDetectionOptions.cs similarity index 93% rename from src/Generated/Models/TurnDetectionOptions.cs rename to src/Generated/Models/Realtime/TurnDetectionOptions.cs index d2a6476d6..aba1748b6 100644 --- a/src/Generated/Models/TurnDetectionOptions.cs +++ b/src/Generated/Models/Realtime/TurnDetectionOptions.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class TurnDetectionOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/UnknownRealtimeClientEvent.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeClientEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRealtimeClientEvent.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeClientEvent.Serialization.cs index 013212cbf..30903be2c 100644 --- a/src/Generated/Models/UnknownRealtimeClientEvent.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeClientEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeClientEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static UnknownRealtimeClientEvent DeserializeUnknownRealtimeClientEvent BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeClientEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeClientEvent PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeClientEvent.cs b/src/Generated/Models/Realtime/UnknownRealtimeClientEvent.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeClientEvent.cs rename to src/Generated/Models/Realtime/UnknownRealtimeClientEvent.cs diff --git a/src/Generated/Models/UnknownRealtimeContentPart.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeContentPart.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRealtimeContentPart.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeContentPart.Serialization.cs index 63b7ecec4..150bf8ca4 100644 --- a/src/Generated/Models/UnknownRealtimeContentPart.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeContentPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ConversationContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ConversationContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownRealtimeContentPart DeserializeUnknownRealtimeContentPart BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ConversationContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeContentPart.cs b/src/Generated/Models/Realtime/UnknownRealtimeContentPart.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeContentPart.cs rename to src/Generated/Models/Realtime/UnknownRealtimeContentPart.cs diff --git a/src/Generated/Models/UnknownRealtimeRequestItem.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeRequestItem.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRealtimeRequestItem.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeRequestItem.Serialization.cs index 73d9a2ece..2cc565dc8 100644 --- a/src/Generated/Models/UnknownRealtimeRequestItem.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeRequestItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpti writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri RealtimeItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static UnknownRealtimeRequestItem DeserializeUnknownRealtimeRequestItem BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RealtimeItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeRequestItem.cs b/src/Generated/Models/Realtime/UnknownRealtimeRequestItem.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeRequestItem.cs rename to src/Generated/Models/Realtime/UnknownRealtimeRequestItem.cs diff --git a/src/Generated/Models/UnknownRealtimeRequestMessageItem.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.Serialization.cs similarity index 97% rename from src/Generated/Models/UnknownRealtimeRequestMessageItem.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.Serialization.cs index ec25e35c8..d60164892 100644 --- a/src/Generated/Models/UnknownRealtimeRequestMessageItem.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeRequestMessageItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (UnknownRealtimeRequestMessageItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static UnknownRealtimeRequestMessageItem DeserializeUnknownRealtimeRequ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeRequestMessageItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (UnknownRealtimeRequestMessageItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeRequestMessageItem.cs b/src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeRequestMessageItem.cs rename to src/Generated/Models/Realtime/UnknownRealtimeRequestMessageItem.cs diff --git a/src/Generated/Models/UnknownRealtimeResponseItem.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeResponseItem.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRealtimeResponseItem.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeResponseItem.Serialization.cs index 19eeb169a..be4bc8b49 100644 --- a/src/Generated/Models/UnknownRealtimeResponseItem.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static UnknownRealtimeResponseItem DeserializeUnknownRealtimeResponseIt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeResponseItem.cs b/src/Generated/Models/Realtime/UnknownRealtimeResponseItem.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeResponseItem.cs rename to src/Generated/Models/Realtime/UnknownRealtimeResponseItem.cs diff --git a/src/Generated/Models/UnknownRealtimeServerEvent.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeServerEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRealtimeServerEvent.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeServerEvent.Serialization.cs index 2f278e41c..8bb72eb5a 100644 --- a/src/Generated/Models/UnknownRealtimeServerEvent.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeServerEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri RealtimeUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static UnknownRealtimeServerEvent DeserializeUnknownRealtimeServerEvent BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions RealtimeUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override RealtimeUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeServerEvent.cs b/src/Generated/Models/Realtime/UnknownRealtimeServerEvent.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeServerEvent.cs rename to src/Generated/Models/Realtime/UnknownRealtimeServerEvent.cs diff --git a/src/Generated/Models/UnknownRealtimeTool.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeTool.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRealtimeTool.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeTool.Serialization.cs index 6c4c33f50..7a98547d0 100644 --- a/src/Generated/Models/UnknownRealtimeTool.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ConversationTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ConversationTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownRealtimeTool DeserializeUnknownRealtimeTool(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ConversationTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ConversationTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeTool.cs b/src/Generated/Models/Realtime/UnknownRealtimeTool.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeTool.cs rename to src/Generated/Models/Realtime/UnknownRealtimeTool.cs diff --git a/src/Generated/Models/UnknownRealtimeToolChoiceObject.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRealtimeToolChoiceObject.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.Serialization.cs index bb2bdeb88..8d32474df 100644 --- a/src/Generated/Models/UnknownRealtimeToolChoiceObject.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalRealtimeToolChoiceObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalRealtimeToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static UnknownRealtimeToolChoiceObject DeserializeUnknownRealtimeToolCh BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalRealtimeToolChoiceObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalRealtimeToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeToolChoiceObject.cs b/src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeToolChoiceObject.cs rename to src/Generated/Models/Realtime/UnknownRealtimeToolChoiceObject.cs diff --git a/src/Generated/Models/UnknownRealtimeTurnDetection.Serialization.cs b/src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownRealtimeTurnDetection.Serialization.cs rename to src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.Serialization.cs index d3a29176a..63daae81e 100644 --- a/src/Generated/Models/UnknownRealtimeTurnDetection.Serialization.cs +++ b/src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri TurnDetectionOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override TurnDetectionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static UnknownRealtimeTurnDetection DeserializeUnknownRealtimeTurnDetec BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions TurnDetectionOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override TurnDetectionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownRealtimeTurnDetection.cs b/src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.cs similarity index 100% rename from src/Generated/Models/UnknownRealtimeTurnDetection.cs rename to src/Generated/Models/Realtime/UnknownRealtimeTurnDetection.cs diff --git a/src/Generated/Models/ComputerCallAction.Serialization.cs b/src/Generated/Models/Responses/ComputerCallAction.Serialization.cs similarity index 97% rename from src/Generated/Models/ComputerCallAction.Serialization.cs rename to src/Generated/Models/Responses/ComputerCallAction.Serialization.cs index 454ef45c3..fd2a15e38 100644 --- a/src/Generated/Models/ComputerCallAction.Serialization.cs +++ b/src/Generated/Models/Responses/ComputerCallAction.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ComputerCallAction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +105,6 @@ internal static ComputerCallAction DeserializeComputerCallAction(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -123,7 +119,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ComputerCallAction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ComputerCallAction.cs b/src/Generated/Models/Responses/ComputerCallAction.cs similarity index 92% rename from src/Generated/Models/ComputerCallAction.cs rename to src/Generated/Models/Responses/ComputerCallAction.cs index f1c421757..3a0c92e30 100644 --- a/src/Generated/Models/ComputerCallAction.cs +++ b/src/Generated/Models/Responses/ComputerCallAction.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAICUA001")] public partial class ComputerCallAction { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ComputerCallActionKind.Serialization.cs b/src/Generated/Models/Responses/ComputerCallActionKind.Serialization.cs similarity index 100% rename from src/Generated/Models/ComputerCallActionKind.Serialization.cs rename to src/Generated/Models/Responses/ComputerCallActionKind.Serialization.cs diff --git a/src/Generated/Models/ComputerCallActionMouseButton.Serialization.cs b/src/Generated/Models/Responses/ComputerCallActionMouseButton.Serialization.cs similarity index 100% rename from src/Generated/Models/ComputerCallActionMouseButton.Serialization.cs rename to src/Generated/Models/Responses/ComputerCallActionMouseButton.Serialization.cs diff --git a/src/Generated/Models/ComputerCallOutputResponseItem.Serialization.cs b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs similarity index 97% rename from src/Generated/Models/ComputerCallOutputResponseItem.Serialization.cs rename to src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs index 640acf9b7..9bc4d6fa8 100644 --- a/src/Generated/Models/ComputerCallOutputResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -63,7 +61,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ComputerCallOutputResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ComputerCallOutputResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +141,6 @@ internal static ComputerCallOutputResponseItem DeserializeComputerCallOutputResp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -159,7 +155,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ComputerCallOutputResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ComputerCallOutputResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ComputerCallOutputResponseItem.cs b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.cs similarity index 94% rename from src/Generated/Models/ComputerCallOutputResponseItem.cs rename to src/Generated/Models/Responses/ComputerCallOutputResponseItem.cs index 555d4dc1f..9b886d77f 100644 --- a/src/Generated/Models/ComputerCallOutputResponseItem.cs +++ b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAICUA001")] public partial class ComputerCallOutputResponseItem : ResponseItem { internal ComputerCallOutputResponseItem(string id, string callId, ComputerOutput output, ComputerCallOutputStatus? status) : base(InternalItemType.ComputerCallOutput, id) diff --git a/src/Generated/Models/ComputerCallOutputStatus.Serialization.cs b/src/Generated/Models/Responses/ComputerCallOutputStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/ComputerCallOutputStatus.Serialization.cs rename to src/Generated/Models/Responses/ComputerCallOutputStatus.Serialization.cs diff --git a/src/Generated/Models/ComputerCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs similarity index 97% rename from src/Generated/Models/ComputerCallResponseItem.Serialization.cs rename to src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs index 8ea4322e8..9e6450bcf 100644 --- a/src/Generated/Models/ComputerCallResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -63,7 +61,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ComputerCallResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ComputerCallResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -140,7 +137,6 @@ internal static ComputerCallResponseItem DeserializeComputerCallResponseItem(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -155,7 +151,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ComputerCallResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ComputerCallResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ComputerCallResponseItem.cs b/src/Generated/Models/Responses/ComputerCallResponseItem.cs similarity index 94% rename from src/Generated/Models/ComputerCallResponseItem.cs rename to src/Generated/Models/Responses/ComputerCallResponseItem.cs index 0fff52825..e3f2d612e 100644 --- a/src/Generated/Models/ComputerCallResponseItem.cs +++ b/src/Generated/Models/Responses/ComputerCallResponseItem.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAICUA001")] public partial class ComputerCallResponseItem : ResponseItem { internal ComputerCallResponseItem(string id, string callId, ComputerCallAction action, IEnumerable pendingSafetyChecks, ComputerCallStatus? status) : base(InternalItemType.ComputerCall, id) diff --git a/src/Generated/Models/ComputerCallSafetyCheck.Serialization.cs b/src/Generated/Models/Responses/ComputerCallSafetyCheck.Serialization.cs similarity index 97% rename from src/Generated/Models/ComputerCallSafetyCheck.Serialization.cs rename to src/Generated/Models/Responses/ComputerCallSafetyCheck.Serialization.cs index 5ea843354..3d7d474b4 100644 --- a/src/Generated/Models/ComputerCallSafetyCheck.Serialization.cs +++ b/src/Generated/Models/Responses/ComputerCallSafetyCheck.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ComputerCallSafetyCheck IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ComputerCallSafetyCheck JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static ComputerCallSafetyCheck DeserializeComputerCallSafetyCheck(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ComputerCallSafetyCheck IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ComputerCallSafetyCheck PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ComputerCallSafetyCheck.cs b/src/Generated/Models/Responses/ComputerCallSafetyCheck.cs similarity index 94% rename from src/Generated/Models/ComputerCallSafetyCheck.cs rename to src/Generated/Models/Responses/ComputerCallSafetyCheck.cs index e6adbdff3..7d14cb344 100644 --- a/src/Generated/Models/ComputerCallSafetyCheck.cs +++ b/src/Generated/Models/Responses/ComputerCallSafetyCheck.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAICUA001")] public partial class ComputerCallSafetyCheck { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ComputerCallStatus.Serialization.cs b/src/Generated/Models/Responses/ComputerCallStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/ComputerCallStatus.Serialization.cs rename to src/Generated/Models/Responses/ComputerCallStatus.Serialization.cs diff --git a/src/Generated/Models/ComputerOutput.Serialization.cs b/src/Generated/Models/Responses/ComputerOutput.Serialization.cs similarity index 96% rename from src/Generated/Models/ComputerOutput.Serialization.cs rename to src/Generated/Models/Responses/ComputerOutput.Serialization.cs index 958296e6d..697c04d34 100644 --- a/src/Generated/Models/ComputerOutput.Serialization.cs +++ b/src/Generated/Models/Responses/ComputerOutput.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ComputerOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ComputerOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static ComputerOutput DeserializeComputerOutput(JsonElement element, Mo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ComputerOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ComputerOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ComputerOutput.cs b/src/Generated/Models/Responses/ComputerOutput.cs similarity index 92% rename from src/Generated/Models/ComputerOutput.cs rename to src/Generated/Models/Responses/ComputerOutput.cs index d20f2979b..bbef7123c 100644 --- a/src/Generated/Models/ComputerOutput.cs +++ b/src/Generated/Models/Responses/ComputerOutput.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAICUA001")] public partial class ComputerOutput { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ComputerToolEnvironment.cs b/src/Generated/Models/Responses/ComputerToolEnvironment.cs similarity index 96% rename from src/Generated/Models/ComputerToolEnvironment.cs rename to src/Generated/Models/Responses/ComputerToolEnvironment.cs index 9101d9fdd..80f325d11 100644 --- a/src/Generated/Models/ComputerToolEnvironment.cs +++ b/src/Generated/Models/Responses/ComputerToolEnvironment.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAICUA001")] public readonly partial struct ComputerToolEnvironment : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/FileSearchCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs similarity index 97% rename from src/Generated/Models/FileSearchCallResponseItem.Serialization.cs rename to src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs index 6356f7b58..d7b5a9ec2 100644 --- a/src/Generated/Models/FileSearchCallResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri FileSearchCallResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (FileSearchCallResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -154,7 +151,6 @@ internal static FileSearchCallResponseItem DeserializeFileSearchCallResponseItem BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -169,7 +165,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileSearchCallResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (FileSearchCallResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FileSearchCallResponseItem.cs b/src/Generated/Models/Responses/FileSearchCallResponseItem.cs similarity index 94% rename from src/Generated/Models/FileSearchCallResponseItem.cs rename to src/Generated/Models/Responses/FileSearchCallResponseItem.cs index 2f7194e25..e2a11b18a 100644 --- a/src/Generated/Models/FileSearchCallResponseItem.cs +++ b/src/Generated/Models/Responses/FileSearchCallResponseItem.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class FileSearchCallResponseItem : ResponseItem { internal FileSearchCallResponseItem(string id, IEnumerable queries, FileSearchCallStatus? status) : base(InternalItemType.FileSearchCall, id) diff --git a/src/Generated/Models/FileSearchCallResult.Serialization.cs b/src/Generated/Models/Responses/FileSearchCallResult.Serialization.cs similarity index 98% rename from src/Generated/Models/FileSearchCallResult.Serialization.cs rename to src/Generated/Models/Responses/FileSearchCallResult.Serialization.cs index 7d455f565..c4b22aed9 100644 --- a/src/Generated/Models/FileSearchCallResult.Serialization.cs +++ b/src/Generated/Models/Responses/FileSearchCallResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -95,7 +93,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FileSearchCallResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FileSearchCallResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -180,7 +177,6 @@ internal static FileSearchCallResult DeserializeFileSearchCallResult(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -195,7 +191,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileSearchCallResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FileSearchCallResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FileSearchCallResult.cs b/src/Generated/Models/Responses/FileSearchCallResult.cs similarity index 95% rename from src/Generated/Models/FileSearchCallResult.cs rename to src/Generated/Models/Responses/FileSearchCallResult.cs index c46d06ff5..4b7234457 100644 --- a/src/Generated/Models/FileSearchCallResult.cs +++ b/src/Generated/Models/Responses/FileSearchCallResult.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class FileSearchCallResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FileSearchCallStatus.Serialization.cs b/src/Generated/Models/Responses/FileSearchCallStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/FileSearchCallStatus.Serialization.cs rename to src/Generated/Models/Responses/FileSearchCallStatus.Serialization.cs diff --git a/src/Generated/Models/FileSearchToolRanker.cs b/src/Generated/Models/Responses/FileSearchToolRanker.cs similarity index 95% rename from src/Generated/Models/FileSearchToolRanker.cs rename to src/Generated/Models/Responses/FileSearchToolRanker.cs index 6af4e03a0..0b8c6cc63 100644 --- a/src/Generated/Models/FileSearchToolRanker.cs +++ b/src/Generated/Models/Responses/FileSearchToolRanker.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public readonly partial struct FileSearchToolRanker : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/FileSearchToolRankingOptions.Serialization.cs b/src/Generated/Models/Responses/FileSearchToolRankingOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/FileSearchToolRankingOptions.Serialization.cs rename to src/Generated/Models/Responses/FileSearchToolRankingOptions.Serialization.cs index 61d3a95a5..6fd4ee958 100644 --- a/src/Generated/Models/FileSearchToolRankingOptions.Serialization.cs +++ b/src/Generated/Models/Responses/FileSearchToolRankingOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FileSearchToolRankingOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FileSearchToolRankingOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static FileSearchToolRankingOptions DeserializeFileSearchToolRankingOpt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileSearchToolRankingOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FileSearchToolRankingOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FileSearchToolRankingOptions.cs b/src/Generated/Models/Responses/FileSearchToolRankingOptions.cs similarity index 93% rename from src/Generated/Models/FileSearchToolRankingOptions.cs rename to src/Generated/Models/Responses/FileSearchToolRankingOptions.cs index b1569b52b..5b229cd04 100644 --- a/src/Generated/Models/FileSearchToolRankingOptions.cs +++ b/src/Generated/Models/Responses/FileSearchToolRankingOptions.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class FileSearchToolRankingOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FunctionCallOutputResponseItem.Serialization.cs b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs similarity index 97% rename from src/Generated/Models/FunctionCallOutputResponseItem.Serialization.cs rename to src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs index 134899228..8665b9bc1 100644 --- a/src/Generated/Models/FunctionCallOutputResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -53,7 +51,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri FunctionCallOutputResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (FunctionCallOutputResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static FunctionCallOutputResponseItem DeserializeFunctionCallOutputResp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FunctionCallOutputResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (FunctionCallOutputResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FunctionCallOutputResponseItem.cs b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.cs similarity index 92% rename from src/Generated/Models/FunctionCallOutputResponseItem.cs rename to src/Generated/Models/Responses/FunctionCallOutputResponseItem.cs index 82767760d..99cf239f0 100644 --- a/src/Generated/Models/FunctionCallOutputResponseItem.cs +++ b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class FunctionCallOutputResponseItem : ResponseItem { internal FunctionCallOutputResponseItem(string id, string callId, string functionOutput, FunctionCallOutputStatus? status) : base(InternalItemType.FunctionCallOutput, id) diff --git a/src/Generated/Models/FunctionCallOutputStatus.Serialization.cs b/src/Generated/Models/Responses/FunctionCallOutputStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/FunctionCallOutputStatus.Serialization.cs rename to src/Generated/Models/Responses/FunctionCallOutputStatus.Serialization.cs diff --git a/src/Generated/Models/FunctionCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs similarity index 97% rename from src/Generated/Models/FunctionCallResponseItem.Serialization.cs rename to src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs index 793093a46..5df964f2e 100644 --- a/src/Generated/Models/FunctionCallResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -58,7 +56,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri FunctionCallResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (FunctionCallResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +127,6 @@ internal static FunctionCallResponseItem DeserializeFunctionCallResponseItem(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +141,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FunctionCallResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (FunctionCallResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FunctionCallResponseItem.cs b/src/Generated/Models/Responses/FunctionCallResponseItem.cs similarity index 93% rename from src/Generated/Models/FunctionCallResponseItem.cs rename to src/Generated/Models/Responses/FunctionCallResponseItem.cs index 74075b986..ead18af1a 100644 --- a/src/Generated/Models/FunctionCallResponseItem.cs +++ b/src/Generated/Models/Responses/FunctionCallResponseItem.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class FunctionCallResponseItem : ResponseItem { internal FunctionCallResponseItem(string id, string callId, string functionName, BinaryData functionArguments, FunctionCallStatus? status) : base(InternalItemType.FunctionCall, id) diff --git a/src/Generated/Models/FunctionCallStatus.Serialization.cs b/src/Generated/Models/Responses/FunctionCallStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/FunctionCallStatus.Serialization.cs rename to src/Generated/Models/Responses/FunctionCallStatus.Serialization.cs diff --git a/src/Generated/Models/InternalAnnotationFileCitation.Serialization.cs b/src/Generated/Models/Responses/InternalAnnotationFileCitation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalAnnotationFileCitation.Serialization.cs rename to src/Generated/Models/Responses/InternalAnnotationFileCitation.Serialization.cs index 212653f5a..747b44958 100644 --- a/src/Generated/Models/InternalAnnotationFileCitation.Serialization.cs +++ b/src/Generated/Models/Responses/InternalAnnotationFileCitation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalAnnotationFileCitation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalAnnotationFileCitation)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseMessageAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalAnnotationFileCitation DeserializeInternalAnnotationFile BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalAnnotationFileCitation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalAnnotationFileCitation)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseMessageAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalAnnotationFileCitation.cs b/src/Generated/Models/Responses/InternalAnnotationFileCitation.cs similarity index 100% rename from src/Generated/Models/InternalAnnotationFileCitation.cs rename to src/Generated/Models/Responses/InternalAnnotationFileCitation.cs diff --git a/src/Generated/Models/InternalAnnotationFilePath.Serialization.cs b/src/Generated/Models/Responses/InternalAnnotationFilePath.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalAnnotationFilePath.Serialization.cs rename to src/Generated/Models/Responses/InternalAnnotationFilePath.Serialization.cs index cf76a2a44..a5982c072 100644 --- a/src/Generated/Models/InternalAnnotationFilePath.Serialization.cs +++ b/src/Generated/Models/Responses/InternalAnnotationFilePath.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalAnnotationFilePath IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalAnnotationFilePath)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseMessageAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalAnnotationFilePath DeserializeInternalAnnotationFilePath BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalAnnotationFilePath IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalAnnotationFilePath)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseMessageAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalAnnotationFilePath.cs b/src/Generated/Models/Responses/InternalAnnotationFilePath.cs similarity index 100% rename from src/Generated/Models/InternalAnnotationFilePath.cs rename to src/Generated/Models/Responses/InternalAnnotationFilePath.cs diff --git a/src/Generated/Models/InternalAnnotationUrlCitation.Serialization.cs b/src/Generated/Models/Responses/InternalAnnotationUrlCitation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalAnnotationUrlCitation.Serialization.cs rename to src/Generated/Models/Responses/InternalAnnotationUrlCitation.Serialization.cs index 85a76102e..f20876c59 100644 --- a/src/Generated/Models/InternalAnnotationUrlCitation.Serialization.cs +++ b/src/Generated/Models/Responses/InternalAnnotationUrlCitation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalAnnotationUrlCitation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalAnnotationUrlCitation)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseMessageAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +119,6 @@ internal static InternalAnnotationUrlCitation DeserializeInternalAnnotationUrlCi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalAnnotationUrlCitation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalAnnotationUrlCitation)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseMessageAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalAnnotationUrlCitation.cs b/src/Generated/Models/Responses/InternalAnnotationUrlCitation.cs similarity index 100% rename from src/Generated/Models/InternalAnnotationUrlCitation.cs rename to src/Generated/Models/Responses/InternalAnnotationUrlCitation.cs diff --git a/src/Generated/Models/InternalApproximateLocation.Serialization.cs b/src/Generated/Models/Responses/InternalApproximateLocation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalApproximateLocation.Serialization.cs rename to src/Generated/Models/Responses/InternalApproximateLocation.Serialization.cs index b6a8db8c3..2ff45d16e 100644 --- a/src/Generated/Models/InternalApproximateLocation.Serialization.cs +++ b/src/Generated/Models/Responses/InternalApproximateLocation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -53,7 +51,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalApproximateLocation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalApproximateLocation)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalLocation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -138,7 +135,6 @@ internal static InternalApproximateLocation DeserializeInternalApproximateLocati BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -153,7 +149,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalApproximateLocation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalApproximateLocation)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalLocation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalApproximateLocation.cs b/src/Generated/Models/Responses/InternalApproximateLocation.cs similarity index 100% rename from src/Generated/Models/InternalApproximateLocation.cs rename to src/Generated/Models/Responses/InternalApproximateLocation.cs diff --git a/src/Generated/Models/InternalCodeInterpreterFileOutput.Serialization.cs b/src/Generated/Models/Responses/InternalCodeInterpreterFileOutput.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCodeInterpreterFileOutput.Serialization.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterFileOutput.Serialization.cs index 51fae99cb..d089ff4c8 100644 --- a/src/Generated/Models/InternalCodeInterpreterFileOutput.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCodeInterpreterFileOutput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCodeInterpreterFileOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCodeInterpreterFileOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalCodeInterpreterFileOutput DeserializeInternalCodeInterpr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCodeInterpreterFileOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCodeInterpreterFileOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCodeInterpreterFileOutput.cs b/src/Generated/Models/Responses/InternalCodeInterpreterFileOutput.cs similarity index 100% rename from src/Generated/Models/InternalCodeInterpreterFileOutput.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterFileOutput.cs diff --git a/src/Generated/Models/InternalCodeInterpreterFileOutputFile.Serialization.cs b/src/Generated/Models/Responses/InternalCodeInterpreterFileOutputFile.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCodeInterpreterFileOutputFile.Serialization.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterFileOutputFile.Serialization.cs index d4d3c3db0..2a4094617 100644 --- a/src/Generated/Models/InternalCodeInterpreterFileOutputFile.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCodeInterpreterFileOutputFile.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCodeInterpreterFileOutputFile IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCodeInterpreterFileOutputFile JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalCodeInterpreterFileOutputFile DeserializeInternalCodeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCodeInterpreterFileOutputFile IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCodeInterpreterFileOutputFile PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCodeInterpreterFileOutputFile.cs b/src/Generated/Models/Responses/InternalCodeInterpreterFileOutputFile.cs similarity index 100% rename from src/Generated/Models/InternalCodeInterpreterFileOutputFile.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterFileOutputFile.cs diff --git a/src/Generated/Models/InternalCodeInterpreterTextOutput.Serialization.cs b/src/Generated/Models/Responses/InternalCodeInterpreterTextOutput.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCodeInterpreterTextOutput.Serialization.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterTextOutput.Serialization.cs index b48918080..2efcae789 100644 --- a/src/Generated/Models/InternalCodeInterpreterTextOutput.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCodeInterpreterTextOutput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCodeInterpreterTextOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCodeInterpreterTextOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalCodeInterpreterTextOutput DeserializeInternalCodeInterpr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCodeInterpreterTextOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCodeInterpreterTextOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCodeInterpreterTextOutput.cs b/src/Generated/Models/Responses/InternalCodeInterpreterTextOutput.cs similarity index 100% rename from src/Generated/Models/InternalCodeInterpreterTextOutput.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterTextOutput.cs diff --git a/src/Generated/Models/InternalCodeInterpreterTool.Serialization.cs b/src/Generated/Models/Responses/InternalCodeInterpreterTool.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalCodeInterpreterTool.Serialization.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterTool.Serialization.cs index e5e977273..b4ea081be 100644 --- a/src/Generated/Models/InternalCodeInterpreterTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCodeInterpreterTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -49,7 +47,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalCodeInterpreterTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCodeInterpreterTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +87,6 @@ internal static InternalCodeInterpreterTool DeserializeInternalCodeInterpreterTo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +101,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCodeInterpreterTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCodeInterpreterTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCodeInterpreterTool.cs b/src/Generated/Models/Responses/InternalCodeInterpreterTool.cs similarity index 100% rename from src/Generated/Models/InternalCodeInterpreterTool.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterTool.cs diff --git a/src/Generated/Models/InternalCodeInterpreterToolAuto.Serialization.cs b/src/Generated/Models/Responses/InternalCodeInterpreterToolAuto.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCodeInterpreterToolAuto.Serialization.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterToolAuto.Serialization.cs index c03a6dbd9..a35d63776 100644 --- a/src/Generated/Models/InternalCodeInterpreterToolAuto.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCodeInterpreterToolAuto.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +70,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCodeInterpreterToolAuto IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCodeInterpreterToolAuto JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalCodeInterpreterToolAuto DeserializeInternalCodeInterpret BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCodeInterpreterToolAuto IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCodeInterpreterToolAuto PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCodeInterpreterToolAuto.cs b/src/Generated/Models/Responses/InternalCodeInterpreterToolAuto.cs similarity index 100% rename from src/Generated/Models/InternalCodeInterpreterToolAuto.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterToolAuto.cs diff --git a/src/Generated/Models/InternalCodeInterpreterToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCodeInterpreterToolCallItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemParam.Serialization.cs index 27a4ad36b..182618924 100644 --- a/src/Generated/Models/InternalCodeInterpreterToolCallItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -69,7 +67,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalCodeInterpreterToolCallItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCodeInterpreterToolCallItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +131,6 @@ internal static InternalCodeInterpreterToolCallItemParam DeserializeInternalCode BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -149,7 +145,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCodeInterpreterToolCallItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCodeInterpreterToolCallItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCodeInterpreterToolCallItemParam.cs b/src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemParam.cs similarity index 100% rename from src/Generated/Models/InternalCodeInterpreterToolCallItemParam.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemParam.cs diff --git a/src/Generated/Models/InternalCodeInterpreterToolCallItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCodeInterpreterToolCallItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemResource.Serialization.cs index 163217810..4399630f4 100644 --- a/src/Generated/Models/InternalCodeInterpreterToolCallItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +72,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalCodeInterpreterToolCallItemResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCodeInterpreterToolCallItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -158,7 +155,6 @@ internal static InternalCodeInterpreterToolCallItemResource DeserializeInternalC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -173,7 +169,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCodeInterpreterToolCallItemResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCodeInterpreterToolCallItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCodeInterpreterToolCallItemResource.cs b/src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemResource.cs similarity index 100% rename from src/Generated/Models/InternalCodeInterpreterToolCallItemResource.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemResource.cs diff --git a/src/Generated/Models/InternalCodeInterpreterToolCallItemResourceStatus.cs b/src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemResourceStatus.cs similarity index 100% rename from src/Generated/Models/InternalCodeInterpreterToolCallItemResourceStatus.cs rename to src/Generated/Models/Responses/InternalCodeInterpreterToolCallItemResourceStatus.cs diff --git a/src/Generated/Models/InternalComparisonFilter.Serialization.cs b/src/Generated/Models/Responses/InternalComparisonFilter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComparisonFilter.Serialization.cs rename to src/Generated/Models/Responses/InternalComparisonFilter.Serialization.cs index 71bda75e2..8558c1115 100644 --- a/src/Generated/Models/InternalComparisonFilter.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComparisonFilter.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +76,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalComparisonFilter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalComparisonFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +116,6 @@ internal static InternalComparisonFilter DeserializeInternalComparisonFilter(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +130,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComparisonFilter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalComparisonFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComparisonFilter.cs b/src/Generated/Models/Responses/InternalComparisonFilter.cs similarity index 100% rename from src/Generated/Models/InternalComparisonFilter.cs rename to src/Generated/Models/Responses/InternalComparisonFilter.cs diff --git a/src/Generated/Models/InternalComparisonFilterEquals.Serialization.cs b/src/Generated/Models/Responses/InternalComparisonFilterEquals.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComparisonFilterEquals.Serialization.cs rename to src/Generated/Models/Responses/InternalComparisonFilterEquals.Serialization.cs index 3ca1ecbee..8083cdec8 100644 --- a/src/Generated/Models/InternalComparisonFilterEquals.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComparisonFilterEquals.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComparisonFilterEquals IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComparisonFilterEquals)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalComparisonFilterEquals DeserializeInternalComparisonFilt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComparisonFilterEquals IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComparisonFilterEquals)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComparisonFilterEquals.cs b/src/Generated/Models/Responses/InternalComparisonFilterEquals.cs similarity index 100% rename from src/Generated/Models/InternalComparisonFilterEquals.cs rename to src/Generated/Models/Responses/InternalComparisonFilterEquals.cs diff --git a/src/Generated/Models/InternalComparisonFilterGreaterThan.Serialization.cs b/src/Generated/Models/Responses/InternalComparisonFilterGreaterThan.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComparisonFilterGreaterThan.Serialization.cs rename to src/Generated/Models/Responses/InternalComparisonFilterGreaterThan.Serialization.cs index b12953080..0db5038af 100644 --- a/src/Generated/Models/InternalComparisonFilterGreaterThan.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComparisonFilterGreaterThan.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComparisonFilterGreaterThan IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComparisonFilterGreaterThan)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalComparisonFilterGreaterThan DeserializeInternalCompariso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComparisonFilterGreaterThan IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComparisonFilterGreaterThan)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComparisonFilterGreaterThan.cs b/src/Generated/Models/Responses/InternalComparisonFilterGreaterThan.cs similarity index 100% rename from src/Generated/Models/InternalComparisonFilterGreaterThan.cs rename to src/Generated/Models/Responses/InternalComparisonFilterGreaterThan.cs diff --git a/src/Generated/Models/InternalComparisonFilterGreaterThanOrEquals.Serialization.cs b/src/Generated/Models/Responses/InternalComparisonFilterGreaterThanOrEquals.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComparisonFilterGreaterThanOrEquals.Serialization.cs rename to src/Generated/Models/Responses/InternalComparisonFilterGreaterThanOrEquals.Serialization.cs index b488f5564..b56d642f5 100644 --- a/src/Generated/Models/InternalComparisonFilterGreaterThanOrEquals.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComparisonFilterGreaterThanOrEquals.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComparisonFilterGreaterThanOrEquals IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComparisonFilterGreaterThanOrEquals)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalComparisonFilterGreaterThanOrEquals DeserializeInternalC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComparisonFilterGreaterThanOrEquals IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComparisonFilterGreaterThanOrEquals)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComparisonFilterGreaterThanOrEquals.cs b/src/Generated/Models/Responses/InternalComparisonFilterGreaterThanOrEquals.cs similarity index 100% rename from src/Generated/Models/InternalComparisonFilterGreaterThanOrEquals.cs rename to src/Generated/Models/Responses/InternalComparisonFilterGreaterThanOrEquals.cs diff --git a/src/Generated/Models/InternalComparisonFilterLessThan.Serialization.cs b/src/Generated/Models/Responses/InternalComparisonFilterLessThan.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComparisonFilterLessThan.Serialization.cs rename to src/Generated/Models/Responses/InternalComparisonFilterLessThan.Serialization.cs index ef99e5640..e0eb98469 100644 --- a/src/Generated/Models/InternalComparisonFilterLessThan.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComparisonFilterLessThan.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComparisonFilterLessThan IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComparisonFilterLessThan)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalComparisonFilterLessThan DeserializeInternalComparisonFi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComparisonFilterLessThan IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComparisonFilterLessThan)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComparisonFilterLessThan.cs b/src/Generated/Models/Responses/InternalComparisonFilterLessThan.cs similarity index 100% rename from src/Generated/Models/InternalComparisonFilterLessThan.cs rename to src/Generated/Models/Responses/InternalComparisonFilterLessThan.cs diff --git a/src/Generated/Models/InternalComparisonFilterLessThanOrEquals.Serialization.cs b/src/Generated/Models/Responses/InternalComparisonFilterLessThanOrEquals.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComparisonFilterLessThanOrEquals.Serialization.cs rename to src/Generated/Models/Responses/InternalComparisonFilterLessThanOrEquals.Serialization.cs index d37302d27..8adb1fdb9 100644 --- a/src/Generated/Models/InternalComparisonFilterLessThanOrEquals.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComparisonFilterLessThanOrEquals.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComparisonFilterLessThanOrEquals IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComparisonFilterLessThanOrEquals)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalComparisonFilterLessThanOrEquals DeserializeInternalComp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComparisonFilterLessThanOrEquals IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComparisonFilterLessThanOrEquals)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComparisonFilterLessThanOrEquals.cs b/src/Generated/Models/Responses/InternalComparisonFilterLessThanOrEquals.cs similarity index 100% rename from src/Generated/Models/InternalComparisonFilterLessThanOrEquals.cs rename to src/Generated/Models/Responses/InternalComparisonFilterLessThanOrEquals.cs diff --git a/src/Generated/Models/InternalComparisonFilterNotEquals.Serialization.cs b/src/Generated/Models/Responses/InternalComparisonFilterNotEquals.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComparisonFilterNotEquals.Serialization.cs rename to src/Generated/Models/Responses/InternalComparisonFilterNotEquals.Serialization.cs index f8b475da4..a8ba19697 100644 --- a/src/Generated/Models/InternalComparisonFilterNotEquals.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComparisonFilterNotEquals.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComparisonFilterNotEquals IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComparisonFilterNotEquals)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalComparisonFilterNotEquals DeserializeInternalComparisonF BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComparisonFilterNotEquals IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComparisonFilterNotEquals)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComparisonFilterNotEquals.cs b/src/Generated/Models/Responses/InternalComparisonFilterNotEquals.cs similarity index 100% rename from src/Generated/Models/InternalComparisonFilterNotEquals.cs rename to src/Generated/Models/Responses/InternalComparisonFilterNotEquals.cs diff --git a/src/Generated/Models/InternalComparisonFilterType.cs b/src/Generated/Models/Responses/InternalComparisonFilterType.cs similarity index 100% rename from src/Generated/Models/InternalComparisonFilterType.cs rename to src/Generated/Models/Responses/InternalComparisonFilterType.cs diff --git a/src/Generated/Models/InternalCompoundFilter.Serialization.cs b/src/Generated/Models/Responses/InternalCompoundFilter.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCompoundFilter.Serialization.cs rename to src/Generated/Models/Responses/InternalCompoundFilter.Serialization.cs index 690a8f225..c1a99ef5f 100644 --- a/src/Generated/Models/InternalCompoundFilter.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCompoundFilter.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCompoundFilter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCompoundFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -116,7 +113,6 @@ internal static InternalCompoundFilter DeserializeInternalCompoundFilter(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -131,7 +127,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCompoundFilter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCompoundFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCompoundFilter.cs b/src/Generated/Models/Responses/InternalCompoundFilter.cs similarity index 100% rename from src/Generated/Models/InternalCompoundFilter.cs rename to src/Generated/Models/Responses/InternalCompoundFilter.cs diff --git a/src/Generated/Models/InternalCompoundFilterAnd.Serialization.cs b/src/Generated/Models/Responses/InternalCompoundFilterAnd.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalCompoundFilterAnd.Serialization.cs rename to src/Generated/Models/Responses/InternalCompoundFilterAnd.Serialization.cs index bbaeb0c7c..27ce40a28 100644 --- a/src/Generated/Models/InternalCompoundFilterAnd.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCompoundFilterAnd.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalCompoundFilterAnd IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCompoundFilterAnd)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalCompoundFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +87,6 @@ internal static InternalCompoundFilterAnd DeserializeInternalCompoundFilterAnd(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +101,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCompoundFilterAnd IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCompoundFilterAnd)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalCompoundFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCompoundFilterAnd.cs b/src/Generated/Models/Responses/InternalCompoundFilterAnd.cs similarity index 100% rename from src/Generated/Models/InternalCompoundFilterAnd.cs rename to src/Generated/Models/Responses/InternalCompoundFilterAnd.cs diff --git a/src/Generated/Models/InternalCompoundFilterOr.Serialization.cs b/src/Generated/Models/Responses/InternalCompoundFilterOr.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalCompoundFilterOr.Serialization.cs rename to src/Generated/Models/Responses/InternalCompoundFilterOr.Serialization.cs index c91cc6aa6..4a348c523 100644 --- a/src/Generated/Models/InternalCompoundFilterOr.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCompoundFilterOr.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalCompoundFilterOr IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCompoundFilterOr)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalCompoundFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +87,6 @@ internal static InternalCompoundFilterOr DeserializeInternalCompoundFilterOr(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +101,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCompoundFilterOr IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCompoundFilterOr)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalCompoundFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCompoundFilterOr.cs b/src/Generated/Models/Responses/InternalCompoundFilterOr.cs similarity index 100% rename from src/Generated/Models/InternalCompoundFilterOr.cs rename to src/Generated/Models/Responses/InternalCompoundFilterOr.cs diff --git a/src/Generated/Models/InternalCompoundFilterType.cs b/src/Generated/Models/Responses/InternalCompoundFilterType.cs similarity index 100% rename from src/Generated/Models/InternalCompoundFilterType.cs rename to src/Generated/Models/Responses/InternalCompoundFilterType.cs diff --git a/src/Generated/Models/InternalComputerActionClick.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionClick.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComputerActionClick.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionClick.Serialization.cs index bd67a4eab..0c61cf382 100644 --- a/src/Generated/Models/InternalComputerActionClick.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionClick.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionClick IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionClick)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +102,6 @@ internal static InternalComputerActionClick DeserializeInternalComputerActionCli BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -120,7 +116,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionClick IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionClick)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionClick.cs b/src/Generated/Models/Responses/InternalComputerActionClick.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionClick.cs rename to src/Generated/Models/Responses/InternalComputerActionClick.cs diff --git a/src/Generated/Models/InternalComputerActionDoubleClick.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionDoubleClick.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComputerActionDoubleClick.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionDoubleClick.Serialization.cs index 0593c4627..e386fbacd 100644 --- a/src/Generated/Models/InternalComputerActionDoubleClick.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionDoubleClick.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionDoubleClick IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionDoubleClick)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalComputerActionDoubleClick DeserializeInternalComputerAct BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionDoubleClick IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionDoubleClick)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionDoubleClick.cs b/src/Generated/Models/Responses/InternalComputerActionDoubleClick.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionDoubleClick.cs rename to src/Generated/Models/Responses/InternalComputerActionDoubleClick.cs diff --git a/src/Generated/Models/InternalComputerActionDrag.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionDrag.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComputerActionDrag.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionDrag.Serialization.cs index 35b49ce64..c5ba48bd6 100644 --- a/src/Generated/Models/InternalComputerActionDrag.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionDrag.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionDrag IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionDrag)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +90,6 @@ internal static InternalComputerActionDrag DeserializeInternalComputerActionDrag BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -108,7 +104,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionDrag IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionDrag)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionDrag.cs b/src/Generated/Models/Responses/InternalComputerActionDrag.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionDrag.cs rename to src/Generated/Models/Responses/InternalComputerActionDrag.cs diff --git a/src/Generated/Models/InternalComputerActionKeyPress.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionKeyPress.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComputerActionKeyPress.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionKeyPress.Serialization.cs index 85cbbc583..4aa14190a 100644 --- a/src/Generated/Models/InternalComputerActionKeyPress.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionKeyPress.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionKeyPress IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionKeyPress)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +102,6 @@ internal static InternalComputerActionKeyPress DeserializeInternalComputerAction BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -120,7 +116,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionKeyPress IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionKeyPress)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionKeyPress.cs b/src/Generated/Models/Responses/InternalComputerActionKeyPress.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionKeyPress.cs rename to src/Generated/Models/Responses/InternalComputerActionKeyPress.cs diff --git a/src/Generated/Models/InternalComputerActionMove.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionMove.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComputerActionMove.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionMove.Serialization.cs index 8297e9c4b..8ae78d751 100644 --- a/src/Generated/Models/InternalComputerActionMove.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionMove.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionMove IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionMove)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalComputerActionMove DeserializeInternalComputerActionMove BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionMove IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionMove)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionMove.cs b/src/Generated/Models/Responses/InternalComputerActionMove.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionMove.cs rename to src/Generated/Models/Responses/InternalComputerActionMove.cs diff --git a/src/Generated/Models/InternalComputerActionScreenshot.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionScreenshot.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComputerActionScreenshot.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionScreenshot.Serialization.cs index 8103f5acc..b9badc60a 100644 --- a/src/Generated/Models/InternalComputerActionScreenshot.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionScreenshot.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionScreenshot IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionScreenshot)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalComputerActionScreenshot DeserializeInternalComputerActi BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionScreenshot IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionScreenshot)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionScreenshot.cs b/src/Generated/Models/Responses/InternalComputerActionScreenshot.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionScreenshot.cs rename to src/Generated/Models/Responses/InternalComputerActionScreenshot.cs diff --git a/src/Generated/Models/InternalComputerActionScroll.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionScroll.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComputerActionScroll.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionScroll.Serialization.cs index 3ba9f819a..6a8369c3f 100644 --- a/src/Generated/Models/InternalComputerActionScroll.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionScroll.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionScroll IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionScroll)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +119,6 @@ internal static InternalComputerActionScroll DeserializeInternalComputerActionSc BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionScroll IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionScroll)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionScroll.cs b/src/Generated/Models/Responses/InternalComputerActionScroll.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionScroll.cs rename to src/Generated/Models/Responses/InternalComputerActionScroll.cs diff --git a/src/Generated/Models/InternalComputerActionTypeKeys.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionTypeKeys.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComputerActionTypeKeys.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionTypeKeys.Serialization.cs index 1b02fd1e9..90fbd833e 100644 --- a/src/Generated/Models/InternalComputerActionTypeKeys.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionTypeKeys.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionTypeKeys IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionTypeKeys)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalComputerActionTypeKeys DeserializeInternalComputerAction BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionTypeKeys IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionTypeKeys)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionTypeKeys.cs b/src/Generated/Models/Responses/InternalComputerActionTypeKeys.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionTypeKeys.cs rename to src/Generated/Models/Responses/InternalComputerActionTypeKeys.cs diff --git a/src/Generated/Models/InternalComputerActionWait.Serialization.cs b/src/Generated/Models/Responses/InternalComputerActionWait.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalComputerActionWait.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerActionWait.Serialization.cs index 259b01073..5e913a6db 100644 --- a/src/Generated/Models/InternalComputerActionWait.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerActionWait.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerActionWait IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerActionWait)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalComputerActionWait DeserializeInternalComputerActionWait BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerActionWait IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerActionWait)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerActionWait.cs b/src/Generated/Models/Responses/InternalComputerActionWait.cs similarity index 100% rename from src/Generated/Models/InternalComputerActionWait.cs rename to src/Generated/Models/Responses/InternalComputerActionWait.cs diff --git a/src/Generated/Models/InternalComputerToolCallOutputItemOutputComputerScreenshot.Serialization.cs b/src/Generated/Models/Responses/InternalComputerToolCallOutputItemOutputComputerScreenshot.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComputerToolCallOutputItemOutputComputerScreenshot.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerToolCallOutputItemOutputComputerScreenshot.Serialization.cs index adf6bf5f7..1f024c533 100644 --- a/src/Generated/Models/InternalComputerToolCallOutputItemOutputComputerScreenshot.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerToolCallOutputItemOutputComputerScreenshot.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -43,7 +41,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerToolCallOutputItemOutputComputerScreenshot IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerToolCallOutputItemOutputComputerScreenshot)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +87,6 @@ internal static InternalComputerToolCallOutputItemOutputComputerScreenshot Deser BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +101,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerToolCallOutputItemOutputComputerScreenshot IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerToolCallOutputItemOutputComputerScreenshot)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerToolCallOutputItemOutputComputerScreenshot.cs b/src/Generated/Models/Responses/InternalComputerToolCallOutputItemOutputComputerScreenshot.cs similarity index 100% rename from src/Generated/Models/InternalComputerToolCallOutputItemOutputComputerScreenshot.cs rename to src/Generated/Models/Responses/InternalComputerToolCallOutputItemOutputComputerScreenshot.cs diff --git a/src/Generated/Models/InternalComputerUsePreviewTool.Serialization.cs b/src/Generated/Models/Responses/InternalComputerUsePreviewTool.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComputerUsePreviewTool.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerUsePreviewTool.Serialization.cs index 3fbc37793..bb8b6ae9a 100644 --- a/src/Generated/Models/InternalComputerUsePreviewTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerUsePreviewTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerUsePreviewTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerUsePreviewTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +102,6 @@ internal static InternalComputerUsePreviewTool DeserializeInternalComputerUsePre BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -120,7 +116,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerUsePreviewTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerUsePreviewTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerUsePreviewTool.cs b/src/Generated/Models/Responses/InternalComputerUsePreviewTool.cs similarity index 100% rename from src/Generated/Models/InternalComputerUsePreviewTool.cs rename to src/Generated/Models/Responses/InternalComputerUsePreviewTool.cs diff --git a/src/Generated/Models/InternalComputerUsePreviewToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalComputerUsePreviewToolCallItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComputerUsePreviewToolCallItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerUsePreviewToolCallItemParam.Serialization.cs index 921dd42dd..e7695db6b 100644 --- a/src/Generated/Models/InternalComputerUsePreviewToolCallItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerUsePreviewToolCallItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerUsePreviewToolCallItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerUsePreviewToolCallItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +112,6 @@ internal static InternalComputerUsePreviewToolCallItemParam DeserializeInternalC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +126,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerUsePreviewToolCallItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerUsePreviewToolCallItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerUsePreviewToolCallItemParam.cs b/src/Generated/Models/Responses/InternalComputerUsePreviewToolCallItemParam.cs similarity index 100% rename from src/Generated/Models/InternalComputerUsePreviewToolCallItemParam.cs rename to src/Generated/Models/Responses/InternalComputerUsePreviewToolCallItemParam.cs diff --git a/src/Generated/Models/InternalComputerUsePreviewToolCallOutputItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalComputerUsePreviewToolCallOutputItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalComputerUsePreviewToolCallOutputItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalComputerUsePreviewToolCallOutputItemParam.Serialization.cs index 8e3d1121c..a391d46e6 100644 --- a/src/Generated/Models/InternalComputerUsePreviewToolCallOutputItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalComputerUsePreviewToolCallOutputItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComputerUsePreviewToolCallOutputItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalComputerUsePreviewToolCallOutputItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +116,6 @@ internal static InternalComputerUsePreviewToolCallOutputItemParam DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +130,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComputerUsePreviewToolCallOutputItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalComputerUsePreviewToolCallOutputItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalComputerUsePreviewToolCallOutputItemParam.cs b/src/Generated/Models/Responses/InternalComputerUsePreviewToolCallOutputItemParam.cs similarity index 100% rename from src/Generated/Models/InternalComputerUsePreviewToolCallOutputItemParam.cs rename to src/Generated/Models/Responses/InternalComputerUsePreviewToolCallOutputItemParam.cs diff --git a/src/Generated/Models/InternalComputerUsePreviewToolCallOutputOutputType.cs b/src/Generated/Models/Responses/InternalComputerUsePreviewToolCallOutputOutputType.cs similarity index 100% rename from src/Generated/Models/InternalComputerUsePreviewToolCallOutputOutputType.cs rename to src/Generated/Models/Responses/InternalComputerUsePreviewToolCallOutputOutputType.cs diff --git a/src/Generated/Models/InternalCoordinate.Serialization.cs b/src/Generated/Models/Responses/InternalCoordinate.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCoordinate.Serialization.cs rename to src/Generated/Models/Responses/InternalCoordinate.Serialization.cs index 96af80d6f..07a4641e4 100644 --- a/src/Generated/Models/InternalCoordinate.Serialization.cs +++ b/src/Generated/Models/Responses/InternalCoordinate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCoordinate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCoordinate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalCoordinate DeserializeInternalCoordinate(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCoordinate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCoordinate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCoordinate.cs b/src/Generated/Models/Responses/InternalCoordinate.cs similarity index 100% rename from src/Generated/Models/InternalCoordinate.cs rename to src/Generated/Models/Responses/InternalCoordinate.cs diff --git a/src/Generated/Models/InternalDotnetResponseWebSearchApproximateLocation.Serialization.cs b/src/Generated/Models/Responses/InternalDotnetResponseWebSearchApproximateLocation.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalDotnetResponseWebSearchApproximateLocation.Serialization.cs rename to src/Generated/Models/Responses/InternalDotnetResponseWebSearchApproximateLocation.Serialization.cs index 283189a39..500def7db 100644 --- a/src/Generated/Models/InternalDotnetResponseWebSearchApproximateLocation.Serialization.cs +++ b/src/Generated/Models/Responses/InternalDotnetResponseWebSearchApproximateLocation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -53,7 +51,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotnetResponseWebSearchApproximateLocation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotnetResponseWebSearchApproximateLocation)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override WebSearchUserLocation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -138,7 +135,6 @@ internal static InternalDotnetResponseWebSearchApproximateLocation DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -153,7 +149,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotnetResponseWebSearchApproximateLocation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotnetResponseWebSearchApproximateLocation)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override WebSearchUserLocation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotnetResponseWebSearchApproximateLocation.cs b/src/Generated/Models/Responses/InternalDotnetResponseWebSearchApproximateLocation.cs similarity index 100% rename from src/Generated/Models/InternalDotnetResponseWebSearchApproximateLocation.cs rename to src/Generated/Models/Responses/InternalDotnetResponseWebSearchApproximateLocation.cs diff --git a/src/Generated/Models/InternalFileSearchTool.Serialization.cs b/src/Generated/Models/Responses/InternalFileSearchTool.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFileSearchTool.Serialization.cs rename to src/Generated/Models/Responses/InternalFileSearchTool.Serialization.cs index fb6d3fd6f..ddc9b4f31 100644 --- a/src/Generated/Models/InternalFileSearchTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalFileSearchTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -74,7 +72,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalFileSearchTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFileSearchTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -164,7 +161,6 @@ internal static InternalFileSearchTool DeserializeInternalFileSearchTool(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -179,7 +175,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFileSearchTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFileSearchTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFileSearchTool.cs b/src/Generated/Models/Responses/InternalFileSearchTool.cs similarity index 100% rename from src/Generated/Models/InternalFileSearchTool.cs rename to src/Generated/Models/Responses/InternalFileSearchTool.cs diff --git a/src/Generated/Models/InternalFileSearchToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalFileSearchToolCallItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFileSearchToolCallItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalFileSearchToolCallItemParam.Serialization.cs index 00a89276f..b4df39b01 100644 --- a/src/Generated/Models/InternalFileSearchToolCallItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalFileSearchToolCallItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalFileSearchToolCallItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFileSearchToolCallItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +127,6 @@ internal static InternalFileSearchToolCallItemParam DeserializeInternalFileSearc BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +141,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFileSearchToolCallItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFileSearchToolCallItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFileSearchToolCallItemParam.cs b/src/Generated/Models/Responses/InternalFileSearchToolCallItemParam.cs similarity index 100% rename from src/Generated/Models/InternalFileSearchToolCallItemParam.cs rename to src/Generated/Models/Responses/InternalFileSearchToolCallItemParam.cs diff --git a/src/Generated/Models/InternalFunctionTool.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionTool.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFunctionTool.Serialization.cs rename to src/Generated/Models/Responses/InternalFunctionTool.Serialization.cs index eab60fd7d..c77866c56 100644 --- a/src/Generated/Models/InternalFunctionTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalFunctionTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +76,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalFunctionTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -158,7 +155,6 @@ internal static InternalFunctionTool DeserializeInternalFunctionTool(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -173,7 +169,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFunctionTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFunctionTool.cs b/src/Generated/Models/Responses/InternalFunctionTool.cs similarity index 100% rename from src/Generated/Models/InternalFunctionTool.cs rename to src/Generated/Models/Responses/InternalFunctionTool.cs diff --git a/src/Generated/Models/InternalFunctionToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionToolCallItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFunctionToolCallItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalFunctionToolCallItemParam.Serialization.cs index d4f0a2e01..75386b40b 100644 --- a/src/Generated/Models/InternalFunctionToolCallItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalFunctionToolCallItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalFunctionToolCallItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionToolCallItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +102,6 @@ internal static InternalFunctionToolCallItemParam DeserializeInternalFunctionToo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -120,7 +116,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFunctionToolCallItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionToolCallItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFunctionToolCallItemParam.cs b/src/Generated/Models/Responses/InternalFunctionToolCallItemParam.cs similarity index 100% rename from src/Generated/Models/InternalFunctionToolCallItemParam.cs rename to src/Generated/Models/Responses/InternalFunctionToolCallItemParam.cs diff --git a/src/Generated/Models/InternalFunctionToolCallOutputItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionToolCallOutputItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalFunctionToolCallOutputItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalFunctionToolCallOutputItemParam.Serialization.cs index 112580a28..48d3e030c 100644 --- a/src/Generated/Models/InternalFunctionToolCallOutputItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalFunctionToolCallOutputItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalFunctionToolCallOutputItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionToolCallOutputItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalFunctionToolCallOutputItemParam DeserializeInternalFunct BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalFunctionToolCallOutputItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionToolCallOutputItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalFunctionToolCallOutputItemParam.cs b/src/Generated/Models/Responses/InternalFunctionToolCallOutputItemParam.cs similarity index 100% rename from src/Generated/Models/InternalFunctionToolCallOutputItemParam.cs rename to src/Generated/Models/Responses/InternalFunctionToolCallOutputItemParam.cs diff --git a/src/Generated/Models/InternalImageGenTool.Serialization.cs b/src/Generated/Models/Responses/InternalImageGenTool.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalImageGenTool.Serialization.cs rename to src/Generated/Models/Responses/InternalImageGenTool.Serialization.cs index ab0a9963b..b6a7fd6c6 100644 --- a/src/Generated/Models/InternalImageGenTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalImageGenTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +76,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalImageGenTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalImageGenTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -210,7 +207,6 @@ internal static InternalImageGenTool DeserializeInternalImageGenTool(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -225,7 +221,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalImageGenTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalImageGenTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalImageGenTool.cs b/src/Generated/Models/Responses/InternalImageGenTool.cs similarity index 100% rename from src/Generated/Models/InternalImageGenTool.cs rename to src/Generated/Models/Responses/InternalImageGenTool.cs diff --git a/src/Generated/Models/InternalImageGenToolBackground.cs b/src/Generated/Models/Responses/InternalImageGenToolBackground.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolBackground.cs rename to src/Generated/Models/Responses/InternalImageGenToolBackground.cs diff --git a/src/Generated/Models/InternalImageGenToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalImageGenToolCallItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalImageGenToolCallItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalImageGenToolCallItemParam.Serialization.cs index db71ddfe9..5992c6c56 100644 --- a/src/Generated/Models/InternalImageGenToolCallItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalImageGenToolCallItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -49,7 +47,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalImageGenToolCallItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalImageGenToolCallItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -95,7 +92,6 @@ internal static InternalImageGenToolCallItemParam DeserializeInternalImageGenToo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -110,7 +106,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalImageGenToolCallItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalImageGenToolCallItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalImageGenToolCallItemParam.cs b/src/Generated/Models/Responses/InternalImageGenToolCallItemParam.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolCallItemParam.cs rename to src/Generated/Models/Responses/InternalImageGenToolCallItemParam.cs diff --git a/src/Generated/Models/InternalImageGenToolCallItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalImageGenToolCallItemResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalImageGenToolCallItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalImageGenToolCallItemResource.Serialization.cs index 4f6c81d45..51c319ab3 100644 --- a/src/Generated/Models/InternalImageGenToolCallItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalImageGenToolCallItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -54,7 +52,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalImageGenToolCallItemResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalImageGenToolCallItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -112,7 +109,6 @@ internal static InternalImageGenToolCallItemResource DeserializeInternalImageGen BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -127,7 +123,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalImageGenToolCallItemResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalImageGenToolCallItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalImageGenToolCallItemResource.cs b/src/Generated/Models/Responses/InternalImageGenToolCallItemResource.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolCallItemResource.cs rename to src/Generated/Models/Responses/InternalImageGenToolCallItemResource.cs diff --git a/src/Generated/Models/InternalImageGenToolCallItemResourceStatus.cs b/src/Generated/Models/Responses/InternalImageGenToolCallItemResourceStatus.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolCallItemResourceStatus.cs rename to src/Generated/Models/Responses/InternalImageGenToolCallItemResourceStatus.cs diff --git a/src/Generated/Models/InternalImageGenToolInputImageMask.Serialization.cs b/src/Generated/Models/Responses/InternalImageGenToolInputImageMask.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalImageGenToolInputImageMask.Serialization.cs rename to src/Generated/Models/Responses/InternalImageGenToolInputImageMask.Serialization.cs index 958e67119..b68607e08 100644 --- a/src/Generated/Models/InternalImageGenToolInputImageMask.Serialization.cs +++ b/src/Generated/Models/Responses/InternalImageGenToolInputImageMask.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalImageGenToolInputImageMask IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalImageGenToolInputImageMask JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalImageGenToolInputImageMask DeserializeInternalImageGenTo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalImageGenToolInputImageMask IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalImageGenToolInputImageMask PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalImageGenToolInputImageMask.cs b/src/Generated/Models/Responses/InternalImageGenToolInputImageMask.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolInputImageMask.cs rename to src/Generated/Models/Responses/InternalImageGenToolInputImageMask.cs diff --git a/src/Generated/Models/InternalImageGenToolModeration.cs b/src/Generated/Models/Responses/InternalImageGenToolModeration.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolModeration.cs rename to src/Generated/Models/Responses/InternalImageGenToolModeration.cs diff --git a/src/Generated/Models/InternalImageGenToolOutputFormat.cs b/src/Generated/Models/Responses/InternalImageGenToolOutputFormat.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolOutputFormat.cs rename to src/Generated/Models/Responses/InternalImageGenToolOutputFormat.cs diff --git a/src/Generated/Models/InternalImageGenToolQuality.cs b/src/Generated/Models/Responses/InternalImageGenToolQuality.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolQuality.cs rename to src/Generated/Models/Responses/InternalImageGenToolQuality.cs diff --git a/src/Generated/Models/InternalImageGenToolSize.cs b/src/Generated/Models/Responses/InternalImageGenToolSize.cs similarity index 100% rename from src/Generated/Models/InternalImageGenToolSize.cs rename to src/Generated/Models/Responses/InternalImageGenToolSize.cs diff --git a/src/Generated/Models/InternalImplicitUserMessage.Serialization.cs b/src/Generated/Models/Responses/InternalImplicitUserMessage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalImplicitUserMessage.Serialization.cs rename to src/Generated/Models/Responses/InternalImplicitUserMessage.Serialization.cs index 66c520584..f971e0360 100644 --- a/src/Generated/Models/InternalImplicitUserMessage.Serialization.cs +++ b/src/Generated/Models/Responses/InternalImplicitUserMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalImplicitUserMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalImplicitUserMessage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalImplicitUserMessage DeserializeInternalImplicitUserMessa BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalImplicitUserMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalImplicitUserMessage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalImplicitUserMessage.cs b/src/Generated/Models/Responses/InternalImplicitUserMessage.cs similarity index 100% rename from src/Generated/Models/InternalImplicitUserMessage.cs rename to src/Generated/Models/Responses/InternalImplicitUserMessage.cs diff --git a/src/Generated/Models/InternalIncludable.cs b/src/Generated/Models/Responses/InternalIncludable.cs similarity index 100% rename from src/Generated/Models/InternalIncludable.cs rename to src/Generated/Models/Responses/InternalIncludable.cs diff --git a/src/Generated/Models/InternalItemContentInputAudio.Serialization.cs b/src/Generated/Models/Responses/InternalItemContentInputAudio.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalItemContentInputAudio.Serialization.cs rename to src/Generated/Models/Responses/InternalItemContentInputAudio.Serialization.cs index fd7bc704b..8b218c4b5 100644 --- a/src/Generated/Models/InternalItemContentInputAudio.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemContentInputAudio.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemContentInputAudio IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemContentInputAudio)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalItemContentInputAudio DeserializeInternalItemContentInpu BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemContentInputAudio IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalItemContentInputAudio)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemContentInputAudio.cs b/src/Generated/Models/Responses/InternalItemContentInputAudio.cs similarity index 100% rename from src/Generated/Models/InternalItemContentInputAudio.cs rename to src/Generated/Models/Responses/InternalItemContentInputAudio.cs diff --git a/src/Generated/Models/InternalItemContentInputAudioFormat.cs b/src/Generated/Models/Responses/InternalItemContentInputAudioFormat.cs similarity index 100% rename from src/Generated/Models/InternalItemContentInputAudioFormat.cs rename to src/Generated/Models/Responses/InternalItemContentInputAudioFormat.cs diff --git a/src/Generated/Models/InternalItemContentInputFile.Serialization.cs b/src/Generated/Models/Responses/InternalItemContentInputFile.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalItemContentInputFile.Serialization.cs rename to src/Generated/Models/Responses/InternalItemContentInputFile.Serialization.cs index 8787d263f..eeede01ba 100644 --- a/src/Generated/Models/InternalItemContentInputFile.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemContentInputFile.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -48,7 +46,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemContentInputFile IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemContentInputFile)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -106,7 +103,6 @@ internal static InternalItemContentInputFile DeserializeInternalItemContentInput BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +117,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemContentInputFile IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalItemContentInputFile)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemContentInputFile.cs b/src/Generated/Models/Responses/InternalItemContentInputFile.cs similarity index 100% rename from src/Generated/Models/InternalItemContentInputFile.cs rename to src/Generated/Models/Responses/InternalItemContentInputFile.cs diff --git a/src/Generated/Models/InternalItemContentInputImage.Serialization.cs b/src/Generated/Models/Responses/InternalItemContentInputImage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalItemContentInputImage.Serialization.cs rename to src/Generated/Models/Responses/InternalItemContentInputImage.Serialization.cs index 4745a16cb..fc056604f 100644 --- a/src/Generated/Models/InternalItemContentInputImage.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemContentInputImage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -48,7 +46,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemContentInputImage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemContentInputImage)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +112,6 @@ internal static InternalItemContentInputImage DeserializeInternalItemContentInpu BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +126,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemContentInputImage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalItemContentInputImage)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemContentInputImage.cs b/src/Generated/Models/Responses/InternalItemContentInputImage.cs similarity index 100% rename from src/Generated/Models/InternalItemContentInputImage.cs rename to src/Generated/Models/Responses/InternalItemContentInputImage.cs diff --git a/src/Generated/Models/InternalItemContentInputText.Serialization.cs b/src/Generated/Models/Responses/InternalItemContentInputText.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalItemContentInputText.Serialization.cs rename to src/Generated/Models/Responses/InternalItemContentInputText.Serialization.cs index 670c81ffe..e7bf76fb3 100644 --- a/src/Generated/Models/InternalItemContentInputText.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemContentInputText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemContentInputText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemContentInputText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalItemContentInputText DeserializeInternalItemContentInput BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemContentInputText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalItemContentInputText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemContentInputText.cs b/src/Generated/Models/Responses/InternalItemContentInputText.cs similarity index 100% rename from src/Generated/Models/InternalItemContentInputText.cs rename to src/Generated/Models/Responses/InternalItemContentInputText.cs diff --git a/src/Generated/Models/InternalItemContentOutputAudio.Serialization.cs b/src/Generated/Models/Responses/InternalItemContentOutputAudio.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalItemContentOutputAudio.Serialization.cs rename to src/Generated/Models/Responses/InternalItemContentOutputAudio.Serialization.cs index ed19cb918..9f4d0ec32 100644 --- a/src/Generated/Models/InternalItemContentOutputAudio.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemContentOutputAudio.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemContentOutputAudio IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemContentOutputAudio)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalItemContentOutputAudio DeserializeInternalItemContentOut BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemContentOutputAudio IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalItemContentOutputAudio)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemContentOutputAudio.cs b/src/Generated/Models/Responses/InternalItemContentOutputAudio.cs similarity index 100% rename from src/Generated/Models/InternalItemContentOutputAudio.cs rename to src/Generated/Models/Responses/InternalItemContentOutputAudio.cs diff --git a/src/Generated/Models/InternalItemContentOutputText.Serialization.cs b/src/Generated/Models/Responses/InternalItemContentOutputText.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalItemContentOutputText.Serialization.cs rename to src/Generated/Models/Responses/InternalItemContentOutputText.Serialization.cs index f4a4d6237..7c0aa729c 100644 --- a/src/Generated/Models/InternalItemContentOutputText.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemContentOutputText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemContentOutputText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemContentOutputText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalItemContentOutputText DeserializeInternalItemContentOutp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemContentOutputText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalItemContentOutputText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemContentOutputText.cs b/src/Generated/Models/Responses/InternalItemContentOutputText.cs similarity index 100% rename from src/Generated/Models/InternalItemContentOutputText.cs rename to src/Generated/Models/Responses/InternalItemContentOutputText.cs diff --git a/src/Generated/Models/InternalItemContentRefusal.Serialization.cs b/src/Generated/Models/Responses/InternalItemContentRefusal.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalItemContentRefusal.Serialization.cs rename to src/Generated/Models/Responses/InternalItemContentRefusal.Serialization.cs index 5bd9069d1..a0bda25af 100644 --- a/src/Generated/Models/InternalItemContentRefusal.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemContentRefusal.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemContentRefusal IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemContentRefusal)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalItemContentRefusal DeserializeInternalItemContentRefusal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemContentRefusal IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalItemContentRefusal)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemContentRefusal.cs b/src/Generated/Models/Responses/InternalItemContentRefusal.cs similarity index 100% rename from src/Generated/Models/InternalItemContentRefusal.cs rename to src/Generated/Models/Responses/InternalItemContentRefusal.cs diff --git a/src/Generated/Models/InternalItemContentType.cs b/src/Generated/Models/Responses/InternalItemContentType.cs similarity index 100% rename from src/Generated/Models/InternalItemContentType.cs rename to src/Generated/Models/Responses/InternalItemContentType.cs diff --git a/src/Generated/Models/InternalItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalItemParam.Serialization.cs index e77c5c7a2..587c438df 100644 --- a/src/Generated/Models/InternalItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemParam.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -124,7 +121,6 @@ internal static InternalItemParam DeserializeInternalItemParam(JsonElement eleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -139,7 +135,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemParam.cs b/src/Generated/Models/Responses/InternalItemParam.cs similarity index 100% rename from src/Generated/Models/InternalItemParam.cs rename to src/Generated/Models/Responses/InternalItemParam.cs diff --git a/src/Generated/Models/InternalItemReferenceItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalItemReferenceItemParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalItemReferenceItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalItemReferenceItemParam.Serialization.cs index b5865f68f..97aa6c43d 100644 --- a/src/Generated/Models/InternalItemReferenceItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemReferenceItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemReferenceItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemReferenceItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalItemReferenceItemParam DeserializeInternalItemReferenceI BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemReferenceItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalItemReferenceItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalItemReferenceItemParam.cs b/src/Generated/Models/Responses/InternalItemReferenceItemParam.cs similarity index 100% rename from src/Generated/Models/InternalItemReferenceItemParam.cs rename to src/Generated/Models/Responses/InternalItemReferenceItemParam.cs diff --git a/src/Generated/Models/InternalItemType.cs b/src/Generated/Models/Responses/InternalItemType.cs similarity index 100% rename from src/Generated/Models/InternalItemType.cs rename to src/Generated/Models/Responses/InternalItemType.cs diff --git a/src/Generated/Models/InternalLocalShellExecAction.Serialization.cs b/src/Generated/Models/Responses/InternalLocalShellExecAction.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalLocalShellExecAction.Serialization.cs rename to src/Generated/Models/Responses/InternalLocalShellExecAction.Serialization.cs index 6109472b1..cf202d41a 100644 --- a/src/Generated/Models/InternalLocalShellExecAction.Serialization.cs +++ b/src/Generated/Models/Responses/InternalLocalShellExecAction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +105,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalLocalShellExecAction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalLocalShellExecAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -218,7 +215,6 @@ internal static InternalLocalShellExecAction DeserializeInternalLocalShellExecAc BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -233,7 +229,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLocalShellExecAction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalLocalShellExecAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLocalShellExecAction.cs b/src/Generated/Models/Responses/InternalLocalShellExecAction.cs similarity index 100% rename from src/Generated/Models/InternalLocalShellExecAction.cs rename to src/Generated/Models/Responses/InternalLocalShellExecAction.cs diff --git a/src/Generated/Models/InternalLocalShellTool.Serialization.cs b/src/Generated/Models/Responses/InternalLocalShellTool.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalLocalShellTool.Serialization.cs rename to src/Generated/Models/Responses/InternalLocalShellTool.Serialization.cs index 9a5d525f3..df3a0ac26 100644 --- a/src/Generated/Models/InternalLocalShellTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalLocalShellTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalLocalShellTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalLocalShellTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalLocalShellTool DeserializeInternalLocalShellTool(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLocalShellTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalLocalShellTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLocalShellTool.cs b/src/Generated/Models/Responses/InternalLocalShellTool.cs similarity index 100% rename from src/Generated/Models/InternalLocalShellTool.cs rename to src/Generated/Models/Responses/InternalLocalShellTool.cs diff --git a/src/Generated/Models/InternalLocalShellToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalLocalShellToolCallItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallItemParam.Serialization.cs index 26a53bfed..9300005f2 100644 --- a/src/Generated/Models/InternalLocalShellToolCallItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalLocalShellToolCallItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalLocalShellToolCallItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalLocalShellToolCallItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalLocalShellToolCallItemParam DeserializeInternalLocalShel BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLocalShellToolCallItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalLocalShellToolCallItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLocalShellToolCallItemParam.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallItemParam.cs similarity index 100% rename from src/Generated/Models/InternalLocalShellToolCallItemParam.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallItemParam.cs diff --git a/src/Generated/Models/InternalLocalShellToolCallItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallItemResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalLocalShellToolCallItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallItemResource.Serialization.cs index 72cdc5b3f..f3cd86f24 100644 --- a/src/Generated/Models/InternalLocalShellToolCallItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalLocalShellToolCallItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalLocalShellToolCallItemResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalLocalShellToolCallItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalLocalShellToolCallItemResource DeserializeInternalLocalS BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLocalShellToolCallItemResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalLocalShellToolCallItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLocalShellToolCallItemResource.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallItemResource.cs similarity index 100% rename from src/Generated/Models/InternalLocalShellToolCallItemResource.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallItemResource.cs diff --git a/src/Generated/Models/InternalLocalShellToolCallItemResourceStatus.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallItemResourceStatus.cs similarity index 100% rename from src/Generated/Models/InternalLocalShellToolCallItemResourceStatus.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallItemResourceStatus.cs diff --git a/src/Generated/Models/InternalLocalShellToolCallOutputItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalLocalShellToolCallOutputItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemParam.Serialization.cs index 3cde6b28e..7d25dbe55 100644 --- a/src/Generated/Models/InternalLocalShellToolCallOutputItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalLocalShellToolCallOutputItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalLocalShellToolCallOutputItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalLocalShellToolCallOutputItemParam DeserializeInternalLoc BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLocalShellToolCallOutputItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalLocalShellToolCallOutputItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLocalShellToolCallOutputItemParam.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemParam.cs similarity index 100% rename from src/Generated/Models/InternalLocalShellToolCallOutputItemParam.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemParam.cs diff --git a/src/Generated/Models/InternalLocalShellToolCallOutputItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalLocalShellToolCallOutputItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemResource.Serialization.cs index 6c54b6ce8..16fd27d93 100644 --- a/src/Generated/Models/InternalLocalShellToolCallOutputItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalLocalShellToolCallOutputItemResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalLocalShellToolCallOutputItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalLocalShellToolCallOutputItemResource DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLocalShellToolCallOutputItemResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalLocalShellToolCallOutputItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLocalShellToolCallOutputItemResource.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemResource.cs similarity index 100% rename from src/Generated/Models/InternalLocalShellToolCallOutputItemResource.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemResource.cs diff --git a/src/Generated/Models/InternalLocalShellToolCallOutputItemResourceStatus.cs b/src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemResourceStatus.cs similarity index 100% rename from src/Generated/Models/InternalLocalShellToolCallOutputItemResourceStatus.cs rename to src/Generated/Models/Responses/InternalLocalShellToolCallOutputItemResourceStatus.cs diff --git a/src/Generated/Models/InternalLocation.Serialization.cs b/src/Generated/Models/Responses/InternalLocation.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalLocation.Serialization.cs rename to src/Generated/Models/Responses/InternalLocation.Serialization.cs index ff6f15314..6027fbd97 100644 --- a/src/Generated/Models/InternalLocation.Serialization.cs +++ b/src/Generated/Models/Responses/InternalLocation.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalLocation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalLocation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static InternalLocation DeserializeInternalLocation(JsonElement element BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLocation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalLocation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLocation.cs b/src/Generated/Models/Responses/InternalLocation.cs similarity index 100% rename from src/Generated/Models/InternalLocation.cs rename to src/Generated/Models/Responses/InternalLocation.cs diff --git a/src/Generated/Models/InternalLogProb.Serialization.cs b/src/Generated/Models/Responses/InternalLogProb.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalLogProb.Serialization.cs rename to src/Generated/Models/Responses/InternalLogProb.Serialization.cs index 476d2d362..2a7e81bf0 100644 --- a/src/Generated/Models/InternalLogProb.Serialization.cs +++ b/src/Generated/Models/Responses/InternalLogProb.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalLogProb IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalLogProb JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -149,7 +146,6 @@ internal static InternalLogProb DeserializeInternalLogProb(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -164,7 +160,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLogProb IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalLogProb PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalLogProb.cs b/src/Generated/Models/Responses/InternalLogProb.cs similarity index 100% rename from src/Generated/Models/InternalLogProb.cs rename to src/Generated/Models/Responses/InternalLogProb.cs diff --git a/src/Generated/Models/InternalMCPApprovalRequestItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalMCPApprovalRequestItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPApprovalRequestItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPApprovalRequestItemParam.Serialization.cs index 5e1a9dc0c..d2a461d05 100644 --- a/src/Generated/Models/InternalMCPApprovalRequestItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPApprovalRequestItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPApprovalRequestItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPApprovalRequestItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +102,6 @@ internal static InternalMCPApprovalRequestItemParam DeserializeInternalMCPApprov BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -120,7 +116,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPApprovalRequestItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPApprovalRequestItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPApprovalRequestItemParam.cs b/src/Generated/Models/Responses/InternalMCPApprovalRequestItemParam.cs similarity index 100% rename from src/Generated/Models/InternalMCPApprovalRequestItemParam.cs rename to src/Generated/Models/Responses/InternalMCPApprovalRequestItemParam.cs diff --git a/src/Generated/Models/InternalMCPApprovalRequestItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalMCPApprovalRequestItemResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPApprovalRequestItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPApprovalRequestItemResource.Serialization.cs index 1d6f5e97b..1bcfc2db7 100644 --- a/src/Generated/Models/InternalMCPApprovalRequestItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPApprovalRequestItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPApprovalRequestItemResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPApprovalRequestItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalMCPApprovalRequestItemResource DeserializeInternalMCPApp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPApprovalRequestItemResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPApprovalRequestItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPApprovalRequestItemResource.cs b/src/Generated/Models/Responses/InternalMCPApprovalRequestItemResource.cs similarity index 100% rename from src/Generated/Models/InternalMCPApprovalRequestItemResource.cs rename to src/Generated/Models/Responses/InternalMCPApprovalRequestItemResource.cs diff --git a/src/Generated/Models/InternalMCPApprovalResponseItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalMCPApprovalResponseItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPApprovalResponseItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPApprovalResponseItemParam.Serialization.cs index e87670a8c..a73c29348 100644 --- a/src/Generated/Models/InternalMCPApprovalResponseItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPApprovalResponseItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPApprovalResponseItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPApprovalResponseItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -110,7 +107,6 @@ internal static InternalMCPApprovalResponseItemParam DeserializeInternalMCPAppro BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -125,7 +121,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPApprovalResponseItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPApprovalResponseItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPApprovalResponseItemParam.cs b/src/Generated/Models/Responses/InternalMCPApprovalResponseItemParam.cs similarity index 100% rename from src/Generated/Models/InternalMCPApprovalResponseItemParam.cs rename to src/Generated/Models/Responses/InternalMCPApprovalResponseItemParam.cs diff --git a/src/Generated/Models/InternalMCPApprovalResponseItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalMCPApprovalResponseItemResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPApprovalResponseItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPApprovalResponseItemResource.Serialization.cs index 7b0c236da..2d8ad8349 100644 --- a/src/Generated/Models/InternalMCPApprovalResponseItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPApprovalResponseItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPApprovalResponseItemResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPApprovalResponseItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +119,6 @@ internal static InternalMCPApprovalResponseItemResource DeserializeInternalMCPAp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -137,7 +133,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPApprovalResponseItemResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPApprovalResponseItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPApprovalResponseItemResource.cs b/src/Generated/Models/Responses/InternalMCPApprovalResponseItemResource.cs similarity index 100% rename from src/Generated/Models/InternalMCPApprovalResponseItemResource.cs rename to src/Generated/Models/Responses/InternalMCPApprovalResponseItemResource.cs diff --git a/src/Generated/Models/InternalMCPCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalMCPCallItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPCallItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPCallItemParam.Serialization.cs index acea1238e..75842b35f 100644 --- a/src/Generated/Models/InternalMCPCallItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPCallItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPCallItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPCallItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +141,6 @@ internal static InternalMCPCallItemParam DeserializeInternalMCPCallItemParam(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -159,7 +155,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPCallItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPCallItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPCallItemParam.cs b/src/Generated/Models/Responses/InternalMCPCallItemParam.cs similarity index 100% rename from src/Generated/Models/InternalMCPCallItemParam.cs rename to src/Generated/Models/Responses/InternalMCPCallItemParam.cs diff --git a/src/Generated/Models/InternalMCPCallItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalMCPCallItemResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPCallItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPCallItemResource.Serialization.cs index 566b55321..26d2759bf 100644 --- a/src/Generated/Models/InternalMCPCallItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPCallItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPCallItemResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPCallItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +148,6 @@ internal static InternalMCPCallItemResource DeserializeInternalMCPCallItemResour BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -166,7 +162,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPCallItemResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPCallItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPCallItemResource.cs b/src/Generated/Models/Responses/InternalMCPCallItemResource.cs similarity index 100% rename from src/Generated/Models/InternalMCPCallItemResource.cs rename to src/Generated/Models/Responses/InternalMCPCallItemResource.cs diff --git a/src/Generated/Models/InternalMCPListToolsItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalMCPListToolsItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPListToolsItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPListToolsItemParam.Serialization.cs index 5eb38d8ef..cd32c6ab7 100644 --- a/src/Generated/Models/InternalMCPListToolsItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPListToolsItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPListToolsItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPListToolsItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -120,7 +117,6 @@ internal static InternalMCPListToolsItemParam DeserializeInternalMCPListToolsIte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -135,7 +131,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPListToolsItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPListToolsItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPListToolsItemParam.cs b/src/Generated/Models/Responses/InternalMCPListToolsItemParam.cs similarity index 100% rename from src/Generated/Models/InternalMCPListToolsItemParam.cs rename to src/Generated/Models/Responses/InternalMCPListToolsItemParam.cs diff --git a/src/Generated/Models/InternalMCPListToolsItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalMCPListToolsItemResource.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPListToolsItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPListToolsItemResource.Serialization.cs index a1074c201..0e96977bd 100644 --- a/src/Generated/Models/InternalMCPListToolsItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPListToolsItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPListToolsItemResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPListToolsItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +129,6 @@ internal static InternalMCPListToolsItemResource DeserializeInternalMCPListTools BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -147,7 +143,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPListToolsItemResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPListToolsItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPListToolsItemResource.cs b/src/Generated/Models/Responses/InternalMCPListToolsItemResource.cs similarity index 100% rename from src/Generated/Models/InternalMCPListToolsItemResource.cs rename to src/Generated/Models/Responses/InternalMCPListToolsItemResource.cs diff --git a/src/Generated/Models/InternalMCPListToolsTool.Serialization.cs b/src/Generated/Models/Responses/InternalMCPListToolsTool.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPListToolsTool.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPListToolsTool.Serialization.cs index f4ee38a5b..d4b0cc5ea 100644 --- a/src/Generated/Models/InternalMCPListToolsTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPListToolsTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +88,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMCPListToolsTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMCPListToolsTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -153,7 +150,6 @@ internal static InternalMCPListToolsTool DeserializeInternalMCPListToolsTool(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -168,7 +164,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPListToolsTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMCPListToolsTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPListToolsTool.cs b/src/Generated/Models/Responses/InternalMCPListToolsTool.cs similarity index 100% rename from src/Generated/Models/InternalMCPListToolsTool.cs rename to src/Generated/Models/Responses/InternalMCPListToolsTool.cs diff --git a/src/Generated/Models/InternalMCPTool.Serialization.cs b/src/Generated/Models/Responses/InternalMCPTool.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalMCPTool.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPTool.Serialization.cs index 6b74ddb58..f8f94d8e7 100644 --- a/src/Generated/Models/InternalMCPTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalMCPTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalMCPTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -185,7 +182,6 @@ internal static InternalMCPTool DeserializeInternalMCPTool(JsonElement element, BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -200,7 +196,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalMCPTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPTool.cs b/src/Generated/Models/Responses/InternalMCPTool.cs similarity index 100% rename from src/Generated/Models/InternalMCPTool.cs rename to src/Generated/Models/Responses/InternalMCPTool.cs diff --git a/src/Generated/Models/InternalMCPToolAllowedTools1.Serialization.cs b/src/Generated/Models/Responses/InternalMCPToolAllowedTools1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPToolAllowedTools1.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPToolAllowedTools1.Serialization.cs index b0d0c50e9..7b252d319 100644 --- a/src/Generated/Models/InternalMCPToolAllowedTools1.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPToolAllowedTools1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMCPToolAllowedTools1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMCPToolAllowedTools1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalMCPToolAllowedTools1 DeserializeInternalMCPToolAllowedTo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPToolAllowedTools1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMCPToolAllowedTools1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPToolAllowedTools1.cs b/src/Generated/Models/Responses/InternalMCPToolAllowedTools1.cs similarity index 100% rename from src/Generated/Models/InternalMCPToolAllowedTools1.cs rename to src/Generated/Models/Responses/InternalMCPToolAllowedTools1.cs diff --git a/src/Generated/Models/InternalMCPToolRequireApproval1.Serialization.cs b/src/Generated/Models/Responses/InternalMCPToolRequireApproval1.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPToolRequireApproval1.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPToolRequireApproval1.Serialization.cs index b44fe63df..e17a6f78e 100644 --- a/src/Generated/Models/InternalMCPToolRequireApproval1.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPToolRequireApproval1.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMCPToolRequireApproval1 IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMCPToolRequireApproval1 JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalMCPToolRequireApproval1 DeserializeInternalMCPToolRequir BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPToolRequireApproval1 IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMCPToolRequireApproval1 PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPToolRequireApproval1.cs b/src/Generated/Models/Responses/InternalMCPToolRequireApproval1.cs similarity index 100% rename from src/Generated/Models/InternalMCPToolRequireApproval1.cs rename to src/Generated/Models/Responses/InternalMCPToolRequireApproval1.cs diff --git a/src/Generated/Models/InternalMCPToolRequireApprovalAlways.Serialization.cs b/src/Generated/Models/Responses/InternalMCPToolRequireApprovalAlways.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPToolRequireApprovalAlways.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPToolRequireApprovalAlways.Serialization.cs index 357c53c58..4ae384ef1 100644 --- a/src/Generated/Models/InternalMCPToolRequireApprovalAlways.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPToolRequireApprovalAlways.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMCPToolRequireApprovalAlways IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMCPToolRequireApprovalAlways JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalMCPToolRequireApprovalAlways DeserializeInternalMCPToolR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPToolRequireApprovalAlways IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMCPToolRequireApprovalAlways PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPToolRequireApprovalAlways.cs b/src/Generated/Models/Responses/InternalMCPToolRequireApprovalAlways.cs similarity index 100% rename from src/Generated/Models/InternalMCPToolRequireApprovalAlways.cs rename to src/Generated/Models/Responses/InternalMCPToolRequireApprovalAlways.cs diff --git a/src/Generated/Models/InternalMCPToolRequireApprovalNever.Serialization.cs b/src/Generated/Models/Responses/InternalMCPToolRequireApprovalNever.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalMCPToolRequireApprovalNever.Serialization.cs rename to src/Generated/Models/Responses/InternalMCPToolRequireApprovalNever.Serialization.cs index 5760a702c..6692d3326 100644 --- a/src/Generated/Models/InternalMCPToolRequireApprovalNever.Serialization.cs +++ b/src/Generated/Models/Responses/InternalMCPToolRequireApprovalNever.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalMCPToolRequireApprovalNever IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalMCPToolRequireApprovalNever JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static InternalMCPToolRequireApprovalNever DeserializeInternalMCPToolRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalMCPToolRequireApprovalNever IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalMCPToolRequireApprovalNever PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalMCPToolRequireApprovalNever.cs b/src/Generated/Models/Responses/InternalMCPToolRequireApprovalNever.cs similarity index 100% rename from src/Generated/Models/InternalMCPToolRequireApprovalNever.cs rename to src/Generated/Models/Responses/InternalMCPToolRequireApprovalNever.cs diff --git a/src/Generated/Models/InternalModelIdsResponses.cs b/src/Generated/Models/Responses/InternalModelIdsResponses.cs similarity index 100% rename from src/Generated/Models/InternalModelIdsResponses.cs rename to src/Generated/Models/Responses/InternalModelIdsResponses.cs diff --git a/src/Generated/Models/InternalReasoningGenerateSummary.cs b/src/Generated/Models/Responses/InternalReasoningGenerateSummary.cs similarity index 100% rename from src/Generated/Models/InternalReasoningGenerateSummary.cs rename to src/Generated/Models/Responses/InternalReasoningGenerateSummary.cs diff --git a/src/Generated/Models/InternalReasoningItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalReasoningItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalReasoningItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalReasoningItemParam.Serialization.cs index 894463613..6e29efb3c 100644 --- a/src/Generated/Models/InternalReasoningItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalReasoningItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalReasoningItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalReasoningItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +106,6 @@ internal static InternalReasoningItemParam DeserializeInternalReasoningItemParam BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -124,7 +120,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalReasoningItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalReasoningItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalReasoningItemParam.cs b/src/Generated/Models/Responses/InternalReasoningItemParam.cs similarity index 100% rename from src/Generated/Models/InternalReasoningItemParam.cs rename to src/Generated/Models/Responses/InternalReasoningItemParam.cs diff --git a/src/Generated/Models/InternalReasoningItemSummaryPartType.cs b/src/Generated/Models/Responses/InternalReasoningItemSummaryPartType.cs similarity index 100% rename from src/Generated/Models/InternalReasoningItemSummaryPartType.cs rename to src/Generated/Models/Responses/InternalReasoningItemSummaryPartType.cs diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallCodeDeltaEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDeltaEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseCodeInterpreterCallCodeDeltaEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDeltaEvent.Serialization.cs index 2539d95aa..e53430db0 100644 --- a/src/Generated/Models/InternalResponseCodeInterpreterCallCodeDeltaEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDeltaEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseCodeInterpreterCallCodeDeltaEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallCodeDeltaEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseCodeInterpreterCallCodeDeltaEvent DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseCodeInterpreterCallCodeDeltaEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallCodeDeltaEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallCodeDeltaEvent.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDeltaEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseCodeInterpreterCallCodeDeltaEvent.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDeltaEvent.cs diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallCodeDoneEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDoneEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseCodeInterpreterCallCodeDoneEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDoneEvent.Serialization.cs index f0aa1e6c3..4a551d9a8 100644 --- a/src/Generated/Models/InternalResponseCodeInterpreterCallCodeDoneEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDoneEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Json writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseCodeInterpreterCallCodeDoneEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallCodeDoneEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseCodeInterpreterCallCodeDoneEvent DeserializeInte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseCodeInterpreterCallCodeDoneEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallCodeDoneEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallCodeDoneEvent.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDoneEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseCodeInterpreterCallCodeDoneEvent.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCodeDoneEvent.cs diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallCompletedEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCompletedEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseCodeInterpreterCallCompletedEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCompletedEvent.Serialization.cs index 288fa4585..652cf5e2c 100644 --- a/src/Generated/Models/InternalResponseCodeInterpreterCallCompletedEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCompletedEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseCodeInterpreterCallCompletedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallCompletedEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseCodeInterpreterCallCompletedEvent DeserializeInt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseCodeInterpreterCallCompletedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallCompletedEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallCompletedEvent.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCompletedEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseCodeInterpreterCallCompletedEvent.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallCompletedEvent.cs diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallInProgressEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInProgressEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseCodeInterpreterCallInProgressEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInProgressEvent.Serialization.cs index a53062bef..a742caae8 100644 --- a/src/Generated/Models/InternalResponseCodeInterpreterCallInProgressEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInProgressEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Js writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseCodeInterpreterCallInProgressEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallInProgressEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseCodeInterpreterCallInProgressEvent DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseCodeInterpreterCallInProgressEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallInProgressEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallInProgressEvent.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInProgressEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseCodeInterpreterCallInProgressEvent.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInProgressEvent.cs diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallInterpretingEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInterpretingEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseCodeInterpreterCallInterpretingEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInterpretingEvent.Serialization.cs index d8ede211d..9c68b886e 100644 --- a/src/Generated/Models/InternalResponseCodeInterpreterCallInterpretingEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInterpretingEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8 writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseCodeInterpreterCallInterpretingEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallInterpretingEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseCodeInterpreterCallInterpretingEvent Deserialize BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseCodeInterpreterCallInterpretingEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseCodeInterpreterCallInterpretingEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseCodeInterpreterCallInterpretingEvent.cs b/src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInterpretingEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseCodeInterpreterCallInterpretingEvent.cs rename to src/Generated/Models/Responses/InternalResponseCodeInterpreterCallInterpretingEvent.cs diff --git a/src/Generated/Models/InternalResponseErrorResponse.Serialization.cs b/src/Generated/Models/Responses/InternalResponseErrorResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseErrorResponse.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseErrorResponse.Serialization.cs index 9142f5b73..9cf57bf6a 100644 --- a/src/Generated/Models/InternalResponseErrorResponse.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseErrorResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalResponseErrorResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalResponseErrorResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static InternalResponseErrorResponse DeserializeInternalResponseErrorRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseErrorResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalResponseErrorResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseErrorResponse.cs b/src/Generated/Models/Responses/InternalResponseErrorResponse.cs similarity index 100% rename from src/Generated/Models/InternalResponseErrorResponse.cs rename to src/Generated/Models/Responses/InternalResponseErrorResponse.cs diff --git a/src/Generated/Models/InternalResponseImageGenCallCompletedEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseImageGenCallCompletedEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseImageGenCallCompletedEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseImageGenCallCompletedEvent.Serialization.cs index 7288ed951..41c050ff0 100644 --- a/src/Generated/Models/InternalResponseImageGenCallCompletedEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseImageGenCallCompletedEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseImageGenCallCompletedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseImageGenCallCompletedEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseImageGenCallCompletedEvent DeserializeInternalRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseImageGenCallCompletedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseImageGenCallCompletedEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseImageGenCallCompletedEvent.cs b/src/Generated/Models/Responses/InternalResponseImageGenCallCompletedEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseImageGenCallCompletedEvent.cs rename to src/Generated/Models/Responses/InternalResponseImageGenCallCompletedEvent.cs diff --git a/src/Generated/Models/InternalResponseImageGenCallGeneratingEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseImageGenCallGeneratingEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseImageGenCallGeneratingEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseImageGenCallGeneratingEvent.Serialization.cs index c21961368..a2a5d3ac4 100644 --- a/src/Generated/Models/InternalResponseImageGenCallGeneratingEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseImageGenCallGeneratingEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseImageGenCallGeneratingEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseImageGenCallGeneratingEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseImageGenCallGeneratingEvent DeserializeInternalR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseImageGenCallGeneratingEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseImageGenCallGeneratingEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseImageGenCallGeneratingEvent.cs b/src/Generated/Models/Responses/InternalResponseImageGenCallGeneratingEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseImageGenCallGeneratingEvent.cs rename to src/Generated/Models/Responses/InternalResponseImageGenCallGeneratingEvent.cs diff --git a/src/Generated/Models/InternalResponseImageGenCallInProgressEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseImageGenCallInProgressEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseImageGenCallInProgressEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseImageGenCallInProgressEvent.Serialization.cs index 3f78b61bc..ecc13b1dd 100644 --- a/src/Generated/Models/InternalResponseImageGenCallInProgressEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseImageGenCallInProgressEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseImageGenCallInProgressEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseImageGenCallInProgressEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseImageGenCallInProgressEvent DeserializeInternalR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseImageGenCallInProgressEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseImageGenCallInProgressEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseImageGenCallInProgressEvent.cs b/src/Generated/Models/Responses/InternalResponseImageGenCallInProgressEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseImageGenCallInProgressEvent.cs rename to src/Generated/Models/Responses/InternalResponseImageGenCallInProgressEvent.cs diff --git a/src/Generated/Models/InternalResponseImageGenCallPartialImageEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseImageGenCallPartialImageEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseImageGenCallPartialImageEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseImageGenCallPartialImageEvent.Serialization.cs index 5597130ff..ca8ca2293 100644 --- a/src/Generated/Models/InternalResponseImageGenCallPartialImageEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseImageGenCallPartialImageEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseImageGenCallPartialImageEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseImageGenCallPartialImageEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalResponseImageGenCallPartialImageEvent DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseImageGenCallPartialImageEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseImageGenCallPartialImageEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseImageGenCallPartialImageEvent.cs b/src/Generated/Models/Responses/InternalResponseImageGenCallPartialImageEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseImageGenCallPartialImageEvent.cs rename to src/Generated/Models/Responses/InternalResponseImageGenCallPartialImageEvent.cs diff --git a/src/Generated/Models/InternalResponseItemList.Serialization.cs b/src/Generated/Models/Responses/InternalResponseItemList.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseItemList.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseItemList.Serialization.cs index f567f3c8b..288436848 100644 --- a/src/Generated/Models/InternalResponseItemList.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseItemList.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalResponseItemList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalResponseItemList JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalResponseItemList DeserializeInternalResponseItemList(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseItemList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalResponseItemList PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseItemList.cs b/src/Generated/Models/Responses/InternalResponseItemList.cs similarity index 100% rename from src/Generated/Models/InternalResponseItemList.cs rename to src/Generated/Models/Responses/InternalResponseItemList.cs diff --git a/src/Generated/Models/InternalResponseMCPCallArgumentsDeltaEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDeltaEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseMCPCallArgumentsDeltaEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDeltaEvent.Serialization.cs index d76962a85..8d63d9950 100644 --- a/src/Generated/Models/InternalResponseMCPCallArgumentsDeltaEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDeltaEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -59,7 +57,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseMCPCallArgumentsDeltaEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseMCPCallArgumentsDeltaEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -124,7 +121,6 @@ internal static InternalResponseMCPCallArgumentsDeltaEvent DeserializeInternalRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -139,7 +135,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseMCPCallArgumentsDeltaEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseMCPCallArgumentsDeltaEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseMCPCallArgumentsDeltaEvent.cs b/src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDeltaEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseMCPCallArgumentsDeltaEvent.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDeltaEvent.cs diff --git a/src/Generated/Models/InternalResponseMCPCallArgumentsDoneEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDoneEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseMCPCallArgumentsDoneEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDoneEvent.Serialization.cs index 2ee759bdc..5f39bbadf 100644 --- a/src/Generated/Models/InternalResponseMCPCallArgumentsDoneEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDoneEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -59,7 +57,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseMCPCallArgumentsDoneEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseMCPCallArgumentsDoneEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -124,7 +121,6 @@ internal static InternalResponseMCPCallArgumentsDoneEvent DeserializeInternalRes BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -139,7 +135,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseMCPCallArgumentsDoneEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseMCPCallArgumentsDoneEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseMCPCallArgumentsDoneEvent.cs b/src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDoneEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseMCPCallArgumentsDoneEvent.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallArgumentsDoneEvent.cs diff --git a/src/Generated/Models/InternalResponseMCPCallCompletedEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseMCPCallCompletedEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseMCPCallCompletedEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallCompletedEvent.Serialization.cs index 3ae8412ae..809c26e44 100644 --- a/src/Generated/Models/InternalResponseMCPCallCompletedEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseMCPCallCompletedEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseMCPCallCompletedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseMCPCallCompletedEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static InternalResponseMCPCallCompletedEvent DeserializeInternalRespons BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseMCPCallCompletedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseMCPCallCompletedEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseMCPCallCompletedEvent.cs b/src/Generated/Models/Responses/InternalResponseMCPCallCompletedEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseMCPCallCompletedEvent.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallCompletedEvent.cs diff --git a/src/Generated/Models/InternalResponseMCPCallFailedEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseMCPCallFailedEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseMCPCallFailedEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallFailedEvent.Serialization.cs index 2654ccb11..dec9c183b 100644 --- a/src/Generated/Models/InternalResponseMCPCallFailedEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseMCPCallFailedEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseMCPCallFailedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseMCPCallFailedEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static InternalResponseMCPCallFailedEvent DeserializeInternalResponseMC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseMCPCallFailedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseMCPCallFailedEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseMCPCallFailedEvent.cs b/src/Generated/Models/Responses/InternalResponseMCPCallFailedEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseMCPCallFailedEvent.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallFailedEvent.cs diff --git a/src/Generated/Models/InternalResponseMCPCallInProgressEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseMCPCallInProgressEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseMCPCallInProgressEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallInProgressEvent.Serialization.cs index e1aa36bf8..418327fa9 100644 --- a/src/Generated/Models/InternalResponseMCPCallInProgressEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseMCPCallInProgressEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseMCPCallInProgressEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseMCPCallInProgressEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static InternalResponseMCPCallInProgressEvent DeserializeInternalRespon BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseMCPCallInProgressEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseMCPCallInProgressEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseMCPCallInProgressEvent.cs b/src/Generated/Models/Responses/InternalResponseMCPCallInProgressEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseMCPCallInProgressEvent.cs rename to src/Generated/Models/Responses/InternalResponseMCPCallInProgressEvent.cs diff --git a/src/Generated/Models/InternalResponseMCPListToolsCompletedEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseMCPListToolsCompletedEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseMCPListToolsCompletedEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseMCPListToolsCompletedEvent.Serialization.cs index 2b03174dc..cc35ba8dc 100644 --- a/src/Generated/Models/InternalResponseMCPListToolsCompletedEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseMCPListToolsCompletedEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseMCPListToolsCompletedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseMCPListToolsCompletedEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static InternalResponseMCPListToolsCompletedEvent DeserializeInternalRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseMCPListToolsCompletedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseMCPListToolsCompletedEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseMCPListToolsCompletedEvent.cs b/src/Generated/Models/Responses/InternalResponseMCPListToolsCompletedEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseMCPListToolsCompletedEvent.cs rename to src/Generated/Models/Responses/InternalResponseMCPListToolsCompletedEvent.cs diff --git a/src/Generated/Models/InternalResponseMCPListToolsFailedEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseMCPListToolsFailedEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseMCPListToolsFailedEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseMCPListToolsFailedEvent.Serialization.cs index 4cc5a815f..eeeedc31f 100644 --- a/src/Generated/Models/InternalResponseMCPListToolsFailedEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseMCPListToolsFailedEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseMCPListToolsFailedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseMCPListToolsFailedEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static InternalResponseMCPListToolsFailedEvent DeserializeInternalRespo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseMCPListToolsFailedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseMCPListToolsFailedEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseMCPListToolsFailedEvent.cs b/src/Generated/Models/Responses/InternalResponseMCPListToolsFailedEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseMCPListToolsFailedEvent.cs rename to src/Generated/Models/Responses/InternalResponseMCPListToolsFailedEvent.cs diff --git a/src/Generated/Models/InternalResponseMCPListToolsInProgressEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseMCPListToolsInProgressEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponseMCPListToolsInProgressEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseMCPListToolsInProgressEvent.Serialization.cs index d0b10f609..cb252b12c 100644 --- a/src/Generated/Models/InternalResponseMCPListToolsInProgressEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseMCPListToolsInProgressEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseMCPListToolsInProgressEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseMCPListToolsInProgressEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static InternalResponseMCPListToolsInProgressEvent DeserializeInternalR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseMCPListToolsInProgressEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseMCPListToolsInProgressEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseMCPListToolsInProgressEvent.cs b/src/Generated/Models/Responses/InternalResponseMCPListToolsInProgressEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseMCPListToolsInProgressEvent.cs rename to src/Generated/Models/Responses/InternalResponseMCPListToolsInProgressEvent.cs diff --git a/src/Generated/Models/InternalResponseReasoningDeltaEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseReasoningDeltaEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseReasoningDeltaEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseReasoningDeltaEvent.Serialization.cs index 03aeb976f..eab60b328 100644 --- a/src/Generated/Models/InternalResponseReasoningDeltaEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseReasoningDeltaEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -64,7 +62,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseReasoningDeltaEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseReasoningDeltaEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +133,6 @@ internal static InternalResponseReasoningDeltaEvent DeserializeInternalResponseR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +147,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseReasoningDeltaEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseReasoningDeltaEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseReasoningDeltaEvent.cs b/src/Generated/Models/Responses/InternalResponseReasoningDeltaEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseReasoningDeltaEvent.cs rename to src/Generated/Models/Responses/InternalResponseReasoningDeltaEvent.cs diff --git a/src/Generated/Models/InternalResponseReasoningDoneEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseReasoningDoneEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseReasoningDoneEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseReasoningDoneEvent.Serialization.cs index 905a7fae0..c29dbf18b 100644 --- a/src/Generated/Models/InternalResponseReasoningDoneEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseReasoningDoneEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseReasoningDoneEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseReasoningDoneEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalResponseReasoningDoneEvent DeserializeInternalResponseRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseReasoningDoneEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseReasoningDoneEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseReasoningDoneEvent.cs b/src/Generated/Models/Responses/InternalResponseReasoningDoneEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseReasoningDoneEvent.cs rename to src/Generated/Models/Responses/InternalResponseReasoningDoneEvent.cs diff --git a/src/Generated/Models/InternalResponseReasoningSummaryDeltaEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryDeltaEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseReasoningSummaryDeltaEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryDeltaEvent.Serialization.cs index a0f191af1..41401a595 100644 --- a/src/Generated/Models/InternalResponseReasoningSummaryDeltaEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseReasoningSummaryDeltaEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -64,7 +62,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseReasoningSummaryDeltaEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryDeltaEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -136,7 +133,6 @@ internal static InternalResponseReasoningSummaryDeltaEvent DeserializeInternalRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +147,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseReasoningSummaryDeltaEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryDeltaEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseReasoningSummaryDeltaEvent.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryDeltaEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseReasoningSummaryDeltaEvent.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryDeltaEvent.cs diff --git a/src/Generated/Models/InternalResponseReasoningSummaryDoneEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryDoneEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseReasoningSummaryDoneEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryDoneEvent.Serialization.cs index 46feb67ef..ba2e613d7 100644 --- a/src/Generated/Models/InternalResponseReasoningSummaryDoneEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseReasoningSummaryDoneEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseReasoningSummaryDoneEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryDoneEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalResponseReasoningSummaryDoneEvent DeserializeInternalRes BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseReasoningSummaryDoneEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryDoneEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseReasoningSummaryDoneEvent.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryDoneEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseReasoningSummaryDoneEvent.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryDoneEvent.cs diff --git a/src/Generated/Models/InternalResponseReasoningSummaryPartAddedEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryPartAddedEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseReasoningSummaryPartAddedEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryPartAddedEvent.Serialization.cs index 7c10b3e84..219631b92 100644 --- a/src/Generated/Models/InternalResponseReasoningSummaryPartAddedEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseReasoningSummaryPartAddedEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseReasoningSummaryPartAddedEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryPartAddedEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalResponseReasoningSummaryPartAddedEvent DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseReasoningSummaryPartAddedEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryPartAddedEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseReasoningSummaryPartAddedEvent.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryPartAddedEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseReasoningSummaryPartAddedEvent.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryPartAddedEvent.cs diff --git a/src/Generated/Models/InternalResponseReasoningSummaryPartDoneEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryPartDoneEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseReasoningSummaryPartDoneEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryPartDoneEvent.Serialization.cs index 16592e437..3e2fd237f 100644 --- a/src/Generated/Models/InternalResponseReasoningSummaryPartDoneEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseReasoningSummaryPartDoneEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseReasoningSummaryPartDoneEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryPartDoneEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalResponseReasoningSummaryPartDoneEvent DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseReasoningSummaryPartDoneEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryPartDoneEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseReasoningSummaryPartDoneEvent.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryPartDoneEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseReasoningSummaryPartDoneEvent.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryPartDoneEvent.cs diff --git a/src/Generated/Models/InternalResponseReasoningSummaryTextDeltaEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDeltaEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseReasoningSummaryTextDeltaEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDeltaEvent.Serialization.cs index 54908f8ea..f5195a73a 100644 --- a/src/Generated/Models/InternalResponseReasoningSummaryTextDeltaEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDeltaEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseReasoningSummaryTextDeltaEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryTextDeltaEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalResponseReasoningSummaryTextDeltaEvent DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseReasoningSummaryTextDeltaEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryTextDeltaEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseReasoningSummaryTextDeltaEvent.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDeltaEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseReasoningSummaryTextDeltaEvent.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDeltaEvent.cs diff --git a/src/Generated/Models/InternalResponseReasoningSummaryTextDoneEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDoneEvent.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponseReasoningSummaryTextDoneEvent.Serialization.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDoneEvent.Serialization.cs index e595a7d07..3189cae50 100644 --- a/src/Generated/Models/InternalResponseReasoningSummaryTextDoneEvent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDoneEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponseReasoningSummaryTextDoneEvent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryTextDoneEvent)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static InternalResponseReasoningSummaryTextDoneEvent DeserializeInterna BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponseReasoningSummaryTextDoneEvent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseReasoningSummaryTextDoneEvent)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponseReasoningSummaryTextDoneEvent.cs b/src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDoneEvent.cs similarity index 100% rename from src/Generated/Models/InternalResponseReasoningSummaryTextDoneEvent.cs rename to src/Generated/Models/Responses/InternalResponseReasoningSummaryTextDoneEvent.cs diff --git a/src/Generated/Models/InternalResponseStreamEventType.cs b/src/Generated/Models/Responses/InternalResponseStreamEventType.cs similarity index 100% rename from src/Generated/Models/InternalResponseStreamEventType.cs rename to src/Generated/Models/Responses/InternalResponseStreamEventType.cs diff --git a/src/Generated/Models/InternalResponsesAssistantMessage.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesAssistantMessage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesAssistantMessage.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesAssistantMessage.Serialization.cs index bb4e5a397..c319fe622 100644 --- a/src/Generated/Models/InternalResponsesAssistantMessage.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesAssistantMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesAssistantMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesAssistantMessage)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalResponsesAssistantMessage DeserializeInternalResponsesAs BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesAssistantMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesAssistantMessage)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesAssistantMessage.cs b/src/Generated/Models/Responses/InternalResponsesAssistantMessage.cs similarity index 100% rename from src/Generated/Models/InternalResponsesAssistantMessage.cs rename to src/Generated/Models/Responses/InternalResponsesAssistantMessage.cs diff --git a/src/Generated/Models/InternalResponsesAssistantMessageItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesAssistantMessageItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesAssistantMessageItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesAssistantMessageItemParam.Serialization.cs index 7d57ac560..33dc615ec 100644 --- a/src/Generated/Models/InternalResponsesAssistantMessageItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesAssistantMessageItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesAssistantMessageItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesAssistantMessageItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +96,6 @@ internal static InternalResponsesAssistantMessageItemParam DeserializeInternalRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +110,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesAssistantMessageItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesAssistantMessageItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesAssistantMessageItemParam.cs b/src/Generated/Models/Responses/InternalResponsesAssistantMessageItemParam.cs similarity index 100% rename from src/Generated/Models/InternalResponsesAssistantMessageItemParam.cs rename to src/Generated/Models/Responses/InternalResponsesAssistantMessageItemParam.cs diff --git a/src/Generated/Models/InternalResponsesDeveloperMessage.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesDeveloperMessage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesDeveloperMessage.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesDeveloperMessage.Serialization.cs index 8ef007c91..833a6d6dd 100644 --- a/src/Generated/Models/InternalResponsesDeveloperMessage.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesDeveloperMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesDeveloperMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesDeveloperMessage)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalResponsesDeveloperMessage DeserializeInternalResponsesDe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesDeveloperMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesDeveloperMessage)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesDeveloperMessage.cs b/src/Generated/Models/Responses/InternalResponsesDeveloperMessage.cs similarity index 100% rename from src/Generated/Models/InternalResponsesDeveloperMessage.cs rename to src/Generated/Models/Responses/InternalResponsesDeveloperMessage.cs diff --git a/src/Generated/Models/InternalResponsesDeveloperMessageItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesDeveloperMessageItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesDeveloperMessageItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesDeveloperMessageItemParam.Serialization.cs index 939d22cc9..57e68ae19 100644 --- a/src/Generated/Models/InternalResponsesDeveloperMessageItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesDeveloperMessageItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesDeveloperMessageItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesDeveloperMessageItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +96,6 @@ internal static InternalResponsesDeveloperMessageItemParam DeserializeInternalRe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +110,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesDeveloperMessageItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesDeveloperMessageItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesDeveloperMessageItemParam.cs b/src/Generated/Models/Responses/InternalResponsesDeveloperMessageItemParam.cs similarity index 100% rename from src/Generated/Models/InternalResponsesDeveloperMessageItemParam.cs rename to src/Generated/Models/Responses/InternalResponsesDeveloperMessageItemParam.cs diff --git a/src/Generated/Models/InternalResponsesMessageItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesMessageItemParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponsesMessageItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesMessageItemParam.Serialization.cs index 5a058c209..b9af81728 100644 --- a/src/Generated/Models/InternalResponsesMessageItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesMessageItemParam.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -23,7 +22,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -41,7 +39,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesMessageItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesMessageItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static InternalResponsesMessageItemParam DeserializeInternalResponsesMe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesMessageItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesMessageItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesMessageItemParam.cs b/src/Generated/Models/Responses/InternalResponsesMessageItemParam.cs similarity index 100% rename from src/Generated/Models/InternalResponsesMessageItemParam.cs rename to src/Generated/Models/Responses/InternalResponsesMessageItemParam.cs diff --git a/src/Generated/Models/InternalResponsesMessageRole.cs b/src/Generated/Models/Responses/InternalResponsesMessageRole.cs similarity index 100% rename from src/Generated/Models/InternalResponsesMessageRole.cs rename to src/Generated/Models/Responses/InternalResponsesMessageRole.cs diff --git a/src/Generated/Models/InternalResponsesSystemMessage.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesSystemMessage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesSystemMessage.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesSystemMessage.Serialization.cs index e8233d5a2..9a7e79bf1 100644 --- a/src/Generated/Models/InternalResponsesSystemMessage.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesSystemMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesSystemMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesSystemMessage)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalResponsesSystemMessage DeserializeInternalResponsesSyste BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesSystemMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesSystemMessage)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesSystemMessage.cs b/src/Generated/Models/Responses/InternalResponsesSystemMessage.cs similarity index 100% rename from src/Generated/Models/InternalResponsesSystemMessage.cs rename to src/Generated/Models/Responses/InternalResponsesSystemMessage.cs diff --git a/src/Generated/Models/InternalResponsesSystemMessageItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesSystemMessageItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesSystemMessageItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesSystemMessageItemParam.Serialization.cs index 7f2c7b44c..9ec286894 100644 --- a/src/Generated/Models/InternalResponsesSystemMessageItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesSystemMessageItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesSystemMessageItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesSystemMessageItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +96,6 @@ internal static InternalResponsesSystemMessageItemParam DeserializeInternalRespo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +110,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesSystemMessageItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesSystemMessageItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesSystemMessageItemParam.cs b/src/Generated/Models/Responses/InternalResponsesSystemMessageItemParam.cs similarity index 100% rename from src/Generated/Models/InternalResponsesSystemMessageItemParam.cs rename to src/Generated/Models/Responses/InternalResponsesSystemMessageItemParam.cs diff --git a/src/Generated/Models/InternalResponsesTextFormatJsonObject.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponsesTextFormatJsonObject.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesTextFormatJsonObject.Serialization.cs index 4c50d492c..7e9f035e1 100644 --- a/src/Generated/Models/InternalResponsesTextFormatJsonObject.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesTextFormatJsonObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesTextFormatJsonObject)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTextFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalResponsesTextFormatJsonObject DeserializeInternalRespons BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesTextFormatJsonObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesTextFormatJsonObject)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTextFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesTextFormatJsonObject.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonObject.cs similarity index 100% rename from src/Generated/Models/InternalResponsesTextFormatJsonObject.cs rename to src/Generated/Models/Responses/InternalResponsesTextFormatJsonObject.cs diff --git a/src/Generated/Models/InternalResponsesTextFormatJsonSchema.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesTextFormatJsonSchema.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.Serialization.cs index ceadb80f9..7a9b1cdf5 100644 --- a/src/Generated/Models/InternalResponsesTextFormatJsonSchema.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -64,7 +62,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesTextFormatJsonSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesTextFormatJsonSchema)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTextFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -134,7 +131,6 @@ internal static InternalResponsesTextFormatJsonSchema DeserializeInternalRespons BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -149,7 +145,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesTextFormatJsonSchema IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesTextFormatJsonSchema)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTextFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesTextFormatJsonSchema.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.cs similarity index 100% rename from src/Generated/Models/InternalResponsesTextFormatJsonSchema.cs rename to src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.cs diff --git a/src/Generated/Models/InternalResponsesTextFormatText.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatText.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalResponsesTextFormatText.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesTextFormatText.Serialization.cs index 7487afc15..3738966c6 100644 --- a/src/Generated/Models/InternalResponsesTextFormatText.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesTextFormatText.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesTextFormatText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesTextFormatText)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTextFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalResponsesTextFormatText DeserializeInternalResponsesText BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesTextFormatText IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesTextFormatText)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTextFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesTextFormatText.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatText.cs similarity index 100% rename from src/Generated/Models/InternalResponsesTextFormatText.cs rename to src/Generated/Models/Responses/InternalResponsesTextFormatText.cs diff --git a/src/Generated/Models/InternalResponsesTextFormatType.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatType.cs similarity index 100% rename from src/Generated/Models/InternalResponsesTextFormatType.cs rename to src/Generated/Models/Responses/InternalResponsesTextFormatType.cs diff --git a/src/Generated/Models/InternalResponsesUserMessage.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesUserMessage.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesUserMessage.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesUserMessage.Serialization.cs index e3e3bd9a6..2acfb3a1e 100644 --- a/src/Generated/Models/InternalResponsesUserMessage.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesUserMessage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesUserMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesUserMessage)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static InternalResponsesUserMessage DeserializeInternalResponsesUserMes BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesUserMessage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesUserMessage)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesUserMessage.cs b/src/Generated/Models/Responses/InternalResponsesUserMessage.cs similarity index 100% rename from src/Generated/Models/InternalResponsesUserMessage.cs rename to src/Generated/Models/Responses/InternalResponsesUserMessage.cs diff --git a/src/Generated/Models/InternalResponsesUserMessageItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesUserMessageItemParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalResponsesUserMessageItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalResponsesUserMessageItemParam.Serialization.cs index fdc225160..412268394 100644 --- a/src/Generated/Models/InternalResponsesUserMessageItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesUserMessageItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesUserMessageItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesUserMessageItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +96,6 @@ internal static InternalResponsesUserMessageItemParam DeserializeInternalRespons BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +110,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesUserMessageItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponsesUserMessageItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalResponsesUserMessageItemParam.cs b/src/Generated/Models/Responses/InternalResponsesUserMessageItemParam.cs similarity index 100% rename from src/Generated/Models/InternalResponsesUserMessageItemParam.cs rename to src/Generated/Models/Responses/InternalResponsesUserMessageItemParam.cs diff --git a/src/Generated/Models/InternalToolChoiceObject.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalToolChoiceObject.Serialization.cs rename to src/Generated/Models/Responses/InternalToolChoiceObject.Serialization.cs index 37d5a2c48..2318db127 100644 --- a/src/Generated/Models/InternalToolChoiceObject.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObject.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalToolChoiceObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +101,6 @@ internal static InternalToolChoiceObject DeserializeInternalToolChoiceObject(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +115,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolChoiceObject.cs b/src/Generated/Models/Responses/InternalToolChoiceObject.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObject.cs rename to src/Generated/Models/Responses/InternalToolChoiceObject.cs diff --git a/src/Generated/Models/InternalToolChoiceObjectCodeInterpreter.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectCodeInterpreter.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalToolChoiceObjectCodeInterpreter.Serialization.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectCodeInterpreter.Serialization.cs index 126c77a72..d63fb521f 100644 --- a/src/Generated/Models/InternalToolChoiceObjectCodeInterpreter.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectCodeInterpreter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalToolChoiceObjectCodeInterpreter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectCodeInterpreter)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalToolChoiceObjectCodeInterpreter DeserializeInternalToolC BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObjectCodeInterpreter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectCodeInterpreter)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolChoiceObjectCodeInterpreter.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectCodeInterpreter.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObjectCodeInterpreter.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectCodeInterpreter.cs diff --git a/src/Generated/Models/InternalToolChoiceObjectComputer.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectComputer.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalToolChoiceObjectComputer.Serialization.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectComputer.Serialization.cs index 89b6fd5c5..e47c74188 100644 --- a/src/Generated/Models/InternalToolChoiceObjectComputer.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectComputer.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalToolChoiceObjectComputer IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectComputer)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalToolChoiceObjectComputer DeserializeInternalToolChoiceOb BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObjectComputer IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectComputer)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolChoiceObjectComputer.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectComputer.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObjectComputer.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectComputer.cs diff --git a/src/Generated/Models/InternalToolChoiceObjectFileSearch.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectFileSearch.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalToolChoiceObjectFileSearch.Serialization.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectFileSearch.Serialization.cs index bb4364585..dc94412a2 100644 --- a/src/Generated/Models/InternalToolChoiceObjectFileSearch.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectFileSearch.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalToolChoiceObjectFileSearch IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectFileSearch)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalToolChoiceObjectFileSearch DeserializeInternalToolChoice BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObjectFileSearch IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectFileSearch)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolChoiceObjectFileSearch.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectFileSearch.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObjectFileSearch.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectFileSearch.cs diff --git a/src/Generated/Models/InternalToolChoiceObjectFunction.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectFunction.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalToolChoiceObjectFunction.Serialization.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectFunction.Serialization.cs index 7c11689e8..feb716a07 100644 --- a/src/Generated/Models/InternalToolChoiceObjectFunction.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectFunction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalToolChoiceObjectFunction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectFunction)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalToolChoiceObjectFunction DeserializeInternalToolChoiceOb BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObjectFunction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectFunction)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolChoiceObjectFunction.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectFunction.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObjectFunction.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectFunction.cs diff --git a/src/Generated/Models/InternalToolChoiceObjectImageGen.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectImageGen.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalToolChoiceObjectImageGen.Serialization.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectImageGen.Serialization.cs index bc5e387ce..37a09ea10 100644 --- a/src/Generated/Models/InternalToolChoiceObjectImageGen.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectImageGen.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalToolChoiceObjectImageGen IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectImageGen)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalToolChoiceObjectImageGen DeserializeInternalToolChoiceOb BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObjectImageGen IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectImageGen)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolChoiceObjectImageGen.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectImageGen.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObjectImageGen.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectImageGen.cs diff --git a/src/Generated/Models/InternalToolChoiceObjectMCP.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalToolChoiceObjectMCP.Serialization.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectMCP.Serialization.cs index bb5b1860d..85eb24800 100644 --- a/src/Generated/Models/InternalToolChoiceObjectMCP.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalToolChoiceObjectMCP IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectMCP)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalToolChoiceObjectMCP DeserializeInternalToolChoiceObjectM BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObjectMCP IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectMCP)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolChoiceObjectMCP.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObjectMCP.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectMCP.cs diff --git a/src/Generated/Models/InternalToolChoiceObjectType.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectType.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObjectType.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectType.cs diff --git a/src/Generated/Models/InternalToolChoiceObjectWebSearch.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectWebSearch.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalToolChoiceObjectWebSearch.Serialization.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectWebSearch.Serialization.cs index b0f53915a..56f7d7631 100644 --- a/src/Generated/Models/InternalToolChoiceObjectWebSearch.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectWebSearch.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalToolChoiceObjectWebSearch IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectWebSearch)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalToolChoiceObjectWebSearch DeserializeInternalToolChoiceO BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObjectWebSearch IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectWebSearch)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalToolChoiceObjectWebSearch.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectWebSearch.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceObjectWebSearch.cs rename to src/Generated/Models/Responses/InternalToolChoiceObjectWebSearch.cs diff --git a/src/Generated/Models/InternalToolChoiceOptions.cs b/src/Generated/Models/Responses/InternalToolChoiceOptions.cs similarity index 100% rename from src/Generated/Models/InternalToolChoiceOptions.cs rename to src/Generated/Models/Responses/InternalToolChoiceOptions.cs diff --git a/src/Generated/Models/InternalToolType.cs b/src/Generated/Models/Responses/InternalToolType.cs similarity index 100% rename from src/Generated/Models/InternalToolType.cs rename to src/Generated/Models/Responses/InternalToolType.cs diff --git a/src/Generated/Models/InternalTopLogProb.Serialization.cs b/src/Generated/Models/Responses/InternalTopLogProb.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalTopLogProb.Serialization.cs rename to src/Generated/Models/Responses/InternalTopLogProb.Serialization.cs index b25571dcc..387455479 100644 --- a/src/Generated/Models/InternalTopLogProb.Serialization.cs +++ b/src/Generated/Models/Responses/InternalTopLogProb.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -76,7 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalTopLogProb IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalTopLogProb JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -128,7 +125,6 @@ internal static InternalTopLogProb DeserializeInternalTopLogProb(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -143,7 +139,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalTopLogProb IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalTopLogProb PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalTopLogProb.cs b/src/Generated/Models/Responses/InternalTopLogProb.cs similarity index 100% rename from src/Generated/Models/InternalTopLogProb.cs rename to src/Generated/Models/Responses/InternalTopLogProb.cs diff --git a/src/Generated/Models/InternalUnknownAnnotation.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownAnnotation.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownAnnotation.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownAnnotation.Serialization.cs index 44544ab7c..fdcf8bf2b 100644 --- a/src/Generated/Models/InternalUnknownAnnotation.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownAnnotation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ResponseMessageAnnotation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseMessageAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownAnnotation DeserializeInternalUnknownAnnotation(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseMessageAnnotation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseMessageAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownAnnotation.cs b/src/Generated/Models/Responses/InternalUnknownAnnotation.cs similarity index 100% rename from src/Generated/Models/InternalUnknownAnnotation.cs rename to src/Generated/Models/Responses/InternalUnknownAnnotation.cs diff --git a/src/Generated/Models/InternalUnknownComparisonFilter.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownComparisonFilter.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownComparisonFilter.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownComparisonFilter.Serialization.cs index f1bce0cea..fc39df610 100644 --- a/src/Generated/Models/InternalUnknownComparisonFilter.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownComparisonFilter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalComparisonFilter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static InternalUnknownComparisonFilter DeserializeInternalUnknownCompar BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalComparisonFilter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalComparisonFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownComparisonFilter.cs b/src/Generated/Models/Responses/InternalUnknownComparisonFilter.cs similarity index 100% rename from src/Generated/Models/InternalUnknownComparisonFilter.cs rename to src/Generated/Models/Responses/InternalUnknownComparisonFilter.cs diff --git a/src/Generated/Models/InternalUnknownCompoundFilter.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownCompoundFilter.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownCompoundFilter.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownCompoundFilter.Serialization.cs index 3118d89d8..ecc158478 100644 --- a/src/Generated/Models/InternalUnknownCompoundFilter.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownCompoundFilter.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalCompoundFilter IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalCompoundFilter JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +87,6 @@ internal static InternalUnknownCompoundFilter DeserializeInternalUnknownCompound BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +101,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCompoundFilter IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalCompoundFilter PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownCompoundFilter.cs b/src/Generated/Models/Responses/InternalUnknownCompoundFilter.cs similarity index 100% rename from src/Generated/Models/InternalUnknownCompoundFilter.cs rename to src/Generated/Models/Responses/InternalUnknownCompoundFilter.cs diff --git a/src/Generated/Models/InternalUnknownComputerAction.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownComputerAction.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownComputerAction.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownComputerAction.Serialization.cs index f9ef4de22..5e8747953 100644 --- a/src/Generated/Models/InternalUnknownComputerAction.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownComputerAction.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ComputerCallAction IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerCallAction JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownComputerAction DeserializeInternalUnknownComputer BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ComputerCallAction IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerCallAction PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownComputerAction.cs b/src/Generated/Models/Responses/InternalUnknownComputerAction.cs similarity index 100% rename from src/Generated/Models/InternalUnknownComputerAction.cs rename to src/Generated/Models/Responses/InternalUnknownComputerAction.cs diff --git a/src/Generated/Models/InternalUnknownComputerToolCallOutputItemOutput.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownComputerToolCallOutputItemOutput.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownComputerToolCallOutputItemOutput.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownComputerToolCallOutputItemOutput.Serialization.cs index 15ab11647..0d20f323e 100644 --- a/src/Generated/Models/InternalUnknownComputerToolCallOutputItemOutput.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownComputerToolCallOutputItemOutput.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ComputerOutput IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ComputerOutput JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownComputerToolCallOutputItemOutput DeserializeInter BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ComputerOutput IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ComputerOutput PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownComputerToolCallOutputItemOutput.cs b/src/Generated/Models/Responses/InternalUnknownComputerToolCallOutputItemOutput.cs similarity index 100% rename from src/Generated/Models/InternalUnknownComputerToolCallOutputItemOutput.cs rename to src/Generated/Models/Responses/InternalUnknownComputerToolCallOutputItemOutput.cs diff --git a/src/Generated/Models/InternalUnknownDotnetResponseWebSearchLocation.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownDotnetResponseWebSearchLocation.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownDotnetResponseWebSearchLocation.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownDotnetResponseWebSearchLocation.Serialization.cs index d463e0c0b..9ac2c13b6 100644 --- a/src/Generated/Models/InternalUnknownDotnetResponseWebSearchLocation.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownDotnetResponseWebSearchLocation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri WebSearchUserLocation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override WebSearchUserLocation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownDotnetResponseWebSearchLocation DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions WebSearchUserLocation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override WebSearchUserLocation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownDotnetResponseWebSearchLocation.cs b/src/Generated/Models/Responses/InternalUnknownDotnetResponseWebSearchLocation.cs similarity index 100% rename from src/Generated/Models/InternalUnknownDotnetResponseWebSearchLocation.cs rename to src/Generated/Models/Responses/InternalUnknownDotnetResponseWebSearchLocation.cs diff --git a/src/Generated/Models/InternalUnknownItemContent.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownItemContent.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownItemContent.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownItemContent.Serialization.cs index 3c9f8fa97..524127e2d 100644 --- a/src/Generated/Models/InternalUnknownItemContent.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownItemContent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ResponseContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownItemContent DeserializeInternalUnknownItemContent BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownItemContent.cs b/src/Generated/Models/Responses/InternalUnknownItemContent.cs similarity index 100% rename from src/Generated/Models/InternalUnknownItemContent.cs rename to src/Generated/Models/Responses/InternalUnknownItemContent.cs diff --git a/src/Generated/Models/InternalUnknownItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownItemParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownItemParam.Serialization.cs index 374b59719..e875438ef 100644 --- a/src/Generated/Models/InternalUnknownItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownItemParam DeserializeInternalUnknownItemParam(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownItemParam.cs b/src/Generated/Models/Responses/InternalUnknownItemParam.cs similarity index 100% rename from src/Generated/Models/InternalUnknownItemParam.cs rename to src/Generated/Models/Responses/InternalUnknownItemParam.cs diff --git a/src/Generated/Models/InternalUnknownItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownItemResource.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownItemResource.Serialization.cs index 621079333..c694c756c 100644 --- a/src/Generated/Models/InternalUnknownItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpti writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static InternalUnknownItemResource DeserializeInternalUnknownItemResour BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownItemResource.cs b/src/Generated/Models/Responses/InternalUnknownItemResource.cs similarity index 100% rename from src/Generated/Models/InternalUnknownItemResource.cs rename to src/Generated/Models/Responses/InternalUnknownItemResource.cs diff --git a/src/Generated/Models/InternalUnknownLocation.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownLocation.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownLocation.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownLocation.Serialization.cs index da078a37a..f4d3e7254 100644 --- a/src/Generated/Models/InternalUnknownLocation.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownLocation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalLocation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalLocation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownLocation DeserializeInternalUnknownLocation(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalLocation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalLocation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownLocation.cs b/src/Generated/Models/Responses/InternalUnknownLocation.cs similarity index 100% rename from src/Generated/Models/InternalUnknownLocation.cs rename to src/Generated/Models/Responses/InternalUnknownLocation.cs diff --git a/src/Generated/Models/InternalUnknownReasoningItemSummaryPart.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownReasoningItemSummaryPart.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownReasoningItemSummaryPart.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownReasoningItemSummaryPart.Serialization.cs index 1f14483aa..ae1ccbba0 100644 --- a/src/Generated/Models/InternalUnknownReasoningItemSummaryPart.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownReasoningItemSummaryPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ReasoningSummaryPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ReasoningSummaryPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownReasoningItemSummaryPart DeserializeInternalUnkno BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ReasoningSummaryPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ReasoningSummaryPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownReasoningItemSummaryPart.cs b/src/Generated/Models/Responses/InternalUnknownReasoningItemSummaryPart.cs similarity index 100% rename from src/Generated/Models/InternalUnknownReasoningItemSummaryPart.cs rename to src/Generated/Models/Responses/InternalUnknownReasoningItemSummaryPart.cs diff --git a/src/Generated/Models/InternalUnknownResponseTextFormatConfiguration.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownResponseTextFormatConfiguration.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownResponseTextFormatConfiguration.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownResponseTextFormatConfiguration.Serialization.cs index 797b176b7..7410a7840 100644 --- a/src/Generated/Models/InternalUnknownResponseTextFormatConfiguration.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownResponseTextFormatConfiguration.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ResponseTextFormat IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTextFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownResponseTextFormatConfiguration DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseTextFormat IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTextFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownResponseTextFormatConfiguration.cs b/src/Generated/Models/Responses/InternalUnknownResponseTextFormatConfiguration.cs similarity index 100% rename from src/Generated/Models/InternalUnknownResponseTextFormatConfiguration.cs rename to src/Generated/Models/Responses/InternalUnknownResponseTextFormatConfiguration.cs diff --git a/src/Generated/Models/InternalUnknownResponsesMessageItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResource.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownResponsesMessageItemResource.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResource.Serialization.cs index 40a023f59..d65184e1d 100644 --- a/src/Generated/Models/InternalUnknownResponsesMessageItemResource.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResource.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri MessageResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalUnknownResponsesMessageItemResource)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +87,6 @@ internal static InternalUnknownResponsesMessageItemResource DeserializeInternalU BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +101,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalUnknownResponsesMessageItemResource)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownResponsesMessageItemResource.cs b/src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResource.cs similarity index 100% rename from src/Generated/Models/InternalUnknownResponsesMessageItemResource.cs rename to src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResource.cs diff --git a/src/Generated/Models/InternalUnknownResponsesMessageItemResourceItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResourceItemParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownResponsesMessageItemResourceItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResourceItemParam.Serialization.cs index b7dd20807..adca3e1a6 100644 --- a/src/Generated/Models/InternalUnknownResponsesMessageItemResourceItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResourceItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalResponsesMessageItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalUnknownResponsesMessageItemResourceItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static InternalUnknownResponsesMessageItemResourceItemParam Deserialize BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalResponsesMessageItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalUnknownResponsesMessageItemResourceItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownResponsesMessageItemResourceItemParam.cs b/src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResourceItemParam.cs similarity index 100% rename from src/Generated/Models/InternalUnknownResponsesMessageItemResourceItemParam.cs rename to src/Generated/Models/Responses/InternalUnknownResponsesMessageItemResourceItemParam.cs diff --git a/src/Generated/Models/InternalUnknownTool.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownTool.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownTool.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownTool.Serialization.cs index 8fcb440e8..fcfe36f2e 100644 --- a/src/Generated/Models/InternalUnknownTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpti writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ResponseTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownTool DeserializeInternalUnknownTool(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownTool.cs b/src/Generated/Models/Responses/InternalUnknownTool.cs similarity index 100% rename from src/Generated/Models/InternalUnknownTool.cs rename to src/Generated/Models/Responses/InternalUnknownTool.cs diff --git a/src/Generated/Models/InternalUnknownToolChoiceObject.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownToolChoiceObject.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownToolChoiceObject.Serialization.cs rename to src/Generated/Models/Responses/InternalUnknownToolChoiceObject.Serialization.cs index 3fc83bfb0..bc34ca7ad 100644 --- a/src/Generated/Models/InternalUnknownToolChoiceObject.Serialization.cs +++ b/src/Generated/Models/Responses/InternalUnknownToolChoiceObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalToolChoiceObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownToolChoiceObject DeserializeInternalUnknownToolCh BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalToolChoiceObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownToolChoiceObject.cs b/src/Generated/Models/Responses/InternalUnknownToolChoiceObject.cs similarity index 100% rename from src/Generated/Models/InternalUnknownToolChoiceObject.cs rename to src/Generated/Models/Responses/InternalUnknownToolChoiceObject.cs diff --git a/src/Generated/Models/InternalWebSearchPreviewToolSearchContextSize.cs b/src/Generated/Models/Responses/InternalWebSearchPreviewToolSearchContextSize.cs similarity index 100% rename from src/Generated/Models/InternalWebSearchPreviewToolSearchContextSize.cs rename to src/Generated/Models/Responses/InternalWebSearchPreviewToolSearchContextSize.cs diff --git a/src/Generated/Models/InternalWebSearchTool.Serialization.cs b/src/Generated/Models/Responses/InternalWebSearchTool.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalWebSearchTool.Serialization.cs rename to src/Generated/Models/Responses/InternalWebSearchTool.Serialization.cs index 5854676d9..31a1f59fd 100644 --- a/src/Generated/Models/InternalWebSearchTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalWebSearchTool.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -43,7 +41,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalWebSearchTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalWebSearchTool)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +96,6 @@ internal static InternalWebSearchTool DeserializeInternalWebSearchTool(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -114,7 +110,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalWebSearchTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalWebSearchTool)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalWebSearchTool.cs b/src/Generated/Models/Responses/InternalWebSearchTool.cs similarity index 100% rename from src/Generated/Models/InternalWebSearchTool.cs rename to src/Generated/Models/Responses/InternalWebSearchTool.cs diff --git a/src/Generated/Models/InternalWebSearchToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalWebSearchToolCallItemParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalWebSearchToolCallItemParam.Serialization.cs rename to src/Generated/Models/Responses/InternalWebSearchToolCallItemParam.Serialization.cs index abad7fb53..73731d854 100644 --- a/src/Generated/Models/InternalWebSearchToolCallItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalWebSearchToolCallItemParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalWebSearchToolCallItemParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalWebSearchToolCallItemParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalWebSearchToolCallItemParam DeserializeInternalWebSearchT BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalWebSearchToolCallItemParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalWebSearchToolCallItemParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalWebSearchToolCallItemParam.cs b/src/Generated/Models/Responses/InternalWebSearchToolCallItemParam.cs similarity index 100% rename from src/Generated/Models/InternalWebSearchToolCallItemParam.cs rename to src/Generated/Models/Responses/InternalWebSearchToolCallItemParam.cs diff --git a/src/Generated/Models/InternalWebSearchUserLocationKind.cs b/src/Generated/Models/Responses/InternalWebSearchUserLocationKind.cs similarity index 100% rename from src/Generated/Models/InternalWebSearchUserLocationKind.cs rename to src/Generated/Models/Responses/InternalWebSearchUserLocationKind.cs diff --git a/src/Generated/Models/MessageResponseItem.Serialization.cs b/src/Generated/Models/Responses/MessageResponseItem.Serialization.cs similarity index 96% rename from src/Generated/Models/MessageResponseItem.Serialization.cs rename to src/Generated/Models/Responses/MessageResponseItem.Serialization.cs index 43f4021e2..2595246db 100644 --- a/src/Generated/Models/MessageResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/MessageResponseItem.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -23,7 +22,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri MessageResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (MessageResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +81,6 @@ internal static MessageResponseItem DeserializeMessageResponseItem(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +95,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions MessageResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (MessageResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/MessageResponseItem.cs b/src/Generated/Models/Responses/MessageResponseItem.cs similarity index 91% rename from src/Generated/Models/MessageResponseItem.cs rename to src/Generated/Models/Responses/MessageResponseItem.cs index e98fb0c8d..5d6d08567 100644 --- a/src/Generated/Models/MessageResponseItem.cs +++ b/src/Generated/Models/Responses/MessageResponseItem.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class MessageResponseItem : ResponseItem { internal MessageResponseItem(string id, InternalResponsesMessageRole internalRole, MessageStatus? status) : base(InternalItemType.Message, id) diff --git a/src/Generated/Models/MessageStatus.Serialization.cs b/src/Generated/Models/Responses/MessageStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/MessageStatus.Serialization.cs rename to src/Generated/Models/Responses/MessageStatus.Serialization.cs diff --git a/src/Generated/Models/OpenAIResponse.Serialization.cs b/src/Generated/Models/Responses/OpenAIResponse.Serialization.cs similarity index 99% rename from src/Generated/Models/OpenAIResponse.Serialization.cs rename to src/Generated/Models/Responses/OpenAIResponse.Serialization.cs index aa88c27d1..c1f774076 100644 --- a/src/Generated/Models/OpenAIResponse.Serialization.cs +++ b/src/Generated/Models/Responses/OpenAIResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -240,7 +238,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit OpenAIResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual OpenAIResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -544,7 +541,6 @@ internal static OpenAIResponse DeserializeOpenAIResponse(JsonElement element, Mo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -559,7 +555,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions OpenAIResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual OpenAIResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/OpenAIResponse.cs b/src/Generated/Models/Responses/OpenAIResponse.cs similarity index 98% rename from src/Generated/Models/OpenAIResponse.cs rename to src/Generated/Models/Responses/OpenAIResponse.cs index 708d1f0ae..37fdba4b5 100644 --- a/src/Generated/Models/OpenAIResponse.cs +++ b/src/Generated/Models/Responses/OpenAIResponse.cs @@ -4,12 +4,14 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using OpenAI; using OpenAI.Internal; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class OpenAIResponse { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ReasoningResponseItem.Serialization.cs b/src/Generated/Models/Responses/ReasoningResponseItem.Serialization.cs similarity index 97% rename from src/Generated/Models/ReasoningResponseItem.Serialization.cs rename to src/Generated/Models/Responses/ReasoningResponseItem.Serialization.cs index b7ccd3696..f0650cbf5 100644 --- a/src/Generated/Models/ReasoningResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ReasoningResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ReasoningResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ReasoningResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +112,6 @@ internal static ReasoningResponseItem DeserializeReasoningResponseItem(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +126,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ReasoningResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ReasoningResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ReasoningResponseItem.cs b/src/Generated/Models/Responses/ReasoningResponseItem.cs similarity index 93% rename from src/Generated/Models/ReasoningResponseItem.cs rename to src/Generated/Models/Responses/ReasoningResponseItem.cs index 431c29825..86f2b8f17 100644 --- a/src/Generated/Models/ReasoningResponseItem.cs +++ b/src/Generated/Models/Responses/ReasoningResponseItem.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using System.Linq; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ReasoningResponseItem : ResponseItem { internal ReasoningResponseItem(string id, IEnumerable summaryParts) : base(InternalItemType.Reasoning, id) diff --git a/src/Generated/Models/ReasoningSummaryPart.Serialization.cs b/src/Generated/Models/Responses/ReasoningSummaryPart.Serialization.cs similarity index 96% rename from src/Generated/Models/ReasoningSummaryPart.Serialization.cs rename to src/Generated/Models/Responses/ReasoningSummaryPart.Serialization.cs index 40b25a13e..532bc25b1 100644 --- a/src/Generated/Models/ReasoningSummaryPart.Serialization.cs +++ b/src/Generated/Models/Responses/ReasoningSummaryPart.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ReasoningSummaryPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ReasoningSummaryPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static ReasoningSummaryPart DeserializeReasoningSummaryPart(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ReasoningSummaryPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ReasoningSummaryPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ReasoningSummaryPart.cs b/src/Generated/Models/Responses/ReasoningSummaryPart.cs similarity index 93% rename from src/Generated/Models/ReasoningSummaryPart.cs rename to src/Generated/Models/Responses/ReasoningSummaryPart.cs index 20bb608cf..e4eb69554 100644 --- a/src/Generated/Models/ReasoningSummaryPart.cs +++ b/src/Generated/Models/Responses/ReasoningSummaryPart.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ReasoningSummaryPart { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ReasoningSummaryTextPart.Serialization.cs b/src/Generated/Models/Responses/ReasoningSummaryTextPart.Serialization.cs similarity index 96% rename from src/Generated/Models/ReasoningSummaryTextPart.Serialization.cs rename to src/Generated/Models/Responses/ReasoningSummaryTextPart.Serialization.cs index ade3f829f..2e5261a78 100644 --- a/src/Generated/Models/ReasoningSummaryTextPart.Serialization.cs +++ b/src/Generated/Models/Responses/ReasoningSummaryTextPart.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ReasoningSummaryTextPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ReasoningSummaryTextPart)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ReasoningSummaryPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static ReasoningSummaryTextPart DeserializeReasoningSummaryTextPart(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ReasoningSummaryTextPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ReasoningSummaryTextPart)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ReasoningSummaryPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ReasoningSummaryTextPart.cs b/src/Generated/Models/Responses/ReasoningSummaryTextPart.cs similarity index 91% rename from src/Generated/Models/ReasoningSummaryTextPart.cs rename to src/Generated/Models/Responses/ReasoningSummaryTextPart.cs index 84a0dc0c6..169a2a470 100644 --- a/src/Generated/Models/ReasoningSummaryTextPart.cs +++ b/src/Generated/Models/Responses/ReasoningSummaryTextPart.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ReasoningSummaryTextPart : ReasoningSummaryPart { public ReasoningSummaryTextPart(string text) : base(InternalReasoningItemSummaryPartType.SummaryText) diff --git a/src/Generated/Models/ReferenceResponseItem.Serialization.cs b/src/Generated/Models/Responses/ReferenceResponseItem.Serialization.cs similarity index 96% rename from src/Generated/Models/ReferenceResponseItem.Serialization.cs rename to src/Generated/Models/Responses/ReferenceResponseItem.Serialization.cs index 19a01ca60..20bbba0ee 100644 --- a/src/Generated/Models/ReferenceResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ReferenceResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri ReferenceResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ReferenceResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static ReferenceResponseItem DeserializeReferenceResponseItem(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ReferenceResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (ReferenceResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ReferenceResponseItem.cs b/src/Generated/Models/Responses/ReferenceResponseItem.cs similarity index 84% rename from src/Generated/Models/ReferenceResponseItem.cs rename to src/Generated/Models/Responses/ReferenceResponseItem.cs index a1bf58e67..9fa3855c7 100644 --- a/src/Generated/Models/ReferenceResponseItem.cs +++ b/src/Generated/Models/Responses/ReferenceResponseItem.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ReferenceResponseItem : ResponseItem { internal ReferenceResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties) : base(kind, id, additionalBinaryDataProperties) diff --git a/src/Generated/Models/ResponseContentPart.Serialization.cs b/src/Generated/Models/Responses/ResponseContentPart.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseContentPart.Serialization.cs rename to src/Generated/Models/Responses/ResponseContentPart.Serialization.cs index ffffb84a5..7c27b1d9a 100644 --- a/src/Generated/Models/ResponseContentPart.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseContentPart.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseContentPart IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseContentPart JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +101,6 @@ internal static ResponseContentPart DeserializeResponseContentPart(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -119,7 +115,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseContentPart IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseContentPart PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseContentPart.cs b/src/Generated/Models/Responses/ResponseContentPart.cs similarity index 92% rename from src/Generated/Models/ResponseContentPart.cs rename to src/Generated/Models/Responses/ResponseContentPart.cs index 0dddf68e7..396783b49 100644 --- a/src/Generated/Models/ResponseContentPart.cs +++ b/src/Generated/Models/Responses/ResponseContentPart.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseContentPart { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseCreationOptions.Serialization.cs b/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs similarity index 99% rename from src/Generated/Models/ResponseCreationOptions.Serialization.cs rename to src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs index 6a8752034..dcd10fb0a 100644 --- a/src/Generated/Models/ResponseCreationOptions.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; using OpenAI.Internal; @@ -25,7 +24,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -183,7 +181,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseCreationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -459,7 +456,6 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -474,7 +470,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseCreationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseCreationOptions.cs b/src/Generated/Models/Responses/ResponseCreationOptions.cs similarity index 97% rename from src/Generated/Models/ResponseCreationOptions.cs rename to src/Generated/Models/Responses/ResponseCreationOptions.cs index c188213bd..01a7589ae 100644 --- a/src/Generated/Models/ResponseCreationOptions.cs +++ b/src/Generated/Models/Responses/ResponseCreationOptions.cs @@ -4,11 +4,13 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; using OpenAI.Internal; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseCreationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseDeletionResult.Serialization.cs b/src/Generated/Models/Responses/ResponseDeletionResult.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseDeletionResult.Serialization.cs rename to src/Generated/Models/Responses/ResponseDeletionResult.Serialization.cs index 4a77d9493..bebe73736 100644 --- a/src/Generated/Models/ResponseDeletionResult.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseDeletionResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseDeletionResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static ResponseDeletionResult DeserializeResponseDeletionResult(JsonEle BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseDeletionResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseDeletionResult.cs b/src/Generated/Models/Responses/ResponseDeletionResult.cs similarity index 93% rename from src/Generated/Models/ResponseDeletionResult.cs rename to src/Generated/Models/Responses/ResponseDeletionResult.cs index 7f4d36f8b..c653e8862 100644 --- a/src/Generated/Models/ResponseDeletionResult.cs +++ b/src/Generated/Models/Responses/ResponseDeletionResult.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseDeletionResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseError.Serialization.cs b/src/Generated/Models/Responses/ResponseError.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseError.Serialization.cs rename to src/Generated/Models/Responses/ResponseError.Serialization.cs index abf96b33a..468a840e1 100644 --- a/src/Generated/Models/ResponseError.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpt writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static ResponseError DeserializeResponseError(JsonElement element, Mode BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseError.cs b/src/Generated/Models/Responses/ResponseError.cs similarity index 93% rename from src/Generated/Models/ResponseError.cs rename to src/Generated/Models/Responses/ResponseError.cs index 1fdc49777..9d9ec8c94 100644 --- a/src/Generated/Models/ResponseError.cs +++ b/src/Generated/Models/Responses/ResponseError.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseError { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseErrorCode.cs b/src/Generated/Models/Responses/ResponseErrorCode.cs similarity index 98% rename from src/Generated/Models/ResponseErrorCode.cs rename to src/Generated/Models/Responses/ResponseErrorCode.cs index e41847aaa..ec3223546 100644 --- a/src/Generated/Models/ResponseErrorCode.cs +++ b/src/Generated/Models/Responses/ResponseErrorCode.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public readonly partial struct ResponseErrorCode : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ResponseImageDetailLevel.cs b/src/Generated/Models/Responses/ResponseImageDetailLevel.cs similarity index 96% rename from src/Generated/Models/ResponseImageDetailLevel.cs rename to src/Generated/Models/Responses/ResponseImageDetailLevel.cs index 20fa85913..0348fa08a 100644 --- a/src/Generated/Models/ResponseImageDetailLevel.cs +++ b/src/Generated/Models/Responses/ResponseImageDetailLevel.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public readonly partial struct ResponseImageDetailLevel : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ResponseIncompleteStatusDetails.Serialization.cs b/src/Generated/Models/Responses/ResponseIncompleteStatusDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseIncompleteStatusDetails.Serialization.cs rename to src/Generated/Models/Responses/ResponseIncompleteStatusDetails.Serialization.cs index fc9eef7a2..7ffc74858 100644 --- a/src/Generated/Models/ResponseIncompleteStatusDetails.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseIncompleteStatusDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseIncompleteStatusDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseIncompleteStatusDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ResponseIncompleteStatusDetails DeserializeResponseIncompleteSta BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseIncompleteStatusDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseIncompleteStatusDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseIncompleteStatusDetails.cs b/src/Generated/Models/Responses/ResponseIncompleteStatusDetails.cs similarity index 92% rename from src/Generated/Models/ResponseIncompleteStatusDetails.cs rename to src/Generated/Models/Responses/ResponseIncompleteStatusDetails.cs index bf47b53d4..2811b0e75 100644 --- a/src/Generated/Models/ResponseIncompleteStatusDetails.cs +++ b/src/Generated/Models/Responses/ResponseIncompleteStatusDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseIncompleteStatusDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseIncompleteStatusReason.cs b/src/Generated/Models/Responses/ResponseIncompleteStatusReason.cs similarity index 96% rename from src/Generated/Models/ResponseIncompleteStatusReason.cs rename to src/Generated/Models/Responses/ResponseIncompleteStatusReason.cs index 09c9136b3..646bed150 100644 --- a/src/Generated/Models/ResponseIncompleteStatusReason.cs +++ b/src/Generated/Models/Responses/ResponseIncompleteStatusReason.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public readonly partial struct ResponseIncompleteStatusReason : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ResponseInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Responses/ResponseInputTokenUsageDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseInputTokenUsageDetails.Serialization.cs rename to src/Generated/Models/Responses/ResponseInputTokenUsageDetails.Serialization.cs index 02ac1d089..ec036ea14 100644 --- a/src/Generated/Models/ResponseInputTokenUsageDetails.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseInputTokenUsageDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseInputTokenUsageDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseInputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ResponseInputTokenUsageDetails DeserializeResponseInputTokenUsag BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseInputTokenUsageDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseInputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseInputTokenUsageDetails.cs b/src/Generated/Models/Responses/ResponseInputTokenUsageDetails.cs similarity index 92% rename from src/Generated/Models/ResponseInputTokenUsageDetails.cs rename to src/Generated/Models/Responses/ResponseInputTokenUsageDetails.cs index 1c4c3a988..b17ee964d 100644 --- a/src/Generated/Models/ResponseInputTokenUsageDetails.cs +++ b/src/Generated/Models/Responses/ResponseInputTokenUsageDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseInputTokenUsageDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseItem.Serialization.cs b/src/Generated/Models/Responses/ResponseItem.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseItem.Serialization.cs rename to src/Generated/Models/Responses/ResponseItem.Serialization.cs index 8367ae63f..1b64a14cc 100644 --- a/src/Generated/Models/ResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseItem.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpti writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,8 +86,6 @@ internal static ResponseItem DeserializeResponseItem(JsonElement element, ModelR { switch (discriminator.GetString()) { - case "item_reference": - return ReferenceResponseItem.DeserializeReferenceResponseItem(element, options); case "file_search_call": return FileSearchCallResponseItem.DeserializeFileSearchCallResponseItem(element, options); case "computer_call": @@ -123,6 +118,8 @@ internal static ResponseItem DeserializeResponseItem(JsonElement element, ModelR return InternalMCPCallItemResource.DeserializeInternalMCPCallItemResource(element, options); case "message": return MessageResponseItem.DeserializeMessageResponseItem(element, options); + case "item_reference": + return ReferenceResponseItem.DeserializeReferenceResponseItem(element, options); } } return InternalUnknownItemResource.DeserializeInternalUnknownItemResource(element, options); @@ -130,7 +127,6 @@ internal static ResponseItem DeserializeResponseItem(JsonElement element, ModelR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -145,7 +141,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseItem.cs b/src/Generated/Models/Responses/ResponseItem.cs similarity index 92% rename from src/Generated/Models/ResponseItem.cs rename to src/Generated/Models/Responses/ResponseItem.cs index 9e0fe2f83..e70543452 100644 --- a/src/Generated/Models/ResponseItem.cs +++ b/src/Generated/Models/Responses/ResponseItem.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseItem { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseMessageAnnotation.Serialization.cs b/src/Generated/Models/Responses/ResponseMessageAnnotation.Serialization.cs similarity index 96% rename from src/Generated/Models/ResponseMessageAnnotation.Serialization.cs rename to src/Generated/Models/Responses/ResponseMessageAnnotation.Serialization.cs index f70023b74..d9d91915d 100644 --- a/src/Generated/Models/ResponseMessageAnnotation.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseMessageAnnotation.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseMessageAnnotation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseMessageAnnotation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ResponseMessageAnnotation DeserializeResponseMessageAnnotation(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseMessageAnnotation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseMessageAnnotation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseMessageAnnotation.cs b/src/Generated/Models/Responses/ResponseMessageAnnotation.cs similarity index 93% rename from src/Generated/Models/ResponseMessageAnnotation.cs rename to src/Generated/Models/Responses/ResponseMessageAnnotation.cs index 4e9bd566a..fd6e36fe4 100644 --- a/src/Generated/Models/ResponseMessageAnnotation.cs +++ b/src/Generated/Models/Responses/ResponseMessageAnnotation.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseMessageAnnotation { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseMessageAnnotationKind.Serialization.cs b/src/Generated/Models/Responses/ResponseMessageAnnotationKind.Serialization.cs similarity index 100% rename from src/Generated/Models/ResponseMessageAnnotationKind.Serialization.cs rename to src/Generated/Models/Responses/ResponseMessageAnnotationKind.Serialization.cs diff --git a/src/Generated/Models/ResponseOutputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Responses/ResponseOutputTokenUsageDetails.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseOutputTokenUsageDetails.Serialization.cs rename to src/Generated/Models/Responses/ResponseOutputTokenUsageDetails.Serialization.cs index f95410617..81dc84d3e 100644 --- a/src/Generated/Models/ResponseOutputTokenUsageDetails.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseOutputTokenUsageDetails.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseOutputTokenUsageDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseOutputTokenUsageDetails JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ResponseOutputTokenUsageDetails DeserializeResponseOutputTokenUs BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseOutputTokenUsageDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseOutputTokenUsageDetails PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseOutputTokenUsageDetails.cs b/src/Generated/Models/Responses/ResponseOutputTokenUsageDetails.cs similarity index 92% rename from src/Generated/Models/ResponseOutputTokenUsageDetails.cs rename to src/Generated/Models/Responses/ResponseOutputTokenUsageDetails.cs index e8e81ce5b..afb055f8f 100644 --- a/src/Generated/Models/ResponseOutputTokenUsageDetails.cs +++ b/src/Generated/Models/Responses/ResponseOutputTokenUsageDetails.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseOutputTokenUsageDetails { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseReasoningEffortLevel.cs b/src/Generated/Models/Responses/ResponseReasoningEffortLevel.cs similarity index 96% rename from src/Generated/Models/ResponseReasoningEffortLevel.cs rename to src/Generated/Models/Responses/ResponseReasoningEffortLevel.cs index e29f302ae..08c27d9b5 100644 --- a/src/Generated/Models/ResponseReasoningEffortLevel.cs +++ b/src/Generated/Models/Responses/ResponseReasoningEffortLevel.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public readonly partial struct ResponseReasoningEffortLevel : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ResponseReasoningOptions.Serialization.cs b/src/Generated/Models/Responses/ResponseReasoningOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseReasoningOptions.Serialization.cs rename to src/Generated/Models/Responses/ResponseReasoningOptions.Serialization.cs index a11dc438f..09ab5c1b1 100644 --- a/src/Generated/Models/ResponseReasoningOptions.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseReasoningOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -67,7 +65,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseReasoningOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseReasoningOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static ResponseReasoningOptions DeserializeResponseReasoningOptions(Jso BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseReasoningOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseReasoningOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseReasoningOptions.cs b/src/Generated/Models/Responses/ResponseReasoningOptions.cs similarity index 94% rename from src/Generated/Models/ResponseReasoningOptions.cs rename to src/Generated/Models/Responses/ResponseReasoningOptions.cs index 959fba89e..c374a7acf 100644 --- a/src/Generated/Models/ResponseReasoningOptions.cs +++ b/src/Generated/Models/Responses/ResponseReasoningOptions.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseReasoningOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseReasoningSummaryVerbosity.cs b/src/Generated/Models/Responses/ResponseReasoningSummaryVerbosity.cs similarity index 96% rename from src/Generated/Models/ResponseReasoningSummaryVerbosity.cs rename to src/Generated/Models/Responses/ResponseReasoningSummaryVerbosity.cs index 57199112b..58a48a0c6 100644 --- a/src/Generated/Models/ResponseReasoningSummaryVerbosity.cs +++ b/src/Generated/Models/Responses/ResponseReasoningSummaryVerbosity.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public readonly partial struct ResponseReasoningSummaryVerbosity : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/ResponseStatus.Serialization.cs b/src/Generated/Models/Responses/ResponseStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/ResponseStatus.Serialization.cs rename to src/Generated/Models/Responses/ResponseStatus.Serialization.cs diff --git a/src/Generated/Models/ResponseTextFormat.Serialization.cs b/src/Generated/Models/Responses/ResponseTextFormat.Serialization.cs similarity index 96% rename from src/Generated/Models/ResponseTextFormat.Serialization.cs rename to src/Generated/Models/Responses/ResponseTextFormat.Serialization.cs index f53bf8f71..529d968ab 100644 --- a/src/Generated/Models/ResponseTextFormat.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseTextFormat.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseTextFormat IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseTextFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ResponseTextFormat DeserializeResponseTextFormat(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseTextFormat IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseTextFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseTextFormat.cs b/src/Generated/Models/Responses/ResponseTextFormat.cs similarity index 92% rename from src/Generated/Models/ResponseTextFormat.cs rename to src/Generated/Models/Responses/ResponseTextFormat.cs index 0f64245e7..562a6e564 100644 --- a/src/Generated/Models/ResponseTextFormat.cs +++ b/src/Generated/Models/Responses/ResponseTextFormat.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseTextFormat { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseTextOptions.Serialization.cs b/src/Generated/Models/Responses/ResponseTextOptions.Serialization.cs similarity index 96% rename from src/Generated/Models/ResponseTextOptions.Serialization.cs rename to src/Generated/Models/Responses/ResponseTextOptions.Serialization.cs index 315c63ada..7bff815a1 100644 --- a/src/Generated/Models/ResponseTextOptions.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseTextOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseTextOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseTextOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static ResponseTextOptions DeserializeResponseTextOptions(JsonElement e BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseTextOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseTextOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseTextOptions.cs b/src/Generated/Models/Responses/ResponseTextOptions.cs similarity index 91% rename from src/Generated/Models/ResponseTextOptions.cs rename to src/Generated/Models/Responses/ResponseTextOptions.cs index 02bcccb2b..d3dacbe2a 100644 --- a/src/Generated/Models/ResponseTextOptions.cs +++ b/src/Generated/Models/Responses/ResponseTextOptions.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseTextOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseTokenUsage.Serialization.cs b/src/Generated/Models/Responses/ResponseTokenUsage.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseTokenUsage.Serialization.cs rename to src/Generated/Models/Responses/ResponseTokenUsage.Serialization.cs index ce66a62d9..9a230d392 100644 --- a/src/Generated/Models/ResponseTokenUsage.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseTokenUsage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +79,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseTokenUsage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseTokenUsage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -146,7 +143,6 @@ internal static ResponseTokenUsage DeserializeResponseTokenUsage(JsonElement ele BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -161,7 +157,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseTokenUsage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseTokenUsage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseTokenUsage.cs b/src/Generated/Models/Responses/ResponseTokenUsage.cs similarity index 95% rename from src/Generated/Models/ResponseTokenUsage.cs rename to src/Generated/Models/Responses/ResponseTokenUsage.cs index b7c631cdb..c331f6a8f 100644 --- a/src/Generated/Models/ResponseTokenUsage.cs +++ b/src/Generated/Models/Responses/ResponseTokenUsage.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseTokenUsage { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseTool.Serialization.cs b/src/Generated/Models/Responses/ResponseTool.Serialization.cs similarity index 97% rename from src/Generated/Models/ResponseTool.Serialization.cs rename to src/Generated/Models/Responses/ResponseTool.Serialization.cs index f9a12221d..cf1c74d40 100644 --- a/src/Generated/Models/ResponseTool.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseTool.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOpti writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit ResponseTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -106,7 +103,6 @@ internal static ResponseTool DeserializeResponseTool(JsonElement element, ModelR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -121,7 +117,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions ResponseTool IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/ResponseTool.cs b/src/Generated/Models/Responses/ResponseTool.cs similarity index 92% rename from src/Generated/Models/ResponseTool.cs rename to src/Generated/Models/Responses/ResponseTool.cs index 272a65b8c..bc022c1e2 100644 --- a/src/Generated/Models/ResponseTool.cs +++ b/src/Generated/Models/Responses/ResponseTool.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class ResponseTool { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/ResponseTruncationMode.cs b/src/Generated/Models/Responses/ResponseTruncationMode.cs similarity index 95% rename from src/Generated/Models/ResponseTruncationMode.cs rename to src/Generated/Models/Responses/ResponseTruncationMode.cs index 4294acc06..8141123ee 100644 --- a/src/Generated/Models/ResponseTruncationMode.cs +++ b/src/Generated/Models/Responses/ResponseTruncationMode.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public readonly partial struct ResponseTruncationMode : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/StreamingResponseCompletedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseCompletedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseCompletedUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseCompletedUpdate.Serialization.cs index 7f67447ac..543bb5237 100644 --- a/src/Generated/Models/StreamingResponseCompletedUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseCompletedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseCompletedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseCompletedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static StreamingResponseCompletedUpdate DeserializeStreamingResponseCom BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseCompletedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseCompletedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseCompletedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseCompletedUpdate.cs similarity index 91% rename from src/Generated/Models/StreamingResponseCompletedUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseCompletedUpdate.cs index 7b4f93bd9..bbcadaf99 100644 --- a/src/Generated/Models/StreamingResponseCompletedUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseCompletedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseCompletedUpdate : StreamingResponseUpdate { internal StreamingResponseCompletedUpdate(int sequenceNumber, OpenAIResponse response) : base(InternalResponseStreamEventType.ResponseCompleted, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseContentPartAddedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseContentPartAddedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseContentPartAddedUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseContentPartAddedUpdate.Serialization.cs index cef3245ff..b11f2432c 100644 --- a/src/Generated/Models/StreamingResponseContentPartAddedUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseContentPartAddedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseContentPartAddedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseContentPartAddedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static StreamingResponseContentPartAddedUpdate DeserializeStreamingResp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseContentPartAddedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseContentPartAddedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseContentPartAddedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseContentPartAddedUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingResponseContentPartAddedUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseContentPartAddedUpdate.cs index 4ab3954ab..b9cf2e6eb 100644 --- a/src/Generated/Models/StreamingResponseContentPartAddedUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseContentPartAddedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseContentPartAddedUpdate : StreamingResponseUpdate { internal StreamingResponseContentPartAddedUpdate(int sequenceNumber, string itemId, int outputIndex, int contentIndex, ResponseContentPart part) : base(InternalResponseStreamEventType.ResponseContentPartAdded, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseContentPartDoneUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseContentPartDoneUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseContentPartDoneUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseContentPartDoneUpdate.Serialization.cs index b56e73fdf..28c67e4b5 100644 --- a/src/Generated/Models/StreamingResponseContentPartDoneUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseContentPartDoneUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseContentPartDoneUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseContentPartDoneUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static StreamingResponseContentPartDoneUpdate DeserializeStreamingRespo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseContentPartDoneUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseContentPartDoneUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseContentPartDoneUpdate.cs b/src/Generated/Models/Responses/StreamingResponseContentPartDoneUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingResponseContentPartDoneUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseContentPartDoneUpdate.cs index 26b2e0965..5e7cbc16d 100644 --- a/src/Generated/Models/StreamingResponseContentPartDoneUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseContentPartDoneUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseContentPartDoneUpdate : StreamingResponseUpdate { internal StreamingResponseContentPartDoneUpdate(int sequenceNumber, string itemId, int outputIndex, int contentIndex, ResponseContentPart part) : base(InternalResponseStreamEventType.ResponseContentPartDone, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseCreatedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseCreatedUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/StreamingResponseCreatedUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseCreatedUpdate.Serialization.cs index 205ccae43..1c0ecc0d1 100644 --- a/src/Generated/Models/StreamingResponseCreatedUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseCreatedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseCreatedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseCreatedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static StreamingResponseCreatedUpdate DeserializeStreamingResponseCreat BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseCreatedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseCreatedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseCreatedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseCreatedUpdate.cs similarity index 91% rename from src/Generated/Models/StreamingResponseCreatedUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseCreatedUpdate.cs index 2d206dab2..f1fc6b633 100644 --- a/src/Generated/Models/StreamingResponseCreatedUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseCreatedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseCreatedUpdate : StreamingResponseUpdate { internal StreamingResponseCreatedUpdate(int sequenceNumber, OpenAIResponse response) : base(InternalResponseStreamEventType.ResponseCreated, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseErrorUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseErrorUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseErrorUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseErrorUpdate.Serialization.cs index ed68f3ec8..8f557d3c5 100644 --- a/src/Generated/Models/StreamingResponseErrorUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseErrorUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseErrorUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseErrorUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -141,7 +138,6 @@ internal static StreamingResponseErrorUpdate DeserializeStreamingResponseErrorUp BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +152,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseErrorUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseErrorUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseErrorUpdate.cs b/src/Generated/Models/Responses/StreamingResponseErrorUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingResponseErrorUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseErrorUpdate.cs index 46d474546..ced4e1294 100644 --- a/src/Generated/Models/StreamingResponseErrorUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseErrorUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseErrorUpdate : StreamingResponseUpdate { internal StreamingResponseErrorUpdate(int sequenceNumber, string code, string message, string @param) : base(InternalResponseStreamEventType.Error, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseFailedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseFailedUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/StreamingResponseFailedUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseFailedUpdate.Serialization.cs index 974446cde..bcb09ff34 100644 --- a/src/Generated/Models/StreamingResponseFailedUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseFailedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseFailedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseFailedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static StreamingResponseFailedUpdate DeserializeStreamingResponseFailed BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseFailedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseFailedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseFailedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseFailedUpdate.cs similarity index 91% rename from src/Generated/Models/StreamingResponseFailedUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseFailedUpdate.cs index 3aeeca501..39c6fb3f7 100644 --- a/src/Generated/Models/StreamingResponseFailedUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseFailedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseFailedUpdate : StreamingResponseUpdate { internal StreamingResponseFailedUpdate(int sequenceNumber, OpenAIResponse response) : base(InternalResponseStreamEventType.ResponseFailed, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseFileSearchCallCompletedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseFileSearchCallCompletedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseFileSearchCallCompletedUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseFileSearchCallCompletedUpdate.Serialization.cs index e9c0ab592..34c2b62a5 100644 --- a/src/Generated/Models/StreamingResponseFileSearchCallCompletedUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseFileSearchCallCompletedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseFileSearchCallCompletedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseFileSearchCallCompletedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static StreamingResponseFileSearchCallCompletedUpdate DeserializeStream BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseFileSearchCallCompletedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseFileSearchCallCompletedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseFileSearchCallCompletedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseFileSearchCallCompletedUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingResponseFileSearchCallCompletedUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseFileSearchCallCompletedUpdate.cs index 82a895c2c..614faadd7 100644 --- a/src/Generated/Models/StreamingResponseFileSearchCallCompletedUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseFileSearchCallCompletedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseFileSearchCallCompletedUpdate : StreamingResponseUpdate { internal StreamingResponseFileSearchCallCompletedUpdate(int sequenceNumber, int outputIndex, string itemId) : base(InternalResponseStreamEventType.ResponseFileSearchCallCompleted, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseFileSearchCallInProgressUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseFileSearchCallInProgressUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseFileSearchCallInProgressUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseFileSearchCallInProgressUpdate.Serialization.cs index f634ac8af..b8f292897 100644 --- a/src/Generated/Models/StreamingResponseFileSearchCallInProgressUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseFileSearchCallInProgressUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseFileSearchCallInProgressUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseFileSearchCallInProgressUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static StreamingResponseFileSearchCallInProgressUpdate DeserializeStrea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseFileSearchCallInProgressUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseFileSearchCallInProgressUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseFileSearchCallInProgressUpdate.cs b/src/Generated/Models/Responses/StreamingResponseFileSearchCallInProgressUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingResponseFileSearchCallInProgressUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseFileSearchCallInProgressUpdate.cs index 0bc098fbc..3264e8f5c 100644 --- a/src/Generated/Models/StreamingResponseFileSearchCallInProgressUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseFileSearchCallInProgressUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseFileSearchCallInProgressUpdate : StreamingResponseUpdate { internal StreamingResponseFileSearchCallInProgressUpdate(int sequenceNumber, int outputIndex, string itemId) : base(InternalResponseStreamEventType.ResponseFileSearchCallInProgress, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseFileSearchCallSearchingUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseFileSearchCallSearchingUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseFileSearchCallSearchingUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseFileSearchCallSearchingUpdate.Serialization.cs index c09a2747e..13ed24f41 100644 --- a/src/Generated/Models/StreamingResponseFileSearchCallSearchingUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseFileSearchCallSearchingUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseFileSearchCallSearchingUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseFileSearchCallSearchingUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static StreamingResponseFileSearchCallSearchingUpdate DeserializeStream BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseFileSearchCallSearchingUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseFileSearchCallSearchingUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseFileSearchCallSearchingUpdate.cs b/src/Generated/Models/Responses/StreamingResponseFileSearchCallSearchingUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingResponseFileSearchCallSearchingUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseFileSearchCallSearchingUpdate.cs index b12373e46..5fb570278 100644 --- a/src/Generated/Models/StreamingResponseFileSearchCallSearchingUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseFileSearchCallSearchingUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseFileSearchCallSearchingUpdate : StreamingResponseUpdate { internal StreamingResponseFileSearchCallSearchingUpdate(int sequenceNumber, int outputIndex, string itemId) : base(InternalResponseStreamEventType.ResponseFileSearchCallSearching, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseFunctionCallArgumentsDeltaUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDeltaUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseFunctionCallArgumentsDeltaUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDeltaUpdate.Serialization.cs index 8e0ccead1..9e87cbb0e 100644 --- a/src/Generated/Models/StreamingResponseFunctionCallArgumentsDeltaUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDeltaUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Jso writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseFunctionCallArgumentsDeltaUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseFunctionCallArgumentsDeltaUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static StreamingResponseFunctionCallArgumentsDeltaUpdate DeserializeStr BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseFunctionCallArgumentsDeltaUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseFunctionCallArgumentsDeltaUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs index 040e4a877..1015fa3b9 100644 --- a/src/Generated/Models/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDeltaUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseFunctionCallArgumentsDeltaUpdate : StreamingResponseUpdate { internal StreamingResponseFunctionCallArgumentsDeltaUpdate(int sequenceNumber, string itemId, int outputIndex, string delta) : base(InternalResponseStreamEventType.ResponseFunctionCallArgumentsDelta, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseFunctionCallArgumentsDoneUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseFunctionCallArgumentsDoneUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.Serialization.cs index edcbbe21b..939d25e0e 100644 --- a/src/Generated/Models/StreamingResponseFunctionCallArgumentsDoneUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8Json writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,7 +50,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseFunctionCallArgumentsDoneUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseFunctionCallArgumentsDoneUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -117,7 +114,6 @@ internal static StreamingResponseFunctionCallArgumentsDoneUpdate DeserializeStre BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -132,7 +128,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseFunctionCallArgumentsDoneUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseFunctionCallArgumentsDoneUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseFunctionCallArgumentsDoneUpdate.cs b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingResponseFunctionCallArgumentsDoneUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.cs index 30799029a..6ee751d53 100644 --- a/src/Generated/Models/StreamingResponseFunctionCallArgumentsDoneUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseFunctionCallArgumentsDoneUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseFunctionCallArgumentsDoneUpdate : StreamingResponseUpdate { internal StreamingResponseFunctionCallArgumentsDoneUpdate(int sequenceNumber, string itemId, int outputIndex, string arguments) : base(InternalResponseStreamEventType.ResponseFunctionCallArgumentsDone, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseInProgressUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseInProgressUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseInProgressUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseInProgressUpdate.Serialization.cs index 22f4408c4..0bf2a5db1 100644 --- a/src/Generated/Models/StreamingResponseInProgressUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseInProgressUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseInProgressUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseInProgressUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static StreamingResponseInProgressUpdate DeserializeStreamingResponseIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseInProgressUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseInProgressUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseInProgressUpdate.cs b/src/Generated/Models/Responses/StreamingResponseInProgressUpdate.cs similarity index 91% rename from src/Generated/Models/StreamingResponseInProgressUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseInProgressUpdate.cs index 13f08c396..5698cf883 100644 --- a/src/Generated/Models/StreamingResponseInProgressUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseInProgressUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseInProgressUpdate : StreamingResponseUpdate { internal StreamingResponseInProgressUpdate(int sequenceNumber, OpenAIResponse response) : base(InternalResponseStreamEventType.ResponseInProgress, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseIncompleteUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseIncompleteUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseIncompleteUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseIncompleteUpdate.Serialization.cs index 82b9efdfa..a1374259f 100644 --- a/src/Generated/Models/StreamingResponseIncompleteUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseIncompleteUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseIncompleteUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseIncompleteUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static StreamingResponseIncompleteUpdate DeserializeStreamingResponseIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseIncompleteUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseIncompleteUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseIncompleteUpdate.cs b/src/Generated/Models/Responses/StreamingResponseIncompleteUpdate.cs similarity index 91% rename from src/Generated/Models/StreamingResponseIncompleteUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseIncompleteUpdate.cs index 170047214..02b1b1e1b 100644 --- a/src/Generated/Models/StreamingResponseIncompleteUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseIncompleteUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseIncompleteUpdate : StreamingResponseUpdate { internal StreamingResponseIncompleteUpdate(int sequenceNumber, OpenAIResponse response) : base(InternalResponseStreamEventType.ResponseIncomplete, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseOutputItemAddedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseOutputItemAddedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseOutputItemAddedUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseOutputItemAddedUpdate.Serialization.cs index 39c16d2cb..d04f79da6 100644 --- a/src/Generated/Models/StreamingResponseOutputItemAddedUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseOutputItemAddedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseOutputItemAddedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseOutputItemAddedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static StreamingResponseOutputItemAddedUpdate DeserializeStreamingRespo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseOutputItemAddedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseOutputItemAddedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseOutputItemAddedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseOutputItemAddedUpdate.cs similarity index 92% rename from src/Generated/Models/StreamingResponseOutputItemAddedUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseOutputItemAddedUpdate.cs index 415e8856a..261e7cb57 100644 --- a/src/Generated/Models/StreamingResponseOutputItemAddedUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseOutputItemAddedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseOutputItemAddedUpdate : StreamingResponseUpdate { internal StreamingResponseOutputItemAddedUpdate(int sequenceNumber, int outputIndex, ResponseItem item) : base(InternalResponseStreamEventType.ResponseOutputItemAdded, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseOutputItemDoneUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseOutputItemDoneUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseOutputItemDoneUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseOutputItemDoneUpdate.Serialization.cs index 89e415d97..cb4948441 100644 --- a/src/Generated/Models/StreamingResponseOutputItemDoneUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseOutputItemDoneUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseOutputItemDoneUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseOutputItemDoneUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static StreamingResponseOutputItemDoneUpdate DeserializeStreamingRespon BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseOutputItemDoneUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseOutputItemDoneUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseOutputItemDoneUpdate.cs b/src/Generated/Models/Responses/StreamingResponseOutputItemDoneUpdate.cs similarity index 92% rename from src/Generated/Models/StreamingResponseOutputItemDoneUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseOutputItemDoneUpdate.cs index 14c99c6ca..b842f9eba 100644 --- a/src/Generated/Models/StreamingResponseOutputItemDoneUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseOutputItemDoneUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseOutputItemDoneUpdate : StreamingResponseUpdate { internal StreamingResponseOutputItemDoneUpdate(int sequenceNumber, int outputIndex, ResponseItem item) : base(InternalResponseStreamEventType.ResponseOutputItemDone, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseOutputTextDeltaUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseOutputTextDeltaUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseOutputTextDeltaUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseOutputTextDeltaUpdate.Serialization.cs index 1df4f7ad8..de9b96213 100644 --- a/src/Generated/Models/StreamingResponseOutputTextDeltaUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseOutputTextDeltaUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseOutputTextDeltaUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseOutputTextDeltaUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static StreamingResponseOutputTextDeltaUpdate DeserializeStreamingRespo BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseOutputTextDeltaUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseOutputTextDeltaUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseOutputTextDeltaUpdate.cs b/src/Generated/Models/Responses/StreamingResponseOutputTextDeltaUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingResponseOutputTextDeltaUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseOutputTextDeltaUpdate.cs index 07408f233..e4b008eee 100644 --- a/src/Generated/Models/StreamingResponseOutputTextDeltaUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseOutputTextDeltaUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseOutputTextDeltaUpdate : StreamingResponseUpdate { internal StreamingResponseOutputTextDeltaUpdate(int sequenceNumber, string itemId, int outputIndex, int contentIndex, string delta) : base(InternalResponseStreamEventType.ResponseOutputTextDelta, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseOutputTextDoneUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseOutputTextDoneUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseOutputTextDoneUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseOutputTextDoneUpdate.Serialization.cs index fc17073c8..7a6ca1f9e 100644 --- a/src/Generated/Models/StreamingResponseOutputTextDoneUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseOutputTextDoneUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseOutputTextDoneUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseOutputTextDoneUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static StreamingResponseOutputTextDoneUpdate DeserializeStreamingRespon BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseOutputTextDoneUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseOutputTextDoneUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseOutputTextDoneUpdate.cs b/src/Generated/Models/Responses/StreamingResponseOutputTextDoneUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingResponseOutputTextDoneUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseOutputTextDoneUpdate.cs index 2298f2c7f..88356e974 100644 --- a/src/Generated/Models/StreamingResponseOutputTextDoneUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseOutputTextDoneUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseOutputTextDoneUpdate : StreamingResponseUpdate { internal StreamingResponseOutputTextDoneUpdate(int sequenceNumber, string itemId, int outputIndex, int contentIndex, string text) : base(InternalResponseStreamEventType.ResponseOutputTextDone, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseQueuedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseQueuedUpdate.Serialization.cs similarity index 96% rename from src/Generated/Models/StreamingResponseQueuedUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseQueuedUpdate.Serialization.cs index 54e3745c4..e5c1d208f 100644 --- a/src/Generated/Models/StreamingResponseQueuedUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseQueuedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseQueuedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseQueuedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +86,6 @@ internal static StreamingResponseQueuedUpdate DeserializeStreamingResponseQueued BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -104,7 +100,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseQueuedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseQueuedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseQueuedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseQueuedUpdate.cs similarity index 91% rename from src/Generated/Models/StreamingResponseQueuedUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseQueuedUpdate.cs index d8c8a12e2..63383e874 100644 --- a/src/Generated/Models/StreamingResponseQueuedUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseQueuedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseQueuedUpdate : StreamingResponseUpdate { internal StreamingResponseQueuedUpdate(int sequenceNumber, OpenAIResponse response) : base(InternalResponseStreamEventType.ResponseQueued, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseRefusalDeltaUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseRefusalDeltaUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseRefusalDeltaUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseRefusalDeltaUpdate.Serialization.cs index 7d5f6fb47..b1b7e98c4 100644 --- a/src/Generated/Models/StreamingResponseRefusalDeltaUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseRefusalDeltaUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseRefusalDeltaUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseRefusalDeltaUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static StreamingResponseRefusalDeltaUpdate DeserializeStreamingResponse BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseRefusalDeltaUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseRefusalDeltaUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseRefusalDeltaUpdate.cs b/src/Generated/Models/Responses/StreamingResponseRefusalDeltaUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingResponseRefusalDeltaUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseRefusalDeltaUpdate.cs index ff5152852..6979ac56d 100644 --- a/src/Generated/Models/StreamingResponseRefusalDeltaUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseRefusalDeltaUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseRefusalDeltaUpdate : StreamingResponseUpdate { internal StreamingResponseRefusalDeltaUpdate(int sequenceNumber, string itemId, int outputIndex, int contentIndex, string delta) : base(InternalResponseStreamEventType.ResponseRefusalDelta, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseRefusalDoneUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseRefusalDoneUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseRefusalDoneUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseRefusalDoneUpdate.Serialization.cs index 1ff78a4dd..bbaa1110b 100644 --- a/src/Generated/Models/StreamingResponseRefusalDoneUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseRefusalDoneUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -57,7 +55,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseRefusalDoneUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseRefusalDoneUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -129,7 +126,6 @@ internal static StreamingResponseRefusalDoneUpdate DeserializeStreamingResponseR BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -144,7 +140,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseRefusalDoneUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseRefusalDoneUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseRefusalDoneUpdate.cs b/src/Generated/Models/Responses/StreamingResponseRefusalDoneUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingResponseRefusalDoneUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseRefusalDoneUpdate.cs index 1ef1fb020..dbd2d2d73 100644 --- a/src/Generated/Models/StreamingResponseRefusalDoneUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseRefusalDoneUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseRefusalDoneUpdate : StreamingResponseUpdate { internal StreamingResponseRefusalDoneUpdate(int sequenceNumber, string itemId, int outputIndex, int contentIndex, string refusal) : base(InternalResponseStreamEventType.ResponseRefusalDone, sequenceNumber) diff --git a/src/Generated/Models/Responses/StreamingResponseTextAnnotationAddedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseTextAnnotationAddedUpdate.Serialization.cs new file mode 100644 index 000000000..a259aba9d --- /dev/null +++ b/src/Generated/Models/Responses/StreamingResponseTextAnnotationAddedUpdate.Serialization.cs @@ -0,0 +1,179 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + public partial class StreamingResponseTextAnnotationAddedUpdate : IJsonModel + { + internal StreamingResponseTextAnnotationAddedUpdate() : this(InternalResponseStreamEventType.ResponseOutputTextAnnotationAdded, default, null, null, default, default, default, null) + { + } + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(StreamingResponseTextAnnotationAddedUpdate)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); + if (_additionalBinaryDataProperties?.ContainsKey("item_id") != true) + { + writer.WritePropertyName("item_id"u8); + writer.WriteStringValue(ItemId); + } + if (_additionalBinaryDataProperties?.ContainsKey("output_index") != true) + { + writer.WritePropertyName("output_index"u8); + writer.WriteNumberValue(OutputIndex); + } + if (_additionalBinaryDataProperties?.ContainsKey("content_index") != true) + { + writer.WritePropertyName("content_index"u8); + writer.WriteNumberValue(ContentIndex); + } + if (_additionalBinaryDataProperties?.ContainsKey("annotation_index") != true) + { + writer.WritePropertyName("annotation_index"u8); + writer.WriteNumberValue(AnnotationIndex); + } + if (_additionalBinaryDataProperties?.ContainsKey("annotation") != true) + { + writer.WritePropertyName("annotation"u8); +#if NET6_0_OR_GREATER + writer.WriteRawValue(Annotation); +#else + using (JsonDocument document = JsonDocument.Parse(Annotation)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + + StreamingResponseTextAnnotationAddedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseTextAnnotationAddedUpdate)JsonModelCreateCore(ref reader, options); + + protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(StreamingResponseTextAnnotationAddedUpdate)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeStreamingResponseTextAnnotationAddedUpdate(document.RootElement, options); + } + + internal static StreamingResponseTextAnnotationAddedUpdate DeserializeStreamingResponseTextAnnotationAddedUpdate(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalResponseStreamEventType kind = default; + int sequenceNumber = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + string itemId = default; + int outputIndex = default; + int contentIndex = default; + int annotationIndex = default; + BinaryData annotation = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalResponseStreamEventType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("sequence_number"u8)) + { + sequenceNumber = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("item_id"u8)) + { + itemId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("output_index"u8)) + { + outputIndex = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("content_index"u8)) + { + contentIndex = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("annotation_index"u8)) + { + annotationIndex = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("annotation"u8)) + { + annotation = BinaryData.FromString(prop.Value.GetRawText()); + continue; + } + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new StreamingResponseTextAnnotationAddedUpdate( + kind, + sequenceNumber, + additionalBinaryDataProperties, + itemId, + outputIndex, + contentIndex, + annotationIndex, + annotation); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(StreamingResponseTextAnnotationAddedUpdate)} does not support writing '{options.Format}' format."); + } + } + + StreamingResponseTextAnnotationAddedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseTextAnnotationAddedUpdate)PersistableModelCreateCore(data, options); + + protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data)) + { + return DeserializeStreamingResponseTextAnnotationAddedUpdate(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(StreamingResponseTextAnnotationAddedUpdate)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/StreamingResponseTextAnnotationAddedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseTextAnnotationAddedUpdate.cs new file mode 100644 index 000000000..0e93036d0 --- /dev/null +++ b/src/Generated/Models/Responses/StreamingResponseTextAnnotationAddedUpdate.cs @@ -0,0 +1,42 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public partial class StreamingResponseTextAnnotationAddedUpdate : StreamingResponseUpdate + { + internal StreamingResponseTextAnnotationAddedUpdate(int sequenceNumber, string itemId, int outputIndex, int contentIndex, int annotationIndex, BinaryData annotation) : base(InternalResponseStreamEventType.ResponseOutputTextAnnotationAdded, sequenceNumber) + { + ItemId = itemId; + OutputIndex = outputIndex; + ContentIndex = contentIndex; + AnnotationIndex = annotationIndex; + Annotation = annotation; + } + + internal StreamingResponseTextAnnotationAddedUpdate(InternalResponseStreamEventType kind, int sequenceNumber, IDictionary additionalBinaryDataProperties, string itemId, int outputIndex, int contentIndex, int annotationIndex, BinaryData annotation) : base(kind, sequenceNumber, additionalBinaryDataProperties) + { + ItemId = itemId; + OutputIndex = outputIndex; + ContentIndex = contentIndex; + AnnotationIndex = annotationIndex; + Annotation = annotation; + } + + public string ItemId { get; } + + public int OutputIndex { get; } + + public int ContentIndex { get; } + + public int AnnotationIndex { get; } + + public BinaryData Annotation { get; } + } +} diff --git a/src/Generated/Models/StreamingResponseUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseUpdate.Serialization.cs similarity index 98% rename from src/Generated/Models/StreamingResponseUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseUpdate.Serialization.cs index 26b2db5f2..00255c9cc 100644 --- a/src/Generated/Models/StreamingResponseUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseUpdate.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit StreamingResponseUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -193,7 +190,6 @@ internal static StreamingResponseUpdate DeserializeStreamingResponseUpdate(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -208,7 +204,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseUpdate.cs b/src/Generated/Models/Responses/StreamingResponseUpdate.cs similarity index 94% rename from src/Generated/Models/StreamingResponseUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseUpdate.cs index 2a709714a..9965b66e2 100644 --- a/src/Generated/Models/StreamingResponseUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseUpdate { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/StreamingResponseWebSearchCallCompletedUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseWebSearchCallCompletedUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseWebSearchCallCompletedUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseWebSearchCallCompletedUpdate.Serialization.cs index f25172cd8..314e832f9 100644 --- a/src/Generated/Models/StreamingResponseWebSearchCallCompletedUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseWebSearchCallCompletedUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseWebSearchCallCompletedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseWebSearchCallCompletedUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static StreamingResponseWebSearchCallCompletedUpdate DeserializeStreami BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseWebSearchCallCompletedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseWebSearchCallCompletedUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseWebSearchCallCompletedUpdate.cs b/src/Generated/Models/Responses/StreamingResponseWebSearchCallCompletedUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingResponseWebSearchCallCompletedUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseWebSearchCallCompletedUpdate.cs index 9faf49564..771cc0ca9 100644 --- a/src/Generated/Models/StreamingResponseWebSearchCallCompletedUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseWebSearchCallCompletedUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseWebSearchCallCompletedUpdate : StreamingResponseUpdate { internal StreamingResponseWebSearchCallCompletedUpdate(int sequenceNumber, int outputIndex, string itemId) : base(InternalResponseStreamEventType.ResponseWebSearchCallCompleted, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseWebSearchCallInProgressUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseWebSearchCallInProgressUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseWebSearchCallInProgressUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseWebSearchCallInProgressUpdate.Serialization.cs index bece419cb..c51c8286f 100644 --- a/src/Generated/Models/StreamingResponseWebSearchCallInProgressUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseWebSearchCallInProgressUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseWebSearchCallInProgressUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseWebSearchCallInProgressUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static StreamingResponseWebSearchCallInProgressUpdate DeserializeStream BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseWebSearchCallInProgressUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseWebSearchCallInProgressUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseWebSearchCallInProgressUpdate.cs b/src/Generated/Models/Responses/StreamingResponseWebSearchCallInProgressUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingResponseWebSearchCallInProgressUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseWebSearchCallInProgressUpdate.cs index 84ab64722..d8684e892 100644 --- a/src/Generated/Models/StreamingResponseWebSearchCallInProgressUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseWebSearchCallInProgressUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseWebSearchCallInProgressUpdate : StreamingResponseUpdate { internal StreamingResponseWebSearchCallInProgressUpdate(int sequenceNumber, int outputIndex, string itemId) : base(InternalResponseStreamEventType.ResponseWebSearchCallInProgress, sequenceNumber) diff --git a/src/Generated/Models/StreamingResponseWebSearchCallSearchingUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseWebSearchCallSearchingUpdate.Serialization.cs similarity index 97% rename from src/Generated/Models/StreamingResponseWebSearchCallSearchingUpdate.Serialization.cs rename to src/Generated/Models/Responses/StreamingResponseWebSearchCallSearchingUpdate.Serialization.cs index 7ae95ee22..98ba90932 100644 --- a/src/Generated/Models/StreamingResponseWebSearchCallSearchingUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseWebSearchCallSearchingUpdate.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -47,7 +45,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseWebSearchCallSearchingUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseWebSearchCallSearchingUpdate)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -100,7 +97,6 @@ internal static StreamingResponseWebSearchCallSearchingUpdate DeserializeStreami BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -115,7 +111,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseWebSearchCallSearchingUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseWebSearchCallSearchingUpdate)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StreamingResponseWebSearchCallSearchingUpdate.cs b/src/Generated/Models/Responses/StreamingResponseWebSearchCallSearchingUpdate.cs similarity index 93% rename from src/Generated/Models/StreamingResponseWebSearchCallSearchingUpdate.cs rename to src/Generated/Models/Responses/StreamingResponseWebSearchCallSearchingUpdate.cs index f112f7f96..90ff96532 100644 --- a/src/Generated/Models/StreamingResponseWebSearchCallSearchingUpdate.cs +++ b/src/Generated/Models/Responses/StreamingResponseWebSearchCallSearchingUpdate.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class StreamingResponseWebSearchCallSearchingUpdate : StreamingResponseUpdate { internal StreamingResponseWebSearchCallSearchingUpdate(int sequenceNumber, int outputIndex, string itemId) : base(InternalResponseStreamEventType.ResponseWebSearchCallSearching, sequenceNumber) diff --git a/src/Generated/Models/UnknownResponseStreamEvent.Serialization.cs b/src/Generated/Models/Responses/UnknownResponseStreamEvent.Serialization.cs similarity index 96% rename from src/Generated/Models/UnknownResponseStreamEvent.Serialization.cs rename to src/Generated/Models/Responses/UnknownResponseStreamEvent.Serialization.cs index 1f50ad5a9..4c19e5357 100644 --- a/src/Generated/Models/UnknownResponseStreamEvent.Serialization.cs +++ b/src/Generated/Models/Responses/UnknownResponseStreamEvent.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StreamingResponseUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +75,6 @@ internal static UnknownResponseStreamEvent DeserializeUnknownResponseStreamEvent BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -93,7 +89,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StreamingResponseUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/UnknownResponseStreamEvent.cs b/src/Generated/Models/Responses/UnknownResponseStreamEvent.cs similarity index 100% rename from src/Generated/Models/UnknownResponseStreamEvent.cs rename to src/Generated/Models/Responses/UnknownResponseStreamEvent.cs diff --git a/src/Generated/Models/WebSearchCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/WebSearchCallResponseItem.Serialization.cs similarity index 96% rename from src/Generated/Models/WebSearchCallResponseItem.Serialization.cs rename to src/Generated/Models/Responses/WebSearchCallResponseItem.Serialization.cs index fc5240e97..db5599dad 100644 --- a/src/Generated/Models/WebSearchCallResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/WebSearchCallResponseItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -43,7 +41,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri WebSearchCallResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (WebSearchCallResponseItem)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -90,7 +87,6 @@ internal static WebSearchCallResponseItem DeserializeWebSearchCallResponseItem(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -105,7 +101,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions WebSearchCallResponseItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (WebSearchCallResponseItem)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/WebSearchCallResponseItem.cs b/src/Generated/Models/Responses/WebSearchCallResponseItem.cs similarity index 90% rename from src/Generated/Models/WebSearchCallResponseItem.cs rename to src/Generated/Models/Responses/WebSearchCallResponseItem.cs index 6ebb260ed..6eab31fcb 100644 --- a/src/Generated/Models/WebSearchCallResponseItem.cs +++ b/src/Generated/Models/Responses/WebSearchCallResponseItem.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class WebSearchCallResponseItem : ResponseItem { internal WebSearchCallResponseItem(string id, WebSearchCallStatus? status) : base(InternalItemType.WebSearchCall, id) diff --git a/src/Generated/Models/WebSearchCallStatus.Serialization.cs b/src/Generated/Models/Responses/WebSearchCallStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/WebSearchCallStatus.Serialization.cs rename to src/Generated/Models/Responses/WebSearchCallStatus.Serialization.cs diff --git a/src/Generated/Models/WebSearchContextSize.cs b/src/Generated/Models/Responses/WebSearchContextSize.cs similarity index 96% rename from src/Generated/Models/WebSearchContextSize.cs rename to src/Generated/Models/Responses/WebSearchContextSize.cs index 54138df91..8a99324ed 100644 --- a/src/Generated/Models/WebSearchContextSize.cs +++ b/src/Generated/Models/Responses/WebSearchContextSize.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public readonly partial struct WebSearchContextSize : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/WebSearchUserLocation.Serialization.cs b/src/Generated/Models/Responses/WebSearchUserLocation.Serialization.cs similarity index 96% rename from src/Generated/Models/WebSearchUserLocation.Serialization.cs rename to src/Generated/Models/Responses/WebSearchUserLocation.Serialization.cs index 5b735402b..da0571192 100644 --- a/src/Generated/Models/WebSearchUserLocation.Serialization.cs +++ b/src/Generated/Models/Responses/WebSearchUserLocation.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit WebSearchUserLocation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual WebSearchUserLocation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -92,7 +89,6 @@ internal static WebSearchUserLocation DeserializeWebSearchUserLocation(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +103,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions WebSearchUserLocation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual WebSearchUserLocation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/WebSearchUserLocation.cs b/src/Generated/Models/Responses/WebSearchUserLocation.cs similarity index 93% rename from src/Generated/Models/WebSearchUserLocation.cs rename to src/Generated/Models/Responses/WebSearchUserLocation.cs index 33b73b6ca..4d27f0f67 100644 --- a/src/Generated/Models/WebSearchUserLocation.cs +++ b/src/Generated/Models/Responses/WebSearchUserLocation.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class WebSearchUserLocation { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/FileChunkingStrategy.Serialization.cs b/src/Generated/Models/VectorStores/FileChunkingStrategy.Serialization.cs similarity index 96% rename from src/Generated/Models/FileChunkingStrategy.Serialization.cs rename to src/Generated/Models/VectorStores/FileChunkingStrategy.Serialization.cs index 8f1127a1f..8e50846e4 100644 --- a/src/Generated/Models/FileChunkingStrategy.Serialization.cs +++ b/src/Generated/Models/VectorStores/FileChunkingStrategy.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FileChunkingStrategy IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FileChunkingStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -96,7 +93,6 @@ internal static FileChunkingStrategy DeserializeFileChunkingStrategy(JsonElement BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +107,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileChunkingStrategy IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FileChunkingStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FileChunkingStrategy.cs b/src/Generated/Models/VectorStores/FileChunkingStrategy.cs similarity index 79% rename from src/Generated/Models/FileChunkingStrategy.cs rename to src/Generated/Models/VectorStores/FileChunkingStrategy.cs index bf902696a..f526f6801 100644 --- a/src/Generated/Models/FileChunkingStrategy.cs +++ b/src/Generated/Models/VectorStores/FileChunkingStrategy.cs @@ -4,26 +4,27 @@ using System; using System.Collections.Generic; -using OpenAI.Responses; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public abstract partial class FileChunkingStrategy { private protected IDictionary _additionalBinaryDataProperties; - private protected FileChunkingStrategy(InternalDotNetCombinedChunkingStrategyParamType2 kind) + private protected FileChunkingStrategy(InternalDotNetCombinedChunkingStrategyParamType kind) { Kind = kind; } - internal FileChunkingStrategy(InternalDotNetCombinedChunkingStrategyParamType2 kind, IDictionary additionalBinaryDataProperties) + internal FileChunkingStrategy(InternalDotNetCombinedChunkingStrategyParamType kind, IDictionary additionalBinaryDataProperties) { Kind = kind; _additionalBinaryDataProperties = additionalBinaryDataProperties; } - internal InternalDotNetCombinedChunkingStrategyParamType2 Kind { get; set; } + internal InternalDotNetCombinedChunkingStrategyParamType Kind { get; set; } internal IDictionary SerializedAdditionalRawData { diff --git a/src/Generated/Models/FileFromStoreRemovalResult.Serialization.cs b/src/Generated/Models/VectorStores/FileFromStoreRemovalResult.Serialization.cs similarity index 97% rename from src/Generated/Models/FileFromStoreRemovalResult.Serialization.cs rename to src/Generated/Models/VectorStores/FileFromStoreRemovalResult.Serialization.cs index d8e1d85ed..a610f689c 100644 --- a/src/Generated/Models/FileFromStoreRemovalResult.Serialization.cs +++ b/src/Generated/Models/VectorStores/FileFromStoreRemovalResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit FileFromStoreRemovalResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual FileFromStoreRemovalResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static FileFromStoreRemovalResult DeserializeFileFromStoreRemovalResult BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileFromStoreRemovalResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual FileFromStoreRemovalResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/FileFromStoreRemovalResult.cs b/src/Generated/Models/VectorStores/FileFromStoreRemovalResult.cs similarity index 93% rename from src/Generated/Models/FileFromStoreRemovalResult.cs rename to src/Generated/Models/VectorStores/FileFromStoreRemovalResult.cs index f9a05fdcc..5c7581814 100644 --- a/src/Generated/Models/FileFromStoreRemovalResult.cs +++ b/src/Generated/Models/VectorStores/FileFromStoreRemovalResult.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class FileFromStoreRemovalResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/InternalAutoChunkingStrategyRequestParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalAutoChunkingStrategyRequestParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalAutoChunkingStrategyRequestParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalAutoChunkingStrategyRequestParam.Serialization.cs index 3291913a7..b4d7a5656 100644 --- a/src/Generated/Models/InternalAutoChunkingStrategyRequestParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalAutoChunkingStrategyRequestParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter w writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalAutoChunkingStrategyRequestParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalAutoChunkingStrategyRequestParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyRequestParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalAutoChunkingStrategyRequestParam DeserializeInternalAuto BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalAutoChunkingStrategyRequestParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalAutoChunkingStrategyRequestParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyRequestParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalAutoChunkingStrategyRequestParam.cs b/src/Generated/Models/VectorStores/InternalAutoChunkingStrategyRequestParam.cs similarity index 100% rename from src/Generated/Models/InternalAutoChunkingStrategyRequestParam.cs rename to src/Generated/Models/VectorStores/InternalAutoChunkingStrategyRequestParam.cs diff --git a/src/Generated/Models/InternalChunkingStrategyRequestParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalChunkingStrategyRequestParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChunkingStrategyRequestParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalChunkingStrategyRequestParam.Serialization.cs index 445bf0e9a..8406fc511 100644 --- a/src/Generated/Models/InternalChunkingStrategyRequestParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalChunkingStrategyRequestParam.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChunkingStrategyRequestParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChunkingStrategyRequestParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -94,7 +91,6 @@ internal static InternalChunkingStrategyRequestParam DeserializeInternalChunking BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChunkingStrategyRequestParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChunkingStrategyRequestParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChunkingStrategyRequestParam.cs b/src/Generated/Models/VectorStores/InternalChunkingStrategyRequestParam.cs similarity index 100% rename from src/Generated/Models/InternalChunkingStrategyRequestParam.cs rename to src/Generated/Models/VectorStores/InternalChunkingStrategyRequestParam.cs diff --git a/src/Generated/Models/InternalChunkingStrategyRequestParamType.cs b/src/Generated/Models/VectorStores/InternalChunkingStrategyRequestParamType.cs similarity index 100% rename from src/Generated/Models/InternalChunkingStrategyRequestParamType.cs rename to src/Generated/Models/VectorStores/InternalChunkingStrategyRequestParamType.cs diff --git a/src/Generated/Models/InternalChunkingStrategyResponseParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalChunkingStrategyResponseParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalChunkingStrategyResponseParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalChunkingStrategyResponseParam.Serialization.cs index 4e2f19ed7..727f94c4d 100644 --- a/src/Generated/Models/InternalChunkingStrategyResponseParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalChunkingStrategyResponseParam.Serialization.cs @@ -4,7 +4,6 @@ using System; using System.ClientModel.Primitives; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,7 +59,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalChunkingStrategyResponseParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalChunkingStrategyResponseParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,10 +80,10 @@ internal static InternalChunkingStrategyResponseParam DeserializeInternalChunkin { switch (discriminator.GetString()) { - case "static": - return InternalStaticChunkingStrategyResponseParam.DeserializeInternalStaticChunkingStrategyResponseParam(element, options); case "other": return InternalOtherChunkingStrategyResponseParam.DeserializeInternalOtherChunkingStrategyResponseParam(element, options); + case "static": + return InternalStaticChunkingStrategyResponseParam.DeserializeInternalStaticChunkingStrategyResponseParam(element, options); } } return InternalUnknownChunkingStrategyResponseParam.DeserializeInternalUnknownChunkingStrategyResponseParam(element, options); @@ -94,7 +91,6 @@ internal static InternalChunkingStrategyResponseParam DeserializeInternalChunkin BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -109,7 +105,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChunkingStrategyResponseParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalChunkingStrategyResponseParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalChunkingStrategyResponseParam.cs b/src/Generated/Models/VectorStores/InternalChunkingStrategyResponseParam.cs similarity index 100% rename from src/Generated/Models/InternalChunkingStrategyResponseParam.cs rename to src/Generated/Models/VectorStores/InternalChunkingStrategyResponseParam.cs diff --git a/src/Generated/Models/InternalChunkingStrategyResponseParamType.cs b/src/Generated/Models/VectorStores/InternalChunkingStrategyResponseParamType.cs similarity index 100% rename from src/Generated/Models/InternalChunkingStrategyResponseParamType.cs rename to src/Generated/Models/VectorStores/InternalChunkingStrategyResponseParamType.cs diff --git a/src/Generated/Models/InternalCreateVectorStoreFileBatchRequest.Serialization.cs b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileBatchRequest.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalCreateVectorStoreFileBatchRequest.Serialization.cs rename to src/Generated/Models/VectorStores/InternalCreateVectorStoreFileBatchRequest.Serialization.cs index 5331d7ec3..481505719 100644 --- a/src/Generated/Models/InternalCreateVectorStoreFileBatchRequest.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileBatchRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +97,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateVectorStoreFileBatchRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateVectorStoreFileBatchRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -178,7 +175,6 @@ internal static InternalCreateVectorStoreFileBatchRequest DeserializeInternalCre BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -193,7 +189,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateVectorStoreFileBatchRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateVectorStoreFileBatchRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateVectorStoreFileBatchRequest.cs b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileBatchRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateVectorStoreFileBatchRequest.cs rename to src/Generated/Models/VectorStores/InternalCreateVectorStoreFileBatchRequest.cs diff --git a/src/Generated/Models/InternalCreateVectorStoreFileRequest.Serialization.cs b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalCreateVectorStoreFileRequest.Serialization.cs rename to src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.Serialization.cs index a33bf1342..f231818cf 100644 --- a/src/Generated/Models/InternalCreateVectorStoreFileRequest.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -89,7 +87,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalCreateVectorStoreFileRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalCreateVectorStoreFileRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -156,7 +153,6 @@ internal static InternalCreateVectorStoreFileRequest DeserializeInternalCreateVe BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -171,7 +167,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalCreateVectorStoreFileRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalCreateVectorStoreFileRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalCreateVectorStoreFileRequest.cs b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.cs similarity index 100% rename from src/Generated/Models/InternalCreateVectorStoreFileRequest.cs rename to src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.cs diff --git a/src/Generated/Models/InternalDotNetCombinedAutoChunkingStrategyParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalDotNetCombinedAutoChunkingStrategyParam.Serialization.cs similarity index 94% rename from src/Generated/Models/InternalDotNetCombinedAutoChunkingStrategyParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalDotNetCombinedAutoChunkingStrategyParam.Serialization.cs index adab27b7a..ce33f81f8 100644 --- a/src/Generated/Models/InternalDotNetCombinedAutoChunkingStrategyParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalDotNetCombinedAutoChunkingStrategyParam.Serialization.cs @@ -5,10 +5,8 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; -using OpenAI.Responses; namespace OpenAI.VectorStores { @@ -21,7 +19,6 @@ void IJsonModel.Write(Utf8JsonW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -34,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotNetCombinedAutoChunkingStrategyParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotNetCombinedAutoChunkingStrategyParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override FileChunkingStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,13 +48,13 @@ internal static InternalDotNetCombinedAutoChunkingStrategyParam DeserializeInter { return null; } - InternalDotNetCombinedChunkingStrategyParamType2 kind = default; + InternalDotNetCombinedChunkingStrategyParamType kind = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) { - kind = new InternalDotNetCombinedChunkingStrategyParamType2(prop.Value.GetString()); + kind = new InternalDotNetCombinedChunkingStrategyParamType(prop.Value.GetString()); continue; } // Plugin customization: remove options.Format != "W" check @@ -69,7 +65,6 @@ internal static InternalDotNetCombinedAutoChunkingStrategyParam DeserializeInter BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetCombinedAutoChunkingStrategyParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotNetCombinedAutoChunkingStrategyParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override FileChunkingStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetCombinedAutoChunkingStrategyParam.cs b/src/Generated/Models/VectorStores/InternalDotNetCombinedAutoChunkingStrategyParam.cs similarity index 60% rename from src/Generated/Models/InternalDotNetCombinedAutoChunkingStrategyParam.cs rename to src/Generated/Models/VectorStores/InternalDotNetCombinedAutoChunkingStrategyParam.cs index 5dcb12cf6..cb74f5f47 100644 --- a/src/Generated/Models/InternalDotNetCombinedAutoChunkingStrategyParam.cs +++ b/src/Generated/Models/VectorStores/InternalDotNetCombinedAutoChunkingStrategyParam.cs @@ -4,17 +4,16 @@ using System; using System.Collections.Generic; -using OpenAI.Responses; namespace OpenAI.VectorStores { internal partial class InternalDotNetCombinedAutoChunkingStrategyParam : FileChunkingStrategy { - public InternalDotNetCombinedAutoChunkingStrategyParam() : this(InternalDotNetCombinedChunkingStrategyParamType2.Auto, null) + public InternalDotNetCombinedAutoChunkingStrategyParam() : this(InternalDotNetCombinedChunkingStrategyParamType.Auto, null) { } - internal InternalDotNetCombinedAutoChunkingStrategyParam(InternalDotNetCombinedChunkingStrategyParamType2 kind, IDictionary additionalBinaryDataProperties) : base(kind, additionalBinaryDataProperties) + internal InternalDotNetCombinedAutoChunkingStrategyParam(InternalDotNetCombinedChunkingStrategyParamType kind, IDictionary additionalBinaryDataProperties) : base(kind, additionalBinaryDataProperties) { } } diff --git a/src/Generated/Models/InternalDotNetCombinedChunkingStrategyParamType2.cs b/src/Generated/Models/VectorStores/InternalDotNetCombinedChunkingStrategyParamType.cs similarity index 57% rename from src/Generated/Models/InternalDotNetCombinedChunkingStrategyParamType2.cs rename to src/Generated/Models/VectorStores/InternalDotNetCombinedChunkingStrategyParamType.cs index a8d94fd69..b13405b89 100644 --- a/src/Generated/Models/InternalDotNetCombinedChunkingStrategyParamType2.cs +++ b/src/Generated/Models/VectorStores/InternalDotNetCombinedChunkingStrategyParamType.cs @@ -6,38 +6,38 @@ using System.ComponentModel; using OpenAI; -namespace OpenAI.Responses +namespace OpenAI.VectorStores { - internal readonly partial struct InternalDotNetCombinedChunkingStrategyParamType2 : IEquatable + internal readonly partial struct InternalDotNetCombinedChunkingStrategyParamType : IEquatable { private readonly string _value; private const string AutoValue = "auto"; private const string StaticValue = "static"; private const string OtherValue = "other"; - public InternalDotNetCombinedChunkingStrategyParamType2(string value) + public InternalDotNetCombinedChunkingStrategyParamType(string value) { Argument.AssertNotNull(value, nameof(value)); _value = value; } - internal static InternalDotNetCombinedChunkingStrategyParamType2 Auto { get; } = new InternalDotNetCombinedChunkingStrategyParamType2(AutoValue); + internal static InternalDotNetCombinedChunkingStrategyParamType Auto { get; } = new InternalDotNetCombinedChunkingStrategyParamType(AutoValue); - internal static InternalDotNetCombinedChunkingStrategyParamType2 Static { get; } = new InternalDotNetCombinedChunkingStrategyParamType2(StaticValue); + internal static InternalDotNetCombinedChunkingStrategyParamType Static { get; } = new InternalDotNetCombinedChunkingStrategyParamType(StaticValue); - internal static InternalDotNetCombinedChunkingStrategyParamType2 Other { get; } = new InternalDotNetCombinedChunkingStrategyParamType2(OtherValue); + internal static InternalDotNetCombinedChunkingStrategyParamType Other { get; } = new InternalDotNetCombinedChunkingStrategyParamType(OtherValue); - public static bool operator ==(InternalDotNetCombinedChunkingStrategyParamType2 left, InternalDotNetCombinedChunkingStrategyParamType2 right) => left.Equals(right); + public static bool operator ==(InternalDotNetCombinedChunkingStrategyParamType left, InternalDotNetCombinedChunkingStrategyParamType right) => left.Equals(right); - public static bool operator !=(InternalDotNetCombinedChunkingStrategyParamType2 left, InternalDotNetCombinedChunkingStrategyParamType2 right) => !left.Equals(right); + public static bool operator !=(InternalDotNetCombinedChunkingStrategyParamType left, InternalDotNetCombinedChunkingStrategyParamType right) => !left.Equals(right); - public static implicit operator InternalDotNetCombinedChunkingStrategyParamType2(string value) => new InternalDotNetCombinedChunkingStrategyParamType2(value); + public static implicit operator InternalDotNetCombinedChunkingStrategyParamType(string value) => new InternalDotNetCombinedChunkingStrategyParamType(value); [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is InternalDotNetCombinedChunkingStrategyParamType2 other && Equals(other); + public override bool Equals(object obj) => obj is InternalDotNetCombinedChunkingStrategyParamType other && Equals(other); - public bool Equals(InternalDotNetCombinedChunkingStrategyParamType2 other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + public bool Equals(InternalDotNetCombinedChunkingStrategyParamType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; diff --git a/src/Generated/Models/InternalDotNetCombinedOtherChunkingStrategyParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalDotNetCombinedOtherChunkingStrategyParam.Serialization.cs similarity index 94% rename from src/Generated/Models/InternalDotNetCombinedOtherChunkingStrategyParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalDotNetCombinedOtherChunkingStrategyParam.Serialization.cs index ed19b36dd..8aa468737 100644 --- a/src/Generated/Models/InternalDotNetCombinedOtherChunkingStrategyParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalDotNetCombinedOtherChunkingStrategyParam.Serialization.cs @@ -5,10 +5,8 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; -using OpenAI.Responses; namespace OpenAI.VectorStores { @@ -21,7 +19,6 @@ void IJsonModel.Write(Utf8Json writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -34,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalDotNetCombinedOtherChunkingStrategyParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalDotNetCombinedOtherChunkingStrategyParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override FileChunkingStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -52,13 +48,13 @@ internal static InternalDotNetCombinedOtherChunkingStrategyParam DeserializeInte { return null; } - InternalDotNetCombinedChunkingStrategyParamType2 kind = default; + InternalDotNetCombinedChunkingStrategyParamType kind = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) { - kind = new InternalDotNetCombinedChunkingStrategyParamType2(prop.Value.GetString()); + kind = new InternalDotNetCombinedChunkingStrategyParamType(prop.Value.GetString()); continue; } // Plugin customization: remove options.Format != "W" check @@ -69,7 +65,6 @@ internal static InternalDotNetCombinedOtherChunkingStrategyParam DeserializeInte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -84,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalDotNetCombinedOtherChunkingStrategyParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalDotNetCombinedOtherChunkingStrategyParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override FileChunkingStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalDotNetCombinedOtherChunkingStrategyParam.cs b/src/Generated/Models/VectorStores/InternalDotNetCombinedOtherChunkingStrategyParam.cs similarity index 60% rename from src/Generated/Models/InternalDotNetCombinedOtherChunkingStrategyParam.cs rename to src/Generated/Models/VectorStores/InternalDotNetCombinedOtherChunkingStrategyParam.cs index daf473811..a6e8579a9 100644 --- a/src/Generated/Models/InternalDotNetCombinedOtherChunkingStrategyParam.cs +++ b/src/Generated/Models/VectorStores/InternalDotNetCombinedOtherChunkingStrategyParam.cs @@ -4,17 +4,16 @@ using System; using System.Collections.Generic; -using OpenAI.Responses; namespace OpenAI.VectorStores { internal partial class InternalDotNetCombinedOtherChunkingStrategyParam : FileChunkingStrategy { - public InternalDotNetCombinedOtherChunkingStrategyParam() : this(InternalDotNetCombinedChunkingStrategyParamType2.Other, null) + public InternalDotNetCombinedOtherChunkingStrategyParam() : this(InternalDotNetCombinedChunkingStrategyParamType.Other, null) { } - internal InternalDotNetCombinedOtherChunkingStrategyParam(InternalDotNetCombinedChunkingStrategyParamType2 kind, IDictionary additionalBinaryDataProperties) : base(kind, additionalBinaryDataProperties) + internal InternalDotNetCombinedOtherChunkingStrategyParam(InternalDotNetCombinedChunkingStrategyParamType kind, IDictionary additionalBinaryDataProperties) : base(kind, additionalBinaryDataProperties) { } } diff --git a/src/Generated/Models/InternalListVectorStoreFilesResponse.Serialization.cs b/src/Generated/Models/VectorStores/InternalListVectorStoreFilesResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListVectorStoreFilesResponse.Serialization.cs rename to src/Generated/Models/VectorStores/InternalListVectorStoreFilesResponse.Serialization.cs index 4969536f9..3f16044ee 100644 --- a/src/Generated/Models/InternalListVectorStoreFilesResponse.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalListVectorStoreFilesResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListVectorStoreFilesResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListVectorStoreFilesResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -157,7 +154,6 @@ internal static InternalListVectorStoreFilesResponse DeserializeInternalListVect BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -172,7 +168,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListVectorStoreFilesResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListVectorStoreFilesResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListVectorStoreFilesResponse.cs b/src/Generated/Models/VectorStores/InternalListVectorStoreFilesResponse.cs similarity index 100% rename from src/Generated/Models/InternalListVectorStoreFilesResponse.cs rename to src/Generated/Models/VectorStores/InternalListVectorStoreFilesResponse.cs diff --git a/src/Generated/Models/InternalListVectorStoresResponse.Serialization.cs b/src/Generated/Models/VectorStores/InternalListVectorStoresResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalListVectorStoresResponse.Serialization.cs rename to src/Generated/Models/VectorStores/InternalListVectorStoresResponse.Serialization.cs index cef779369..5e5a3f70e 100644 --- a/src/Generated/Models/InternalListVectorStoresResponse.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalListVectorStoresResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +85,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalListVectorStoresResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalListVectorStoresResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -157,7 +154,6 @@ internal static InternalListVectorStoresResponse DeserializeInternalListVectorSt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -172,7 +168,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalListVectorStoresResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalListVectorStoresResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalListVectorStoresResponse.cs b/src/Generated/Models/VectorStores/InternalListVectorStoresResponse.cs similarity index 100% rename from src/Generated/Models/InternalListVectorStoresResponse.cs rename to src/Generated/Models/VectorStores/InternalListVectorStoresResponse.cs diff --git a/src/Generated/Models/InternalOtherChunkingStrategyResponseParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalOtherChunkingStrategyResponseParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalOtherChunkingStrategyResponseParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalOtherChunkingStrategyResponseParam.Serialization.cs index 5960394a8..9ff58cff2 100644 --- a/src/Generated/Models/InternalOtherChunkingStrategyResponseParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalOtherChunkingStrategyResponseParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -33,7 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalOtherChunkingStrategyResponseParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalOtherChunkingStrategyResponseParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyResponseParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -68,7 +65,6 @@ internal static InternalOtherChunkingStrategyResponseParam DeserializeInternalOt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +79,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalOtherChunkingStrategyResponseParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalOtherChunkingStrategyResponseParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyResponseParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalOtherChunkingStrategyResponseParam.cs b/src/Generated/Models/VectorStores/InternalOtherChunkingStrategyResponseParam.cs similarity index 100% rename from src/Generated/Models/InternalOtherChunkingStrategyResponseParam.cs rename to src/Generated/Models/VectorStores/InternalOtherChunkingStrategyResponseParam.cs diff --git a/src/Generated/Models/InternalStaticChunkingStrategy.Serialization.cs b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategy.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalStaticChunkingStrategy.Serialization.cs rename to src/Generated/Models/VectorStores/InternalStaticChunkingStrategy.Serialization.cs index d29f67c5f..ed0422f3e 100644 --- a/src/Generated/Models/InternalStaticChunkingStrategy.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategy.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalStaticChunkingStrategy IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalStaticChunkingStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalStaticChunkingStrategy DeserializeInternalStaticChunking BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalStaticChunkingStrategy IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalStaticChunkingStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalStaticChunkingStrategy.cs b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategy.cs similarity index 100% rename from src/Generated/Models/InternalStaticChunkingStrategy.cs rename to src/Generated/Models/VectorStores/InternalStaticChunkingStrategy.cs diff --git a/src/Generated/Models/InternalStaticChunkingStrategyRequestParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategyRequestParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalStaticChunkingStrategyRequestParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalStaticChunkingStrategyRequestParam.Serialization.cs index f6f5543f7..47219e5b5 100644 --- a/src/Generated/Models/InternalStaticChunkingStrategyRequestParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategyRequestParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalStaticChunkingStrategyRequestParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalStaticChunkingStrategyRequestParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyRequestParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalStaticChunkingStrategyRequestParam DeserializeInternalSt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalStaticChunkingStrategyRequestParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalStaticChunkingStrategyRequestParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyRequestParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalStaticChunkingStrategyRequestParam.cs b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategyRequestParam.cs similarity index 100% rename from src/Generated/Models/InternalStaticChunkingStrategyRequestParam.cs rename to src/Generated/Models/VectorStores/InternalStaticChunkingStrategyRequestParam.cs diff --git a/src/Generated/Models/InternalStaticChunkingStrategyResponseParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategyResponseParam.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalStaticChunkingStrategyResponseParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalStaticChunkingStrategyResponseParam.Serialization.cs index 102cb07f7..e1b81d338 100644 --- a/src/Generated/Models/InternalStaticChunkingStrategyResponseParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategyResponseParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -42,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalStaticChunkingStrategyResponseParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalStaticChunkingStrategyResponseParam)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyResponseParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -83,7 +80,6 @@ internal static InternalStaticChunkingStrategyResponseParam DeserializeInternalS BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalStaticChunkingStrategyResponseParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalStaticChunkingStrategyResponseParam)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyResponseParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalStaticChunkingStrategyResponseParam.cs b/src/Generated/Models/VectorStores/InternalStaticChunkingStrategyResponseParam.cs similarity index 100% rename from src/Generated/Models/InternalStaticChunkingStrategyResponseParam.cs rename to src/Generated/Models/VectorStores/InternalStaticChunkingStrategyResponseParam.cs diff --git a/src/Generated/Models/InternalUnknownChunkingStrategyRequestParamProxy.Serialization.cs b/src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyRequestParamProxy.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownChunkingStrategyRequestParamProxy.Serialization.cs rename to src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyRequestParamProxy.Serialization.cs index 21855b5ff..526f5bbdb 100644 --- a/src/Generated/Models/InternalUnknownChunkingStrategyRequestParamProxy.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyRequestParamProxy.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalChunkingStrategyRequestParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyRequestParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownChunkingStrategyRequestParamProxy DeserializeInte BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChunkingStrategyRequestParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyRequestParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownChunkingStrategyRequestParamProxy.cs b/src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyRequestParamProxy.cs similarity index 100% rename from src/Generated/Models/InternalUnknownChunkingStrategyRequestParamProxy.cs rename to src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyRequestParamProxy.cs diff --git a/src/Generated/Models/InternalUnknownChunkingStrategyResponseParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyResponseParam.Serialization.cs similarity index 96% rename from src/Generated/Models/InternalUnknownChunkingStrategyResponseParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyResponseParam.Serialization.cs index 348f4e180..60036f0fb 100644 --- a/src/Generated/Models/InternalUnknownChunkingStrategyResponseParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyResponseParam.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writ writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -37,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri InternalChunkingStrategyResponseParam IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyResponseParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -72,7 +69,6 @@ internal static InternalUnknownChunkingStrategyResponseParam DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -87,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalChunkingStrategyResponseParam IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override InternalChunkingStrategyResponseParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownChunkingStrategyResponseParam.cs b/src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyResponseParam.cs similarity index 100% rename from src/Generated/Models/InternalUnknownChunkingStrategyResponseParam.cs rename to src/Generated/Models/VectorStores/InternalUnknownChunkingStrategyResponseParam.cs diff --git a/src/Generated/Models/InternalUnknownDotNetCombinedChunkingStrategyParam.Serialization.cs b/src/Generated/Models/VectorStores/InternalUnknownDotNetCombinedChunkingStrategyParam.Serialization.cs similarity index 93% rename from src/Generated/Models/InternalUnknownDotNetCombinedChunkingStrategyParam.Serialization.cs rename to src/Generated/Models/VectorStores/InternalUnknownDotNetCombinedChunkingStrategyParam.Serialization.cs index 3e8d02f24..bedd2c5cc 100644 --- a/src/Generated/Models/InternalUnknownDotNetCombinedChunkingStrategyParam.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalUnknownDotNetCombinedChunkingStrategyParam.Serialization.cs @@ -5,10 +5,8 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; -using OpenAI.Responses; namespace OpenAI.VectorStores { @@ -25,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -38,7 +35,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri FileChunkingStrategy IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override FileChunkingStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -56,13 +52,13 @@ internal static InternalUnknownDotNetCombinedChunkingStrategyParam DeserializeIn { return null; } - InternalDotNetCombinedChunkingStrategyParamType2 kind = default; + InternalDotNetCombinedChunkingStrategyParamType kind = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) { - kind = new InternalDotNetCombinedChunkingStrategyParamType2(prop.Value.GetString()); + kind = new InternalDotNetCombinedChunkingStrategyParamType(prop.Value.GetString()); continue; } // Plugin customization: remove options.Format != "W" check @@ -73,7 +69,6 @@ internal static InternalUnknownDotNetCombinedChunkingStrategyParam DeserializeIn BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +83,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions FileChunkingStrategy IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override FileChunkingStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUnknownDotNetCombinedChunkingStrategyParam.cs b/src/Generated/Models/VectorStores/InternalUnknownDotNetCombinedChunkingStrategyParam.cs similarity index 59% rename from src/Generated/Models/InternalUnknownDotNetCombinedChunkingStrategyParam.cs rename to src/Generated/Models/VectorStores/InternalUnknownDotNetCombinedChunkingStrategyParam.cs index e2cafe5c3..0a19607da 100644 --- a/src/Generated/Models/InternalUnknownDotNetCombinedChunkingStrategyParam.cs +++ b/src/Generated/Models/VectorStores/InternalUnknownDotNetCombinedChunkingStrategyParam.cs @@ -4,13 +4,12 @@ using System; using System.Collections.Generic; -using OpenAI.Responses; namespace OpenAI.VectorStores { internal partial class InternalUnknownDotNetCombinedChunkingStrategyParam : FileChunkingStrategy { - internal InternalUnknownDotNetCombinedChunkingStrategyParam(InternalDotNetCombinedChunkingStrategyParamType2 kind, IDictionary additionalBinaryDataProperties) : base(kind != default ? kind : "unknown", additionalBinaryDataProperties) + internal InternalUnknownDotNetCombinedChunkingStrategyParam(InternalDotNetCombinedChunkingStrategyParamType kind, IDictionary additionalBinaryDataProperties) : base(kind != default ? kind : "unknown", additionalBinaryDataProperties) { } } diff --git a/src/Generated/Models/InternalUpdateVectorStoreFileAttributesRequest.Serialization.cs b/src/Generated/Models/VectorStores/InternalUpdateVectorStoreFileAttributesRequest.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalUpdateVectorStoreFileAttributesRequest.Serialization.cs rename to src/Generated/Models/VectorStores/InternalUpdateVectorStoreFileAttributesRequest.Serialization.cs index b01ed6e67..ae3e90a54 100644 --- a/src/Generated/Models/InternalUpdateVectorStoreFileAttributesRequest.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalUpdateVectorStoreFileAttributesRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalUpdateVectorStoreFileAttributesRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalUpdateVectorStoreFileAttributesRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -138,7 +135,6 @@ internal static InternalUpdateVectorStoreFileAttributesRequest DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -153,7 +149,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalUpdateVectorStoreFileAttributesRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalUpdateVectorStoreFileAttributesRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalUpdateVectorStoreFileAttributesRequest.cs b/src/Generated/Models/VectorStores/InternalUpdateVectorStoreFileAttributesRequest.cs similarity index 100% rename from src/Generated/Models/InternalUpdateVectorStoreFileAttributesRequest.cs rename to src/Generated/Models/VectorStores/InternalUpdateVectorStoreFileAttributesRequest.cs diff --git a/src/Generated/Models/InternalVectorStoreFileBatchObjectFileCounts.Serialization.cs b/src/Generated/Models/VectorStores/InternalVectorStoreFileBatchObjectFileCounts.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalVectorStoreFileBatchObjectFileCounts.Serialization.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreFileBatchObjectFileCounts.Serialization.cs index 294220705..4b7f12f4b 100644 --- a/src/Generated/Models/InternalVectorStoreFileBatchObjectFileCounts.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalVectorStoreFileBatchObjectFileCounts.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +79,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVectorStoreFileBatchObjectFileCounts IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreFileBatchObjectFileCounts JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -146,7 +143,6 @@ internal static InternalVectorStoreFileBatchObjectFileCounts DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -161,7 +157,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVectorStoreFileBatchObjectFileCounts IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreFileBatchObjectFileCounts PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVectorStoreFileBatchObjectFileCounts.cs b/src/Generated/Models/VectorStores/InternalVectorStoreFileBatchObjectFileCounts.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreFileBatchObjectFileCounts.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreFileBatchObjectFileCounts.cs diff --git a/src/Generated/Models/InternalVectorStoreFileContentResponse.Serialization.cs b/src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponse.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalVectorStoreFileContentResponse.Serialization.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponse.Serialization.cs index 745bea7d4..2b9dab0d8 100644 --- a/src/Generated/Models/InternalVectorStoreFileContentResponse.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponse.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -88,7 +86,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVectorStoreFileContentResponse IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreFileContentResponse JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +148,6 @@ internal static InternalVectorStoreFileContentResponse DeserializeInternalVector BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -166,7 +162,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVectorStoreFileContentResponse IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreFileContentResponse PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVectorStoreFileContentResponse.cs b/src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponse.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreFileContentResponse.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponse.cs diff --git a/src/Generated/Models/InternalVectorStoreFileContentResponseDatum.Serialization.cs b/src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponseDatum.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalVectorStoreFileContentResponseDatum.Serialization.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponseDatum.Serialization.cs index 1467fd0cc..9df7b7279 100644 --- a/src/Generated/Models/InternalVectorStoreFileContentResponseDatum.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponseDatum.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWrite writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVectorStoreFileContentResponseDatum IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreFileContentResponseDatum JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +100,6 @@ internal static InternalVectorStoreFileContentResponseDatum DeserializeInternalV BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +114,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVectorStoreFileContentResponseDatum IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreFileContentResponseDatum PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVectorStoreFileContentResponseDatum.cs b/src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponseDatum.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreFileContentResponseDatum.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreFileContentResponseDatum.cs diff --git a/src/Generated/Models/InternalVectorStoreSearchRequest.Serialization.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchRequest.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalVectorStoreSearchRequest.Serialization.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchRequest.Serialization.cs index a5ae3a7c2..f62e974bb 100644 --- a/src/Generated/Models/InternalVectorStoreSearchRequest.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalVectorStoreSearchRequest.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, M writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -95,7 +93,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVectorStoreSearchRequest IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchRequest JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -176,7 +173,6 @@ internal static InternalVectorStoreSearchRequest DeserializeInternalVectorStoreS BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -191,7 +187,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVectorStoreSearchRequest IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchRequest PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVectorStoreSearchRequest.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchRequest.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreSearchRequest.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchRequest.cs diff --git a/src/Generated/Models/InternalVectorStoreSearchRequestRankingOptions.Serialization.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchRequestRankingOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalVectorStoreSearchRequestRankingOptions.Serialization.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchRequestRankingOptions.Serialization.cs index 329fc9917..56aa1f2d2 100644 --- a/src/Generated/Models/InternalVectorStoreSearchRequestRankingOptions.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalVectorStoreSearchRequestRankingOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWr writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -62,7 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVectorStoreSearchRequestRankingOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchRequestRankingOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +108,6 @@ internal static InternalVectorStoreSearchRequestRankingOptions DeserializeIntern BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +122,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVectorStoreSearchRequestRankingOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchRequestRankingOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVectorStoreSearchRequestRankingOptions.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchRequestRankingOptions.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreSearchRequestRankingOptions.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchRequestRankingOptions.cs diff --git a/src/Generated/Models/InternalVectorStoreSearchRequestRankingOptionsRanker.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchRequestRankingOptionsRanker.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreSearchRequestRankingOptionsRanker.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchRequestRankingOptionsRanker.cs diff --git a/src/Generated/Models/InternalVectorStoreSearchResultContentObject.Serialization.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultContentObject.Serialization.cs similarity index 97% rename from src/Generated/Models/InternalVectorStoreSearchResultContentObject.Serialization.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchResultContentObject.Serialization.cs index 00a3e33c1..0c095d88b 100644 --- a/src/Generated/Models/InternalVectorStoreSearchResultContentObject.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultContentObject.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWrit writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVectorStoreSearchResultContentObject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchResultContentObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static InternalVectorStoreSearchResultContentObject DeserializeInternal BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVectorStoreSearchResultContentObject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchResultContentObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVectorStoreSearchResultContentObject.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultContentObject.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreSearchResultContentObject.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchResultContentObject.cs diff --git a/src/Generated/Models/InternalVectorStoreSearchResultItem.Serialization.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultItem.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalVectorStoreSearchResultItem.Serialization.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchResultItem.Serialization.cs index ca77266f2..40e51056a 100644 --- a/src/Generated/Models/InternalVectorStoreSearchResultItem.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultItem.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -111,7 +109,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVectorStoreSearchResultItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchResultItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -198,7 +195,6 @@ internal static InternalVectorStoreSearchResultItem DeserializeInternalVectorSto BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -213,7 +209,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVectorStoreSearchResultItem IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchResultItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVectorStoreSearchResultItem.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultItem.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreSearchResultItem.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchResultItem.cs diff --git a/src/Generated/Models/InternalVectorStoreSearchResultsPage.Serialization.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultsPage.Serialization.cs similarity index 98% rename from src/Generated/Models/InternalVectorStoreSearchResultsPage.Serialization.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchResultsPage.Serialization.cs index 7ed2dbcda..cab34a719 100644 --- a/src/Generated/Models/InternalVectorStoreSearchResultsPage.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultsPage.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter write writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -103,7 +101,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit InternalVectorStoreSearchResultsPage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchResultsPage JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -190,7 +187,6 @@ internal static InternalVectorStoreSearchResultsPage DeserializeInternalVectorSt BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -205,7 +201,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions InternalVectorStoreSearchResultsPage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual InternalVectorStoreSearchResultsPage PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/InternalVectorStoreSearchResultsPage.cs b/src/Generated/Models/VectorStores/InternalVectorStoreSearchResultsPage.cs similarity index 100% rename from src/Generated/Models/InternalVectorStoreSearchResultsPage.cs rename to src/Generated/Models/VectorStores/InternalVectorStoreSearchResultsPage.cs diff --git a/src/Generated/Models/StaticFileChunkingStrategy.Serialization.cs b/src/Generated/Models/VectorStores/StaticFileChunkingStrategy.Serialization.cs similarity index 93% rename from src/Generated/Models/StaticFileChunkingStrategy.Serialization.cs rename to src/Generated/Models/VectorStores/StaticFileChunkingStrategy.Serialization.cs index 1f0385a4b..1c53bc0a0 100644 --- a/src/Generated/Models/StaticFileChunkingStrategy.Serialization.cs +++ b/src/Generated/Models/VectorStores/StaticFileChunkingStrategy.Serialization.cs @@ -5,16 +5,14 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; -using OpenAI.Responses; namespace OpenAI.VectorStores { public partial class StaticFileChunkingStrategy : IJsonModel { - internal StaticFileChunkingStrategy() : this(InternalDotNetCombinedChunkingStrategyParamType2.Static, null, null) + internal StaticFileChunkingStrategy() : this(InternalDotNetCombinedChunkingStrategyParamType.Static, null, null) { } @@ -25,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -43,7 +40,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri StaticFileChunkingStrategy IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StaticFileChunkingStrategy)JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected override FileChunkingStrategy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -61,14 +57,14 @@ internal static StaticFileChunkingStrategy DeserializeStaticFileChunkingStrategy { return null; } - InternalDotNetCombinedChunkingStrategyParamType2 kind = default; + InternalDotNetCombinedChunkingStrategyParamType kind = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); InternalStaticChunkingStrategy internalDetails = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) { - kind = new InternalDotNetCombinedChunkingStrategyParamType2(prop.Value.GetString()); + kind = new InternalDotNetCombinedChunkingStrategyParamType(prop.Value.GetString()); continue; } if (prop.NameEquals("static"u8)) @@ -84,7 +80,6 @@ internal static StaticFileChunkingStrategy DeserializeStaticFileChunkingStrategy BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -99,7 +94,6 @@ protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions StaticFileChunkingStrategy IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StaticFileChunkingStrategy)PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected override FileChunkingStrategy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/StaticFileChunkingStrategy.cs b/src/Generated/Models/VectorStores/StaticFileChunkingStrategy.cs similarity index 68% rename from src/Generated/Models/StaticFileChunkingStrategy.cs rename to src/Generated/Models/VectorStores/StaticFileChunkingStrategy.cs index 61490db63..1dc6f9d1e 100644 --- a/src/Generated/Models/StaticFileChunkingStrategy.cs +++ b/src/Generated/Models/VectorStores/StaticFileChunkingStrategy.cs @@ -4,21 +4,22 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; -using OpenAI.Responses; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class StaticFileChunkingStrategy : FileChunkingStrategy { - internal StaticFileChunkingStrategy(InternalStaticChunkingStrategy internalDetails) : base(InternalDotNetCombinedChunkingStrategyParamType2.Static) + internal StaticFileChunkingStrategy(InternalStaticChunkingStrategy internalDetails) : base(InternalDotNetCombinedChunkingStrategyParamType.Static) { Argument.AssertNotNull(internalDetails, nameof(internalDetails)); _internalDetails = internalDetails; } - internal StaticFileChunkingStrategy(InternalDotNetCombinedChunkingStrategyParamType2 kind, IDictionary additionalBinaryDataProperties, InternalStaticChunkingStrategy internalDetails) : base(kind, additionalBinaryDataProperties) + internal StaticFileChunkingStrategy(InternalDotNetCombinedChunkingStrategyParamType kind, IDictionary additionalBinaryDataProperties, InternalStaticChunkingStrategy internalDetails) : base(kind, additionalBinaryDataProperties) { _internalDetails = internalDetails; } diff --git a/src/Generated/Models/VectorStore.Serialization.cs b/src/Generated/Models/VectorStores/VectorStore.Serialization.cs similarity index 98% rename from src/Generated/Models/VectorStore.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStore.Serialization.cs index 0b0cee6ba..28108e422 100644 --- a/src/Generated/Models/VectorStore.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStore.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptio writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -130,7 +128,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStore IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStore JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -268,7 +265,6 @@ internal static VectorStore DeserializeVectorStore(JsonElement element, ModelRea BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -283,7 +279,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStore IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStore PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStore.cs b/src/Generated/Models/VectorStores/VectorStore.cs similarity index 97% rename from src/Generated/Models/VectorStore.cs rename to src/Generated/Models/VectorStores/VectorStore.cs index 05d5c4d38..8f87a4c6a 100644 --- a/src/Generated/Models/VectorStore.cs +++ b/src/Generated/Models/VectorStores/VectorStore.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStore { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreBatchFileJob.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.Serialization.cs similarity index 97% rename from src/Generated/Models/VectorStoreBatchFileJob.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreBatchFileJob.Serialization.cs index 00f7c571c..661513cdf 100644 --- a/src/Generated/Models/VectorStoreBatchFileJob.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -86,7 +84,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreBatchFileJob IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreBatchFileJob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -158,7 +155,6 @@ internal static VectorStoreBatchFileJob DeserializeVectorStoreBatchFileJob(JsonE BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -173,7 +169,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreBatchFileJob IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreBatchFileJob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreBatchFileJob.cs b/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.cs similarity index 95% rename from src/Generated/Models/VectorStoreBatchFileJob.cs rename to src/Generated/Models/VectorStores/VectorStoreBatchFileJob.cs index 3fe31301f..7770b558a 100644 --- a/src/Generated/Models/VectorStoreBatchFileJob.cs +++ b/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreBatchFileJob { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreBatchFileJobStatus.cs b/src/Generated/Models/VectorStores/VectorStoreBatchFileJobStatus.cs similarity index 96% rename from src/Generated/Models/VectorStoreBatchFileJobStatus.cs rename to src/Generated/Models/VectorStores/VectorStoreBatchFileJobStatus.cs index 6a9907c96..7ed990a80 100644 --- a/src/Generated/Models/VectorStoreBatchFileJobStatus.cs +++ b/src/Generated/Models/VectorStores/VectorStoreBatchFileJobStatus.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public readonly partial struct VectorStoreBatchFileJobStatus : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/VectorStoreCollectionOrder.cs b/src/Generated/Models/VectorStores/VectorStoreCollectionOrder.cs similarity index 95% rename from src/Generated/Models/VectorStoreCollectionOrder.cs rename to src/Generated/Models/VectorStores/VectorStoreCollectionOrder.cs index 02d58180c..cf2387da5 100644 --- a/src/Generated/Models/VectorStoreCollectionOrder.cs +++ b/src/Generated/Models/VectorStores/VectorStoreCollectionOrder.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public readonly partial struct VectorStoreCollectionOrder : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/VectorStoreCreationOptions.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreCreationOptions.Serialization.cs similarity index 98% rename from src/Generated/Models/VectorStoreCreationOptions.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreCreationOptions.Serialization.cs index c7e40e61a..ff0510e03 100644 --- a/src/Generated/Models/VectorStoreCreationOptions.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreCreationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -98,7 +96,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreCreationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreCreationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -203,7 +200,6 @@ internal static VectorStoreCreationOptions DeserializeVectorStoreCreationOptions BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -218,7 +214,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreCreationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreCreationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreCreationOptions.cs b/src/Generated/Models/VectorStores/VectorStoreCreationOptions.cs similarity index 95% rename from src/Generated/Models/VectorStoreCreationOptions.cs rename to src/Generated/Models/VectorStores/VectorStoreCreationOptions.cs index fe5de4794..777cb3279 100644 --- a/src/Generated/Models/VectorStoreCreationOptions.cs +++ b/src/Generated/Models/VectorStores/VectorStoreCreationOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreCreationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreDeletionResult.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreDeletionResult.Serialization.cs similarity index 97% rename from src/Generated/Models/VectorStoreDeletionResult.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreDeletionResult.Serialization.cs index 1a6abe4a7..c2da8dcd6 100644 --- a/src/Generated/Models/VectorStoreDeletionResult.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreDeletionResult.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -71,7 +69,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreDeletionResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreDeletionResult JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -118,7 +115,6 @@ internal static VectorStoreDeletionResult DeserializeVectorStoreDeletionResult(J BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -133,7 +129,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreDeletionResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreDeletionResult PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreDeletionResult.cs b/src/Generated/Models/VectorStores/VectorStoreDeletionResult.cs similarity index 93% rename from src/Generated/Models/VectorStoreDeletionResult.cs rename to src/Generated/Models/VectorStores/VectorStoreDeletionResult.cs index 57092aa3b..0ba9bd757 100644 --- a/src/Generated/Models/VectorStoreDeletionResult.cs +++ b/src/Generated/Models/VectorStores/VectorStoreDeletionResult.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreDeletionResult { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreExpirationAnchor.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreExpirationAnchor.Serialization.cs similarity index 100% rename from src/Generated/Models/VectorStoreExpirationAnchor.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreExpirationAnchor.Serialization.cs diff --git a/src/Generated/Models/VectorStoreExpirationPolicy.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.Serialization.cs similarity index 97% rename from src/Generated/Models/VectorStoreExpirationPolicy.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.Serialization.cs index 6c927f907..b46f3654a 100644 --- a/src/Generated/Models/VectorStoreExpirationPolicy.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreExpirationPolicy IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreExpirationPolicy JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static VectorStoreExpirationPolicy DeserializeVectorStoreExpirationPoli BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreExpirationPolicy IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreExpirationPolicy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreExpirationPolicy.cs b/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.cs similarity index 92% rename from src/Generated/Models/VectorStoreExpirationPolicy.cs rename to src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.cs index ec789708d..0d7c6fcee 100644 --- a/src/Generated/Models/VectorStoreExpirationPolicy.cs +++ b/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreExpirationPolicy { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreFileAssociation.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreFileAssociation.Serialization.cs similarity index 98% rename from src/Generated/Models/VectorStoreFileAssociation.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreFileAssociation.Serialization.cs index 6bf49e7bb..9c7699693 100644 --- a/src/Generated/Models/VectorStoreFileAssociation.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileAssociation.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -126,7 +124,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreFileAssociation IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileAssociation JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -244,7 +241,6 @@ internal static VectorStoreFileAssociation DeserializeVectorStoreFileAssociation BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -259,7 +255,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreFileAssociation IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileAssociation PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreFileAssociation.cs b/src/Generated/Models/VectorStores/VectorStoreFileAssociation.cs similarity index 96% rename from src/Generated/Models/VectorStoreFileAssociation.cs rename to src/Generated/Models/VectorStores/VectorStoreFileAssociation.cs index 871b705ca..dc72450a3 100644 --- a/src/Generated/Models/VectorStoreFileAssociation.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileAssociation.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreFileAssociation { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreFileAssociationError.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreFileAssociationError.Serialization.cs similarity index 97% rename from src/Generated/Models/VectorStoreFileAssociationError.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreFileAssociationError.Serialization.cs index a1f625b58..98d4658e2 100644 --- a/src/Generated/Models/VectorStoreFileAssociationError.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileAssociationError.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mo writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -66,7 +64,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreFileAssociationError IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileAssociationError JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -107,7 +104,6 @@ internal static VectorStoreFileAssociationError DeserializeVectorStoreFileAssoci BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -122,7 +118,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreFileAssociationError IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileAssociationError PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreFileAssociationError.cs b/src/Generated/Models/VectorStores/VectorStoreFileAssociationError.cs similarity index 93% rename from src/Generated/Models/VectorStoreFileAssociationError.cs rename to src/Generated/Models/VectorStores/VectorStoreFileAssociationError.cs index c57800d5d..77e22542d 100644 --- a/src/Generated/Models/VectorStoreFileAssociationError.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileAssociationError.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreFileAssociationError { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreFileAssociationErrorCode.cs b/src/Generated/Models/VectorStores/VectorStoreFileAssociationErrorCode.cs similarity index 96% rename from src/Generated/Models/VectorStoreFileAssociationErrorCode.cs rename to src/Generated/Models/VectorStores/VectorStoreFileAssociationErrorCode.cs index 3046b192d..12b9ae9b8 100644 --- a/src/Generated/Models/VectorStoreFileAssociationErrorCode.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileAssociationErrorCode.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public readonly partial struct VectorStoreFileAssociationErrorCode : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/VectorStoreFileAssociationStatus.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreFileAssociationStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/VectorStoreFileAssociationStatus.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreFileAssociationStatus.Serialization.cs diff --git a/src/Generated/Models/VectorStoreFileCounts.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreFileCounts.Serialization.cs similarity index 97% rename from src/Generated/Models/VectorStoreFileCounts.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreFileCounts.Serialization.cs index 8ee35c86b..989b6cd90 100644 --- a/src/Generated/Models/VectorStoreFileCounts.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileCounts.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -24,7 +23,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -81,7 +79,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreFileCounts IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileCounts JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -146,7 +143,6 @@ internal static VectorStoreFileCounts DeserializeVectorStoreFileCounts(JsonEleme BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -161,7 +157,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreFileCounts IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreFileCounts PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreFileCounts.cs b/src/Generated/Models/VectorStores/VectorStoreFileCounts.cs similarity index 95% rename from src/Generated/Models/VectorStoreFileCounts.cs rename to src/Generated/Models/VectorStores/VectorStoreFileCounts.cs index 412140d6e..9757cdad7 100644 --- a/src/Generated/Models/VectorStoreFileCounts.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileCounts.cs @@ -4,9 +4,11 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreFileCounts { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreFileStatusFilter.cs b/src/Generated/Models/VectorStores/VectorStoreFileStatusFilter.cs similarity index 96% rename from src/Generated/Models/VectorStoreFileStatusFilter.cs rename to src/Generated/Models/VectorStores/VectorStoreFileStatusFilter.cs index d7824a14c..b9469d629 100644 --- a/src/Generated/Models/VectorStoreFileStatusFilter.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileStatusFilter.cs @@ -4,10 +4,12 @@ using System; using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public readonly partial struct VectorStoreFileStatusFilter : IEquatable { private readonly string _value; diff --git a/src/Generated/Models/VectorStoreModificationOptions.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreModificationOptions.Serialization.cs similarity index 97% rename from src/Generated/Models/VectorStoreModificationOptions.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreModificationOptions.Serialization.cs index 0b2fe9189..648f88631 100644 --- a/src/Generated/Models/VectorStoreModificationOptions.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreModificationOptions.Serialization.cs @@ -5,7 +5,6 @@ using System; using System.ClientModel.Primitives; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Text.Json; using OpenAI; @@ -20,7 +19,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mod writer.WriteEndObject(); } - [Experimental("OPENAI001")] protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -78,7 +76,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit VectorStoreModificationOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - [Experimental("OPENAI001")] protected virtual VectorStoreModificationOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -151,7 +148,6 @@ internal static VectorStoreModificationOptions DeserializeVectorStoreModificatio BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - [Experimental("OPENAI001")] protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; @@ -166,7 +162,6 @@ protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions VectorStoreModificationOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - [Experimental("OPENAI001")] protected virtual VectorStoreModificationOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; diff --git a/src/Generated/Models/VectorStoreModificationOptions.cs b/src/Generated/Models/VectorStores/VectorStoreModificationOptions.cs similarity index 94% rename from src/Generated/Models/VectorStoreModificationOptions.cs rename to src/Generated/Models/VectorStores/VectorStoreModificationOptions.cs index ae9cd56fb..e5522104c 100644 --- a/src/Generated/Models/VectorStoreModificationOptions.cs +++ b/src/Generated/Models/VectorStores/VectorStoreModificationOptions.cs @@ -4,10 +4,12 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreModificationOptions { private protected IDictionary _additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStoreStatus.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreStatus.Serialization.cs similarity index 100% rename from src/Generated/Models/VectorStoreStatus.Serialization.cs rename to src/Generated/Models/VectorStores/VectorStoreStatus.Serialization.cs diff --git a/src/Generated/ModerationClient.RestClient.cs b/src/Generated/ModerationClient.RestClient.cs index 013ff75d5..60dbb8c37 100644 --- a/src/Generated/ModerationClient.RestClient.cs +++ b/src/Generated/ModerationClient.RestClient.cs @@ -14,7 +14,7 @@ public partial class ModerationClient private static PipelineMessageClassifier PipelineMessageClassifier200 => _pipelineMessageClassifier200 = PipelineMessageClassifier.Create(stackalloc ushort[] { 200 }); - internal virtual PipelineMessage CreateCreateModerationRequest(BinaryContent content, RequestOptions options) + internal virtual PipelineMessage CreateClassifyTextRequest(BinaryContent content, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; diff --git a/src/Generated/ModerationClient.cs b/src/Generated/ModerationClient.cs index c929b04b4..34dbf61ec 100644 --- a/src/Generated/ModerationClient.cs +++ b/src/Generated/ModerationClient.cs @@ -3,7 +3,10 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Moderations { @@ -16,5 +19,21 @@ protected ModerationClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult ClassifyText(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateClassifyTextRequest(content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task ClassifyTextAsync(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateClassifyTextRequest(content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/OpenAIFileClient.RestClient.cs b/src/Generated/OpenAIFileClient.RestClient.cs index 6d6531ef3..4df2b028e 100644 --- a/src/Generated/OpenAIFileClient.RestClient.cs +++ b/src/Generated/OpenAIFileClient.RestClient.cs @@ -33,7 +33,7 @@ internal virtual PipelineMessage CreateGetFilesRequest(string purpose, RequestOp return message; } - internal virtual PipelineMessage CreateCreateFileRequest(BinaryContent content, string contentType, RequestOptions options) + internal virtual PipelineMessage CreateUploadFileRequest(BinaryContent content, string contentType, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; @@ -66,7 +66,7 @@ internal virtual PipelineMessage CreateDeleteFileRequest(string fileId, RequestO return message; } - internal virtual PipelineMessage CreateRetrieveFileRequest(string fileId, RequestOptions options) + internal virtual PipelineMessage CreateGetFileRequest(string fileId, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; diff --git a/src/Generated/OpenAIFileClient.cs b/src/Generated/OpenAIFileClient.cs index 24a40433e..2c462c78c 100644 --- a/src/Generated/OpenAIFileClient.cs +++ b/src/Generated/OpenAIFileClient.cs @@ -3,7 +3,10 @@ #nullable disable using System; +using System.ClientModel; using System.ClientModel.Primitives; +using System.Threading.Tasks; +using OpenAI; namespace OpenAI.Files { @@ -16,5 +19,81 @@ protected OpenAIFileClient() } public ClientPipeline Pipeline { get; } + + public virtual ClientResult GetFiles(string purpose, RequestOptions options) + { + using PipelineMessage message = CreateGetFilesRequest(purpose, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GetFilesAsync(string purpose, RequestOptions options) + { + using PipelineMessage message = CreateGetFilesRequest(purpose, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult UploadFile(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateUploadFileRequest(content, contentType, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task UploadFileAsync(BinaryContent content, string contentType, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateUploadFileRequest(content, contentType, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult DeleteFile(string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateDeleteFileRequest(fileId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task DeleteFileAsync(string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateDeleteFileRequest(fileId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult GetFile(string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateGetFileRequest(fileId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GetFileAsync(string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateGetFileRequest(fileId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult DownloadFile(string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateDownloadFileRequest(fileId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task DownloadFileAsync(string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateDownloadFileRequest(fileId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } } } diff --git a/src/Generated/OpenAIModelFactory.cs b/src/Generated/OpenAIModelFactory.cs index aebfac83b..a0e21804c 100644 --- a/src/Generated/OpenAIModelFactory.cs +++ b/src/Generated/OpenAIModelFactory.cs @@ -22,59 +22,6 @@ namespace OpenAI { internal static partial class OpenAIModelFactory { - public static TranscribedWord TranscribedWord(string word = default, TimeSpan startTime = default, TimeSpan endTime = default) - { - return new TranscribedWord(word, startTime, endTime, additionalBinaryDataProperties: null); - } - - public static TranscribedSegment TranscribedSegment(int id = default, string text = default, float temperature = default, float compressionRatio = default, TimeSpan startTime = default, TimeSpan endTime = default, int seekOffset = default, ReadOnlyMemory tokenIds = default, float averageLogProbability = default, float noSpeechProbability = default) - { - return new TranscribedSegment( - id, - text, - temperature, - compressionRatio, - startTime, - endTime, - seekOffset, - tokenIds, - averageLogProbability, - noSpeechProbability, - additionalBinaryDataProperties: null); - } - - public static StreamingAudioTranscriptionUpdate StreamingAudioTranscriptionUpdate(string kind = default) - { - return new InternalUnknownCreateTranscriptionResponseStreamEvent(new StreamingAudioTranscriptionUpdateKind(kind), additionalBinaryDataProperties: null); - } - - public static StreamingAudioTranscriptionTextDeltaUpdate StreamingAudioTranscriptionTextDeltaUpdate(string delta = default, IEnumerable transcriptionTokenLogProbabilities = default) - { - transcriptionTokenLogProbabilities ??= new ChangeTrackingList(); - - return new StreamingAudioTranscriptionTextDeltaUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDelta, additionalBinaryDataProperties: null, delta, transcriptionTokenLogProbabilities?.ToList()); - } - - public static StreamingAudioTranscriptionTextDoneUpdate StreamingAudioTranscriptionTextDoneUpdate(string text = default, IEnumerable transcriptionTokenLogProbabilities = default) - { - transcriptionTokenLogProbabilities ??= new ChangeTrackingList(); - - return new StreamingAudioTranscriptionTextDoneUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDone, additionalBinaryDataProperties: null, text, transcriptionTokenLogProbabilities?.ToList()); - } - - public static AudioTranslation AudioTranslation(string language = default, string text = default, IEnumerable segments = default, string task = default, TimeSpan? duration = default) - { - segments ??= new ChangeTrackingList(); - - return new AudioTranslation( - language, - text, - segments?.ToList(), - task, - duration, - additionalBinaryDataProperties: null); - } - public static Assistant Assistant(string id = default, DateTimeOffset createdAt = default, string name = default, string description = default, string model = default, string instructions = default, IEnumerable tools = default, ToolResources toolResources = default, IReadOnlyDictionary metadata = default, float? temperature = default, string @object = default, AssistantResponseFormat responseFormat = default, float? nucleusSamplingFactor = default) { tools ??= new ChangeTrackingList(); @@ -175,6 +122,59 @@ public static AssistantDeletionResult AssistantDeletionResult(bool deleted = def return new AssistantDeletionResult(deleted, assistantId, @object, additionalBinaryDataProperties: null); } + public static TranscribedWord TranscribedWord(string word = default, TimeSpan startTime = default, TimeSpan endTime = default) + { + return new TranscribedWord(word, startTime, endTime, additionalBinaryDataProperties: null); + } + + public static TranscribedSegment TranscribedSegment(int id = default, string text = default, float temperature = default, float compressionRatio = default, TimeSpan startTime = default, TimeSpan endTime = default, int seekOffset = default, ReadOnlyMemory tokenIds = default, float averageLogProbability = default, float noSpeechProbability = default) + { + return new TranscribedSegment( + id, + text, + temperature, + compressionRatio, + startTime, + endTime, + seekOffset, + tokenIds, + averageLogProbability, + noSpeechProbability, + additionalBinaryDataProperties: null); + } + + public static StreamingAudioTranscriptionUpdate StreamingAudioTranscriptionUpdate(string kind = default) + { + return new InternalUnknownCreateTranscriptionResponseStreamEvent(new StreamingAudioTranscriptionUpdateKind(kind), additionalBinaryDataProperties: null); + } + + public static StreamingAudioTranscriptionTextDeltaUpdate StreamingAudioTranscriptionTextDeltaUpdate(string delta = default, IEnumerable transcriptionTokenLogProbabilities = default) + { + transcriptionTokenLogProbabilities ??= new ChangeTrackingList(); + + return new StreamingAudioTranscriptionTextDeltaUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDelta, additionalBinaryDataProperties: null, delta, transcriptionTokenLogProbabilities?.ToList()); + } + + public static StreamingAudioTranscriptionTextDoneUpdate StreamingAudioTranscriptionTextDoneUpdate(string text = default, IEnumerable transcriptionTokenLogProbabilities = default) + { + transcriptionTokenLogProbabilities ??= new ChangeTrackingList(); + + return new StreamingAudioTranscriptionTextDoneUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDone, additionalBinaryDataProperties: null, text, transcriptionTokenLogProbabilities?.ToList()); + } + + public static AudioTranslation AudioTranslation(string language = default, string text = default, IEnumerable segments = default, string task = default, TimeSpan? duration = default) + { + segments ??= new ChangeTrackingList(); + + return new AudioTranslation( + language, + text, + segments?.ToList(), + task, + duration, + additionalBinaryDataProperties: null); + } + public static ChatOutputAudio ChatOutputAudio(string id = default, DateTimeOffset expiresAt = default, string transcript = default, BinaryData audioBytes = default) { return new ChatOutputAudio(id, expiresAt, transcript, audioBytes, additionalBinaryDataProperties: null); @@ -315,80 +315,6 @@ public static EmbeddingTokenUsage EmbeddingTokenUsage(int inputTokenCount = defa return new EmbeddingTokenUsage(inputTokenCount, totalTokenCount, additionalBinaryDataProperties: null); } - public static FileSearchToolRankingOptions FileSearchToolRankingOptions(FileSearchToolRanker? ranker = default, float? scoreThreshold = default) - { - return new FileSearchToolRankingOptions(ranker, scoreThreshold, additionalBinaryDataProperties: null); - } - - public static ResponseTextOptions ResponseTextOptions(ResponseTextFormat textFormat = default) - { - return new ResponseTextOptions(textFormat, additionalBinaryDataProperties: null); - } - - public static ResponseMessageAnnotation ResponseMessageAnnotation(string kind = default) - { - return new InternalUnknownAnnotation(kind.ToResponseMessageAnnotationKind(), additionalBinaryDataProperties: null); - } - - public static FileSearchCallResult FileSearchCallResult(string fileId = default, string text = default, string filename = default, float? score = default, IReadOnlyDictionary attributes = default) - { - attributes ??= new ChangeTrackingDictionary(); - - return new FileSearchCallResult( - fileId, - text, - filename, - score, - attributes, - additionalBinaryDataProperties: null); - } - - public static ComputerCallAction ComputerCallAction(string kind = default) - { - return new InternalUnknownComputerAction(kind.ToComputerCallActionKind(), additionalBinaryDataProperties: null); - } - - public static ComputerCallSafetyCheck ComputerCallSafetyCheck(string id = default, string code = default, string message = default) - { - return new ComputerCallSafetyCheck(id, code, message, additionalBinaryDataProperties: null); - } - - public static ResponseError ResponseError(ResponseErrorCode code = default, string message = default) - { - return new ResponseError(code, message, additionalBinaryDataProperties: null); - } - - public static ResponseIncompleteStatusDetails ResponseIncompleteStatusDetails(ResponseIncompleteStatusReason? reason = default) - { - return new ResponseIncompleteStatusDetails(reason, additionalBinaryDataProperties: null); - } - - public static ResponseTokenUsage ResponseTokenUsage(int inputTokenCount = default, int outputTokenCount = default, int totalTokenCount = default, ResponseInputTokenUsageDetails inputTokenDetails = default, ResponseOutputTokenUsageDetails outputTokenDetails = default) - { - return new ResponseTokenUsage( - inputTokenCount, - outputTokenCount, - totalTokenCount, - inputTokenDetails, - outputTokenDetails, - additionalBinaryDataProperties: null); - } - - public static ResponseInputTokenUsageDetails ResponseInputTokenUsageDetails(int cachedTokenCount = default) - { - return new ResponseInputTokenUsageDetails(cachedTokenCount, additionalBinaryDataProperties: null); - } - - public static ResponseOutputTokenUsageDetails ResponseOutputTokenUsageDetails(int reasoningTokenCount = default) - { - return new ResponseOutputTokenUsageDetails(reasoningTokenCount, additionalBinaryDataProperties: null); - } - - public static ResponseDeletionResult ResponseDeletionResult(string id = default, bool deleted = default, string @object = default) - { - return new ResponseDeletionResult(id, deleted, @object, additionalBinaryDataProperties: null); - } - public static OpenAIFileCollection OpenAIFileCollection(IEnumerable data = default, string @object = default, string firstId = default, string lastId = default, bool hasMore = default) { data ??= new ChangeTrackingList(); @@ -481,6 +407,80 @@ public static FineTuningEvent FineTuningEvent(string id = default, DateTimeOffse additionalBinaryDataProperties: null); } + public static FileSearchToolRankingOptions FileSearchToolRankingOptions(FileSearchToolRanker? ranker = default, float? scoreThreshold = default) + { + return new FileSearchToolRankingOptions(ranker, scoreThreshold, additionalBinaryDataProperties: null); + } + + public static ResponseTextOptions ResponseTextOptions(ResponseTextFormat textFormat = default) + { + return new ResponseTextOptions(textFormat, additionalBinaryDataProperties: null); + } + + public static ResponseMessageAnnotation ResponseMessageAnnotation(string kind = default) + { + return new InternalUnknownAnnotation(kind.ToResponseMessageAnnotationKind(), additionalBinaryDataProperties: null); + } + + public static FileSearchCallResult FileSearchCallResult(string fileId = default, string text = default, string filename = default, float? score = default, IReadOnlyDictionary attributes = default) + { + attributes ??= new ChangeTrackingDictionary(); + + return new FileSearchCallResult( + fileId, + text, + filename, + score, + attributes, + additionalBinaryDataProperties: null); + } + + public static ComputerCallAction ComputerCallAction(string kind = default) + { + return new InternalUnknownComputerAction(kind.ToComputerCallActionKind(), additionalBinaryDataProperties: null); + } + + public static ComputerCallSafetyCheck ComputerCallSafetyCheck(string id = default, string code = default, string message = default) + { + return new ComputerCallSafetyCheck(id, code, message, additionalBinaryDataProperties: null); + } + + public static ResponseError ResponseError(ResponseErrorCode code = default, string message = default) + { + return new ResponseError(code, message, additionalBinaryDataProperties: null); + } + + public static ResponseIncompleteStatusDetails ResponseIncompleteStatusDetails(ResponseIncompleteStatusReason? reason = default) + { + return new ResponseIncompleteStatusDetails(reason, additionalBinaryDataProperties: null); + } + + public static ResponseTokenUsage ResponseTokenUsage(int inputTokenCount = default, int outputTokenCount = default, int totalTokenCount = default, ResponseInputTokenUsageDetails inputTokenDetails = default, ResponseOutputTokenUsageDetails outputTokenDetails = default) + { + return new ResponseTokenUsage( + inputTokenCount, + outputTokenCount, + totalTokenCount, + inputTokenDetails, + outputTokenDetails, + additionalBinaryDataProperties: null); + } + + public static ResponseInputTokenUsageDetails ResponseInputTokenUsageDetails(int cachedTokenCount = default) + { + return new ResponseInputTokenUsageDetails(cachedTokenCount, additionalBinaryDataProperties: null); + } + + public static ResponseOutputTokenUsageDetails ResponseOutputTokenUsageDetails(int reasoningTokenCount = default) + { + return new ResponseOutputTokenUsageDetails(reasoningTokenCount, additionalBinaryDataProperties: null); + } + + public static ResponseDeletionResult ResponseDeletionResult(string id = default, bool deleted = default, string @object = default) + { + return new ResponseDeletionResult(id, deleted, @object, additionalBinaryDataProperties: null); + } + public static ImageGenerationOptions ImageGenerationOptions(GeneratedImageQuality? quality = default, GeneratedImageFormat? responseFormat = default, GeneratedImageSize? size = default, GeneratedImageBackground? background = default, GeneratedImageStyle? style = default, InternalCreateImageRequestModel? model = default, string prompt = default, long? n = default, string endUserId = default, int? outputCompressionFactor = default, GeneratedImageFileFormat? outputFileFormat = default, GeneratedImageModerationLevel? moderationLevel = default) { return new ImageGenerationOptions( @@ -590,24 +590,7 @@ public static MessageDeletionResult MessageDeletionResult(bool deleted = default return new MessageDeletionResult(deleted, messageId, @object, additionalBinaryDataProperties: null); } - public static OpenAIModelCollection OpenAIModelCollection(string @object = default, IEnumerable data = default) - { - data ??= new ChangeTrackingList(); - - return new OpenAIModelCollection(@object, data?.ToList(), serializedAdditionalRawData: null); - } - - public static OpenAIModel OpenAIModel(string id = default, string ownedBy = default, string @object = default, DateTimeOffset createdAt = default) - { - return new OpenAIModel(id, ownedBy, @object, createdAt, additionalBinaryDataProperties: null); - } - - public static ModelDeletionResult ModelDeletionResult(bool deleted = default, string modelId = default, string @object = default) - { - return new ModelDeletionResult(deleted, modelId, @object, additionalBinaryDataProperties: null); - } - - public static ModerationResultCollection ModerationResultCollection(string id = default, string model = default, IEnumerable results = default) + public static ModerationResultCollection ModerationResultCollection(string id = default, string model = default, IEnumerable results = default) { results ??= new ChangeTrackingList(); @@ -619,153 +602,6 @@ public static ModerationResult ModerationResult(bool flagged = default) return new ModerationResult(flagged, additionalBinaryDataProperties: null); } - public static InputTranscriptionOptions InputTranscriptionOptions(InputTranscriptionModel? model = default, string language = default, string prompt = default) - { - return new InputTranscriptionOptions(model, language, prompt, additionalBinaryDataProperties: null); - } - - public static TurnDetectionOptions TurnDetectionOptions(string kind = default, bool? responseCreationEnabled = default, bool? responseInterruptionEnabled = default) - { - return new UnknownRealtimeTurnDetection(kind.ToTurnDetectionKind(), responseCreationEnabled, responseInterruptionEnabled, additionalBinaryDataProperties: null); - } - - public static InputNoiseReductionOptions InputNoiseReductionOptions(string kind = default) - { - return new InternalUnknownRealtimeAudioNoiseReduction(kind.ToInputNoiseReductionKind(), additionalBinaryDataProperties: null); - } - - public static ConversationTool ConversationTool(string kind = default) - { - return new UnknownRealtimeTool(new ConversationToolKind(kind), additionalBinaryDataProperties: null); - } - - public static ConversationFunctionTool ConversationFunctionTool(string name = default, string description = default, BinaryData parameters = default) - { - return new ConversationFunctionTool(ConversationToolKind.Function, additionalBinaryDataProperties: null, name, description, parameters); - } - - public static ConversationContentPart ConversationContentPart(string kind = default) - { - return new UnknownRealtimeContentPart(new ConversationContentPartKind(kind), additionalBinaryDataProperties: null); - } - - public static RealtimeUpdate RealtimeUpdate(string kind = default, string eventId = default) - { - return new UnknownRealtimeServerEvent(kind.ToRealtimeUpdateKind(), eventId, additionalBinaryDataProperties: null); - } - - public static InputAudioCommittedUpdate InputAudioCommittedUpdate(string eventId = default, string previousItemId = default, string itemId = default) - { - return new InputAudioCommittedUpdate(RealtimeUpdateKind.InputAudioCommitted, eventId, additionalBinaryDataProperties: null, previousItemId, itemId); - } - - public static InputAudioClearedUpdate InputAudioClearedUpdate(string eventId = default) - { - return new InputAudioClearedUpdate(RealtimeUpdateKind.InputAudioCleared, eventId, additionalBinaryDataProperties: null); - } - - public static InputAudioSpeechStartedUpdate InputAudioSpeechStartedUpdate(string eventId = default, string itemId = default, int audioStartMs = default) - { - return new InputAudioSpeechStartedUpdate(RealtimeUpdateKind.InputSpeechStarted, eventId, additionalBinaryDataProperties: null, itemId, audioStartMs); - } - - public static InputAudioSpeechFinishedUpdate InputAudioSpeechFinishedUpdate(string eventId = default, string itemId = default, int audioEndMs = default) - { - return new InputAudioSpeechFinishedUpdate(RealtimeUpdateKind.InputSpeechStopped, eventId, additionalBinaryDataProperties: null, itemId, audioEndMs); - } - - public static ItemTruncatedUpdate ItemTruncatedUpdate(string eventId = default, string itemId = default, int contentIndex = default, int audioEndMs = default) - { - return new ItemTruncatedUpdate( - RealtimeUpdateKind.ItemTruncated, - eventId, - additionalBinaryDataProperties: null, - itemId, - contentIndex, - audioEndMs); - } - - public static ItemDeletedUpdate ItemDeletedUpdate(string eventId = default, string itemId = default) - { - return new ItemDeletedUpdate(RealtimeUpdateKind.ItemDeleted, eventId, additionalBinaryDataProperties: null, itemId); - } - - public static ConversationTokenUsage ConversationTokenUsage(ConversationInputTokenUsageDetails inputTokenDetails = default, ConversationOutputTokenUsageDetails outputTokenDetails = default, int inputTokenCount = default, int outputTokenCount = default, int totalTokenCount = default) - { - return new ConversationTokenUsage( - inputTokenDetails, - outputTokenDetails, - inputTokenCount, - outputTokenCount, - totalTokenCount, - additionalBinaryDataProperties: null); - } - - public static ConversationInputTokenUsageDetails ConversationInputTokenUsageDetails(int audioTokenCount = default, int cachedTokenCount = default, int textTokenCount = default) - { - return new ConversationInputTokenUsageDetails(audioTokenCount, cachedTokenCount, textTokenCount, additionalBinaryDataProperties: null); - } - - public static ConversationOutputTokenUsageDetails ConversationOutputTokenUsageDetails(int textTokenCount = default, int audioTokenCount = default) - { - return new ConversationOutputTokenUsageDetails(textTokenCount, audioTokenCount, additionalBinaryDataProperties: null); - } - - public static OutputTextFinishedUpdate OutputTextFinishedUpdate(string eventId = default, string responseId = default, string itemId = default, int outputIndex = default, int contentIndex = default, string text = default) - { - return new OutputTextFinishedUpdate( - RealtimeUpdateKind.ItemStreamingPartTextFinished, - eventId, - additionalBinaryDataProperties: null, - responseId, - itemId, - outputIndex, - contentIndex, - text); - } - - public static OutputAudioTranscriptionFinishedUpdate OutputAudioTranscriptionFinishedUpdate(string eventId = default, string responseId = default, string itemId = default, int outputIndex = default, int contentIndex = default, string transcript = default) - { - return new OutputAudioTranscriptionFinishedUpdate( - RealtimeUpdateKind.ItemStreamingPartAudioTranscriptionFinished, - eventId, - additionalBinaryDataProperties: null, - responseId, - itemId, - outputIndex, - contentIndex, - transcript); - } - - public static OutputAudioFinishedUpdate OutputAudioFinishedUpdate(string eventId = default, string responseId = default, string itemId = default, int outputIndex = default, int contentIndex = default) - { - return new OutputAudioFinishedUpdate( - RealtimeUpdateKind.ItemStreamingPartAudioFinished, - eventId, - additionalBinaryDataProperties: null, - responseId, - itemId, - outputIndex, - contentIndex); - } - - public static RateLimitsUpdate RateLimitsUpdate(string eventId = default, IEnumerable allDetails = default) - { - allDetails ??= new ChangeTrackingList(); - - return new RateLimitsUpdate(RealtimeUpdateKind.RateLimitsUpdated, eventId, additionalBinaryDataProperties: null, allDetails?.ToList()); - } - - public static ConversationRateLimitDetailsItem ConversationRateLimitDetailsItem(string name = default, int maximumCount = default, int remainingCount = default, TimeSpan timeUntilReset = default) - { - return new ConversationRateLimitDetailsItem(name, maximumCount, remainingCount, timeUntilReset, additionalBinaryDataProperties: null); - } - - public static ItemRetrievedUpdate ItemRetrievedUpdate(string eventId = default, RealtimeItem item = default) - { - return new ItemRetrievedUpdate(RealtimeUpdateKind.ItemRetrieved, eventId, additionalBinaryDataProperties: null, item); - } - public static ThreadCreationOptions ThreadCreationOptions(IDictionary metadata = default, ToolResources toolResources = default, IEnumerable internalMessages = default) { metadata ??= new ChangeTrackingDictionary(); @@ -774,31 +610,6 @@ public static ThreadCreationOptions ThreadCreationOptions(IDictionary metadata = default, string @object = default, ToolResources toolResources = default) - { - metadata ??= new ChangeTrackingDictionary(); - - return new AssistantThread( - id, - createdAt, - metadata, - @object, - toolResources, - additionalBinaryDataProperties: null); - } - - public static ThreadModificationOptions ThreadModificationOptions(IDictionary metadata = default, ToolResources toolResources = default) - { - metadata ??= new ChangeTrackingDictionary(); - - return new ThreadModificationOptions(metadata, toolResources, additionalBinaryDataProperties: null); - } - - public static ThreadDeletionResult ThreadDeletionResult(bool deleted = default, string threadId = default, string @object = default) - { - return new ThreadDeletionResult(deleted, threadId, @object, additionalBinaryDataProperties: null); - } - public static RunError RunError(RunErrorCode code = default, string message = default) { return new RunError(code, message, additionalBinaryDataProperties: null); @@ -904,6 +715,31 @@ public static RunStepTokenUsage RunStepTokenUsage(int outputTokenCount = default return new RunStepTokenUsage(outputTokenCount, inputTokenCount, totalTokenCount, additionalBinaryDataProperties: null); } + public static AssistantThread AssistantThread(string id = default, DateTimeOffset createdAt = default, IReadOnlyDictionary metadata = default, string @object = default, ToolResources toolResources = default) + { + metadata ??= new ChangeTrackingDictionary(); + + return new AssistantThread( + id, + createdAt, + metadata, + @object, + toolResources, + additionalBinaryDataProperties: null); + } + + public static ThreadModificationOptions ThreadModificationOptions(IDictionary metadata = default, ToolResources toolResources = default) + { + metadata ??= new ChangeTrackingDictionary(); + + return new ThreadModificationOptions(metadata, toolResources, additionalBinaryDataProperties: null); + } + + public static ThreadDeletionResult ThreadDeletionResult(bool deleted = default, string threadId = default, string @object = default) + { + return new ThreadDeletionResult(deleted, threadId, @object, additionalBinaryDataProperties: null); + } + public static VectorStore VectorStore(string id = default, DateTimeOffset createdAt = default, string name = default, int usageBytes = default, VectorStoreFileCounts fileCounts = default, VectorStoreStatus status = default, DateTimeOffset? expiresAt = default, DateTimeOffset? lastActiveAt = default, IReadOnlyDictionary metadata = default, string @object = default, VectorStoreExpirationPolicy expirationPolicy = default) { metadata ??= new ChangeTrackingDictionary(); @@ -1004,6 +840,180 @@ public static FileFromStoreRemovalResult FileFromStoreRemovalResult(string fileI return new FileFromStoreRemovalResult(fileId, removed, @object, additionalBinaryDataProperties: null); } + public static OpenAIModelCollection OpenAIModelCollection(string @object = default, IEnumerable data = default) + { + data ??= new ChangeTrackingList(); + + return new OpenAIModelCollection(@object, data?.ToList(), serializedAdditionalRawData: null); + } + + public static OpenAIModel OpenAIModel(string id = default, string ownedBy = default, string @object = default, DateTimeOffset createdAt = default) + { + return new OpenAIModel(id, ownedBy, @object, createdAt, additionalBinaryDataProperties: null); + } + + public static ModelDeletionResult ModelDeletionResult(bool deleted = default, string modelId = default, string @object = default) + { + return new ModelDeletionResult(deleted, modelId, @object, additionalBinaryDataProperties: null); + } + + public static InputTranscriptionOptions InputTranscriptionOptions(InputTranscriptionModel? model = default, string language = default, string prompt = default) + { + return new InputTranscriptionOptions(model, language, prompt, additionalBinaryDataProperties: null); + } + + public static TurnDetectionOptions TurnDetectionOptions(string kind = default, bool? responseCreationEnabled = default, bool? responseInterruptionEnabled = default) + { + return new UnknownRealtimeTurnDetection(kind.ToTurnDetectionKind(), responseCreationEnabled, responseInterruptionEnabled, additionalBinaryDataProperties: null); + } + + public static InputNoiseReductionOptions InputNoiseReductionOptions(string kind = default) + { + return new InternalUnknownRealtimeAudioNoiseReduction(kind.ToInputNoiseReductionKind(), additionalBinaryDataProperties: null); + } + + public static ConversationTool ConversationTool(string kind = default) + { + return new UnknownRealtimeTool(new ConversationToolKind(kind), additionalBinaryDataProperties: null); + } + + public static ConversationFunctionTool ConversationFunctionTool(string name = default, string description = default, BinaryData parameters = default) + { + return new ConversationFunctionTool(ConversationToolKind.Function, additionalBinaryDataProperties: null, name, description, parameters); + } + + public static ConversationContentPart ConversationContentPart(string kind = default) + { + return new UnknownRealtimeContentPart(new ConversationContentPartKind(kind), additionalBinaryDataProperties: null); + } + + public static RealtimeUpdate RealtimeUpdate(string kind = default, string eventId = default) + { + return new UnknownRealtimeServerEvent(kind.ToRealtimeUpdateKind(), eventId, additionalBinaryDataProperties: null); + } + + public static InputAudioCommittedUpdate InputAudioCommittedUpdate(string eventId = default, string previousItemId = default, string itemId = default) + { + return new InputAudioCommittedUpdate(RealtimeUpdateKind.InputAudioCommitted, eventId, additionalBinaryDataProperties: null, previousItemId, itemId); + } + + public static InputAudioClearedUpdate InputAudioClearedUpdate(string eventId = default) + { + return new InputAudioClearedUpdate(RealtimeUpdateKind.InputAudioCleared, eventId, additionalBinaryDataProperties: null); + } + + public static InputAudioSpeechStartedUpdate InputAudioSpeechStartedUpdate(string eventId = default, string itemId = default, int audioStartMs = default) + { + return new InputAudioSpeechStartedUpdate(RealtimeUpdateKind.InputSpeechStarted, eventId, additionalBinaryDataProperties: null, itemId, audioStartMs); + } + + public static InputAudioSpeechFinishedUpdate InputAudioSpeechFinishedUpdate(string eventId = default, string itemId = default, int audioEndMs = default) + { + return new InputAudioSpeechFinishedUpdate(RealtimeUpdateKind.InputSpeechStopped, eventId, additionalBinaryDataProperties: null, itemId, audioEndMs); + } + + public static ItemTruncatedUpdate ItemTruncatedUpdate(string eventId = default, string itemId = default, int contentIndex = default, int audioEndMs = default) + { + return new ItemTruncatedUpdate( + RealtimeUpdateKind.ItemTruncated, + eventId, + additionalBinaryDataProperties: null, + itemId, + contentIndex, + audioEndMs); + } + + public static ItemDeletedUpdate ItemDeletedUpdate(string eventId = default, string itemId = default) + { + return new ItemDeletedUpdate(RealtimeUpdateKind.ItemDeleted, eventId, additionalBinaryDataProperties: null, itemId); + } + + public static ConversationTokenUsage ConversationTokenUsage(ConversationInputTokenUsageDetails inputTokenDetails = default, ConversationOutputTokenUsageDetails outputTokenDetails = default, int inputTokenCount = default, int outputTokenCount = default, int totalTokenCount = default) + { + return new ConversationTokenUsage( + inputTokenDetails, + outputTokenDetails, + inputTokenCount, + outputTokenCount, + totalTokenCount, + additionalBinaryDataProperties: null); + } + + public static ConversationInputTokenUsageDetails ConversationInputTokenUsageDetails(int audioTokenCount = default, int cachedTokenCount = default, int textTokenCount = default) + { + return new ConversationInputTokenUsageDetails(audioTokenCount, cachedTokenCount, textTokenCount, additionalBinaryDataProperties: null); + } + + public static ConversationOutputTokenUsageDetails ConversationOutputTokenUsageDetails(int textTokenCount = default, int audioTokenCount = default) + { + return new ConversationOutputTokenUsageDetails(textTokenCount, audioTokenCount, additionalBinaryDataProperties: null); + } + + public static OutputTextFinishedUpdate OutputTextFinishedUpdate(string eventId = default, string responseId = default, string itemId = default, int outputIndex = default, int contentIndex = default, string text = default) + { + return new OutputTextFinishedUpdate( + RealtimeUpdateKind.ItemStreamingPartTextFinished, + eventId, + additionalBinaryDataProperties: null, + responseId, + itemId, + outputIndex, + contentIndex, + text); + } + + public static OutputAudioTranscriptionFinishedUpdate OutputAudioTranscriptionFinishedUpdate(string eventId = default, string responseId = default, string itemId = default, int outputIndex = default, int contentIndex = default, string transcript = default) + { + return new OutputAudioTranscriptionFinishedUpdate( + RealtimeUpdateKind.ItemStreamingPartAudioTranscriptionFinished, + eventId, + additionalBinaryDataProperties: null, + responseId, + itemId, + outputIndex, + contentIndex, + transcript); + } + + public static OutputAudioFinishedUpdate OutputAudioFinishedUpdate(string eventId = default, string responseId = default, string itemId = default, int outputIndex = default, int contentIndex = default) + { + return new OutputAudioFinishedUpdate( + RealtimeUpdateKind.ItemStreamingPartAudioFinished, + eventId, + additionalBinaryDataProperties: null, + responseId, + itemId, + outputIndex, + contentIndex); + } + + public static RateLimitsUpdate RateLimitsUpdate(string eventId = default, IEnumerable allDetails = default) + { + allDetails ??= new ChangeTrackingList(); + + return new RateLimitsUpdate(RealtimeUpdateKind.RateLimitsUpdated, eventId, additionalBinaryDataProperties: null, allDetails?.ToList()); + } + + public static ConversationRateLimitDetailsItem ConversationRateLimitDetailsItem(string name = default, int maximumCount = default, int remainingCount = default, TimeSpan timeUntilReset = default) + { + return new ConversationRateLimitDetailsItem(name, maximumCount, remainingCount, timeUntilReset, additionalBinaryDataProperties: null); + } + + public static ItemRetrievedUpdate ItemRetrievedUpdate(string eventId = default, RealtimeItem item = default) + { + return new ItemRetrievedUpdate(RealtimeUpdateKind.ItemRetrieved, eventId, additionalBinaryDataProperties: null, item); + } + + public static ChatFunctionChoice ChatFunctionChoice(string predefinedFunctionChoice = default) + { + return new ChatFunctionChoice(predefinedFunctionChoice); + } + + public static ChatToolChoice ChatToolChoice() + { + return new ChatToolChoice(additionalBinaryDataProperties: null); + } + public static AudioTranscription AudioTranscription(string language = default, string text = default, IEnumerable words = default, IEnumerable segments = default, string task = default, TimeSpan? duration = default, IEnumerable transcriptionTokenLogProbabilities = default) { words ??= new ChangeTrackingList(); @@ -1025,15 +1035,5 @@ public static AudioTokenLogProbabilityDetails AudioTokenLogProbabilityDetails(st { return new AudioTokenLogProbabilityDetails(token, logProbability, utf8Bytes, additionalBinaryDataProperties: null); } - - public static ChatFunctionChoice ChatFunctionChoice(string predefinedFunctionChoice = default) - { - return new ChatFunctionChoice(predefinedFunctionChoice); - } - - public static ChatToolChoice ChatToolChoice() - { - return new ChatToolChoice(additionalBinaryDataProperties: null); - } } } diff --git a/src/Generated/OpenAIResponseClient.cs b/src/Generated/OpenAIResponseClient.cs index d87d43f00..2d7149a79 100644 --- a/src/Generated/OpenAIResponseClient.cs +++ b/src/Generated/OpenAIResponseClient.cs @@ -5,11 +5,13 @@ using System; using System.ClientModel; using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using OpenAI; namespace OpenAI.Responses { + [Experimental("OPENAI001")] public partial class OpenAIResponseClient { private readonly Uri _endpoint; @@ -26,6 +28,38 @@ internal OpenAIResponseClient(ClientPipeline pipeline, Uri endpoint) public ClientPipeline Pipeline { get; } + public virtual ClientResult CreateResponse(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateCreateResponseRequest(content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task CreateResponseAsync(BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateCreateResponseRequest(content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult DeleteResponse(string responseId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); + + using PipelineMessage message = CreateDeleteResponseRequest(responseId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task DeleteResponseAsync(string responseId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); + + using PipelineMessage message = CreateDeleteResponseRequest(responseId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + public virtual ClientResult CancelResponse(string responseId, RequestOptions options) { Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); diff --git a/src/Generated/RealtimeClient.cs b/src/Generated/RealtimeClient.cs index cbf5801e9..659b8360c 100644 --- a/src/Generated/RealtimeClient.cs +++ b/src/Generated/RealtimeClient.cs @@ -5,11 +5,13 @@ using System; using System.ClientModel; using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using OpenAI; namespace OpenAI.Realtime { + [Experimental("OPENAI002")] public partial class RealtimeClient { private readonly Uri _endpoint; diff --git a/src/Generated/VectorStoreClient.RestClient.cs b/src/Generated/VectorStoreClient.RestClient.cs index 08078c7c2..6917bef93 100644 --- a/src/Generated/VectorStoreClient.RestClient.cs +++ b/src/Generated/VectorStoreClient.RestClient.cs @@ -149,7 +149,7 @@ internal virtual PipelineMessage CreateGetVectorStoreFileBatchRequest(string vec return message; } - internal virtual PipelineMessage CreateCancelVectorStoreFileBatchRequest(string vectorStoreId, string batchId, RequestOptions options) + internal virtual PipelineMessage CreateCancelBatchFileJobRequest(string vectorStoreId, string batchId, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; @@ -263,7 +263,7 @@ internal virtual PipelineMessage CreateCreateVectorStoreFileRequest(string vecto return message; } - internal virtual PipelineMessage CreateGetVectorStoreFileRequest(string vectorStoreId, string fileId, RequestOptions options) + internal virtual PipelineMessage CreateGetFileAssociationRequest(string vectorStoreId, string fileId, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; @@ -281,7 +281,7 @@ internal virtual PipelineMessage CreateGetVectorStoreFileRequest(string vectorSt return message; } - internal virtual PipelineMessage CreateDeleteVectorStoreFileRequest(string vectorStoreId, string fileId, RequestOptions options) + internal virtual PipelineMessage CreateRemoveFileFromStoreRequest(string vectorStoreId, string fileId, RequestOptions options) { PipelineMessage message = Pipeline.CreateMessage(); message.ResponseClassifier = PipelineMessageClassifier200; diff --git a/src/Generated/VectorStoreClient.cs b/src/Generated/VectorStoreClient.cs index 7fcbc1182..2431e5eab 100644 --- a/src/Generated/VectorStoreClient.cs +++ b/src/Generated/VectorStoreClient.cs @@ -5,11 +5,13 @@ using System; using System.ClientModel; using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using OpenAI; namespace OpenAI.VectorStores { + [Experimental("OPENAI001")] public partial class VectorStoreClient { private readonly Uri _endpoint; @@ -36,6 +38,94 @@ public virtual async Task CreateVectorStoreAsync(BinaryContent con return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); } + public virtual ClientResult ModifyVectorStore(string vectorStoreId, BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateModifyVectorStoreRequest(vectorStoreId, content, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task ModifyVectorStoreAsync(string vectorStoreId, BinaryContent content, RequestOptions options = null) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + Argument.AssertNotNull(content, nameof(content)); + + using PipelineMessage message = CreateModifyVectorStoreRequest(vectorStoreId, content, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult DeleteVectorStore(string vectorStoreId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + + using PipelineMessage message = CreateDeleteVectorStoreRequest(vectorStoreId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task DeleteVectorStoreAsync(string vectorStoreId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + + using PipelineMessage message = CreateDeleteVectorStoreRequest(vectorStoreId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult CancelBatchFileJob(string vectorStoreId, string batchId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); + + using PipelineMessage message = CreateCancelBatchFileJobRequest(vectorStoreId, batchId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task CancelBatchFileJobAsync(string vectorStoreId, string batchId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); + + using PipelineMessage message = CreateCancelBatchFileJobRequest(vectorStoreId, batchId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult GetFileAssociation(string vectorStoreId, string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateGetFileAssociationRequest(vectorStoreId, fileId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GetFileAssociationAsync(string vectorStoreId, string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateGetFileAssociationRequest(vectorStoreId, fileId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + + public virtual ClientResult RemoveFileFromStore(string vectorStoreId, string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateRemoveFileFromStoreRequest(vectorStoreId, fileId, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task RemoveFileFromStoreAsync(string vectorStoreId, string fileId, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); + Argument.AssertNotNullOrEmpty(fileId, nameof(fileId)); + + using PipelineMessage message = CreateRemoveFileFromStoreRequest(vectorStoreId, fileId, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + public virtual ClientResult UpdateVectorStoreFileAttributes(string vectorStoreId, string fileId, BinaryContent content, RequestOptions options = null) { Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); From 8ceafa1eb5a7f6271fe34230835676eaaae845f0 Mon Sep 17 00:00:00 2001 From: Jose Arriaga Maldonado Date: Tue, 15 Jul 2025 16:22:42 -0700 Subject: [PATCH 2/2] Fix merge --- api/OpenAI.net8.0.cs | 4 - ...TextAnnotationAddedUpdate.Serialization.cs | 184 ------------------ ...eamingResponseTextAnnotationAddedUpdate.cs | 40 ---- 3 files changed, 228 deletions(-) delete mode 100644 src/Generated/Models/StreamingResponseTextAnnotationAddedUpdate.Serialization.cs delete mode 100644 src/Generated/Models/StreamingResponseTextAnnotationAddedUpdate.cs diff --git a/api/OpenAI.net8.0.cs b/api/OpenAI.net8.0.cs index da11ac826..64ec7236d 100644 --- a/api/OpenAI.net8.0.cs +++ b/api/OpenAI.net8.0.cs @@ -4784,13 +4784,9 @@ public class StreamingResponseTextAnnotationAddedUpdate : StreamingResponseUpdat public int ContentIndex { get; } public string ItemId { get; } public int OutputIndex { get; } - [Experimental("OPENAI001")] protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); - [Experimental("OPENAI001")] protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] diff --git a/src/Generated/Models/StreamingResponseTextAnnotationAddedUpdate.Serialization.cs b/src/Generated/Models/StreamingResponseTextAnnotationAddedUpdate.Serialization.cs deleted file mode 100644 index ad92ea62a..000000000 --- a/src/Generated/Models/StreamingResponseTextAnnotationAddedUpdate.Serialization.cs +++ /dev/null @@ -1,184 +0,0 @@ -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; -using System.Text.Json; -using OpenAI; - -namespace OpenAI.Responses -{ - public partial class StreamingResponseTextAnnotationAddedUpdate : IJsonModel - { - internal StreamingResponseTextAnnotationAddedUpdate() : this(InternalResponseStreamEventType.ResponseOutputTextAnnotationAdded, default, null, null, default, default, default, null) - { - } - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - [Experimental("OPENAI001")] - protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(StreamingResponseTextAnnotationAddedUpdate)} does not support writing '{format}' format."); - } - base.JsonModelWriteCore(writer, options); - if (_additionalBinaryDataProperties?.ContainsKey("item_id") != true) - { - writer.WritePropertyName("item_id"u8); - writer.WriteStringValue(ItemId); - } - if (_additionalBinaryDataProperties?.ContainsKey("output_index") != true) - { - writer.WritePropertyName("output_index"u8); - writer.WriteNumberValue(OutputIndex); - } - if (_additionalBinaryDataProperties?.ContainsKey("content_index") != true) - { - writer.WritePropertyName("content_index"u8); - writer.WriteNumberValue(ContentIndex); - } - if (_additionalBinaryDataProperties?.ContainsKey("annotation_index") != true) - { - writer.WritePropertyName("annotation_index"u8); - writer.WriteNumberValue(AnnotationIndex); - } - if (_additionalBinaryDataProperties?.ContainsKey("annotation") != true) - { - writer.WritePropertyName("annotation"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(Annotation); -#else - using (JsonDocument document = JsonDocument.Parse(Annotation)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - - StreamingResponseTextAnnotationAddedUpdate IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (StreamingResponseTextAnnotationAddedUpdate)JsonModelCreateCore(ref reader, options); - - [Experimental("OPENAI001")] - protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(StreamingResponseTextAnnotationAddedUpdate)} does not support reading '{format}' format."); - } - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeStreamingResponseTextAnnotationAddedUpdate(document.RootElement, options); - } - - internal static StreamingResponseTextAnnotationAddedUpdate DeserializeStreamingResponseTextAnnotationAddedUpdate(JsonElement element, ModelReaderWriterOptions options) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - InternalResponseStreamEventType kind = default; - int sequenceNumber = default; - IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); - string itemId = default; - int outputIndex = default; - int contentIndex = default; - int annotationIndex = default; - BinaryData annotation = default; - foreach (var prop in element.EnumerateObject()) - { - if (prop.NameEquals("type"u8)) - { - kind = new InternalResponseStreamEventType(prop.Value.GetString()); - continue; - } - if (prop.NameEquals("sequence_number"u8)) - { - sequenceNumber = prop.Value.GetInt32(); - continue; - } - if (prop.NameEquals("item_id"u8)) - { - itemId = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("output_index"u8)) - { - outputIndex = prop.Value.GetInt32(); - continue; - } - if (prop.NameEquals("content_index"u8)) - { - contentIndex = prop.Value.GetInt32(); - continue; - } - if (prop.NameEquals("annotation_index"u8)) - { - annotationIndex = prop.Value.GetInt32(); - continue; - } - if (prop.NameEquals("annotation"u8)) - { - annotation = BinaryData.FromString(prop.Value.GetRawText()); - continue; - } - // Plugin customization: remove options.Format != "W" check - additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); - } - return new StreamingResponseTextAnnotationAddedUpdate( - kind, - sequenceNumber, - additionalBinaryDataProperties, - itemId, - outputIndex, - contentIndex, - annotationIndex, - annotation); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); - - [Experimental("OPENAI001")] - protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) - { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options, OpenAIContext.Default); - default: - throw new FormatException($"The model {nameof(StreamingResponseTextAnnotationAddedUpdate)} does not support writing '{options.Format}' format."); - } - } - - StreamingResponseTextAnnotationAddedUpdate IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (StreamingResponseTextAnnotationAddedUpdate)PersistableModelCreateCore(data, options); - - [Experimental("OPENAI001")] - protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) - { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - switch (format) - { - case "J": - using (JsonDocument document = JsonDocument.Parse(data)) - { - return DeserializeStreamingResponseTextAnnotationAddedUpdate(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(StreamingResponseTextAnnotationAddedUpdate)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - } -} diff --git a/src/Generated/Models/StreamingResponseTextAnnotationAddedUpdate.cs b/src/Generated/Models/StreamingResponseTextAnnotationAddedUpdate.cs deleted file mode 100644 index 2847c735d..000000000 --- a/src/Generated/Models/StreamingResponseTextAnnotationAddedUpdate.cs +++ /dev/null @@ -1,40 +0,0 @@ -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace OpenAI.Responses -{ - public partial class StreamingResponseTextAnnotationAddedUpdate : StreamingResponseUpdate - { - internal StreamingResponseTextAnnotationAddedUpdate(int sequenceNumber, string itemId, int outputIndex, int contentIndex, int annotationIndex, BinaryData annotation) : base(InternalResponseStreamEventType.ResponseOutputTextAnnotationAdded, sequenceNumber) - { - ItemId = itemId; - OutputIndex = outputIndex; - ContentIndex = contentIndex; - AnnotationIndex = annotationIndex; - Annotation = annotation; - } - - internal StreamingResponseTextAnnotationAddedUpdate(InternalResponseStreamEventType kind, int sequenceNumber, IDictionary additionalBinaryDataProperties, string itemId, int outputIndex, int contentIndex, int annotationIndex, BinaryData annotation) : base(kind, sequenceNumber, additionalBinaryDataProperties) - { - ItemId = itemId; - OutputIndex = outputIndex; - ContentIndex = contentIndex; - AnnotationIndex = annotationIndex; - Annotation = annotation; - } - - public string ItemId { get; } - - public int OutputIndex { get; } - - public int ContentIndex { get; } - - public int AnnotationIndex { get; } - - public BinaryData Annotation { get; } - } -}