diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs index 84962ebd4..ae20b0086 100644 --- a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs @@ -158,1711 +158,1711 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.AllOf? Type33 { get; set; } + public global::System.Collections.Generic.Dictionary? Type33 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? Type34 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type34 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum? Type35 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? Type35 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatText? Type36 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum? Type36 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextType? Type37 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatText? Type37 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonObject? Type38 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextType? Type38 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonObjectType? Type39 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonObject? Type39 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchema? Type40 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonObjectType? Type40 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaType? Type41 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchema? Type41 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema? Type42 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaType? Type42 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEvent? Type43 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema? Type43 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorEvent? Type44 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEvent? Type44 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorEventEvent? Type45 { get; set; } + public global::tryAGI.OpenAI.ErrorEvent? Type45 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Error? Type46 { get; set; } + public global::tryAGI.OpenAI.ErrorEventEvent? Type46 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEvent? Type47 { get; set; } + public global::tryAGI.OpenAI.Error? Type47 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEventEvent? Type48 { get; set; } + public global::tryAGI.OpenAI.DoneEvent? Type48 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEventData? Type49 { get; set; } + public global::tryAGI.OpenAI.DoneEventEvent? Type49 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant3? Type50 { get; set; } + public global::tryAGI.OpenAI.DoneEventData? Type50 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant3Event? Type51 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant3? Type51 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObject? Type52 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant3Event? Type52 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectObject? Type53 { get; set; } + public global::tryAGI.OpenAI.ThreadObject? Type53 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResources? Type54 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectObject? Type54 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResourcesCodeInterpreter? Type55 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResources? Type55 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResourcesFileSearch? Type56 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResourcesCodeInterpreter? Type56 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant4? Type57 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResourcesFileSearch? Type57 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant4Event? Type58 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant4? Type58 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObject? Type59 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant4Event? Type59 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectObject? Type60 { get; set; } + public global::tryAGI.OpenAI.RunObject? Type60 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectStatus? Type61 { get; set; } + public global::tryAGI.OpenAI.RunObjectObject? Type61 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredAction? Type62 { get; set; } + public global::tryAGI.OpenAI.RunObjectStatus? Type62 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredActionType? Type63 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredAction? Type63 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs? Type64 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredActionType? Type64 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type65 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs? Type65 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObject? Type66 { get; set; } + public global::System.Collections.Generic.IList? Type66 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObjectType? Type67 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObject? Type67 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObjectFunction? Type68 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObjectType? Type68 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectLastError? Type69 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObjectFunction? Type69 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectLastErrorCode? Type70 { get; set; } + public global::tryAGI.OpenAI.RunObjectLastError? Type70 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectIncompleteDetails? Type71 { get; set; } + public global::tryAGI.OpenAI.RunObjectLastErrorCode? Type71 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectIncompleteDetailsReason? Type72 { get; set; } + public global::tryAGI.OpenAI.RunObjectIncompleteDetails? Type72 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type73 { get; set; } + public global::tryAGI.OpenAI.RunObjectIncompleteDetailsReason? Type73 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem8? Type74 { get; set; } + public global::System.Collections.Generic.IList? Type74 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectToolDiscriminator? Type75 { get; set; } + public global::tryAGI.OpenAI.ToolsItem8? Type75 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectToolDiscriminatorType? Type76 { get; set; } + public global::tryAGI.OpenAI.RunObjectToolDiscriminator? Type76 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunCompletionUsage? Type77 { get; set; } + public global::tryAGI.OpenAI.RunObjectToolDiscriminatorType? Type77 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type78 { get; set; } + public global::tryAGI.OpenAI.RunCompletionUsage? Type78 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationObject? Type79 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type79 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationObjectType? Type80 { get; set; } + public global::tryAGI.OpenAI.TruncationObject? Type80 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type81 { get; set; } + public global::tryAGI.OpenAI.TruncationObjectType? Type81 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? Type82 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type82 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum? Type83 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? Type83 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoice? Type84 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum? Type84 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoiceType? Type85 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoice? Type85 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoiceFunction? Type86 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoiceType? Type86 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant5? Type87 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoiceFunction? Type87 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant5Event? Type88 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant5? Type88 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant6? Type89 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant5Event? Type89 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant6Event? Type90 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant6? Type90 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant7? Type91 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant6Event? Type91 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant7Event? Type92 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant7? Type92 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant8? Type93 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant7Event? Type93 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant8Event? Type94 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant8? Type94 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant9? Type95 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant8Event? Type95 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant9Event? Type96 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant9? Type96 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant10? Type97 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant9Event? Type97 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant10Event? Type98 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant10? Type98 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant11? Type99 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant10Event? Type99 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant11Event? Type100 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant11? Type100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant12? Type101 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant11Event? Type101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant12Event? Type102 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant12? Type102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant13? Type103 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant12Event? Type103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant13Event? Type104 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant13? Type104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant14? Type105 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant13Event? Type105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant14Event? Type106 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant14? Type106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObject? Type107 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant14Event? Type107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectObject? Type108 { get; set; } + public global::tryAGI.OpenAI.RunStepObject? Type108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectType? Type109 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectObject? Type109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStatus? Type110 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectType? Type110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStepDetails? Type111 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStatus? Type111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObject? Type112 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStepDetails? Type112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType? Type113 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObject? Type113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation? Type114 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType? Type114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObject? Type115 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation? Type115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType? Type116 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObject? Type116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type117 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType? Type117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolCallsItem2? Type118 { get; set; } + public global::System.Collections.Generic.IList? Type118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObject? Type119 { get; set; } + public global::tryAGI.OpenAI.ToolCallsItem2? Type119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType? Type120 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObject? Type120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreter? Type121 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType? Type121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type122 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreter? Type122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutput? Type123 { get; set; } + public global::System.Collections.Generic.IList? Type123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObject? Type124 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutput? Type124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType? Type125 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObject? Type125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObject? Type126 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType? Type126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType? Type127 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObject? Type127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage? Type128 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType? Type128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminator? Type129 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage? Type129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminatorType? Type130 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminator? Type130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObject? Type131 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminatorType? Type131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType? Type132 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObject? Type132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectFileSearch? Type133 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType? Type133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObject? Type134 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectFileSearch? Type134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObjectRanker? Type135 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObject? Type135 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type136 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObjectRanker? Type136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObject? Type137 { get; set; } + public global::System.Collections.Generic.IList? Type137 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type138 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObject? Type138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItem? Type139 { get; set; } + public global::System.Collections.Generic.IList? Type139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItemType? Type140 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItem? Type140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObject? Type141 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItemType? Type141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType? Type142 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObject? Type142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectFunction? Type143 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType? Type143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectToolCallDiscriminator? Type144 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectFunction? Type144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectToolCallDiscriminatorType? Type145 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectToolCallDiscriminator? Type145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStepDetailsDiscriminator? Type146 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectToolCallDiscriminatorType? Type146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStepDetailsDiscriminatorType? Type147 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStepDetailsDiscriminator? Type147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectLastError? Type148 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStepDetailsDiscriminatorType? Type148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectLastErrorCode? Type149 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectLastError? Type149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepCompletionUsage? Type150 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectLastErrorCode? Type150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant15? Type151 { get; set; } + public global::tryAGI.OpenAI.RunStepCompletionUsage? Type151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant15Event? Type152 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant15? Type152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant16? Type153 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant15Event? Type153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant16Event? Type154 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant16? Type154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObject? Type155 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant16Event? Type155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectObject? Type156 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObject? Type156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDelta? Type157 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectObject? Type157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetails? Type158 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDelta? Type158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObject? Type159 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetails? Type159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectType? Type160 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObject? Type160 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectMessageCreation? Type161 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectType? Type161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObject? Type162 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectMessageCreation? Type162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectType? Type163 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObject? Type163 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type164 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectType? Type164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolCallsItem? Type165 { get; set; } + public global::System.Collections.Generic.IList? Type165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject? Type166 { get; set; } + public global::tryAGI.OpenAI.ToolCallsItem? Type166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectType? Type167 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject? Type167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? Type168 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectType? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? Type169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutput? Type170 { get; set; } + public global::System.Collections.Generic.IList? Type170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject? Type171 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutput? Type171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObjectType? Type172 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject? Type172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject? Type173 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObjectType? Type173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectType? Type174 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject? Type174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage? Type175 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectType? Type175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminator? Type176 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage? Type176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminatorType? Type177 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminator? Type177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject? Type178 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminatorType? Type178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType? Type179 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject? Type179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject? Type180 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType? Type180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectType? Type181 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject? Type181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectFunction? Type182 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectType? Type182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallDiscriminator? Type183 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectFunction? Type183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallDiscriminatorType? Type184 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallDiscriminator? Type184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetailsDiscriminator? Type185 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallDiscriminatorType? Type185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetailsDiscriminatorType? Type186 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetailsDiscriminator? Type186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant17? Type187 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetailsDiscriminatorType? Type187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant17Event? Type188 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant17? Type188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant18? Type189 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant17Event? Type189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant18Event? Type190 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant18? Type190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant19? Type191 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant18Event? Type191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant19Event? Type192 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant19? Type192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant20? Type193 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant19Event? Type193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant20Event? Type194 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant20? Type194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant21? Type195 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant20Event? Type195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant21Event? Type196 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant21? Type196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObject? Type197 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant21Event? Type197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectObject? Type198 { get; set; } + public global::tryAGI.OpenAI.MessageObject? Type198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectStatus? Type199 { get; set; } + public global::tryAGI.OpenAI.MessageObjectObject? Type199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectIncompleteDetails? Type200 { get; set; } + public global::tryAGI.OpenAI.MessageObjectStatus? Type200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectIncompleteDetailsReason? Type201 { get; set; } + public global::tryAGI.OpenAI.MessageObjectIncompleteDetails? Type201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectRole? Type202 { get; set; } + public global::tryAGI.OpenAI.MessageObjectIncompleteDetailsReason? Type202 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type203 { get; set; } + public global::tryAGI.OpenAI.MessageObjectRole? Type203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem2? Type204 { get; set; } + public global::System.Collections.Generic.IList? Type204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObject? Type205 { get; set; } + public global::tryAGI.OpenAI.ContentItem2? Type205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectType? Type206 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObject? Type206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile? Type207 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectType? Type207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFileDetail? Type208 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile? Type208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObject? Type209 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFileDetail? Type209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectType? Type210 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObject? Type210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl? Type211 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectType? Type211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrlDetail? Type212 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl? Type212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObject? Type213 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrlDetail? Type213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectType? Type214 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObject? Type214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectText? Type215 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectType? Type215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type216 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectText? Type216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem? Type217 { get; set; } + public global::System.Collections.Generic.IList? Type217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObject? Type218 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem? Type218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType? Type219 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObject? Type219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectFileCitation? Type220 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType? Type220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObject? Type221 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectFileCitation? Type221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType? Type222 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObject? Type222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectFilePath? Type223 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType? Type223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectTextAnnotationDiscriminator? Type224 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectFilePath? Type224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectTextAnnotationDiscriminatorType? Type225 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectTextAnnotationDiscriminator? Type225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentRefusalObject? Type226 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectTextAnnotationDiscriminatorType? Type226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentRefusalObjectType? Type227 { get; set; } + public global::tryAGI.OpenAI.MessageContentRefusalObject? Type227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectContentItemDiscriminator? Type228 { get; set; } + public global::tryAGI.OpenAI.MessageContentRefusalObjectType? Type228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectContentItemDiscriminatorType? Type229 { get; set; } + public global::tryAGI.OpenAI.MessageObjectContentItemDiscriminator? Type229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type230 { get; set; } + public global::tryAGI.OpenAI.MessageObjectContentItemDiscriminatorType? Type230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectAttachment? Type231 { get; set; } + public global::System.Collections.Generic.IList? Type231 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type232 { get; set; } + public global::tryAGI.OpenAI.MessageObjectAttachment? Type232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem6? Type233 { get; set; } + public global::System.Collections.Generic.IList? Type233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnly? Type234 { get; set; } + public global::tryAGI.OpenAI.ToolsItem6? Type234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType? Type235 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnly? Type235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectAttachmentToolDiscriminator? Type236 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType? Type236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectAttachmentToolDiscriminatorType? Type237 { get; set; } + public global::tryAGI.OpenAI.MessageObjectAttachmentToolDiscriminator? Type237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant22? Type238 { get; set; } + public global::tryAGI.OpenAI.MessageObjectAttachmentToolDiscriminatorType? Type238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant22Event? Type239 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant22? Type239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant23? Type240 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant22Event? Type240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant23Event? Type241 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant23? Type241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObject? Type242 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant23Event? Type242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectObject? Type243 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObject? Type243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDelta? Type244 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectObject? Type244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDeltaRole? Type245 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDelta? Type245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type246 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDeltaRole? Type246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem? Type247 { get; set; } + public global::System.Collections.Generic.IList? Type247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObject? Type248 { get; set; } + public global::tryAGI.OpenAI.ContentItem? Type248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectType? Type249 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObject? Type249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFile? Type250 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectType? Type250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFileDetail? Type251 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFile? Type251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObject? Type252 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFileDetail? Type252 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectType? Type253 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObject? Type253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectText? Type254 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectType? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectText? Type255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem2? Type256 { get; set; } + public global::System.Collections.Generic.IList? Type256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject? Type257 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem2? Type257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectType? Type258 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject? Type258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation? Type259 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectType? Type259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObject? Type260 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation? Type260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectType? Type261 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObject? Type261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectFilePath? Type262 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectType? Type262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectTextAnnotationDiscriminator? Type263 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectFilePath? Type263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectTextAnnotationDiscriminatorType? Type264 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectTextAnnotationDiscriminator? Type264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentRefusalObject? Type265 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectTextAnnotationDiscriminatorType? Type265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentRefusalObjectType? Type266 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentRefusalObject? Type266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObject? Type267 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentRefusalObjectType? Type267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectType? Type268 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObject? Type268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrl? Type269 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectType? Type269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrlDetail? Type270 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrl? Type270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDeltaContentItemDiscriminator? Type271 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrlDetail? Type271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDeltaContentItemDiscriminatorType? Type272 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDeltaContentItemDiscriminator? Type272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant24? Type273 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDeltaContentItemDiscriminatorType? Type273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant24Event? Type274 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant24? Type274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant25? Type275 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant24Event? Type275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant25Event? Type276 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant25? Type276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventDiscriminator? Type277 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant25Event? Type277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventDiscriminatorEvent? Type278 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventDiscriminator? Type278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AudioResponseFormat? Type279 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventDiscriminatorEvent? Type279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLog? Type280 { get; set; } + public global::tryAGI.OpenAI.AudioResponseFormat? Type280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogEventType? Type281 { get; set; } + public global::tryAGI.OpenAI.AuditLog? Type281 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProject? Type282 { get; set; } + public global::tryAGI.OpenAI.AuditLogEventType? Type282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActor? Type283 { get; set; } + public global::tryAGI.OpenAI.AuditLogProject? Type283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorType? Type284 { get; set; } + public global::tryAGI.OpenAI.AuditLogActor? Type284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorSession? Type285 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorType? Type285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorUser? Type286 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorSession? Type286 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorApiKey? Type287 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorUser? Type287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type288 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorApiKey? Type288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type289 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyCreated? Type290 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyCreatedData? Type291 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyCreated? Type291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyUpdated? Type292 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyCreatedData? Type292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyUpdatedChangesRequested? Type293 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyUpdated? Type293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyDeleted? Type294 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyUpdatedChangesRequested? Type294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteSent? Type295 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyDeleted? Type295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteSentData? Type296 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteSent? Type296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteAccepted? Type297 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteSentData? Type297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteDeleted? Type298 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteAccepted? Type298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogLoginFailed? Type299 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteDeleted? Type299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogLogoutFailed? Type300 { get; set; } + public global::tryAGI.OpenAI.AuditLogLoginFailed? Type300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogOrganizationUpdated? Type301 { get; set; } + public global::tryAGI.OpenAI.AuditLogLogoutFailed? Type301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequested? Type302 { get; set; } + public global::tryAGI.OpenAI.AuditLogOrganizationUpdated? Type302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequestedSettings? Type303 { get; set; } + public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequested? Type303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectCreated? Type304 { get; set; } + public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequestedSettings? Type304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectCreatedData? Type305 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectCreated? Type305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectUpdated? Type306 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectCreatedData? Type306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectUpdatedChangesRequested? Type307 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectUpdated? Type307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectArchived? Type308 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectUpdatedChangesRequested? Type308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitUpdated? Type309 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectArchived? Type309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type310 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitUpdated? Type310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitDeleted? Type311 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountCreated? Type312 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitDeleted? Type312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountCreatedData? Type313 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountCreated? Type313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountUpdated? Type314 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountCreatedData? Type314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type315 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountUpdated? Type315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountDeleted? Type316 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserAdded? Type317 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountDeleted? Type317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserAddedData? Type318 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserAdded? Type318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserUpdated? Type319 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserAddedData? Type319 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type320 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserUpdated? Type320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserDeleted? Type321 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type322 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserDeleted? Type322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type323 { get; set; } + public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Batch? Type324 { get; set; } + public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchObject? Type325 { get; set; } + public global::tryAGI.OpenAI.Batch? Type325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchErrors? Type326 { get; set; } + public global::tryAGI.OpenAI.BatchObject? Type326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type327 { get; set; } + public global::tryAGI.OpenAI.BatchErrors? Type327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchErrorsDataItem? Type328 { get; set; } + public global::System.Collections.Generic.IList? Type328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchStatus? Type329 { get; set; } + public global::tryAGI.OpenAI.BatchErrorsDataItem? Type329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestCounts? Type330 { get; set; } + public global::tryAGI.OpenAI.BatchStatus? Type330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestInput? Type331 { get; set; } + public global::tryAGI.OpenAI.BatchRequestCounts? Type331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestInputMethod? Type332 { get; set; } + public global::tryAGI.OpenAI.BatchRequestInput? Type332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestOutput? Type333 { get; set; } + public global::tryAGI.OpenAI.BatchRequestInputMethod? Type333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestOutputResponse? Type334 { get; set; } + public global::tryAGI.OpenAI.BatchRequestOutput? Type334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestOutputError? Type335 { get; set; } + public global::tryAGI.OpenAI.BatchRequestOutputResponse? Type335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CancelUploadRequest? Type336 { get; set; } + public global::tryAGI.OpenAI.BatchRequestOutputError? Type336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionFunctionCallOption? Type337 { get; set; } + public global::tryAGI.OpenAI.CancelUploadRequest? Type337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionFunctions? Type338 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionFunctionCallOption? Type338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCall? Type339 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionFunctions? Type339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallType? Type340 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCall? Type340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallFunction? Type341 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallType? Type341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunk? Type342 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallFunction? Type342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkType? Type343 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunk? Type343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkFunction? Type344 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkType? Type344 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type345 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkFunction? Type345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type346 { get; set; } + public global::System.Collections.Generic.IList? Type346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionModalitie? Type347 { get; set; } + public global::System.Collections.Generic.IList? Type347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoice? Type348 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionModalitie? Type348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType? Type349 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoice? Type349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceFunction? Type350 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType? Type350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessage? Type351 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceFunction? Type351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type352 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessage? Type352 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type353 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPart? Type354 { get; set; } + public global::System.Collections.Generic.IList? Type354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartText? Type355 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPart? Type355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartTextType? Type356 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartText? Type356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusal? Type357 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartTextType? Type357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusalType? Type358 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusal? Type358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminator? Type359 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusalType? Type359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminatorType? Type360 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminator? Type360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageRole? Type361 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminatorType? Type361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageAudio? Type362 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageRole? Type362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageFunctionCall? Type363 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageAudio? Type363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessage? Type364 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageFunctionCall? Type364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type365 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessage? Type365 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type366 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessageRole? Type367 { get; set; } + public global::System.Collections.Generic.IList? Type367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessage? Type368 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessageRole? Type368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessageRole? Type369 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessage? Type369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessage? Type370 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessageRole? Type370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessage? Type371 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessage? Type371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type372 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessage? Type372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type373 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageContentPart? Type374 { get; set; } + public global::System.Collections.Generic.IList? Type374 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageRole? Type375 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageContentPart? Type375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessage? Type376 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageRole? Type376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type377 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessage? Type377 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type378 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPart? Type379 { get; set; } + public global::System.Collections.Generic.IList? Type379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImage? Type380 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPart? Type380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageType? Type381 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImage? Type381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl? Type382 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageType? Type382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrlDetail? Type383 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl? Type383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudio? Type384 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrlDetail? Type384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioType? Type385 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudio? Type385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio? Type386 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioType? Type386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudioFormat? Type387 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio? Type387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminator? Type388 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudioFormat? Type388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminatorType? Type389 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminator? Type389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageRole? Type390 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminatorType? Type390 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessage? Type391 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageRole? Type391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageRole? Type392 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessage? Type392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type393 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageRole? Type393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type394 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageContentPart? Type395 { get; set; } + public global::System.Collections.Generic.IList? Type395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminator? Type396 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageContentPart? Type396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminatorRole? Type397 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminator? Type397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessage? Type398 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminatorRole? Type398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageRole? Type399 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessage? Type399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageFunctionCall? Type400 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageRole? Type400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageAudio? Type401 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageFunctionCall? Type401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRole? Type402 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageAudio? Type402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamOptions? Type403 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRole? Type403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDelta? Type404 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamOptions? Type404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaFunctionCall? Type405 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDelta? Type405 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type406 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaFunctionCall? Type406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaRole? Type407 { get; set; } + public global::System.Collections.Generic.IList? Type407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTokenLogprob? Type408 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaRole? Type408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type409 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTokenLogprob? Type409 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type410 { get; set; } + public global::System.Collections.Generic.IList? Type410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTokenLogprobTopLogprob? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTool? Type412 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTokenLogprobTopLogprob? Type412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolType? Type413 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTool? Type413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolChoiceOption? Type414 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolType? Type414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolChoiceOptionEnum? Type415 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolChoiceOption? Type415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParam? Type416 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolChoiceOptionEnum? Type416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParam? Type417 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParam? Type417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType? Type418 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParam? Type418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategy? Type419 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType? Type419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminator? Type420 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategy? Type420 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminatorType? Type421 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminator? Type421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompleteUploadRequest? Type422 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminatorType? Type422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsage? Type423 { get; set; } + public global::tryAGI.OpenAI.CompleteUploadRequest? Type423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsageCompletionTokensDetails? Type424 { get; set; } + public global::tryAGI.OpenAI.CompletionUsage? Type424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsagePromptTokensDetails? Type425 { get; set; } + public global::tryAGI.OpenAI.CompletionUsageCompletionTokensDetails? Type425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResult? Type426 { get; set; } + public global::tryAGI.OpenAI.CompletionUsagePromptTokensDetails? Type426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResultObject? Type427 { get; set; } + public global::tryAGI.OpenAI.CostsResult? Type427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResultAmount? Type428 { get; set; } + public global::tryAGI.OpenAI.CostsResultObject? Type428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequest? Type429 { get; set; } + public global::tryAGI.OpenAI.CostsResultAmount? Type429 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type430 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequest? Type430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestModel? Type431 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type432 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestModel? Type432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem2? Type433 { get; set; } + public global::System.Collections.Generic.IList? Type433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolDiscriminator? Type434 { get; set; } + public global::tryAGI.OpenAI.ToolsItem2? Type434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolDiscriminatorType? Type435 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolDiscriminator? Type435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResources? Type436 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolDiscriminatorType? Type436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type437 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResources? Type437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type438 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type439 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type441 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type442 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type443 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type444 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type445 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type446 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type447 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type448 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponse? Type449 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type450 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponse? Type450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseChoice? Type451 { get; set; } + public global::System.Collections.Generic.IList? Type451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseChoiceFinishReason? Type452 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseChoice? Type452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseObject? Type453 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseChoiceFinishReason? Type453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequest? Type454 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseObject? Type454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type455 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequest? Type455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestModel? Type457 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestReasoningEffort? Type458 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestModel? Type458 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type459 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestReasoningEffort? Type459 { get; set; } /// /// /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs index e2afa2842..270739b90 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs @@ -181,7 +181,11 @@ partial void ProcessCreateAssistantResponseContent( /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -205,7 +209,7 @@ partial void ProcessCreateAssistantResponseContent( string? instructions = default, global::System.Collections.Generic.IList? tools = default, global::tryAGI.OpenAI.CreateAssistantRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, double? temperature = default, double? topP = default, global::tryAGI.OpenAI.AllOf? responseFormat = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateMessage.g.cs index 36e270270..9af4adfae 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateMessage.g.cs @@ -178,7 +178,11 @@ partial void ProcessCreateMessageResponseContent( /// A list of files attached to the message, and the tools they should be added to. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -188,7 +192,7 @@ partial void ProcessCreateMessageResponseContent( global::tryAGI.OpenAI.CreateMessageRequestRole role, global::tryAGI.OpenAI.OneOf> content, global::System.Collections.Generic.IList? attachments = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.CreateMessageRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs index 18123169e..66ec67b56 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs @@ -195,7 +195,11 @@ partial void ProcessCreateRunResponseContent( /// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -235,7 +239,7 @@ partial void ProcessCreateRunResponseContent( string? additionalInstructions = default, global::System.Collections.Generic.IList? additionalMessages = default, global::System.Collections.Generic.IList? tools = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, double? temperature = default, double? topP = default, bool? stream = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThread.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThread.g.cs index d796a65e5..39b711316 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThread.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThread.g.cs @@ -168,7 +168,11 @@ partial void ProcessCreateThreadResponseContent( /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -176,7 +180,7 @@ partial void ProcessCreateThreadResponseContent( public async global::System.Threading.Tasks.Task CreateThreadAsync( global::System.Collections.Generic.IList? messages = default, global::tryAGI.OpenAI.CreateThreadRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.CreateThreadRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs index 1e27ba518..0f13886b9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs @@ -182,7 +182,11 @@ partial void ProcessCreateThreadAndRunResponseContent( /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -220,7 +224,7 @@ partial void ProcessCreateThreadAndRunResponseContent( string? instructions = default, global::System.Collections.Generic.IList? tools = default, global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, double? temperature = default, double? topP = default, bool? stream = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs index 356c5d5ab..4e980a519 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs @@ -187,7 +187,11 @@ partial void ProcessModifyAssistantResponseContent( /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -212,7 +216,7 @@ partial void ProcessModifyAssistantResponseContent( string? instructions = default, global::System.Collections.Generic.IList? tools = default, global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, double? temperature = default, double? topP = default, global::tryAGI.OpenAI.AllOf? responseFormat = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyMessage.g.cs index 4e0b8421c..e9d6724d0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyMessage.g.cs @@ -176,7 +176,11 @@ partial void ProcessModifyMessageResponseContent( /// /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -184,7 +188,7 @@ partial void ProcessModifyMessageResponseContent( public async global::System.Threading.Tasks.Task ModifyMessageAsync( string threadId, string messageId, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.ModifyMessageRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyRun.g.cs index 01581fdd6..1983cf1ed 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyRun.g.cs @@ -176,7 +176,11 @@ partial void ProcessModifyRunResponseContent( /// /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -184,7 +188,7 @@ partial void ProcessModifyRunResponseContent( public async global::System.Threading.Tasks.Task ModifyRunAsync( string threadId, string runId, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.ModifyRunRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyThread.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyThread.g.cs index e7377d65a..3c1dc6ab0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyThread.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyThread.g.cs @@ -172,7 +172,11 @@ partial void ProcessModifyThreadResponseContent( /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -180,7 +184,7 @@ partial void ProcessModifyThreadResponseContent( public async global::System.Threading.Tasks.Task ModifyThreadAsync( string threadId, global::tryAGI.OpenAI.ModifyThreadRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.ModifyThreadRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.CreateTranscription.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.CreateTranscription.g.cs index 7708a4a77..da6e58ace 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.CreateTranscription.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.CreateTranscription.g.cs @@ -204,7 +204,7 @@ partial void ProcessCreateTranscriptionResponseContent( /// Example: whisper-1 /// /// - /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency. + /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format will improve accuracy and latency. /// /// /// An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should match the audio language. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.BatchClient.CreateBatch.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.BatchClient.CreateBatch.g.cs index 6744ed56a..31e52dd4b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.BatchClient.CreateBatch.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.BatchClient.CreateBatch.g.cs @@ -172,7 +172,11 @@ partial void ProcessCreateBatchResponseContent( /// The time frame within which the batch should be processed. Currently only `24h` is supported. /// /// - /// Optional custom metadata for the batch. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.CreateChatCompletion.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.CreateChatCompletion.g.cs index 13a9146ee..147c4b975 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.CreateChatCompletion.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.CreateChatCompletion.g.cs @@ -200,8 +200,11 @@ partial void ProcessCreateChatCompletionResponseContent( /// Default Value: medium /// /// - /// Developer-defined tags and values used for filtering completions
- /// in the [dashboard](https://platform.openai.com/chat-completions). + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// Number between -2.0 and 2.0. Positive values penalize new tokens based on
@@ -286,8 +289,8 @@ partial void ProcessCreateChatCompletionResponseContent( /// /// Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:
/// - If set to 'auto', and the Project is Scale tier enabled, the system will utilize scale tier credits until they are exhausted.
- /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
- /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
+ /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
+ /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
/// - When not set, the default behavior is 'auto'.
/// Default Value: auto /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateAssistant.g.cs index 84d9d6f12..4a5608014 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateAssistant.g.cs @@ -38,7 +38,11 @@ public partial interface IAssistantsClient /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -62,7 +66,7 @@ public partial interface IAssistantsClient string? instructions = default, global::System.Collections.Generic.IList? tools = default, global::tryAGI.OpenAI.CreateAssistantRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, double? temperature = default, double? topP = default, global::tryAGI.OpenAI.AllOf? responseFormat = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateMessage.g.cs index 115fef3da..0856414b0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateMessage.g.cs @@ -31,7 +31,11 @@ public partial interface IAssistantsClient /// A list of files attached to the message, and the tools they should be added to. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -41,7 +45,7 @@ public partial interface IAssistantsClient global::tryAGI.OpenAI.CreateMessageRequestRole role, global::tryAGI.OpenAI.OneOf> content, global::System.Collections.Generic.IList? attachments = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateRun.g.cs index daacb8e96..697eb6dbf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateRun.g.cs @@ -44,7 +44,11 @@ public partial interface IAssistantsClient /// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -84,7 +88,7 @@ public partial interface IAssistantsClient string? additionalInstructions = default, global::System.Collections.Generic.IList? additionalMessages = default, global::System.Collections.Generic.IList? tools = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, double? temperature = default, double? topP = default, bool? stream = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThread.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThread.g.cs index ca9202efb..3c2b660dd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThread.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThread.g.cs @@ -25,7 +25,11 @@ public partial interface IAssistantsClient /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -33,7 +37,7 @@ public partial interface IAssistantsClient global::System.Threading.Tasks.Task CreateThreadAsync( global::System.Collections.Generic.IList? messages = default, global::tryAGI.OpenAI.CreateThreadRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThreadAndRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThreadAndRun.g.cs index 8e1c11b4d..e3bc65d98 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThreadAndRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThreadAndRun.g.cs @@ -39,7 +39,11 @@ public partial interface IAssistantsClient /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -77,7 +81,7 @@ public partial interface IAssistantsClient string? instructions = default, global::System.Collections.Generic.IList? tools = default, global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, double? temperature = default, double? topP = default, bool? stream = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyAssistant.g.cs index 04703abac..d56ebcb2a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyAssistant.g.cs @@ -40,7 +40,11 @@ public partial interface IAssistantsClient /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -65,7 +69,7 @@ public partial interface IAssistantsClient string? instructions = default, global::System.Collections.Generic.IList? tools = default, global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, double? temperature = default, double? topP = default, global::tryAGI.OpenAI.AllOf? responseFormat = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyMessage.g.cs index 6b9f268cb..3e7de7d38 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyMessage.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyMessage.g.cs @@ -25,7 +25,11 @@ public partial interface IAssistantsClient /// /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -33,7 +37,7 @@ public partial interface IAssistantsClient global::System.Threading.Tasks.Task ModifyMessageAsync( string threadId, string messageId, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyRun.g.cs index 43fa6a0f8..0c6ab426b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyRun.g.cs @@ -25,7 +25,11 @@ public partial interface IAssistantsClient /// /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -33,7 +37,7 @@ public partial interface IAssistantsClient global::System.Threading.Tasks.Task ModifyRunAsync( string threadId, string runId, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyThread.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyThread.g.cs index ea6b6567c..87d9666aa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyThread.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyThread.g.cs @@ -25,7 +25,11 @@ public partial interface IAssistantsClient /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -33,7 +37,7 @@ public partial interface IAssistantsClient global::System.Threading.Tasks.Task ModifyThreadAsync( string threadId, global::tryAGI.OpenAI.ModifyThreadRequestToolResources? toolResources = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAudioClient.CreateTranscription.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAudioClient.CreateTranscription.g.cs index fb5c2be92..8e7e9b997 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAudioClient.CreateTranscription.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAudioClient.CreateTranscription.g.cs @@ -28,7 +28,7 @@ public partial interface IAudioClient /// Example: whisper-1 /// /// - /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency. + /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format will improve accuracy and latency. /// /// /// An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should match the audio language. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IBatchClient.CreateBatch.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IBatchClient.CreateBatch.g.cs index 69e5b5cda..fcd57c7f8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IBatchClient.CreateBatch.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IBatchClient.CreateBatch.g.cs @@ -29,7 +29,11 @@ public partial interface IBatchClient /// The time frame within which the batch should be processed. Currently only `24h` is supported. /// /// - /// Optional custom metadata for the batch. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IChatClient.CreateChatCompletion.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IChatClient.CreateChatCompletion.g.cs index f385b9e39..909cd54c0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IChatClient.CreateChatCompletion.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IChatClient.CreateChatCompletion.g.cs @@ -57,8 +57,11 @@ public partial interface IChatClient /// Default Value: medium /// /// - /// Developer-defined tags and values used for filtering completions
- /// in the [dashboard](https://platform.openai.com/chat-completions). + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// Number between -2.0 and 2.0. Positive values penalize new tokens based on
@@ -143,8 +146,8 @@ public partial interface IChatClient /// /// Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:
/// - If set to 'auto', and the Project is Scale tier enabled, the system will utilize scale tier credits until they are exhausted.
- /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
- /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
+ /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
+ /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
/// - When not set, the default behavior is 'auto'.
/// Default Value: auto /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRealtimeClient.CreateRealtimeSession.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRealtimeClient.CreateRealtimeSession.g.cs index e4bf0fb2a..2be669301 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRealtimeClient.CreateRealtimeSession.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IRealtimeClient.CreateRealtimeSession.g.cs @@ -63,11 +63,7 @@ public partial interface IRealtimeClient /// For `pcm16`, output audio is sampled at a rate of 24kHz. /// /// - /// Configuration for input audio transcription, defaults to off and can be
- /// set to `null` to turn off once on. Input audio transcription is not native
- /// to the model, since the model consumes audio directly. Transcription runs
- /// asynchronously through Whisper and should be treated as rough guidance
- /// rather than the representation understood by the model. + /// Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [OpenAI Whisper transcription](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as rough guidance rather than the representation understood by the model. The client can optionally set the language and prompt for transcription, these fields will be passed to the Whisper API. /// /// /// Configuration for turn detection. Can be set to `null` to turn off. Server
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsersClient.ListUsers.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsersClient.ListUsers.g.cs index 623086039..f328f776f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsersClient.ListUsers.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IUsersClient.ListUsers.g.cs @@ -11,11 +11,13 @@ public partial interface IUsersClient /// Default Value: 20 /// /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListUsersAsync( int? limit = default, string? after = default, + global::System.Collections.Generic.IList? emails = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.CreateVectorStore.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.CreateVectorStore.g.cs index 34dbed139..c35849f6f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.CreateVectorStore.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.CreateVectorStore.g.cs @@ -31,7 +31,11 @@ public partial interface IVectorStoresClient /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -41,7 +45,7 @@ public partial interface IVectorStoresClient string? name = default, global::tryAGI.OpenAI.VectorStoreExpirationAfter? expiresAfter = default, global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategy? chunkingStrategy = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.ModifyVectorStore.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.ModifyVectorStore.g.cs index 330802aa7..48ba31415 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.ModifyVectorStore.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.ModifyVectorStore.g.cs @@ -26,7 +26,11 @@ public partial interface IVectorStoresClient /// /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -35,7 +39,7 @@ public partial interface IVectorStoresClient string vectorStoreId, string? name = default, global::tryAGI.OpenAI.AllOf? expiresAfter = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs index 581292f4c..cbf2013a4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs @@ -74,11 +74,15 @@ public sealed partial class AssistantObject public global::tryAGI.OpenAI.AssistantObjectToolResources? ToolResources { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Metadata { get; set; } + public required global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -143,7 +147,11 @@ public sealed partial class AssistantObject /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -166,7 +174,7 @@ public AssistantObject( string model, string? instructions, global::System.Collections.Generic.IList tools, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.AssistantObjectObject @object, global::tryAGI.OpenAI.AssistantObjectToolResources? toolResources, double? temperature, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectMetadata.Json.g.cs deleted file mode 100644 index 56e1343e4..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class AssistantObjectMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.AssistantObjectMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.AssistantObjectMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.AssistantObjectMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.AssistantObjectMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.AssistantObjectMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.AssistantObjectMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectMetadata.g.cs deleted file mode 100644 index cac0e6e24..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class AssistantObjectMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs index e2c5906f1..350041e54 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs @@ -140,10 +140,14 @@ public sealed partial class Batch public global::tryAGI.OpenAI.BatchRequestCounts? RequestCounts { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -208,7 +212,11 @@ public sealed partial class Batch /// The request counts for different statuses within the batch. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public Batch( @@ -231,7 +239,7 @@ public Batch( global::System.DateTimeOffset? cancellingAt, global::System.DateTimeOffset? cancelledAt, global::tryAGI.OpenAI.BatchRequestCounts? requestCounts, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Endpoint = endpoint ?? throw new global::System.ArgumentNullException(nameof(endpoint)); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchMetadata.g.cs deleted file mode 100644 index 264b7ad06..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class BatchMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequest.g.cs index c6fe58655..043f6af5e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequest.g.cs @@ -51,10 +51,14 @@ public sealed partial class CreateAssistantRequest public global::tryAGI.OpenAI.CreateAssistantRequestToolResources? ToolResources { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -111,7 +115,11 @@ public sealed partial class CreateAssistantRequest /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -133,7 +141,7 @@ public CreateAssistantRequest( string? instructions, global::System.Collections.Generic.IList? tools, global::tryAGI.OpenAI.CreateAssistantRequestToolResources? toolResources, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, double? temperature, double? topP, global::tryAGI.OpenAI.AllOf? responseFormat) diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestMetadata.Json.g.cs deleted file mode 100644 index f703da70b..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateAssistantRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateAssistantRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateAssistantRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateAssistantRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateAssistantRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateAssistantRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateAssistantRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestMetadata.g.cs deleted file mode 100644 index 0c3b633ac..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class CreateAssistantRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStore.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStore.g.cs index 19e4987c1..1aaf57319 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStore.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStore.g.cs @@ -22,10 +22,14 @@ public sealed partial class CreateAssistantRequestToolResourcesFileSearchVectorS public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategy? ChunkingStrategy { get; set; } /// - /// Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -43,13 +47,17 @@ public sealed partial class CreateAssistantRequestToolResourcesFileSearchVectorS /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. /// /// - /// Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateAssistantRequestToolResourcesFileSearchVectorStore( global::System.Collections.Generic.IList? fileIds, global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategy? chunkingStrategy, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.FileIds = fileIds; this.ChunkingStrategy = chunkingStrategy; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata.Json.g.cs deleted file mode 100644 index 35d739783..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata.g.cs deleted file mode 100644 index 4ccf2dccb..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class CreateAssistantRequestToolResourcesFileSearchVectorStoreMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequest.g.cs index 4f9946c56..eba67d90a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequest.g.cs @@ -33,7 +33,11 @@ public sealed partial class CreateBatchRequest public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow CompletionWindow { get; set; } /// - /// Optional custom metadata for the batch. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] public global::System.Collections.Generic.Dictionary? Metadata { get; set; } @@ -59,7 +63,11 @@ public sealed partial class CreateBatchRequest /// The time frame within which the batch should be processed. Currently only `24h` is supported. /// /// - /// Optional custom metadata for the batch. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateBatchRequest( diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestMetadata.Json.g.cs deleted file mode 100644 index 58f13ae0f..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateBatchRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateBatchRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateBatchRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateBatchRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateBatchRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateBatchRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateBatchRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestMetadata.g.cs deleted file mode 100644 index ed5edb23c..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Optional custom metadata for the batch. - /// - public sealed partial class CreateBatchRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequest.g.cs index e130dc948..ad745b6ab 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequest.g.cs @@ -53,8 +53,11 @@ public sealed partial class CreateChatCompletionRequest public global::tryAGI.OpenAI.CreateChatCompletionRequestReasoningEffort? ReasoningEffort { get; set; } /// - /// Developer-defined tags and values used for filtering completions
- /// in the [dashboard](https://platform.openai.com/chat-completions). + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] public global::System.Collections.Generic.Dictionary? Metadata { get; set; } @@ -191,8 +194,8 @@ public sealed partial class CreateChatCompletionRequest /// /// Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:
/// - If set to 'auto', and the Project is Scale tier enabled, the system will utilize scale tier credits until they are exhausted.
- /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
- /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
+ /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
+ /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
/// - When not set, the default behavior is 'auto'.
/// Default Value: auto ///
@@ -334,8 +337,11 @@ public sealed partial class CreateChatCompletionRequest /// Default Value: medium /// /// - /// Developer-defined tags and values used for filtering completions
- /// in the [dashboard](https://platform.openai.com/chat-completions). + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// Number between -2.0 and 2.0. Positive values penalize new tokens based on
@@ -420,8 +426,8 @@ public sealed partial class CreateChatCompletionRequest /// /// Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:
/// - If set to 'auto', and the Project is Scale tier enabled, the system will utilize scale tier credits until they are exhausted.
- /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
- /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
+ /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
+ /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
/// - When not set, the default behavior is 'auto'.
/// Default Value: auto /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestMetadata.Json.g.cs deleted file mode 100644 index 823e32229..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateChatCompletionRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateChatCompletionRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateChatCompletionRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateChatCompletionRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateChatCompletionRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateChatCompletionRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateChatCompletionRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestMetadata.g.cs deleted file mode 100644 index c2ba4371c..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestMetadata.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Developer-defined tags and values used for filtering completions
- /// in the [dashboard](https://platform.openai.com/chat-completions). - ///
- public sealed partial class CreateChatCompletionRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestModel.g.cs index 8bb477392..d5a4d39d6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestModel.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestModel.g.cs @@ -8,6 +8,14 @@ namespace tryAGI.OpenAI ///
public enum CreateChatCompletionRequestModel { + /// + /// + /// + O3Mini, + /// + /// + /// + O3Mini20250131, /// /// /// @@ -170,6 +178,8 @@ public static string ToValueString(this CreateChatCompletionRequestModel value) { return value switch { + CreateChatCompletionRequestModel.O3Mini => "o3-mini", + CreateChatCompletionRequestModel.O3Mini20250131 => "o3-mini-2025-01-31", CreateChatCompletionRequestModel.O1 => "o1", CreateChatCompletionRequestModel.O120241217 => "o1-2024-12-17", CreateChatCompletionRequestModel.O1Preview => "o1-preview", @@ -217,6 +227,8 @@ public static string ToValueString(this CreateChatCompletionRequestModel value) { return value switch { + "o3-mini" => CreateChatCompletionRequestModel.O3Mini, + "o3-mini-2025-01-31" => CreateChatCompletionRequestModel.O3Mini20250131, "o1" => CreateChatCompletionRequestModel.O1, "o1-2024-12-17" => CreateChatCompletionRequestModel.O120241217, "o1-preview" => CreateChatCompletionRequestModel.O1Preview, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestServiceTier.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestServiceTier.g.cs index f9f076bcc..dee2a32a1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestServiceTier.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestServiceTier.g.cs @@ -6,8 +6,8 @@ namespace tryAGI.OpenAI /// /// Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:
/// - If set to 'auto', and the Project is Scale tier enabled, the system will utilize scale tier credits until they are exhausted.
- /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
- /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.
+ /// - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
+ /// - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.
/// - When not set, the default behavior is 'auto'.
/// Default Value: auto ///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequest.g.cs index d7f1c4ae0..5fc43ffe5 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequest.g.cs @@ -35,10 +35,14 @@ public sealed partial class CreateMessageRequest public global::System.Collections.Generic.IList? Attachments { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -59,14 +63,18 @@ public sealed partial class CreateMessageRequest /// A list of files attached to the message, and the tools they should be added to. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateMessageRequest( global::tryAGI.OpenAI.CreateMessageRequestRole role, global::tryAGI.OpenAI.OneOf> content, global::System.Collections.Generic.IList? attachments, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.Role = role; this.Content = content; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestMetadata.Json.g.cs deleted file mode 100644 index ce01e7ee9..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateMessageRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateMessageRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateMessageRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateMessageRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateMessageRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateMessageRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateMessageRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestMetadata.g.cs deleted file mode 100644 index 9a5aa3c24..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateMessageRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class CreateMessageRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequest.g.cs index 8a7313813..8ecb64361 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequest.g.cs @@ -51,10 +51,14 @@ public sealed partial class CreateRunRequest public global::System.Collections.Generic.IList? Tools { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -149,7 +153,11 @@ public sealed partial class CreateRunRequest /// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -185,7 +193,7 @@ public CreateRunRequest( string? additionalInstructions, global::System.Collections.Generic.IList? additionalMessages, global::System.Collections.Generic.IList? tools, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, double? temperature, double? topP, bool? stream, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestMetadata.Json.g.cs deleted file mode 100644 index eaeaa39c3..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateRunRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateRunRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateRunRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateRunRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateRunRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateRunRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateRunRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestMetadata.g.cs deleted file mode 100644 index a746506b6..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class CreateRunRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequest.g.cs index 57d21212f..6ecd5a7e3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequest.g.cs @@ -52,10 +52,14 @@ public sealed partial class CreateThreadAndRunRequest public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? ToolResources { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -151,7 +155,11 @@ public sealed partial class CreateThreadAndRunRequest /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -187,7 +195,7 @@ public CreateThreadAndRunRequest( string? instructions, global::System.Collections.Generic.IList? tools, global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? toolResources, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, double? temperature, double? topP, bool? stream, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestMetadata.Json.g.cs deleted file mode 100644 index 8158bfc5f..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateThreadAndRunRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateThreadAndRunRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateThreadAndRunRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateThreadAndRunRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateThreadAndRunRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateThreadAndRunRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateThreadAndRunRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestMetadata.g.cs deleted file mode 100644 index 43c86c5e3..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class CreateThreadAndRunRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequest.g.cs index 08f535040..9ee5cdd4f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequest.g.cs @@ -22,10 +22,14 @@ public sealed partial class CreateThreadRequest public global::tryAGI.OpenAI.CreateThreadRequestToolResources? ToolResources { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -43,13 +47,17 @@ public sealed partial class CreateThreadRequest /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateThreadRequest( global::System.Collections.Generic.IList? messages, global::tryAGI.OpenAI.CreateThreadRequestToolResources? toolResources, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.Messages = messages; this.ToolResources = toolResources; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestMetadata.Json.g.cs deleted file mode 100644 index fadebd831..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateThreadRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateThreadRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateThreadRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateThreadRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateThreadRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateThreadRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateThreadRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestMetadata.g.cs deleted file mode 100644 index 6480645ff..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class CreateThreadRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStore.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStore.g.cs index 104eb7625..2221cffab 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStore.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStore.g.cs @@ -22,10 +22,14 @@ public sealed partial class CreateThreadRequestToolResourcesFileSearchVectorStor public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategy? ChunkingStrategy { get; set; } /// - /// Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -43,13 +47,17 @@ public sealed partial class CreateThreadRequestToolResourcesFileSearchVectorStor /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. /// /// - /// Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateThreadRequestToolResourcesFileSearchVectorStore( global::System.Collections.Generic.IList? fileIds, global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategy? chunkingStrategy, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.FileIds = fileIds; this.ChunkingStrategy = chunkingStrategy; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata.Json.g.cs deleted file mode 100644 index 784506548..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata.g.cs deleted file mode 100644 index 2e5027789..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class CreateThreadRequestToolResourcesFileSearchVectorStoreMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequest.g.cs index 74d3e1dee..109fd5f74 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class CreateTranscriptionRequest public required global::tryAGI.OpenAI.AnyOf Model { get; set; } /// - /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency. + /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format will improve accuracy and latency. /// [global::System.Text.Json.Serialization.JsonPropertyName("language")] public string? Language { get; set; } @@ -88,7 +88,7 @@ public sealed partial class CreateTranscriptionRequest /// Example: whisper-1 /// /// - /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency. + /// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format will improve accuracy and latency. /// /// /// An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should match the audio language. diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequest.g.cs index 6b45590ea..aabced4b3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequest.g.cs @@ -34,10 +34,14 @@ public sealed partial class CreateVectorStoreRequest public global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategy? ChunkingStrategy { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -61,7 +65,11 @@ public sealed partial class CreateVectorStoreRequest /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateVectorStoreRequest( @@ -69,7 +77,7 @@ public CreateVectorStoreRequest( string? name, global::tryAGI.OpenAI.VectorStoreExpirationAfter? expiresAfter, global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategy? chunkingStrategy, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.FileIds = fileIds; this.Name = name; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequestMetadata.Json.g.cs deleted file mode 100644 index 885949f68..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class CreateVectorStoreRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.CreateVectorStoreRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.CreateVectorStoreRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.CreateVectorStoreRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.CreateVectorStoreRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.CreateVectorStoreRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateVectorStoreRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequestMetadata.g.cs deleted file mode 100644 index 09a2ace7a..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVectorStoreRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class CreateVectorStoreRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs index 4fcf894ae..4ed7b681f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs @@ -101,11 +101,15 @@ public sealed partial class MessageObject public required global::System.Collections.Generic.IList? Attachments { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Metadata { get; set; } + public required global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -156,7 +160,11 @@ public sealed partial class MessageObject /// A list of files attached to the message, and the tools they were added to. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public MessageObject( @@ -168,7 +176,7 @@ public MessageObject( string? assistantId, string? runId, global::System.Collections.Generic.IList? attachments, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.MessageObjectObject @object, global::tryAGI.OpenAI.MessageObjectStatus? status, global::tryAGI.OpenAI.MessageObjectIncompleteDetails? incompleteDetails, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectMetadata.Json.g.cs deleted file mode 100644 index ea207dec7..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class MessageObjectMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.MessageObjectMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.MessageObjectMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.MessageObjectMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.MessageObjectMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.MessageObjectMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.MessageObjectMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectMetadata.g.cs deleted file mode 100644 index f134a8ed6..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObjectMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class MessageObjectMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Metadata.Json.g.cs similarity index 88% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchMetadata.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Metadata.Json.g.cs index 9efcb6651..a350ba21a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchMetadata.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Metadata.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public sealed partial class BatchMetadata + public sealed partial class Metadata { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.BatchMetadata? FromJson( + public static global::tryAGI.OpenAI.Metadata? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.BatchMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.BatchMetadata; + typeof(global::tryAGI.OpenAI.Metadata), + jsonSerializerContext) as global::tryAGI.OpenAI.Metadata; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.BatchMetadata? FromJson( + public static global::tryAGI.OpenAI.Metadata? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.BatchMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.BatchMetadata; + typeof(global::tryAGI.OpenAI.Metadata), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.Metadata; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Metadata.g.cs similarity index 71% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsMetadata.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Metadata.g.cs index 9de291b03..6e1e09396 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsMetadata.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Metadata.g.cs @@ -6,10 +6,11 @@ namespace tryAGI.OpenAI /// /// Set of 16 key-value pairs that can be attached to an object. This can be
/// useful for storing additional information about the object in a structured
- /// format. Keys can be a maximum of 64 characters long and values can be a
- /// maximum of 512 characters long. + /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
- public sealed partial class RealtimeResponseCreateParamsMetadata + public sealed partial class Metadata { /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequest.g.cs index 6f911f642..f885768cc 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequest.g.cs @@ -47,10 +47,14 @@ public sealed partial class ModifyAssistantRequest public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? ToolResources { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -106,7 +110,11 @@ public sealed partial class ModifyAssistantRequest /// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -128,7 +136,7 @@ public ModifyAssistantRequest( string? instructions, global::System.Collections.Generic.IList? tools, global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? toolResources, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, double? temperature, double? topP, global::tryAGI.OpenAI.AllOf? responseFormat) diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestMetadata.Json.g.cs deleted file mode 100644 index 4dc84ba82..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class ModifyAssistantRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.ModifyAssistantRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.ModifyAssistantRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.ModifyAssistantRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.ModifyAssistantRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.ModifyAssistantRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ModifyAssistantRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestMetadata.g.cs deleted file mode 100644 index 89882cc41..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class ModifyAssistantRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequest.g.cs index 1c058a49c..ef0650058 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequest.g.cs @@ -9,10 +9,14 @@ namespace tryAGI.OpenAI public sealed partial class ModifyMessageRequest { /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -24,11 +28,15 @@ public sealed partial class ModifyMessageRequest /// Initializes a new instance of the class. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public ModifyMessageRequest( - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.Metadata = metadata; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequestMetadata.Json.g.cs deleted file mode 100644 index c9bf83f51..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class ModifyMessageRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.ModifyMessageRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.ModifyMessageRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.ModifyMessageRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.ModifyMessageRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.ModifyMessageRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ModifyMessageRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequestMetadata.g.cs deleted file mode 100644 index 78a379e5c..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyMessageRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class ModifyMessageRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequest.g.cs index 8993d45af..05fa62ff2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequest.g.cs @@ -9,10 +9,14 @@ namespace tryAGI.OpenAI public sealed partial class ModifyRunRequest { /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -24,11 +28,15 @@ public sealed partial class ModifyRunRequest /// Initializes a new instance of the class. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public ModifyRunRequest( - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.Metadata = metadata; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequestMetadata.Json.g.cs deleted file mode 100644 index ec3222284..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class ModifyRunRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.ModifyRunRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.ModifyRunRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.ModifyRunRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.ModifyRunRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.ModifyRunRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ModifyRunRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequestMetadata.g.cs deleted file mode 100644 index 1b72a8d62..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyRunRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class ModifyRunRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequest.g.cs index 917f2678b..c2467dea8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequest.g.cs @@ -15,10 +15,14 @@ public sealed partial class ModifyThreadRequest public global::tryAGI.OpenAI.ModifyThreadRequestToolResources? ToolResources { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -33,12 +37,16 @@ public sealed partial class ModifyThreadRequest /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public ModifyThreadRequest( global::tryAGI.OpenAI.ModifyThreadRequestToolResources? toolResources, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.ToolResources = toolResources; this.Metadata = metadata; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequestMetadata.Json.g.cs deleted file mode 100644 index d26d16239..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class ModifyThreadRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.ModifyThreadRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.ModifyThreadRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.ModifyThreadRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.ModifyThreadRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.ModifyThreadRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ModifyThreadRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequestMetadata.g.cs deleted file mode 100644 index efc034d25..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyThreadRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class ModifyThreadRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParams.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParams.g.cs index 17210ae7a..dce3782ff 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParams.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParams.g.cs @@ -93,11 +93,12 @@ public sealed partial class RealtimeResponseCreateParams /// /// Set of 16 key-value pairs that can be attached to an object. This can be
/// useful for storing additional information about the object in a structured
- /// format. Keys can be a maximum of 64 characters long and values can be a
- /// maximum of 512 characters long. + /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Input items to include in the prompt for the model. Creates a new context
@@ -168,8 +169,9 @@ public sealed partial class RealtimeResponseCreateParams /// /// Set of 16 key-value pairs that can be attached to an object. This can be
/// useful for storing additional information about the object in a structured
- /// format. Keys can be a maximum of 64 characters long and values can be a
- /// maximum of 512 characters long. + /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// Input items to include in the prompt for the model. Creates a new context
@@ -187,7 +189,7 @@ public RealtimeResponseCreateParams( double? temperature, global::tryAGI.OpenAI.OneOf? maxResponseOutputTokens, global::tryAGI.OpenAI.OneOf? conversation, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, global::System.Collections.Generic.IList? input) { this.Modalities = modalities; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsMetadata.Json.g.cs deleted file mode 100644 index 578326cc7..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParamsMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class RealtimeResponseCreateParamsMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.RealtimeResponseCreateParamsMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.RealtimeResponseCreateParamsMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.RealtimeResponseCreateParamsMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.RealtimeResponseCreateParamsMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.RealtimeResponseCreateParamsMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RealtimeResponseCreateParamsMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequest.g.cs index 4d7de6400..89df7817e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequest.g.cs @@ -68,11 +68,7 @@ public sealed partial class RealtimeSessionCreateRequest public global::tryAGI.OpenAI.RealtimeSessionCreateRequestOutputAudioFormat? OutputAudioFormat { get; set; } /// - /// Configuration for input audio transcription, defaults to off and can be
- /// set to `null` to turn off once on. Input audio transcription is not native
- /// to the model, since the model consumes audio directly. Transcription runs
- /// asynchronously through Whisper and should be treated as rough guidance
- /// rather than the representation understood by the model. + /// Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [OpenAI Whisper transcription](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as rough guidance rather than the representation understood by the model. The client can optionally set the language and prompt for transcription, these fields will be passed to the Whisper API. ///
[global::System.Text.Json.Serialization.JsonPropertyName("input_audio_transcription")] public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? InputAudioTranscription { get; set; } @@ -159,11 +155,7 @@ public sealed partial class RealtimeSessionCreateRequest /// For `pcm16`, output audio is sampled at a rate of 24kHz. /// /// - /// Configuration for input audio transcription, defaults to off and can be
- /// set to `null` to turn off once on. Input audio transcription is not native
- /// to the model, since the model consumes audio directly. Transcription runs
- /// asynchronously through Whisper and should be treated as rough guidance
- /// rather than the representation understood by the model. + /// Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [OpenAI Whisper transcription](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as rough guidance rather than the representation understood by the model. The client can optionally set the language and prompt for transcription, these fields will be passed to the Whisper API. /// /// /// Configuration for turn detection. Can be set to `null` to turn off. Server
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestInputAudioTranscription.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestInputAudioTranscription.g.cs index 9eed49631..2ede5e83e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestInputAudioTranscription.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestInputAudioTranscription.g.cs @@ -4,11 +4,7 @@ namespace tryAGI.OpenAI { /// - /// Configuration for input audio transcription, defaults to off and can be
- /// set to `null` to turn off once on. Input audio transcription is not native
- /// to the model, since the model consumes audio directly. Transcription runs
- /// asynchronously through Whisper and should be treated as rough guidance
- /// rather than the representation understood by the model. + /// Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [OpenAI Whisper transcription](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as rough guidance rather than the representation understood by the model. The client can optionally set the language and prompt for transcription, these fields will be passed to the Whisper API. ///
public sealed partial class RealtimeSessionCreateRequestInputAudioTranscription { @@ -19,6 +15,22 @@ public sealed partial class RealtimeSessionCreateRequestInputAudioTranscription [global::System.Text.Json.Serialization.JsonPropertyName("model")] public string? Model { get; set; } + /// + /// The language of the input audio. Supplying the input language in
+ /// [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format
+ /// will improve accuracy and latency. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("language")] + public string? Language { get; set; } + + /// + /// An optional text to guide the model's style or continue a previous audio
+ /// segment. The [prompt](/docs/guides/speech-to-text#prompting) should match
+ /// the audio language. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("prompt")] + public string? Prompt { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -32,11 +44,25 @@ public sealed partial class RealtimeSessionCreateRequestInputAudioTranscription /// The model to use for transcription, `whisper-1` is the only currently
/// supported model. /// + /// + /// The language of the input audio. Supplying the input language in
+ /// [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format
+ /// will improve accuracy and latency. + /// + /// + /// An optional text to guide the model's style or continue a previous audio
+ /// segment. The [prompt](/docs/guides/speech-to-text#prompting) should match
+ /// the audio language. + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public RealtimeSessionCreateRequestInputAudioTranscription( - string? model) + string? model, + string? language, + string? prompt) { this.Model = model; + this.Language = language; + this.Prompt = prompt; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponse.g.cs index efd0ce551..aab9323db 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponse.g.cs @@ -15,7 +15,8 @@ public sealed partial class RealtimeSessionCreateResponse /// Ephemeral key returned by the API. /// [global::System.Text.Json.Serialization.JsonPropertyName("client_secret")] - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret? ClientSecret { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret ClientSecret { get; set; } /// /// The set of modalities the model can respond with. To disable audio,
@@ -180,7 +181,7 @@ public sealed partial class RealtimeSessionCreateResponse /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public RealtimeSessionCreateResponse( - global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret? clientSecret, + global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret clientSecret, global::System.Collections.Generic.IList? modalities, string? instructions, global::tryAGI.OpenAI.RealtimeSessionCreateResponseVoice? voice, @@ -193,7 +194,7 @@ public RealtimeSessionCreateResponse( double? temperature, global::tryAGI.OpenAI.OneOf? maxResponseOutputTokens) { - this.ClientSecret = clientSecret; + this.ClientSecret = clientSecret ?? throw new global::System.ArgumentNullException(nameof(clientSecret)); this.Modalities = modalities; this.Instructions = instructions; this.Voice = voice; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseClientSecret.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseClientSecret.g.cs index 9cfd5d05b..e6e12b1f3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseClientSecret.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseClientSecret.g.cs @@ -14,14 +14,16 @@ public sealed partial class RealtimeSessionCreateResponseClientSecret /// a standard API token, which should only be used server-side. ///
[global::System.Text.Json.Serialization.JsonPropertyName("value")] - public string? Value { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required string Value { get; set; } /// /// Timestamp for when the token expires. Currently, all tokens expire
/// after one minute. ///
[global::System.Text.Json.Serialization.JsonPropertyName("expires_at")] - public int? ExpiresAt { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int ExpiresAt { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -43,10 +45,10 @@ public sealed partial class RealtimeSessionCreateResponseClientSecret /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public RealtimeSessionCreateResponseClientSecret( - string? value, - int? expiresAt) + string value, + int expiresAt) { - this.Value = value; + this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); this.ExpiresAt = expiresAt; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs index a3cecc543..bf347cdaf 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs @@ -137,11 +137,15 @@ public sealed partial class RunObject public required global::System.Collections.Generic.IList Tools { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Metadata { get; set; } + public required global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Usage statistics related to the run. This value will be `null` if the run is not in a terminal state (i.e. `in_progress`, `queued`, etc.). @@ -268,7 +272,11 @@ public sealed partial class RunObject /// The list of tools that the [assistant](/docs/api-reference/assistants) used for this run. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// Usage statistics related to the run. This value will be `null` if the run is not in a terminal state (i.e. `in_progress`, `queued`, etc.). @@ -309,7 +317,7 @@ public RunObject( string model, string instructions, global::System.Collections.Generic.IList tools, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.RunCompletionUsage? usage, int? maxPromptTokens, int? maxCompletionTokens, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectMetadata.Json.g.cs deleted file mode 100644 index 4878eb65b..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class RunObjectMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.RunObjectMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.RunObjectMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.RunObjectMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.RunObjectMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.RunObjectMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RunObjectMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectMetadata.g.cs deleted file mode 100644 index 53920f337..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class RunObjectMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObject.g.cs index 064974957..bda47823d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObject.g.cs @@ -114,10 +114,14 @@ public sealed partial class RunStepObject public required global::System.DateTimeOffset? CompletedAt { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Usage statistics related to the run step. This value will be `null` while the run step's status is `in_progress`. @@ -178,7 +182,11 @@ public sealed partial class RunStepObject /// The Unix timestamp (in seconds) for when the run step completed. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// /// Usage statistics related to the run step. This value will be `null` while the run step's status is `in_progress`. @@ -200,7 +208,7 @@ public RunStepObject( global::tryAGI.OpenAI.RunStepCompletionUsage? usage, global::tryAGI.OpenAI.RunStepObjectObject @object, global::System.DateTimeOffset? expiredAt, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CreatedAt = createdAt; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectMetadata.Json.g.cs deleted file mode 100644 index a458c9dc0..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class RunStepObjectMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.RunStepObjectMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.RunStepObjectMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.RunStepObjectMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.RunStepObjectMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.RunStepObjectMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RunStepObjectMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectMetadata.g.cs deleted file mode 100644 index ae4d9b8fe..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunStepObjectMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class RunStepObjectMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObject.g.cs index 71ed580c4..af7c2c256 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObject.g.cs @@ -38,11 +38,15 @@ public sealed partial class ThreadObject public required global::tryAGI.OpenAI.ThreadObjectToolResources? ToolResources { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Metadata { get; set; } + public required global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -66,14 +70,18 @@ public sealed partial class ThreadObject /// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public ThreadObject( string id, global::System.DateTimeOffset createdAt, global::tryAGI.OpenAI.ThreadObjectToolResources? toolResources, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.ThreadObjectObject @object) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObjectMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObjectMetadata.Json.g.cs deleted file mode 100644 index 6260a3134..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObjectMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class ThreadObjectMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.ThreadObjectMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.ThreadObjectMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.ThreadObjectMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.ThreadObjectMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.ThreadObjectMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ThreadObjectMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObjectMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObjectMetadata.g.cs deleted file mode 100644 index 20d72a1b5..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ThreadObjectMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class ThreadObjectMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequest.g.cs index 1f63a8748..0268b4b87 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequest.g.cs @@ -24,10 +24,14 @@ public sealed partial class UpdateVectorStoreRequest public global::tryAGI.OpenAI.AllOf? ExpiresAfter { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] - public object? Metadata { get; set; } + public global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -43,13 +47,17 @@ public sealed partial class UpdateVectorStoreRequest /// /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public UpdateVectorStoreRequest( string? name, global::tryAGI.OpenAI.AllOf? expiresAfter, - object? metadata) + global::System.Collections.Generic.Dictionary? metadata) { this.Name = name; this.ExpiresAfter = expiresAfter; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestMetadata.Json.g.cs deleted file mode 100644 index 69be39ad5..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class UpdateVectorStoreRequestMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.UpdateVectorStoreRequestMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.UpdateVectorStoreRequestMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.UpdateVectorStoreRequestMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.UpdateVectorStoreRequestMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.UpdateVectorStoreRequestMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UpdateVectorStoreRequestMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestMetadata.g.cs deleted file mode 100644 index 0a8a119ae..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class UpdateVectorStoreRequestMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObject.g.cs index 9ddd449f7..037e95199 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObject.g.cs @@ -81,11 +81,15 @@ public sealed partial class VectorStoreObject public required global::System.DateTimeOffset? LastActiveAt { get; set; } /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. ///
[global::System.Text.Json.Serialization.JsonPropertyName("metadata")] [global::System.Text.Json.Serialization.JsonRequired] - public required object? Metadata { get; set; } + public required global::System.Collections.Generic.Dictionary? Metadata { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -125,7 +129,11 @@ public sealed partial class VectorStoreObject /// The Unix timestamp (in seconds) for when the vector store was last active. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public VectorStoreObject( @@ -136,7 +144,7 @@ public VectorStoreObject( global::tryAGI.OpenAI.VectorStoreObjectFileCounts fileCounts, global::tryAGI.OpenAI.VectorStoreObjectStatus status, global::System.DateTimeOffset? lastActiveAt, - object? metadata, + global::System.Collections.Generic.Dictionary? metadata, global::tryAGI.OpenAI.VectorStoreObjectObject @object, global::tryAGI.OpenAI.VectorStoreExpirationAfter? expiresAfter, global::System.DateTimeOffset? expiresAt) diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectMetadata.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectMetadata.Json.g.cs deleted file mode 100644 index 568568f4c..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectMetadata.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace tryAGI.OpenAI -{ - public sealed partial class VectorStoreObjectMetadata - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::tryAGI.OpenAI.VectorStoreObjectMetadata? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::tryAGI.OpenAI.VectorStoreObjectMetadata), - jsonSerializerContext) as global::tryAGI.OpenAI.VectorStoreObjectMetadata; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::tryAGI.OpenAI.VectorStoreObjectMetadata? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::tryAGI.OpenAI.VectorStoreObjectMetadata), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.VectorStoreObjectMetadata; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectMetadata.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectMetadata.g.cs deleted file mode 100644 index 72ad32e9f..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.VectorStoreObjectMetadata.g.cs +++ /dev/null @@ -1,18 +0,0 @@ - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. - /// - public sealed partial class VectorStoreObjectMetadata - { - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RealtimeClient.CreateRealtimeSession.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RealtimeClient.CreateRealtimeSession.g.cs index 95f5cb9d3..a61c20e7e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RealtimeClient.CreateRealtimeSession.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.RealtimeClient.CreateRealtimeSession.g.cs @@ -206,11 +206,7 @@ partial void ProcessCreateRealtimeSessionResponseContent( /// For `pcm16`, output audio is sampled at a rate of 24kHz. /// /// - /// Configuration for input audio transcription, defaults to off and can be
- /// set to `null` to turn off once on. Input audio transcription is not native
- /// to the model, since the model consumes audio directly. Transcription runs
- /// asynchronously through Whisper and should be treated as rough guidance
- /// rather than the representation understood by the model. + /// Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [OpenAI Whisper transcription](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as rough guidance rather than the representation understood by the model. The client can optionally set the language and prompt for transcription, these fields will be passed to the Whisper API. /// /// /// Configuration for turn detection. Can be set to `null` to turn off. Server
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsersClient.ListUsers.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsersClient.ListUsers.g.cs index 12f7f0f7a..d95d97e3b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsersClient.ListUsers.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.UsersClient.ListUsers.g.cs @@ -8,12 +8,14 @@ public partial class UsersClient partial void PrepareListUsersArguments( global::System.Net.Http.HttpClient httpClient, ref int? limit, - ref string? after); + ref string? after, + global::System.Collections.Generic.IList? emails); partial void PrepareListUsersRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? limit, - string? after); + string? after, + global::System.Collections.Generic.IList? emails); partial void ProcessListUsersResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -30,11 +32,13 @@ partial void ProcessListUsersResponseContent( /// Default Value: 20 /// /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListUsersAsync( int? limit = default, string? after = default, + global::System.Collections.Generic.IList? emails = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -42,7 +46,8 @@ partial void ProcessListUsersResponseContent( PrepareListUsersArguments( httpClient: HttpClient, limit: ref limit, - after: ref after); + after: ref after, + emails: emails); var __pathBuilder = new PathBuilder( path: "/organization/users", @@ -50,6 +55,7 @@ partial void ProcessListUsersResponseContent( __pathBuilder .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("after", after) + .AddOptionalParameter("emails", emails, delimiter: ",", explode: true) ; var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -83,7 +89,8 @@ partial void ProcessListUsersResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, limit: limit, - after: after); + after: after, + emails: emails); using var __response = await HttpClient.SendAsync( request: __httpRequest, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.CreateVectorStore.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.CreateVectorStore.g.cs index c2be1f08e..951bc1244 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.CreateVectorStore.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.CreateVectorStore.g.cs @@ -174,7 +174,11 @@ partial void ProcessCreateVectorStoreResponseContent( /// The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty. /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -184,7 +188,7 @@ partial void ProcessCreateVectorStoreResponseContent( string? name = default, global::tryAGI.OpenAI.VectorStoreExpirationAfter? expiresAfter = default, global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategy? chunkingStrategy = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.CreateVectorStoreRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.ModifyVectorStore.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.ModifyVectorStore.g.cs index a597fd335..a7ebb7b1c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.ModifyVectorStore.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.ModifyVectorStore.g.cs @@ -173,7 +173,11 @@ partial void ProcessModifyVectorStoreResponseContent( /// /// /// - /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. + /// Set of 16 key-value pairs that can be attached to an object. This can be
+ /// useful for storing additional information about the object in a structured
+ /// format, and querying for objects via API or the dashboard.
+ /// Keys are strings with a maximum length of 64 characters. Values are strings
+ /// with a maximum length of 512 characters. /// /// The token to cancel the operation with /// @@ -182,7 +186,7 @@ partial void ProcessModifyVectorStoreResponseContent( string vectorStoreId, string? name = default, global::tryAGI.OpenAI.AllOf? expiresAfter = default, - object? metadata = default, + global::System.Collections.Generic.Dictionary? metadata = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.UpdateVectorStoreRequest diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index c2070f51e..c55facff2 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -337,11 +337,7 @@ paths: type: string description: The time frame within which the batch should be processed. Currently only `24h` is supported. metadata: - type: object - additionalProperties: - type: string - description: Optional custom metadata for the batch. - nullable: true + $ref: '#/components/schemas/Metadata' required: true responses: '200': @@ -3059,6 +3055,13 @@ paths: description: "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n" schema: type: string + - name: emails + in: query + description: Filter by the email address of users. + schema: + type: array + items: + type: string responses: '200': description: Users listed successfully. @@ -4798,10 +4801,7 @@ components: description: "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.\n" nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' temperature: maximum: 2 minimum: 0 @@ -5464,10 +5464,7 @@ components: description: Number of requests that have failed. description: The request counts for different statuses within the batch. metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' x-oaiMeta: name: The batch object example: "{\n \"id\": \"batch_abc123\",\n \"object\": \"batch\",\n \"endpoint\": \"/v1/completions\",\n \"errors\": null,\n \"input_file_id\": \"file-abc123\",\n \"completion_window\": \"24h\",\n \"status\": \"completed\",\n \"output_file_id\": \"file-cvaTdG\",\n \"error_file_id\": \"file-HOWS94\",\n \"created_at\": 1711471533,\n \"in_progress_at\": 1711471538,\n \"expires_at\": 1711557933,\n \"finalizing_at\": 1711493133,\n \"completed_at\": 1711493163,\n \"failed_at\": null,\n \"expired_at\": null,\n \"cancelling_at\": null,\n \"cancelled_at\": null,\n \"request_counts\": {\n \"total\": 100,\n \"completed\": 95,\n \"failed\": 5\n },\n \"metadata\": {\n \"customer_id\": \"user_123456789\",\n \"batch_description\": \"Nightly eval job\",\n }\n}\n" @@ -6386,17 +6383,12 @@ components: description: 'The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy.' x-oaiExpandable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' description: "A helper to create a [vector store](/docs/api-reference/vector-stores/object) with file_ids and attach it to this assistant. There can be a maximum of 1 vector store attached to the assistant.\n" description: "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.\n" nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' temperature: maximum: 2 minimum: 0 @@ -6498,6 +6490,8 @@ components: anyOf: - type: string - enum: + - o3-mini + - o3-mini-2025-01-31 - o1 - o1-2024-12-17 - o1-preview @@ -6553,11 +6547,7 @@ components: description: "**o1 models only** \n\nConstrains effort on reasoning for \n[reasoning models](https://platform.openai.com/docs/guides/reasoning).\nCurrently supported values are `low`, `medium`, and `high`. Reducing\nreasoning effort can result in faster responses and fewer tokens used\non reasoning in a response.\n" default: medium metadata: - type: object - additionalProperties: - type: string - description: "Developer-defined tags and values used for filtering completions\nin the [dashboard](https://platform.openai.com/chat-completions).\n" - nullable: true + $ref: '#/components/schemas/Metadata' frequency_penalty: maximum: 2 minimum: -2 @@ -6665,7 +6655,7 @@ components: - auto - default type: string - description: "Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:\n - If set to 'auto', and the Project is Scale tier enabled, the system will utilize scale tier credits until they are exhausted.\n - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.\n - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarentee.\n - When not set, the default behavior is 'auto'.\n" + description: "Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:\n - If set to 'auto', and the Project is Scale tier enabled, the system will utilize scale tier credits until they are exhausted.\n - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.\n - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.\n - When not set, the default behavior is 'auto'.\n" default: auto nullable: true stop: @@ -7635,10 +7625,7 @@ components: description: 'A list of files attached to the message, and the tools they should be added to.' nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' additionalProperties: false CreateModerationRequest: required: @@ -8050,10 +8037,7 @@ components: description: Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis. nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' temperature: maximum: 2 minimum: 0 @@ -8231,10 +8215,7 @@ components: description: "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.\n" nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' temperature: maximum: 2 minimum: 0 @@ -8373,18 +8354,13 @@ components: description: 'The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy.' x-oaiExpandable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' x-oaiExpandable: true description: "A helper to create a [vector store](/docs/api-reference/vector-stores/object) with file_ids and attach it to this thread. There can be a maximum of 1 vector store attached to the thread.\n" description: "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.\n" nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' additionalProperties: false description: "Options to create a new thread. If no thread is provided when running a \nrequest, an empty thread will be created.\n" CreateTranscriptionRequest: @@ -8410,7 +8386,7 @@ components: x-oaiTypeLabel: string language: type: string - description: "The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.\n" + description: "The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format will improve accuracy and latency.\n" prompt: type: string description: "An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should match the audio language.\n" @@ -8608,10 +8584,7 @@ components: description: 'The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty.' x-oaiExpandable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' additionalProperties: false DefaultProjectErrorResponse: required: @@ -10341,10 +10314,7 @@ components: description: 'A list of files attached to the message, and the tools they were added to.' nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' description: 'Represents a message within a [thread](/docs/api-reference/threads).' x-oaiMeta: name: The message object @@ -10444,6 +10414,13 @@ components: description: 'Occurs when a [message](/docs/api-reference/messages/object) ends before it is completed.' x-oaiMeta: dataDescription: '`data` is a [message](/docs/api-reference/messages/object)' + Metadata: + type: object + additionalProperties: + type: string + description: "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard. \n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n" + nullable: true + x-oaiTypeLabel: map Model: title: Model required: @@ -10527,10 +10504,7 @@ components: description: "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.\n" nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' temperature: maximum: 2 minimum: 0 @@ -10556,19 +10530,13 @@ components: type: object properties: metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' additionalProperties: false ModifyRunRequest: type: object properties: metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' additionalProperties: false ModifyThreadRequest: type: object @@ -10597,10 +10565,7 @@ components: description: "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.\n" nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' additionalProperties: false OpenAIFile: title: OpenAIFile @@ -11596,10 +11561,7 @@ components: default: auto description: "Controls which conversation the response is added to. Currently supports\n`auto` and `none`, with `auto` as the default value. The `auto` value\nmeans that the contents of the response will be added to the default\nconversation. Set this to `none` to create an out-of-band response which \nwill not add items to default conversation.\n" metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat. Keys can be a maximum of 64 characters long and values can be a\nmaximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' input: type: array items: @@ -12743,7 +12705,13 @@ components: model: type: string description: "The model to use for transcription, `whisper-1` is the only currently \nsupported model.\n" - description: "Configuration for input audio transcription, defaults to off and can be \nset to `null` to turn off once on. Input audio transcription is not native \nto the model, since the model consumes audio directly. Transcription runs \nasynchronously through Whisper and should be treated as rough guidance \nrather than the representation understood by the model.\n" + language: + type: string + description: "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.\n" + prompt: + type: string + description: "An optional text to guide the model's style or continue a previous audio\nsegment. The [prompt](/docs/guides/speech-to-text#prompting) should match\nthe audio language.\n" + description: "Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [OpenAI Whisper transcription](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as rough guidance rather than the representation understood by the model. The client can optionally set the language and prompt for transcription, these fields will be passed to the Whisper API.\n" turn_detection: type: object properties: @@ -12801,9 +12769,14 @@ components: description: "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.\n" description: Realtime session object configuration. RealtimeSessionCreateResponse: + required: + - client_secret type: object properties: client_secret: + required: + - value + - expires_at type: object properties: value: @@ -13129,10 +13102,7 @@ components: x-oaiExpandable: true description: 'The list of tools that the [assistant](/docs/api-reference/assistants) used for this run.' metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' usage: $ref: '#/components/schemas/RunCompletionUsage' temperature: @@ -13734,10 +13704,7 @@ components: description: The Unix timestamp (in seconds) for when the run step completed. nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' usage: $ref: '#/components/schemas/RunStepCompletionUsage' description: "Represents a step in execution of a run.\n" @@ -14149,10 +14116,7 @@ components: description: "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.\n" nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' description: 'Represents a thread that contains [messages](/docs/api-reference/messages).' x-oaiMeta: name: The thread object @@ -14278,10 +14242,7 @@ components: - $ref: '#/components/schemas/VectorStoreExpirationAfter' - nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' additionalProperties: false Upload: title: Upload @@ -15025,10 +14986,7 @@ components: description: The Unix timestamp (in seconds) for when the vector store was last active. nullable: true metadata: - type: object - description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" - nullable: true - x-oaiTypeLabel: map + $ref: '#/components/schemas/Metadata' description: A vector store is a collection of processed files can be used by the `file_search` tool. x-oaiMeta: name: The vector store object