diff --git a/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitListResponseObject.g.cs b/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitListResponseObject.g.cs new file mode 100644 index 0000000..06f8b5b --- /dev/null +++ b/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitListResponseObject.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenAI.JsonConverters +{ + /// + public sealed class ProjectRateLimitListResponseObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenAI.ProjectRateLimitListResponseObject Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenAI.ProjectRateLimitListResponseObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenAI.ProjectRateLimitListResponseObject)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenAI.ProjectRateLimitListResponseObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenAI.ProjectRateLimitListResponseObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitListResponseObjectNullable.g.cs b/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitListResponseObjectNullable.g.cs new file mode 100644 index 0000000..959ac67 --- /dev/null +++ b/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitListResponseObjectNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenAI.JsonConverters +{ + /// + public sealed class ProjectRateLimitListResponseObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenAI.ProjectRateLimitListResponseObject? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenAI.ProjectRateLimitListResponseObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenAI.ProjectRateLimitListResponseObject)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenAI.ProjectRateLimitListResponseObject? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenAI.ProjectRateLimitListResponseObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitObject.g.cs b/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitObject.g.cs new file mode 100644 index 0000000..d24441e --- /dev/null +++ b/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitObject.g.cs @@ -0,0 +1,49 @@ +#nullable enable + +namespace OpenAI.JsonConverters +{ + /// + public sealed class ProjectRateLimitObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenAI.ProjectRateLimitObject Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenAI.ProjectRateLimitObjectExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenAI.ProjectRateLimitObject)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenAI.ProjectRateLimitObject value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenAI.ProjectRateLimitObjectExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitObjectNullable.g.cs b/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitObjectNullable.g.cs new file mode 100644 index 0000000..37efaaa --- /dev/null +++ b/src/libs/OpenAI/Generated/JsonConverters.ProjectRateLimitObjectNullable.g.cs @@ -0,0 +1,56 @@ +#nullable enable + +namespace OpenAI.JsonConverters +{ + /// + public sealed class ProjectRateLimitObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenAI.ProjectRateLimitObject? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenAI.ProjectRateLimitObjectExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenAI.ProjectRateLimitObject)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenAI.ProjectRateLimitObject? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenAI.ProjectRateLimitObjectExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenAI/Generated/JsonSerializerContext.g.cs b/src/libs/OpenAI/Generated/JsonSerializerContext.g.cs index 99088aa..71fcfa4 100644 --- a/src/libs/OpenAI/Generated/JsonSerializerContext.g.cs +++ b/src/libs/OpenAI/Generated/JsonSerializerContext.g.cs @@ -545,6 +545,10 @@ namespace OpenAI typeof(global::OpenAI.JsonConverters.ProjectApiKeyListResponseObjectNullableJsonConverter), typeof(global::OpenAI.JsonConverters.ProjectListResponseObjectJsonConverter), typeof(global::OpenAI.JsonConverters.ProjectListResponseObjectNullableJsonConverter), + typeof(global::OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter), + typeof(global::OpenAI.JsonConverters.ProjectRateLimitObjectNullableJsonConverter), + typeof(global::OpenAI.JsonConverters.ProjectRateLimitListResponseObjectJsonConverter), + typeof(global::OpenAI.JsonConverters.ProjectRateLimitListResponseObjectNullableJsonConverter), typeof(global::OpenAI.JsonConverters.ProjectServiceAccountApiKeyObjectJsonConverter), typeof(global::OpenAI.JsonConverters.ProjectServiceAccountApiKeyObjectNullableJsonConverter), typeof(global::OpenAI.JsonConverters.ProjectServiceAccountCreateResponseObjectJsonConverter), diff --git a/src/libs/OpenAI/Generated/JsonSerializerContextTypes.g.cs b/src/libs/OpenAI/Generated/JsonSerializerContextTypes.g.cs index 1aa5a6a..19f7e61 100644 --- a/src/libs/OpenAI/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenAI/Generated/JsonSerializerContextTypes.g.cs @@ -1222,2926 +1222,2962 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenAI.AuditLogServiceAccountCreated? Type301 { get; set; } + public global::OpenAI.AuditLogRateLimitUpdated? Type301 { get; set; } /// /// /// - public global::OpenAI.AuditLogServiceAccountCreatedData? Type302 { get; set; } + public global::OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type302 { get; set; } /// /// /// - public global::OpenAI.AuditLogServiceAccountUpdated? Type303 { get; set; } + public global::OpenAI.AuditLogRateLimitDeleted? Type303 { get; set; } /// /// /// - public global::OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type304 { get; set; } + public global::OpenAI.AuditLogServiceAccountCreated? Type304 { get; set; } /// /// /// - public global::OpenAI.AuditLogServiceAccountDeleted? Type305 { get; set; } + public global::OpenAI.AuditLogServiceAccountCreatedData? Type305 { get; set; } /// /// /// - public global::OpenAI.AuditLogUserAdded? Type306 { get; set; } + public global::OpenAI.AuditLogServiceAccountUpdated? Type306 { get; set; } /// /// /// - public global::OpenAI.AuditLogUserAddedData? Type307 { get; set; } + public global::OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type307 { get; set; } /// /// /// - public global::OpenAI.AuditLogUserUpdated? Type308 { get; set; } + public global::OpenAI.AuditLogServiceAccountDeleted? Type308 { get; set; } /// /// /// - public global::OpenAI.AuditLogUserUpdatedChangesRequested? Type309 { get; set; } + public global::OpenAI.AuditLogUserAdded? Type309 { get; set; } /// /// /// - public global::OpenAI.AuditLogUserDeleted? Type310 { get; set; } + public global::OpenAI.AuditLogUserAddedData? Type310 { get; set; } /// /// /// - public global::OpenAI.AutoChunkingStrategyRequestParam? Type311 { get; set; } + public global::OpenAI.AuditLogUserUpdated? Type311 { get; set; } /// /// /// - public global::OpenAI.AutoChunkingStrategyRequestParamType? Type312 { get; set; } + public global::OpenAI.AuditLogUserUpdatedChangesRequested? Type312 { get; set; } /// /// /// - public global::OpenAI.Batch? Type313 { get; set; } + public global::OpenAI.AuditLogUserDeleted? Type313 { get; set; } /// /// /// - public global::OpenAI.BatchObject? Type314 { get; set; } + public global::OpenAI.AutoChunkingStrategyRequestParam? Type314 { get; set; } /// /// /// - public global::OpenAI.BatchErrors? Type315 { get; set; } + public global::OpenAI.AutoChunkingStrategyRequestParamType? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type316 { get; set; } + public global::OpenAI.Batch? Type316 { get; set; } /// /// /// - public global::OpenAI.BatchErrorsDataItem? Type317 { get; set; } + public global::OpenAI.BatchObject? Type317 { get; set; } /// /// /// - public global::OpenAI.BatchStatus? Type318 { get; set; } + public global::OpenAI.BatchErrors? Type318 { get; set; } /// /// /// - public global::OpenAI.BatchRequestCounts? Type319 { get; set; } + public global::System.Collections.Generic.IList? Type319 { get; set; } /// /// /// - public global::OpenAI.BatchRequestInput? Type320 { get; set; } + public global::OpenAI.BatchErrorsDataItem? Type320 { get; set; } /// /// /// - public global::OpenAI.BatchRequestInputMethod? Type321 { get; set; } + public global::OpenAI.BatchStatus? Type321 { get; set; } /// /// /// - public global::OpenAI.BatchRequestOutput? Type322 { get; set; } + public global::OpenAI.BatchRequestCounts? Type322 { get; set; } /// /// /// - public global::OpenAI.BatchRequestOutputResponse? Type323 { get; set; } + public global::OpenAI.BatchRequestInput? Type323 { get; set; } /// /// /// - public global::OpenAI.BatchRequestOutputError? Type324 { get; set; } + public global::OpenAI.BatchRequestInputMethod? Type324 { get; set; } /// /// /// - public global::OpenAI.CancelUploadRequest? Type325 { get; set; } + public global::OpenAI.BatchRequestOutput? Type325 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionFunctionCallOption? Type326 { get; set; } + public global::OpenAI.BatchRequestOutputResponse? Type326 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionFunctions? Type327 { get; set; } + public global::OpenAI.BatchRequestOutputError? Type327 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionMessageToolCall? Type328 { get; set; } + public global::OpenAI.CancelUploadRequest? Type328 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionMessageToolCallType? Type329 { get; set; } + public global::OpenAI.ChatCompletionFunctionCallOption? Type329 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionMessageToolCallFunction? Type330 { get; set; } + public global::OpenAI.ChatCompletionFunctions? Type330 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionMessageToolCallChunk? Type331 { get; set; } + public global::OpenAI.ChatCompletionMessageToolCall? Type331 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionMessageToolCallChunkType? Type332 { get; set; } + public global::OpenAI.ChatCompletionMessageToolCallType? Type332 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionMessageToolCallChunkFunction? Type333 { get; set; } + public global::OpenAI.ChatCompletionMessageToolCallFunction? Type333 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type334 { get; set; } + public global::OpenAI.ChatCompletionMessageToolCallChunk? Type334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type335 { get; set; } + public global::OpenAI.ChatCompletionMessageToolCallChunkType? Type335 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionModalitie? Type336 { get; set; } + public global::OpenAI.ChatCompletionMessageToolCallChunkFunction? Type336 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionNamedToolChoice? Type337 { get; set; } + public global::System.Collections.Generic.IList? Type337 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionNamedToolChoiceType? Type338 { get; set; } + public global::System.Collections.Generic.IList? Type338 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionNamedToolChoiceFunction? Type339 { get; set; } + public global::OpenAI.ChatCompletionModalitie? Type339 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestAssistantMessage? Type340 { get; set; } + public global::OpenAI.ChatCompletionNamedToolChoice? Type340 { get; set; } /// /// /// - public global::OpenAI.OneOf>? Type341 { get; set; } + public global::OpenAI.ChatCompletionNamedToolChoiceType? Type341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type342 { get; set; } + public global::OpenAI.ChatCompletionNamedToolChoiceFunction? Type342 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestAssistantMessageContentPart? Type343 { get; set; } + public global::OpenAI.ChatCompletionRequestAssistantMessage? Type343 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartText? Type344 { get; set; } + public global::OpenAI.OneOf>? Type344 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartTextType? Type345 { get; set; } + public global::System.Collections.Generic.IList? Type345 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartRefusal? Type346 { get; set; } + public global::OpenAI.ChatCompletionRequestAssistantMessageContentPart? Type346 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartRefusalType? Type347 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartText? Type347 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminator? Type348 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartTextType? Type348 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminatorType? Type349 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartRefusal? Type349 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestAssistantMessageRole? Type350 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartRefusalType? Type350 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestAssistantMessageAudio? Type351 { get; set; } + public global::OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminator? Type351 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestAssistantMessageFunctionCall? Type352 { get; set; } + public global::OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminatorType? Type352 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestFunctionMessage? Type353 { get; set; } + public global::OpenAI.ChatCompletionRequestAssistantMessageRole? Type353 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestFunctionMessageRole? Type354 { get; set; } + public global::OpenAI.ChatCompletionRequestAssistantMessageAudio? Type354 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessage? Type355 { get; set; } + public global::OpenAI.ChatCompletionRequestAssistantMessageFunctionCall? Type355 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestSystemMessage? Type356 { get; set; } + public global::OpenAI.ChatCompletionRequestFunctionMessage? Type356 { get; set; } /// /// /// - public global::OpenAI.OneOf>? Type357 { get; set; } + public global::OpenAI.ChatCompletionRequestFunctionMessageRole? Type357 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type358 { get; set; } + public global::OpenAI.ChatCompletionRequestMessage? Type358 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestSystemMessageContentPart? Type359 { get; set; } + public global::OpenAI.ChatCompletionRequestSystemMessage? Type359 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestSystemMessageRole? Type360 { get; set; } + public global::OpenAI.OneOf>? Type360 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestUserMessage? Type361 { get; set; } + public global::System.Collections.Generic.IList? Type361 { get; set; } /// /// /// - public global::OpenAI.OneOf>? Type362 { get; set; } + public global::OpenAI.ChatCompletionRequestSystemMessageContentPart? Type362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type363 { get; set; } + public global::OpenAI.ChatCompletionRequestSystemMessageRole? Type363 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestUserMessageContentPart? Type364 { get; set; } + public global::OpenAI.ChatCompletionRequestUserMessage? Type364 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartImage? Type365 { get; set; } + public global::OpenAI.OneOf>? Type365 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartImageType? Type366 { get; set; } + public global::System.Collections.Generic.IList? Type366 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl? Type367 { get; set; } + public global::OpenAI.ChatCompletionRequestUserMessageContentPart? Type367 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartImageImageUrlDetail? Type368 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartImage? Type368 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartAudio? Type369 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartImageType? Type369 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartAudioType? Type370 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl? Type370 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio? Type371 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartImageImageUrlDetail? Type371 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudioFormat? Type372 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartAudio? Type372 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminator? Type373 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartAudioType? Type373 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminatorType? Type374 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio? Type374 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestUserMessageRole? Type375 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudioFormat? Type375 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestToolMessage? Type376 { get; set; } + public global::OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminator? Type376 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestToolMessageRole? Type377 { get; set; } + public global::OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminatorType? Type377 { get; set; } /// /// /// - public global::OpenAI.OneOf>? Type378 { get; set; } + public global::OpenAI.ChatCompletionRequestUserMessageRole? Type378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type379 { get; set; } + public global::OpenAI.ChatCompletionRequestToolMessage? Type379 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestToolMessageContentPart? Type380 { get; set; } + public global::OpenAI.ChatCompletionRequestToolMessageRole? Type380 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageDiscriminator? Type381 { get; set; } + public global::OpenAI.OneOf>? Type381 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRequestMessageDiscriminatorRole? Type382 { get; set; } + public global::System.Collections.Generic.IList? Type382 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionResponseMessage? Type383 { get; set; } + public global::OpenAI.ChatCompletionRequestToolMessageContentPart? Type383 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionResponseMessageRole? Type384 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageDiscriminator? Type384 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionResponseMessageFunctionCall? Type385 { get; set; } + public global::OpenAI.ChatCompletionRequestMessageDiscriminatorRole? Type385 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionResponseMessageAudio? Type386 { get; set; } + public global::OpenAI.ChatCompletionResponseMessage? Type386 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionRole? Type387 { get; set; } + public global::OpenAI.ChatCompletionResponseMessageRole? Type387 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionStreamOptions? Type388 { get; set; } + public global::OpenAI.ChatCompletionResponseMessageFunctionCall? Type388 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionStreamResponseDelta? Type389 { get; set; } + public global::OpenAI.ChatCompletionResponseMessageAudio? Type389 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionStreamResponseDeltaFunctionCall? Type390 { get; set; } + public global::OpenAI.ChatCompletionRole? Type390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type391 { get; set; } + public global::OpenAI.ChatCompletionStreamOptions? Type391 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionStreamResponseDeltaRole? Type392 { get; set; } + public global::OpenAI.ChatCompletionStreamResponseDelta? Type392 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionTokenLogprob? Type393 { get; set; } + public global::OpenAI.ChatCompletionStreamResponseDeltaFunctionCall? Type393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type394 { get; set; } + public global::System.Collections.Generic.IList? Type394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type395 { get; set; } + public global::OpenAI.ChatCompletionStreamResponseDeltaRole? Type395 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionTokenLogprobTopLogprob? Type396 { get; set; } + public global::OpenAI.ChatCompletionTokenLogprob? Type396 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionTool? Type397 { get; set; } + public global::System.Collections.Generic.IList? Type397 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionToolType? Type398 { get; set; } + public global::System.Collections.Generic.IList? Type398 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionToolChoiceOption? Type399 { get; set; } + public global::OpenAI.ChatCompletionTokenLogprobTopLogprob? Type399 { get; set; } /// /// /// - public global::OpenAI.ChatCompletionToolChoiceOptionEnum? Type400 { get; set; } + public global::OpenAI.ChatCompletionTool? Type400 { get; set; } /// /// /// - public global::OpenAI.ChunkingStrategyRequestParam? Type401 { get; set; } + public global::OpenAI.ChatCompletionToolType? Type401 { get; set; } /// /// /// - public global::OpenAI.StaticChunkingStrategyRequestParam? Type402 { get; set; } + public global::OpenAI.ChatCompletionToolChoiceOption? Type402 { get; set; } /// /// /// - public global::OpenAI.StaticChunkingStrategyRequestParamType? Type403 { get; set; } + public global::OpenAI.ChatCompletionToolChoiceOptionEnum? Type403 { get; set; } /// /// /// - public global::OpenAI.StaticChunkingStrategy? Type404 { get; set; } + public global::OpenAI.ChunkingStrategyRequestParam? Type404 { get; set; } /// /// /// - public global::OpenAI.ChunkingStrategyRequestParamDiscriminator? Type405 { get; set; } + public global::OpenAI.StaticChunkingStrategyRequestParam? Type405 { get; set; } /// /// /// - public global::OpenAI.ChunkingStrategyRequestParamDiscriminatorType? Type406 { get; set; } + public global::OpenAI.StaticChunkingStrategyRequestParamType? Type406 { get; set; } /// /// /// - public global::OpenAI.CompleteUploadRequest? Type407 { get; set; } + public global::OpenAI.StaticChunkingStrategy? Type407 { get; set; } /// /// /// - public global::OpenAI.CompletionUsage? Type408 { get; set; } + public global::OpenAI.ChunkingStrategyRequestParamDiscriminator? Type408 { get; set; } /// /// /// - public global::OpenAI.CompletionUsageCompletionTokensDetails? Type409 { get; set; } + public global::OpenAI.ChunkingStrategyRequestParamDiscriminatorType? Type409 { get; set; } /// /// /// - public global::OpenAI.CompletionUsagePromptTokensDetails? Type410 { get; set; } + public global::OpenAI.CompleteUploadRequest? Type410 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequest? Type411 { get; set; } + public global::OpenAI.CompletionUsage? Type411 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type412 { get; set; } + public global::OpenAI.CompletionUsageCompletionTokensDetails? Type412 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestModel? Type413 { get; set; } + public global::OpenAI.CompletionUsagePromptTokensDetails? Type413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type414 { get; set; } + public global::OpenAI.CreateAssistantRequest? Type414 { get; set; } /// /// /// - public global::OpenAI.ToolsItem2? Type415 { get; set; } + public global::OpenAI.AnyOf? Type415 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolDiscriminator? Type416 { get; set; } + public global::OpenAI.CreateAssistantRequestModel? Type416 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolDiscriminatorType? Type417 { get; set; } + public global::System.Collections.Generic.IList? Type417 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResources? Type418 { get; set; } + public global::OpenAI.ToolsItem2? Type418 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type419 { get; set; } + public global::OpenAI.CreateAssistantRequestToolDiscriminator? Type419 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type420 { get; set; } + public global::OpenAI.CreateAssistantRequestToolDiscriminatorType? Type420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type421 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResources? Type421 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type422 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type422 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type423 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type423 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type424 { get; set; } + public global::System.Collections.Generic.IList? Type424 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type425 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type425 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type426 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type426 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type427 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type427 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type428 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type428 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type429 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type429 { get; set; } /// /// /// - public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type430 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type430 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionFunctionResponse? Type431 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type431 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type432 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type432 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionFunctionResponseChoice? Type433 { get; set; } + public global::OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type433 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionFunctionResponseChoiceFinishReason? Type434 { get; set; } + public global::OpenAI.CreateChatCompletionFunctionResponse? Type434 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionFunctionResponseObject? Type435 { get; set; } + public global::System.Collections.Generic.IList? Type435 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequest? Type436 { get; set; } + public global::OpenAI.CreateChatCompletionFunctionResponseChoice? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::OpenAI.CreateChatCompletionFunctionResponseChoiceFinishReason? Type437 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type438 { get; set; } + public global::OpenAI.CreateChatCompletionFunctionResponseObject? Type438 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequestModel? Type439 { get; set; } + public global::OpenAI.CreateChatCompletionRequest? Type439 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type441 { get; set; } + public global::OpenAI.AnyOf? Type441 { get; set; } /// /// /// - public global::OpenAI.PredictionContent? Type442 { get; set; } + public global::OpenAI.CreateChatCompletionRequestModel? Type442 { get; set; } /// /// /// - public global::OpenAI.PredictionContentType? Type443 { get; set; } + public global::System.Collections.Generic.Dictionary? Type443 { get; set; } /// /// /// - public global::OpenAI.OneOf>? Type444 { get; set; } + public global::System.Collections.Generic.Dictionary? Type444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type445 { get; set; } + public global::OpenAI.PredictionContent? Type445 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequestAudio? Type446 { get; set; } + public global::OpenAI.PredictionContentType? Type446 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequestAudioVoice? Type447 { get; set; } + public global::OpenAI.OneOf>? Type447 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequestAudioFormat? Type448 { get; set; } + public global::System.Collections.Generic.IList? Type448 { get; set; } /// /// /// - public global::OpenAI.ResponseFormat? Type449 { get; set; } + public global::OpenAI.CreateChatCompletionRequestAudio? Type449 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequestResponseFormatDiscriminator? Type450 { get; set; } + public global::OpenAI.CreateChatCompletionRequestAudioVoice? Type450 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequestResponseFormatDiscriminatorType? Type451 { get; set; } + public global::OpenAI.CreateChatCompletionRequestAudioFormat? Type451 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequestServiceTier? Type452 { get; set; } + public global::OpenAI.ResponseFormat? Type452 { get; set; } /// /// /// - public global::OpenAI.OneOf>? Type453 { get; set; } + public global::OpenAI.CreateChatCompletionRequestResponseFormatDiscriminator? Type453 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type454 { get; set; } + public global::OpenAI.CreateChatCompletionRequestResponseFormatDiscriminatorType? Type454 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type455 { get; set; } + public global::OpenAI.CreateChatCompletionRequestServiceTier? Type455 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionRequestFunctionCall? Type456 { get; set; } + public global::OpenAI.OneOf>? Type456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type457 { get; set; } + public global::System.Collections.Generic.IList? Type457 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionResponse? Type458 { get; set; } + public global::OpenAI.OneOf? Type458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type459 { get; set; } + public global::OpenAI.CreateChatCompletionRequestFunctionCall? Type459 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionResponseChoice? Type460 { get; set; } + public global::System.Collections.Generic.IList? Type460 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionResponseChoiceFinishReason? Type461 { get; set; } + public global::OpenAI.CreateChatCompletionResponse? Type461 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionResponseChoiceLogprobs? Type462 { get; set; } + public global::System.Collections.Generic.IList? Type462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type463 { get; set; } + public global::OpenAI.CreateChatCompletionResponseChoice? Type463 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionResponseServiceTier? Type464 { get; set; } + public global::OpenAI.CreateChatCompletionResponseChoiceFinishReason? Type464 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionResponseObject? Type465 { get; set; } + public global::OpenAI.CreateChatCompletionResponseChoiceLogprobs? Type465 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionStreamResponse? Type466 { get; set; } + public global::System.Collections.Generic.IList? Type466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type467 { get; set; } + public global::OpenAI.CreateChatCompletionResponseServiceTier? Type467 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionStreamResponseChoice? Type468 { get; set; } + public global::OpenAI.CreateChatCompletionResponseObject? Type468 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionStreamResponseChoiceLogprobs? Type469 { get; set; } + public global::OpenAI.CreateChatCompletionStreamResponse? Type469 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? Type470 { get; set; } + public global::System.Collections.Generic.IList? Type470 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionStreamResponseServiceTier? Type471 { get; set; } + public global::OpenAI.CreateChatCompletionStreamResponseChoice? Type471 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionStreamResponseObject? Type472 { get; set; } + public global::OpenAI.CreateChatCompletionStreamResponseChoiceLogprobs? Type472 { get; set; } /// /// /// - public global::OpenAI.CreateChatCompletionStreamResponseUsage? Type473 { get; set; } + public global::OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? Type473 { get; set; } /// /// /// - public global::OpenAI.CreateCompletionRequest? Type474 { get; set; } + public global::OpenAI.CreateChatCompletionStreamResponseServiceTier? Type474 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type475 { get; set; } + public global::OpenAI.CreateChatCompletionStreamResponseObject? Type475 { get; set; } /// /// /// - public global::OpenAI.CreateCompletionRequestModel? Type476 { get; set; } + public global::OpenAI.CreateChatCompletionStreamResponseUsage? Type476 { get; set; } /// /// /// - public global::OpenAI.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? Type477 { get; set; } + public global::OpenAI.CreateCompletionRequest? Type477 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type478 { get; set; } + public global::OpenAI.AnyOf? Type478 { get; set; } /// /// /// - public global::OpenAI.CreateCompletionResponse? Type479 { get; set; } + public global::OpenAI.CreateCompletionRequestModel? Type479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type480 { get; set; } + public global::OpenAI.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? Type480 { get; set; } /// /// /// - public global::OpenAI.CreateCompletionResponseChoice? Type481 { get; set; } + public global::System.Collections.Generic.IList>? Type481 { get; set; } /// /// /// - public global::OpenAI.CreateCompletionResponseChoiceFinishReason? Type482 { get; set; } + public global::OpenAI.CreateCompletionResponse? Type482 { get; set; } /// /// /// - public global::OpenAI.CreateCompletionResponseChoiceLogprobs? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type484 { get; set; } + public global::OpenAI.CreateCompletionResponseChoice? Type484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type485 { get; set; } + public global::OpenAI.CreateCompletionResponseChoiceFinishReason? Type485 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type486 { get; set; } + public global::OpenAI.CreateCompletionResponseChoiceLogprobs? Type486 { get; set; } /// /// /// - public global::OpenAI.CreateCompletionResponseObject? Type487 { get; set; } + public global::System.Collections.Generic.IList? Type487 { get; set; } /// /// /// - public global::OpenAI.CreateEmbeddingRequest? Type488 { get; set; } + public global::System.Collections.Generic.IList>? Type488 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type489 { get; set; } + public global::System.Collections.Generic.Dictionary? Type489 { get; set; } /// /// /// - public global::OpenAI.CreateEmbeddingRequestModel? Type490 { get; set; } + public global::OpenAI.CreateCompletionResponseObject? Type490 { get; set; } /// /// /// - public global::OpenAI.CreateEmbeddingRequestEncodingFormat? Type491 { get; set; } + public global::OpenAI.CreateEmbeddingRequest? Type491 { get; set; } /// /// /// - public global::OpenAI.CreateEmbeddingResponse? Type492 { get; set; } + public global::OpenAI.AnyOf? Type492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type493 { get; set; } + public global::OpenAI.CreateEmbeddingRequestModel? Type493 { get; set; } /// /// /// - public global::OpenAI.Embedding? Type494 { get; set; } + public global::OpenAI.CreateEmbeddingRequestEncodingFormat? Type494 { get; set; } /// /// /// - public global::OpenAI.EmbeddingObject? Type495 { get; set; } + public global::OpenAI.CreateEmbeddingResponse? Type495 { get; set; } /// /// /// - public global::OpenAI.CreateEmbeddingResponseObject? Type496 { get; set; } + public global::System.Collections.Generic.IList? Type496 { get; set; } /// /// /// - public global::OpenAI.CreateEmbeddingResponseUsage? Type497 { get; set; } + public global::OpenAI.Embedding? Type497 { get; set; } /// /// /// - public global::OpenAI.CreateFileRequest? Type498 { get; set; } + public global::OpenAI.EmbeddingObject? Type498 { get; set; } /// /// /// - public global::OpenAI.CreateFileRequestPurpose? Type499 { get; set; } + public global::OpenAI.CreateEmbeddingResponseObject? Type499 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequest? Type500 { get; set; } + public global::OpenAI.CreateEmbeddingResponseUsage? Type500 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type501 { get; set; } + public global::OpenAI.CreateFileRequest? Type501 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequestModel? Type502 { get; set; } + public global::OpenAI.CreateFileRequestPurpose? Type502 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequestHyperparameters? Type503 { get; set; } + public global::OpenAI.CreateFineTuningJobRequest? Type503 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type504 { get; set; } + public global::OpenAI.AnyOf? Type504 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequestHyperparametersBatchSize? Type505 { get; set; } + public global::OpenAI.CreateFineTuningJobRequestModel? Type505 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type506 { get; set; } + public global::OpenAI.CreateFineTuningJobRequestHyperparameters? Type506 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplier? Type507 { get; set; } + public global::OpenAI.OneOf? Type507 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type508 { get; set; } + public global::OpenAI.CreateFineTuningJobRequestHyperparametersBatchSize? Type508 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequestHyperparametersNEpochs? Type509 { get; set; } + public global::OpenAI.OneOf? Type509 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type510 { get; set; } + public global::OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplier? Type510 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequestIntegration? Type511 { get; set; } + public global::OpenAI.OneOf? Type511 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequestIntegrationType? Type512 { get; set; } + public global::OpenAI.CreateFineTuningJobRequestHyperparametersNEpochs? Type512 { get; set; } /// /// /// - public global::OpenAI.CreateFineTuningJobRequestIntegrationWandb? Type513 { get; set; } + public global::System.Collections.Generic.IList? Type513 { get; set; } /// /// /// - public global::OpenAI.CreateImageEditRequest? Type514 { get; set; } + public global::OpenAI.CreateFineTuningJobRequestIntegration? Type514 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type515 { get; set; } + public global::OpenAI.CreateFineTuningJobRequestIntegrationType? Type515 { get; set; } /// /// /// - public global::OpenAI.CreateImageEditRequestModel? Type516 { get; set; } + public global::OpenAI.CreateFineTuningJobRequestIntegrationWandb? Type516 { get; set; } /// /// /// - public global::OpenAI.CreateImageEditRequestSize? Type517 { get; set; } + public global::OpenAI.CreateImageEditRequest? Type517 { get; set; } /// /// /// - public global::OpenAI.CreateImageEditRequestResponseFormat? Type518 { get; set; } + public global::OpenAI.AnyOf? Type518 { get; set; } /// /// /// - public global::OpenAI.CreateImageRequest? Type519 { get; set; } + public global::OpenAI.CreateImageEditRequestModel? Type519 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type520 { get; set; } + public global::OpenAI.CreateImageEditRequestSize? Type520 { get; set; } /// /// /// - public global::OpenAI.CreateImageRequestModel? Type521 { get; set; } + public global::OpenAI.CreateImageEditRequestResponseFormat? Type521 { get; set; } /// /// /// - public global::OpenAI.CreateImageRequestQuality? Type522 { get; set; } + public global::OpenAI.CreateImageRequest? Type522 { get; set; } /// /// /// - public global::OpenAI.CreateImageRequestResponseFormat? Type523 { get; set; } + public global::OpenAI.AnyOf? Type523 { get; set; } /// /// /// - public global::OpenAI.CreateImageRequestSize? Type524 { get; set; } + public global::OpenAI.CreateImageRequestModel? Type524 { get; set; } /// /// /// - public global::OpenAI.CreateImageRequestStyle? Type525 { get; set; } + public global::OpenAI.CreateImageRequestQuality? Type525 { get; set; } /// /// /// - public global::OpenAI.CreateImageVariationRequest? Type526 { get; set; } + public global::OpenAI.CreateImageRequestResponseFormat? Type526 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type527 { get; set; } + public global::OpenAI.CreateImageRequestSize? Type527 { get; set; } /// /// /// - public global::OpenAI.CreateImageVariationRequestModel? Type528 { get; set; } + public global::OpenAI.CreateImageRequestStyle? Type528 { get; set; } /// /// /// - public global::OpenAI.CreateImageVariationRequestResponseFormat? Type529 { get; set; } + public global::OpenAI.CreateImageVariationRequest? Type529 { get; set; } /// /// /// - public global::OpenAI.CreateImageVariationRequestSize? Type530 { get; set; } + public global::OpenAI.AnyOf? Type530 { get; set; } /// /// /// - public global::OpenAI.CreateMessageRequest? Type531 { get; set; } + public global::OpenAI.CreateImageVariationRequestModel? Type531 { get; set; } /// /// /// - public global::OpenAI.CreateMessageRequestRole? Type532 { get; set; } + public global::OpenAI.CreateImageVariationRequestResponseFormat? Type532 { get; set; } /// /// /// - public global::OpenAI.OneOf>? Type533 { get; set; } + public global::OpenAI.CreateImageVariationRequestSize? Type533 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type534 { get; set; } + public global::OpenAI.CreateMessageRequest? Type534 { get; set; } /// /// /// - public global::OpenAI.ContentVariant2Item? Type535 { get; set; } + public global::OpenAI.CreateMessageRequestRole? Type535 { get; set; } /// /// /// - public global::OpenAI.MessageRequestContentTextObject? Type536 { get; set; } + public global::OpenAI.OneOf>? Type536 { get; set; } /// /// /// - public global::OpenAI.MessageRequestContentTextObjectType? Type537 { get; set; } + public global::System.Collections.Generic.IList? Type537 { get; set; } /// /// /// - public global::OpenAI.CreateMessageRequestContentVariant2ItemDiscriminator? Type538 { get; set; } + public global::OpenAI.ContentVariant2Item? Type538 { get; set; } /// /// /// - public global::OpenAI.CreateMessageRequestContentVariant2ItemDiscriminatorType? Type539 { get; set; } + public global::OpenAI.MessageRequestContentTextObject? Type539 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type540 { get; set; } + public global::OpenAI.MessageRequestContentTextObjectType? Type540 { get; set; } /// /// /// - public global::OpenAI.CreateMessageRequestAttachment? Type541 { get; set; } + public global::OpenAI.CreateMessageRequestContentVariant2ItemDiscriminator? Type541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type542 { get; set; } + public global::OpenAI.CreateMessageRequestContentVariant2ItemDiscriminatorType? Type542 { get; set; } /// /// /// - public global::OpenAI.ToolsItem3? Type543 { get; set; } + public global::System.Collections.Generic.IList? Type543 { get; set; } /// /// /// - public global::OpenAI.CreateMessageRequestAttachmentToolDiscriminator? Type544 { get; set; } + public global::OpenAI.CreateMessageRequestAttachment? Type544 { get; set; } /// /// /// - public global::OpenAI.CreateMessageRequestAttachmentToolDiscriminatorType? Type545 { get; set; } + public global::System.Collections.Generic.IList? Type545 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequest? Type546 { get; set; } + public global::OpenAI.ToolsItem3? Type546 { get; set; } /// /// /// - public global::OpenAI.OneOf, global::System.Collections.Generic.IList>? Type547 { get; set; } + public global::OpenAI.CreateMessageRequestAttachmentToolDiscriminator? Type547 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type548 { get; set; } + public global::OpenAI.CreateMessageRequestAttachmentToolDiscriminatorType? Type548 { get; set; } /// /// /// - public global::OpenAI.InputVariant3Item? Type549 { get; set; } + public global::OpenAI.CreateModerationRequest? Type549 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant1? Type550 { get; set; } + public global::OpenAI.OneOf, global::System.Collections.Generic.IList>? Type550 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type? Type551 { get; set; } + public global::System.Collections.Generic.IList? Type551 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl? Type552 { get; set; } + public global::OpenAI.InputVariant3Item? Type552 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant2? Type553 { get; set; } + public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant1? Type553 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type? Type554 { get; set; } + public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type? Type554 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequestInputVariant3ItemDiscriminator? Type555 { get; set; } + public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl? Type555 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequestInputVariant3ItemDiscriminatorType? Type556 { get; set; } + public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant2? Type556 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type557 { get; set; } + public global::OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type? Type557 { get; set; } /// /// /// - public global::OpenAI.CreateModerationRequestModel? Type558 { get; set; } + public global::OpenAI.CreateModerationRequestInputVariant3ItemDiscriminator? Type558 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponse? Type559 { get; set; } + public global::OpenAI.CreateModerationRequestInputVariant3ItemDiscriminatorType? Type559 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type560 { get; set; } + public global::OpenAI.AnyOf? Type560 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResult? Type561 { get; set; } + public global::OpenAI.CreateModerationRequestModel? Type561 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategories? Type562 { get; set; } + public global::OpenAI.CreateModerationResponse? Type562 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryScores? Type563 { get; set; } + public global::System.Collections.Generic.IList? Type563 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypes? Type564 { get; set; } + public global::OpenAI.CreateModerationResponseResult? Type564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type565 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategories? Type565 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateItem? Type566 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryScores? Type566 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type567 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypes? Type567 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateThreateningItem? Type568 { get; set; } + public global::System.Collections.Generic.IList? Type568 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type569 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateItem? Type569 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentItem? Type570 { get; set; } + public global::System.Collections.Generic.IList? Type570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type571 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateThreateningItem? Type571 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentThreateningItem? Type572 { get; set; } + public global::System.Collections.Generic.IList? Type572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type573 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentItem? Type573 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitItem? Type574 { get; set; } + public global::System.Collections.Generic.IList? Type574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type575 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentThreateningItem? Type575 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitViolentItem? Type576 { get; set; } + public global::System.Collections.Generic.IList? Type576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type577 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitItem? Type577 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem? Type578 { get; set; } + public global::System.Collections.Generic.IList? Type578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type579 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitViolentItem? Type579 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem? Type580 { get; set; } + public global::System.Collections.Generic.IList? Type580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type581 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem? Type581 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction? Type582 { get; set; } + public global::System.Collections.Generic.IList? Type582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type583 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem? Type583 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem? Type584 { get; set; } + public global::System.Collections.Generic.IList? Type584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type585 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction? Type585 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualMinor? Type586 { get; set; } + public global::System.Collections.Generic.IList? Type586 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type587 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem? Type587 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem? Type588 { get; set; } + public global::System.Collections.Generic.IList? Type588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type589 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualMinor? Type589 { get; set; } /// /// /// - public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem? Type590 { get; set; } + public global::System.Collections.Generic.IList? Type590 { get; set; } /// /// /// - public global::OpenAI.CreateRunRequest? Type591 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem? Type591 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type592 { get; set; } + public global::System.Collections.Generic.IList? Type592 { get; set; } /// /// /// - public global::OpenAI.CreateRunRequestModel? Type593 { get; set; } + public global::OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem? Type593 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type594 { get; set; } + public global::OpenAI.CreateRunRequest? Type594 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type595 { get; set; } + public global::OpenAI.AnyOf? Type595 { get; set; } /// /// /// - public global::OpenAI.ToolsItem4? Type596 { get; set; } + public global::OpenAI.CreateRunRequestModel? Type596 { get; set; } /// /// /// - public global::OpenAI.CreateRunRequestToolDiscriminator? Type597 { get; set; } + public global::System.Collections.Generic.IList? Type597 { get; set; } /// /// /// - public global::OpenAI.CreateRunRequestToolDiscriminatorType? Type598 { get; set; } + public global::System.Collections.Generic.IList? Type598 { get; set; } /// /// /// - public global::OpenAI.CreateSpeechRequest? Type599 { get; set; } + public global::OpenAI.ToolsItem4? Type599 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type600 { get; set; } + public global::OpenAI.CreateRunRequestToolDiscriminator? Type600 { get; set; } /// /// /// - public global::OpenAI.CreateSpeechRequestModel? Type601 { get; set; } + public global::OpenAI.CreateRunRequestToolDiscriminatorType? Type601 { get; set; } /// /// /// - public global::OpenAI.CreateSpeechRequestVoice? Type602 { get; set; } + public global::OpenAI.CreateSpeechRequest? Type602 { get; set; } /// /// /// - public global::OpenAI.CreateSpeechRequestResponseFormat? Type603 { get; set; } + public global::OpenAI.AnyOf? Type603 { get; set; } /// /// /// - public global::OpenAI.CreateThreadAndRunRequest? Type604 { get; set; } + public global::OpenAI.CreateSpeechRequestModel? Type604 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequest? Type605 { get; set; } + public global::OpenAI.CreateSpeechRequestVoice? Type605 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResources? Type606 { get; set; } + public global::OpenAI.CreateSpeechRequestResponseFormat? Type606 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesCodeInterpreter? Type607 { get; set; } + public global::OpenAI.CreateThreadAndRunRequest? Type607 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearch? Type608 { get; set; } + public global::OpenAI.CreateThreadRequest? Type608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type609 { get; set; } + public global::OpenAI.CreateThreadRequestToolResources? Type609 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStore? Type610 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesCodeInterpreter? Type610 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type611 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearch? Type611 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type612 { get; set; } + public global::System.Collections.Generic.IList? Type612 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type613 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStore? Type613 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type614 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type614 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type615 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type615 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type616 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type616 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type617 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type617 { get; set; } /// /// /// - public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type618 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type618 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type619 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type619 { get; set; } /// /// /// - public global::OpenAI.CreateThreadAndRunRequestModel? Type620 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type621 { get; set; } + public global::OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type621 { get; set; } /// /// /// - public global::OpenAI.ToolsItem5? Type622 { get; set; } + public global::OpenAI.AnyOf? Type622 { get; set; } /// /// /// - public global::OpenAI.CreateThreadAndRunRequestToolDiscriminator? Type623 { get; set; } + public global::OpenAI.CreateThreadAndRunRequestModel? Type623 { get; set; } /// /// /// - public global::OpenAI.CreateThreadAndRunRequestToolDiscriminatorType? Type624 { get; set; } + public global::System.Collections.Generic.IList? Type624 { get; set; } /// /// /// - public global::OpenAI.CreateThreadAndRunRequestToolResources? Type625 { get; set; } + public global::OpenAI.ToolsItem5? Type625 { get; set; } /// /// /// - public global::OpenAI.CreateThreadAndRunRequestToolResourcesCodeInterpreter? Type626 { get; set; } + public global::OpenAI.CreateThreadAndRunRequestToolDiscriminator? Type626 { get; set; } /// /// /// - public global::OpenAI.CreateThreadAndRunRequestToolResourcesFileSearch? Type627 { get; set; } + public global::OpenAI.CreateThreadAndRunRequestToolDiscriminatorType? Type627 { get; set; } /// /// /// - public global::OpenAI.CreateTranscriptionRequest? Type628 { get; set; } + public global::OpenAI.CreateThreadAndRunRequestToolResources? Type628 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type629 { get; set; } + public global::OpenAI.CreateThreadAndRunRequestToolResourcesCodeInterpreter? Type629 { get; set; } /// /// /// - public global::OpenAI.CreateTranscriptionRequestModel? Type630 { get; set; } + public global::OpenAI.CreateThreadAndRunRequestToolResourcesFileSearch? Type630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type631 { get; set; } + public global::OpenAI.CreateTranscriptionRequest? Type631 { get; set; } /// /// /// - public global::OpenAI.CreateTranscriptionRequestTimestampGranularitie? Type632 { get; set; } + public global::OpenAI.AnyOf? Type632 { get; set; } /// /// /// - public global::OpenAI.CreateTranscriptionResponseJson? Type633 { get; set; } + public global::OpenAI.CreateTranscriptionRequestModel? Type633 { get; set; } /// /// /// - public global::OpenAI.CreateTranscriptionResponseVerboseJson? Type634 { get; set; } + public global::System.Collections.Generic.IList? Type634 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type635 { get; set; } + public global::OpenAI.CreateTranscriptionRequestTimestampGranularitie? Type635 { get; set; } /// /// /// - public global::OpenAI.TranscriptionWord? Type636 { get; set; } + public global::OpenAI.CreateTranscriptionResponseJson? Type636 { get; set; } /// /// /// - public float? Type637 { get; set; } + public global::OpenAI.CreateTranscriptionResponseVerboseJson? Type637 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type638 { get; set; } + public global::System.Collections.Generic.IList? Type638 { get; set; } /// /// /// - public global::OpenAI.TranscriptionSegment? Type639 { get; set; } + public global::OpenAI.TranscriptionWord? Type639 { get; set; } /// /// /// - public global::OpenAI.CreateTranslationRequest? Type640 { get; set; } + public float? Type640 { get; set; } /// /// /// - public global::OpenAI.AnyOf? Type641 { get; set; } + public global::System.Collections.Generic.IList? Type641 { get; set; } /// /// /// - public global::OpenAI.CreateTranslationRequestModel? Type642 { get; set; } + public global::OpenAI.TranscriptionSegment? Type642 { get; set; } /// /// /// - public global::OpenAI.CreateTranslationResponseJson? Type643 { get; set; } + public global::OpenAI.CreateTranslationRequest? Type643 { get; set; } /// /// /// - public global::OpenAI.CreateTranslationResponseVerboseJson? Type644 { get; set; } + public global::OpenAI.AnyOf? Type644 { get; set; } /// /// /// - public global::OpenAI.CreateUploadRequest? Type645 { get; set; } + public global::OpenAI.CreateTranslationRequestModel? Type645 { get; set; } /// /// /// - public global::OpenAI.CreateUploadRequestPurpose? Type646 { get; set; } + public global::OpenAI.CreateTranslationResponseJson? Type646 { get; set; } /// /// /// - public global::OpenAI.CreateVectorStoreFileBatchRequest? Type647 { get; set; } + public global::OpenAI.CreateTranslationResponseVerboseJson? Type647 { get; set; } /// /// /// - public global::OpenAI.CreateVectorStoreFileRequest? Type648 { get; set; } + public global::OpenAI.CreateUploadRequest? Type648 { get; set; } /// /// /// - public global::OpenAI.CreateVectorStoreRequest? Type649 { get; set; } + public global::OpenAI.CreateUploadRequestPurpose? Type649 { get; set; } /// /// /// - public global::OpenAI.VectorStoreExpirationAfter? Type650 { get; set; } + public global::OpenAI.CreateVectorStoreFileBatchRequest? Type650 { get; set; } /// /// /// - public global::OpenAI.VectorStoreExpirationAfterAnchor? Type651 { get; set; } + public global::OpenAI.CreateVectorStoreFileRequest? Type651 { get; set; } /// /// /// - public global::OpenAI.CreateVectorStoreRequestChunkingStrategy? Type652 { get; set; } + public global::OpenAI.CreateVectorStoreRequest? Type652 { get; set; } /// /// /// - public global::OpenAI.CreateVectorStoreRequestChunkingStrategyDiscriminator? Type653 { get; set; } + public global::OpenAI.VectorStoreExpirationAfter? Type653 { get; set; } /// /// /// - public global::OpenAI.CreateVectorStoreRequestChunkingStrategyDiscriminatorType? Type654 { get; set; } + public global::OpenAI.VectorStoreExpirationAfterAnchor? Type654 { get; set; } /// /// /// - public global::OpenAI.DefaultProjectErrorResponse? Type655 { get; set; } + public global::OpenAI.CreateVectorStoreRequestChunkingStrategy? Type655 { get; set; } /// /// /// - public global::OpenAI.DeleteAssistantResponse? Type656 { get; set; } + public global::OpenAI.CreateVectorStoreRequestChunkingStrategyDiscriminator? Type656 { get; set; } /// /// /// - public global::OpenAI.DeleteAssistantResponseObject? Type657 { get; set; } + public global::OpenAI.CreateVectorStoreRequestChunkingStrategyDiscriminatorType? Type657 { get; set; } /// /// /// - public global::OpenAI.DeleteFileResponse? Type658 { get; set; } + public global::OpenAI.DefaultProjectErrorResponse? Type658 { get; set; } /// /// /// - public global::OpenAI.DeleteFileResponseObject? Type659 { get; set; } + public global::OpenAI.DeleteAssistantResponse? Type659 { get; set; } /// /// /// - public global::OpenAI.DeleteMessageResponse? Type660 { get; set; } + public global::OpenAI.DeleteAssistantResponseObject? Type660 { get; set; } /// /// /// - public global::OpenAI.DeleteMessageResponseObject? Type661 { get; set; } + public global::OpenAI.DeleteFileResponse? Type661 { get; set; } /// /// /// - public global::OpenAI.DeleteModelResponse? Type662 { get; set; } + public global::OpenAI.DeleteFileResponseObject? Type662 { get; set; } /// /// /// - public global::OpenAI.DeleteThreadResponse? Type663 { get; set; } + public global::OpenAI.DeleteMessageResponse? Type663 { get; set; } /// /// /// - public global::OpenAI.DeleteThreadResponseObject? Type664 { get; set; } + public global::OpenAI.DeleteMessageResponseObject? Type664 { get; set; } /// /// /// - public global::OpenAI.DeleteVectorStoreFileResponse? Type665 { get; set; } + public global::OpenAI.DeleteModelResponse? Type665 { get; set; } /// /// /// - public global::OpenAI.DeleteVectorStoreFileResponseObject? Type666 { get; set; } + public global::OpenAI.DeleteThreadResponse? Type666 { get; set; } /// /// /// - public global::OpenAI.DeleteVectorStoreResponse? Type667 { get; set; } + public global::OpenAI.DeleteThreadResponseObject? Type667 { get; set; } /// /// /// - public global::OpenAI.DeleteVectorStoreResponseObject? Type668 { get; set; } + public global::OpenAI.DeleteVectorStoreFileResponse? Type668 { get; set; } /// /// /// - public global::OpenAI.ErrorResponse? Type669 { get; set; } + public global::OpenAI.DeleteVectorStoreFileResponseObject? Type669 { get; set; } /// /// /// - public global::OpenAI.FineTuneChatCompletionRequestAssistantMessage? Type670 { get; set; } + public global::OpenAI.DeleteVectorStoreResponse? Type670 { get; set; } /// /// /// - public global::OpenAI.FineTuneChatCompletionRequestAssistantMessageVariant1? Type671 { get; set; } + public global::OpenAI.DeleteVectorStoreResponseObject? Type671 { get; set; } /// /// /// - public global::OpenAI.FineTuningIntegration? Type672 { get; set; } + public global::OpenAI.ErrorResponse? Type672 { get; set; } /// /// /// - public global::OpenAI.FineTuningIntegrationType? Type673 { get; set; } + public global::OpenAI.FineTuneChatCompletionRequestAssistantMessage? Type673 { get; set; } /// /// /// - public global::OpenAI.FineTuningIntegrationWandb? Type674 { get; set; } + public global::OpenAI.FineTuneChatCompletionRequestAssistantMessageVariant1? Type674 { get; set; } /// /// /// - public global::OpenAI.FineTuningJob? Type675 { get; set; } + public global::OpenAI.FineTuningIntegration? Type675 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobError? Type676 { get; set; } + public global::OpenAI.FineTuningIntegrationType? Type676 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobHyperparameters? Type677 { get; set; } + public global::OpenAI.FineTuningIntegrationWandb? Type677 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type678 { get; set; } + public global::OpenAI.FineTuningJob? Type678 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobHyperparametersNEpochs? Type679 { get; set; } + public global::OpenAI.FineTuningJobError? Type679 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobObject? Type680 { get; set; } + public global::OpenAI.FineTuningJobHyperparameters? Type680 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobStatus? Type681 { get; set; } + public global::OpenAI.OneOf? Type681 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type682 { get; set; } + public global::OpenAI.FineTuningJobHyperparametersNEpochs? Type682 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type683 { get; set; } + public global::OpenAI.FineTuningJobObject? Type683 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobCheckpoint? Type684 { get; set; } + public global::OpenAI.FineTuningJobStatus? Type684 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobCheckpointMetrics? Type685 { get; set; } + public global::System.Collections.Generic.IList>? Type685 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobCheckpointObject? Type686 { get; set; } + public global::OpenAI.OneOf? Type686 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobEvent? Type687 { get; set; } + public global::OpenAI.FineTuningJobCheckpoint? Type687 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobEventLevel? Type688 { get; set; } + public global::OpenAI.FineTuningJobCheckpointMetrics? Type688 { get; set; } /// /// /// - public global::OpenAI.FineTuningJobEventObject? Type689 { get; set; } + public global::OpenAI.FineTuningJobCheckpointObject? Type689 { get; set; } /// /// /// - public global::OpenAI.FinetuneChatRequestInput? Type690 { get; set; } + public global::OpenAI.FineTuningJobEvent? Type690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type691 { get; set; } + public global::OpenAI.FineTuningJobEventLevel? Type691 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type692 { get; set; } + public global::OpenAI.FineTuningJobEventObject? Type692 { get; set; } /// /// /// - public global::OpenAI.FinetuneCompletionRequestInput? Type693 { get; set; } + public global::OpenAI.FinetuneChatRequestInput? Type693 { get; set; } /// /// /// - public global::OpenAI.Image? Type694 { get; set; } + public global::System.Collections.Generic.IList>? Type694 { get; set; } /// /// /// - public global::OpenAI.ImagesResponse? Type695 { get; set; } + public global::OpenAI.OneOf? Type695 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type696 { get; set; } + public global::OpenAI.FinetuneCompletionRequestInput? Type696 { get; set; } /// /// /// - public global::OpenAI.Invite? Type697 { get; set; } + public global::OpenAI.Image? Type697 { get; set; } /// /// /// - public global::OpenAI.InviteObject? Type698 { get; set; } + public global::OpenAI.ImagesResponse? Type698 { get; set; } /// /// /// - public global::OpenAI.InviteRole? Type699 { get; set; } + public global::System.Collections.Generic.IList? Type699 { get; set; } /// /// /// - public global::OpenAI.InviteStatus? Type700 { get; set; } + public global::OpenAI.Invite? Type700 { get; set; } /// /// /// - public global::OpenAI.InviteDeleteResponse? Type701 { get; set; } + public global::OpenAI.InviteObject? Type701 { get; set; } /// /// /// - public global::OpenAI.InviteDeleteResponseObject? Type702 { get; set; } + public global::OpenAI.InviteRole? Type702 { get; set; } /// /// /// - public global::OpenAI.InviteListResponse? Type703 { get; set; } + public global::OpenAI.InviteStatus? Type703 { get; set; } /// /// /// - public global::OpenAI.InviteListResponseObject? Type704 { get; set; } + public global::OpenAI.InviteDeleteResponse? Type704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type705 { get; set; } + public global::OpenAI.InviteDeleteResponseObject? Type705 { get; set; } /// /// /// - public global::OpenAI.InviteRequest? Type706 { get; set; } + public global::OpenAI.InviteListResponse? Type706 { get; set; } /// /// /// - public global::OpenAI.InviteRequestRole? Type707 { get; set; } + public global::OpenAI.InviteListResponseObject? Type707 { get; set; } /// /// /// - public global::OpenAI.ListAssistantsResponse? Type708 { get; set; } + public global::System.Collections.Generic.IList? Type708 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type709 { get; set; } + public global::OpenAI.InviteRequest? Type709 { get; set; } /// /// /// - public global::OpenAI.ListAuditLogsResponse? Type710 { get; set; } + public global::OpenAI.InviteRequestRole? Type710 { get; set; } /// /// /// - public global::OpenAI.ListAuditLogsResponseObject? Type711 { get; set; } + public global::OpenAI.ListAssistantsResponse? Type711 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type712 { get; set; } + public global::System.Collections.Generic.IList? Type712 { get; set; } /// /// /// - public global::OpenAI.ListBatchesResponse? Type713 { get; set; } + public global::OpenAI.ListAuditLogsResponse? Type713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type714 { get; set; } + public global::OpenAI.ListAuditLogsResponseObject? Type714 { get; set; } /// /// /// - public global::OpenAI.ListBatchesResponseObject? Type715 { get; set; } + public global::System.Collections.Generic.IList? Type715 { get; set; } /// /// /// - public global::OpenAI.ListFilesResponse? Type716 { get; set; } + public global::OpenAI.ListBatchesResponse? Type716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type717 { get; set; } + public global::System.Collections.Generic.IList? Type717 { get; set; } /// /// /// - public global::OpenAI.OpenAIFile? Type718 { get; set; } + public global::OpenAI.ListBatchesResponseObject? Type718 { get; set; } /// /// /// - public global::OpenAI.OpenAIFileObject? Type719 { get; set; } + public global::OpenAI.ListFilesResponse? Type719 { get; set; } /// /// /// - public global::OpenAI.OpenAIFilePurpose? Type720 { get; set; } + public global::System.Collections.Generic.IList? Type720 { get; set; } /// /// /// - public global::OpenAI.OpenAIFileStatus? Type721 { get; set; } + public global::OpenAI.OpenAIFile? Type721 { get; set; } /// /// /// - public global::OpenAI.ListFineTuningJobCheckpointsResponse? Type722 { get; set; } + public global::OpenAI.OpenAIFileObject? Type722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type723 { get; set; } + public global::OpenAI.OpenAIFilePurpose? Type723 { get; set; } /// /// /// - public global::OpenAI.ListFineTuningJobCheckpointsResponseObject? Type724 { get; set; } + public global::OpenAI.OpenAIFileStatus? Type724 { get; set; } /// /// /// - public global::OpenAI.ListFineTuningJobEventsResponse? Type725 { get; set; } + public global::OpenAI.ListFineTuningJobCheckpointsResponse? Type725 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type726 { get; set; } + public global::System.Collections.Generic.IList? Type726 { get; set; } /// /// /// - public global::OpenAI.ListFineTuningJobEventsResponseObject? Type727 { get; set; } + public global::OpenAI.ListFineTuningJobCheckpointsResponseObject? Type727 { get; set; } /// /// /// - public global::OpenAI.ListMessagesResponse? Type728 { get; set; } + public global::OpenAI.ListFineTuningJobEventsResponse? Type728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type729 { get; set; } + public global::System.Collections.Generic.IList? Type729 { get; set; } /// /// /// - public global::OpenAI.ListModelsResponse? Type730 { get; set; } + public global::OpenAI.ListFineTuningJobEventsResponseObject? Type730 { get; set; } /// /// /// - public global::OpenAI.ListModelsResponseObject? Type731 { get; set; } + public global::OpenAI.ListMessagesResponse? Type731 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type732 { get; set; } + public global::System.Collections.Generic.IList? Type732 { get; set; } /// /// /// - public global::OpenAI.Model15? Type733 { get; set; } + public global::OpenAI.ListModelsResponse? Type733 { get; set; } /// /// /// - public global::OpenAI.ModelObject? Type734 { get; set; } + public global::OpenAI.ListModelsResponseObject? Type734 { get; set; } /// /// /// - public global::OpenAI.ListPaginatedFineTuningJobsResponse? Type735 { get; set; } + public global::System.Collections.Generic.IList? Type735 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type736 { get; set; } + public global::OpenAI.Model15? Type736 { get; set; } /// /// /// - public global::OpenAI.ListPaginatedFineTuningJobsResponseObject? Type737 { get; set; } + public global::OpenAI.ModelObject? Type737 { get; set; } /// /// /// - public global::OpenAI.ListRunStepsResponse? Type738 { get; set; } + public global::OpenAI.ListPaginatedFineTuningJobsResponse? Type738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type739 { get; set; } + public global::System.Collections.Generic.IList? Type739 { get; set; } /// /// /// - public global::OpenAI.ListRunsResponse? Type740 { get; set; } + public global::OpenAI.ListPaginatedFineTuningJobsResponseObject? Type740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type741 { get; set; } + public global::OpenAI.ListRunStepsResponse? Type741 { get; set; } /// /// /// - public global::OpenAI.ListThreadsResponse? Type742 { get; set; } + public global::System.Collections.Generic.IList? Type742 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type743 { get; set; } + public global::OpenAI.ListRunsResponse? Type743 { get; set; } /// /// /// - public global::OpenAI.ListVectorStoreFilesResponse? Type744 { get; set; } + public global::System.Collections.Generic.IList? Type744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type745 { get; set; } + public global::OpenAI.ListThreadsResponse? Type745 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileObject? Type746 { get; set; } + public global::System.Collections.Generic.IList? Type746 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileObjectObject? Type747 { get; set; } + public global::OpenAI.ListVectorStoreFilesResponse? Type747 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileObjectStatus? Type748 { get; set; } + public global::System.Collections.Generic.IList? Type748 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileObjectLastError? Type749 { get; set; } + public global::OpenAI.VectorStoreFileObject? Type749 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileObjectLastErrorCode? Type750 { get; set; } + public global::OpenAI.VectorStoreFileObjectObject? Type750 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileObjectChunkingStrategy? Type751 { get; set; } + public global::OpenAI.VectorStoreFileObjectStatus? Type751 { get; set; } /// /// /// - public global::OpenAI.StaticChunkingStrategyResponseParam? Type752 { get; set; } + public global::OpenAI.VectorStoreFileObjectLastError? Type752 { get; set; } /// /// /// - public global::OpenAI.StaticChunkingStrategyResponseParamType? Type753 { get; set; } + public global::OpenAI.VectorStoreFileObjectLastErrorCode? Type753 { get; set; } /// /// /// - public global::OpenAI.OtherChunkingStrategyResponseParam? Type754 { get; set; } + public global::OpenAI.VectorStoreFileObjectChunkingStrategy? Type754 { get; set; } /// /// /// - public global::OpenAI.OtherChunkingStrategyResponseParamType? Type755 { get; set; } + public global::OpenAI.StaticChunkingStrategyResponseParam? Type755 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileObjectChunkingStrategyDiscriminator? Type756 { get; set; } + public global::OpenAI.StaticChunkingStrategyResponseParamType? Type756 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileObjectChunkingStrategyDiscriminatorType? Type757 { get; set; } + public global::OpenAI.OtherChunkingStrategyResponseParam? Type757 { get; set; } /// /// /// - public global::OpenAI.ListVectorStoresResponse? Type758 { get; set; } + public global::OpenAI.OtherChunkingStrategyResponseParamType? Type758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type759 { get; set; } + public global::OpenAI.VectorStoreFileObjectChunkingStrategyDiscriminator? Type759 { get; set; } /// /// /// - public global::OpenAI.VectorStoreObject? Type760 { get; set; } + public global::OpenAI.VectorStoreFileObjectChunkingStrategyDiscriminatorType? Type760 { get; set; } /// /// /// - public global::OpenAI.VectorStoreObjectObject? Type761 { get; set; } + public global::OpenAI.ListVectorStoresResponse? Type761 { get; set; } /// /// /// - public global::OpenAI.VectorStoreObjectFileCounts? Type762 { get; set; } + public global::System.Collections.Generic.IList? Type762 { get; set; } /// /// /// - public global::OpenAI.VectorStoreObjectStatus? Type763 { get; set; } + public global::OpenAI.VectorStoreObject? Type763 { get; set; } /// /// /// - public global::OpenAI.ModifyAssistantRequest? Type764 { get; set; } + public global::OpenAI.VectorStoreObjectObject? Type764 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type765 { get; set; } + public global::OpenAI.VectorStoreObjectFileCounts? Type765 { get; set; } /// /// /// - public global::OpenAI.ToolsItem7? Type766 { get; set; } + public global::OpenAI.VectorStoreObjectStatus? Type766 { get; set; } /// /// /// - public global::OpenAI.ModifyAssistantRequestToolDiscriminator? Type767 { get; set; } + public global::OpenAI.ModifyAssistantRequest? Type767 { get; set; } /// /// /// - public global::OpenAI.ModifyAssistantRequestToolDiscriminatorType? Type768 { get; set; } + public global::System.Collections.Generic.IList? Type768 { get; set; } /// /// /// - public global::OpenAI.ModifyAssistantRequestToolResources? Type769 { get; set; } + public global::OpenAI.ToolsItem7? Type769 { get; set; } /// /// /// - public global::OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type770 { get; set; } + public global::OpenAI.ModifyAssistantRequestToolDiscriminator? Type770 { get; set; } /// /// /// - public global::OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type771 { get; set; } + public global::OpenAI.ModifyAssistantRequestToolDiscriminatorType? Type771 { get; set; } /// /// /// - public global::OpenAI.ModifyMessageRequest? Type772 { get; set; } + public global::OpenAI.ModifyAssistantRequestToolResources? Type772 { get; set; } /// /// /// - public global::OpenAI.ModifyRunRequest? Type773 { get; set; } + public global::OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type773 { get; set; } /// /// /// - public global::OpenAI.ModifyThreadRequest? Type774 { get; set; } + public global::OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type774 { get; set; } /// /// /// - public global::OpenAI.ModifyThreadRequestToolResources? Type775 { get; set; } + public global::OpenAI.ModifyMessageRequest? Type775 { get; set; } /// /// /// - public global::OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type776 { get; set; } + public global::OpenAI.ModifyRunRequest? Type776 { get; set; } /// /// /// - public global::OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type777 { get; set; } + public global::OpenAI.ModifyThreadRequest? Type777 { get; set; } /// /// /// - public global::OpenAI.Project? Type778 { get; set; } + public global::OpenAI.ModifyThreadRequestToolResources? Type778 { get; set; } /// /// /// - public global::OpenAI.ProjectObject? Type779 { get; set; } + public global::OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type779 { get; set; } /// /// /// - public global::OpenAI.ProjectStatus? Type780 { get; set; } + public global::OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type780 { get; set; } /// /// /// - public global::OpenAI.ProjectApiKey? Type781 { get; set; } + public global::OpenAI.Project? Type781 { get; set; } /// /// /// - public global::OpenAI.ProjectApiKeyObject? Type782 { get; set; } + public global::OpenAI.ProjectObject? Type782 { get; set; } /// /// /// - public global::OpenAI.ProjectApiKeyOwner? Type783 { get; set; } + public global::OpenAI.ProjectStatus? Type783 { get; set; } /// /// /// - public global::OpenAI.ProjectApiKeyOwnerType? Type784 { get; set; } + public global::OpenAI.ProjectApiKey? Type784 { get; set; } /// /// /// - public global::OpenAI.ProjectUser? Type785 { get; set; } + public global::OpenAI.ProjectApiKeyObject? Type785 { get; set; } /// /// /// - public global::OpenAI.ProjectUserObject? Type786 { get; set; } + public global::OpenAI.ProjectApiKeyOwner? Type786 { get; set; } /// /// /// - public global::OpenAI.ProjectUserRole? Type787 { get; set; } + public global::OpenAI.ProjectApiKeyOwnerType? Type787 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccount? Type788 { get; set; } + public global::OpenAI.ProjectUser? Type788 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountObject? Type789 { get; set; } + public global::OpenAI.ProjectUserObject? Type789 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountRole? Type790 { get; set; } + public global::OpenAI.ProjectUserRole? Type790 { get; set; } /// /// /// - public global::OpenAI.ProjectApiKeyDeleteResponse? Type791 { get; set; } + public global::OpenAI.ProjectServiceAccount? Type791 { get; set; } /// /// /// - public global::OpenAI.ProjectApiKeyDeleteResponseObject? Type792 { get; set; } + public global::OpenAI.ProjectServiceAccountObject? Type792 { get; set; } /// /// /// - public global::OpenAI.ProjectApiKeyListResponse? Type793 { get; set; } + public global::OpenAI.ProjectServiceAccountRole? Type793 { get; set; } /// /// /// - public global::OpenAI.ProjectApiKeyListResponseObject? Type794 { get; set; } + public global::OpenAI.ProjectApiKeyDeleteResponse? Type794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type795 { get; set; } + public global::OpenAI.ProjectApiKeyDeleteResponseObject? Type795 { get; set; } /// /// /// - public global::OpenAI.ProjectCreateRequest? Type796 { get; set; } + public global::OpenAI.ProjectApiKeyListResponse? Type796 { get; set; } /// /// /// - public global::OpenAI.ProjectListResponse? Type797 { get; set; } + public global::OpenAI.ProjectApiKeyListResponseObject? Type797 { get; set; } /// /// /// - public global::OpenAI.ProjectListResponseObject? Type798 { get; set; } + public global::System.Collections.Generic.IList? Type798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type799 { get; set; } + public global::OpenAI.ProjectCreateRequest? Type799 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountApiKey? Type800 { get; set; } + public global::OpenAI.ProjectListResponse? Type800 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountApiKeyObject? Type801 { get; set; } + public global::OpenAI.ProjectListResponseObject? Type801 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountCreateRequest? Type802 { get; set; } + public global::System.Collections.Generic.IList? Type802 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountCreateResponse? Type803 { get; set; } + public global::OpenAI.ProjectRateLimit? Type803 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountCreateResponseObject? Type804 { get; set; } + public global::OpenAI.ProjectRateLimitObject? Type804 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountCreateResponseRole? Type805 { get; set; } + public global::OpenAI.ProjectRateLimitListResponse? Type805 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountDeleteResponse? Type806 { get; set; } + public global::OpenAI.ProjectRateLimitListResponseObject? Type806 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountDeleteResponseObject? Type807 { get; set; } + public global::System.Collections.Generic.IList? Type807 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountListResponse? Type808 { get; set; } + public global::OpenAI.ProjectRateLimitUpdateRequest? Type808 { get; set; } /// /// /// - public global::OpenAI.ProjectServiceAccountListResponseObject? Type809 { get; set; } + public global::OpenAI.ProjectServiceAccountApiKey? Type809 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type810 { get; set; } + public global::OpenAI.ProjectServiceAccountApiKeyObject? Type810 { get; set; } /// /// /// - public global::OpenAI.ProjectUpdateRequest? Type811 { get; set; } + public global::OpenAI.ProjectServiceAccountCreateRequest? Type811 { get; set; } /// /// /// - public global::OpenAI.ProjectUserCreateRequest? Type812 { get; set; } + public global::OpenAI.ProjectServiceAccountCreateResponse? Type812 { get; set; } /// /// /// - public global::OpenAI.ProjectUserCreateRequestRole? Type813 { get; set; } + public global::OpenAI.ProjectServiceAccountCreateResponseObject? Type813 { get; set; } /// /// /// - public global::OpenAI.ProjectUserDeleteResponse? Type814 { get; set; } + public global::OpenAI.ProjectServiceAccountCreateResponseRole? Type814 { get; set; } /// /// /// - public global::OpenAI.ProjectUserDeleteResponseObject? Type815 { get; set; } + public global::OpenAI.ProjectServiceAccountDeleteResponse? Type815 { get; set; } /// /// /// - public global::OpenAI.ProjectUserListResponse? Type816 { get; set; } + public global::OpenAI.ProjectServiceAccountDeleteResponseObject? Type816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type817 { get; set; } + public global::OpenAI.ProjectServiceAccountListResponse? Type817 { get; set; } /// /// /// - public global::OpenAI.ProjectUserUpdateRequest? Type818 { get; set; } + public global::OpenAI.ProjectServiceAccountListResponseObject? Type818 { get; set; } /// /// /// - public global::OpenAI.ProjectUserUpdateRequestRole? Type819 { get; set; } + public global::System.Collections.Generic.IList? Type819 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventConversationItemCreate? Type820 { get; set; } + public global::OpenAI.ProjectUpdateRequest? Type820 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItem? Type821 { get; set; } + public global::OpenAI.ProjectUserCreateRequest? Type821 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemObject? Type822 { get; set; } + public global::OpenAI.ProjectUserCreateRequestRole? Type822 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemType? Type823 { get; set; } + public global::OpenAI.ProjectUserDeleteResponse? Type823 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemStatus? Type824 { get; set; } + public global::OpenAI.ProjectUserDeleteResponseObject? Type824 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemRole? Type825 { get; set; } + public global::OpenAI.ProjectUserListResponse? Type825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type826 { get; set; } + public global::System.Collections.Generic.IList? Type826 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemContentItem? Type827 { get; set; } + public global::OpenAI.ProjectUserUpdateRequest? Type827 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemContentItemType? Type828 { get; set; } + public global::OpenAI.ProjectUserUpdateRequestRole? Type828 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventConversationItemDelete? Type829 { get; set; } + public global::OpenAI.RealtimeClientEventConversationItemCreate? Type829 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventConversationItemTruncate? Type830 { get; set; } + public global::OpenAI.RealtimeConversationItem? Type830 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventInputAudioBufferAppend? Type831 { get; set; } + public global::OpenAI.RealtimeConversationItemObject? Type831 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventInputAudioBufferClear? Type832 { get; set; } + public global::OpenAI.RealtimeConversationItemType? Type832 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventInputAudioBufferCommit? Type833 { get; set; } + public global::OpenAI.RealtimeConversationItemStatus? Type833 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventResponseCancel? Type834 { get; set; } + public global::OpenAI.RealtimeConversationItemRole? Type834 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventResponseCreate? Type835 { get; set; } + public global::System.Collections.Generic.IList? Type835 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponse? Type836 { get; set; } + public global::OpenAI.RealtimeConversationItemContentItem? Type836 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseObject? Type837 { get; set; } + public global::OpenAI.RealtimeConversationItemContentItemType? Type837 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseStatus? Type838 { get; set; } + public global::OpenAI.RealtimeClientEventConversationItemDelete? Type838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type839 { get; set; } + public global::OpenAI.RealtimeClientEventConversationItemTruncate? Type839 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseUsage? Type840 { get; set; } + public global::OpenAI.RealtimeClientEventInputAudioBufferAppend? Type840 { get; set; } /// /// /// - public global::OpenAI.RealtimeClientEventSessionUpdate? Type841 { get; set; } + public global::OpenAI.RealtimeClientEventInputAudioBufferClear? Type841 { get; set; } /// /// /// - public global::OpenAI.RealtimeSession? Type842 { get; set; } + public global::OpenAI.RealtimeClientEventInputAudioBufferCommit? Type842 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionObject? Type843 { get; set; } + public global::OpenAI.RealtimeClientEventResponseCancel? Type843 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionVoice? Type844 { get; set; } + public global::OpenAI.RealtimeClientEventResponseCreate? Type844 { get; set; } /// /// /// - public global::OpenAI.RealtimeAudioFormat? Type845 { get; set; } + public global::OpenAI.RealtimeResponse? Type845 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionInputAudioTranscription? Type846 { get; set; } + public global::OpenAI.RealtimeResponseObject? Type846 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionTurnDetection? Type847 { get; set; } + public global::OpenAI.RealtimeResponseStatus? Type847 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionTurnDetectionType? Type848 { get; set; } + public global::System.Collections.Generic.IList? Type848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type849 { get; set; } + public global::OpenAI.RealtimeResponseUsage? Type849 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionTool? Type850 { get; set; } + public global::OpenAI.RealtimeClientEventSessionUpdate? Type850 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionToolChoice? Type851 { get; set; } + public global::OpenAI.RealtimeSession? Type851 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type852 { get; set; } + public global::OpenAI.RealtimeSessionObject? Type852 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionMaxOutputTokens? Type853 { get; set; } + public global::OpenAI.RealtimeSessionVoice? Type853 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventConversationCreated? Type854 { get; set; } + public global::OpenAI.RealtimeAudioFormat? Type854 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventConversationCreatedConversation? Type855 { get; set; } + public global::OpenAI.RealtimeSessionInputAudioTranscription? Type855 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventConversationItemCreated? Type856 { get; set; } + public global::OpenAI.RealtimeSessionTurnDetection? Type856 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventConversationItemDeleted? Type857 { get; set; } + public global::OpenAI.RealtimeSessionTurnDetectionType? Type857 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type858 { get; set; } + public global::System.Collections.Generic.IList? Type858 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type859 { get; set; } + public global::OpenAI.RealtimeSessionTool? Type859 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type860 { get; set; } + public global::OpenAI.RealtimeSessionToolChoice? Type860 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventConversationItemTruncated? Type861 { get; set; } + public global::OpenAI.OneOf? Type861 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventError? Type862 { get; set; } + public global::OpenAI.RealtimeSessionMaxOutputTokens? Type862 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventErrorError? Type863 { get; set; } + public global::OpenAI.RealtimeServerEventConversationCreated? Type863 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventInputAudioBufferCleared? Type864 { get; set; } + public global::OpenAI.RealtimeServerEventConversationCreatedConversation? Type864 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type865 { get; set; } + public global::OpenAI.RealtimeServerEventConversationItemCreated? Type865 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type866 { get; set; } + public global::OpenAI.RealtimeServerEventConversationItemDeleted? Type866 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type867 { get; set; } + public global::OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type867 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventRateLimitsUpdated? Type868 { get; set; } + public global::OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type868 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type869 { get; set; } + public global::OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type869 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type870 { get; set; } + public global::OpenAI.RealtimeServerEventConversationItemTruncated? Type870 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseAudioDelta? Type871 { get; set; } + public global::OpenAI.RealtimeServerEventError? Type871 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseAudioDone? Type872 { get; set; } + public global::OpenAI.RealtimeServerEventErrorError? Type872 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type873 { get; set; } + public global::OpenAI.RealtimeServerEventInputAudioBufferCleared? Type873 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type874 { get; set; } + public global::OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type874 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseContentPartAdded? Type875 { get; set; } + public global::OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type875 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type876 { get; set; } + public global::OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type876 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseContentPartDone? Type877 { get; set; } + public global::OpenAI.RealtimeServerEventRateLimitsUpdated? Type877 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseContentPartDonePart? Type878 { get; set; } + public global::System.Collections.Generic.IList? Type878 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseCreated? Type879 { get; set; } + public global::OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type879 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseDone? Type880 { get; set; } + public global::OpenAI.RealtimeServerEventResponseAudioDelta? Type880 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type881 { get; set; } + public global::OpenAI.RealtimeServerEventResponseAudioDone? Type881 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type882 { get; set; } + public global::OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type882 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseOutputItemAdded? Type883 { get; set; } + public global::OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type883 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseOutputItemDone? Type884 { get; set; } + public global::OpenAI.RealtimeServerEventResponseContentPartAdded? Type884 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseTextDelta? Type885 { get; set; } + public global::OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type885 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventResponseTextDone? Type886 { get; set; } + public global::OpenAI.RealtimeServerEventResponseContentPartDone? Type886 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventSessionCreated? Type887 { get; set; } + public global::OpenAI.RealtimeServerEventResponseContentPartDonePart? Type887 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventSessionUpdated? Type888 { get; set; } + public global::OpenAI.RealtimeServerEventResponseCreated? Type888 { get; set; } /// /// /// - public global::OpenAI.SubmitToolOutputsRunRequest? Type889 { get; set; } + public global::OpenAI.RealtimeServerEventResponseDone? Type889 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type890 { get; set; } + public global::OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type890 { get; set; } /// /// /// - public global::OpenAI.SubmitToolOutputsRunRequestToolOutput? Type891 { get; set; } + public global::OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type891 { get; set; } /// /// /// - public global::OpenAI.UpdateVectorStoreRequest? Type892 { get; set; } + public global::OpenAI.RealtimeServerEventResponseOutputItemAdded? Type892 { get; set; } /// /// /// - public global::OpenAI.Upload? Type893 { get; set; } + public global::OpenAI.RealtimeServerEventResponseOutputItemDone? Type893 { get; set; } /// /// /// - public global::OpenAI.UploadStatus? Type894 { get; set; } + public global::OpenAI.RealtimeServerEventResponseTextDelta? Type894 { get; set; } /// /// /// - public global::OpenAI.UploadObject? Type895 { get; set; } + public global::OpenAI.RealtimeServerEventResponseTextDone? Type895 { get; set; } /// /// /// - public global::OpenAI.UploadPart? Type896 { get; set; } + public global::OpenAI.RealtimeServerEventSessionCreated? Type896 { get; set; } /// /// /// - public global::OpenAI.UploadPartObject? Type897 { get; set; } + public global::OpenAI.RealtimeServerEventSessionUpdated? Type897 { get; set; } /// /// /// - public global::OpenAI.User? Type898 { get; set; } + public global::OpenAI.SubmitToolOutputsRunRequest? Type898 { get; set; } /// /// /// - public global::OpenAI.UserObject? Type899 { get; set; } + public global::System.Collections.Generic.IList? Type899 { get; set; } /// /// /// - public global::OpenAI.UserRole? Type900 { get; set; } + public global::OpenAI.SubmitToolOutputsRunRequestToolOutput? Type900 { get; set; } /// /// /// - public global::OpenAI.UserDeleteResponse? Type901 { get; set; } + public global::OpenAI.UpdateVectorStoreRequest? Type901 { get; set; } /// /// /// - public global::OpenAI.UserDeleteResponseObject? Type902 { get; set; } + public global::OpenAI.Upload? Type902 { get; set; } /// /// /// - public global::OpenAI.UserListResponse? Type903 { get; set; } + public global::OpenAI.UploadStatus? Type903 { get; set; } /// /// /// - public global::OpenAI.UserListResponseObject? Type904 { get; set; } + public global::OpenAI.UploadObject? Type904 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type905 { get; set; } + public global::OpenAI.UploadPart? Type905 { get; set; } /// /// /// - public global::OpenAI.UserRoleUpdateRequest? Type906 { get; set; } + public global::OpenAI.UploadPartObject? Type906 { get; set; } /// /// /// - public global::OpenAI.UserRoleUpdateRequestRole? Type907 { get; set; } + public global::OpenAI.User? Type907 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileBatchObject? Type908 { get; set; } + public global::OpenAI.UserObject? Type908 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileBatchObjectObject? Type909 { get; set; } + public global::OpenAI.UserRole? Type909 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileBatchObjectStatus? Type910 { get; set; } + public global::OpenAI.UserDeleteResponse? Type910 { get; set; } /// /// /// - public global::OpenAI.VectorStoreFileBatchObjectFileCounts? Type911 { get; set; } + public global::OpenAI.UserDeleteResponseObject? Type911 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventType? Type912 { get; set; } + public global::OpenAI.UserListResponse? Type912 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventBase? Type913 { get; set; } + public global::OpenAI.UserListResponseObject? Type913 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversation? Type914 { get; set; } + public global::System.Collections.Generic.IList? Type914 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationObject? Type915 { get; set; } + public global::OpenAI.UserRoleUpdateRequest? Type915 { get; set; } /// /// /// - public global::OpenAI.RealtimeContentPart? Type916 { get; set; } + public global::OpenAI.UserRoleUpdateRequestRole? Type916 { get; set; } /// /// /// - public global::OpenAI.RealtimeContentPartType? Type917 { get; set; } + public global::OpenAI.VectorStoreFileBatchObject? Type917 { get; set; } /// /// /// - public global::OpenAI.RealtimeErrorDetails? Type918 { get; set; } + public global::OpenAI.VectorStoreFileBatchObjectObject? Type918 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionUpdate? Type919 { get; set; } + public global::OpenAI.VectorStoreFileBatchObjectStatus? Type919 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionUpdateType? Type920 { get; set; } + public global::OpenAI.VectorStoreFileBatchObjectFileCounts? Type920 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferAppend? Type921 { get; set; } + public global::OpenAI.RealtimeServerEventType? Type921 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferAppendType? Type922 { get; set; } + public global::OpenAI.RealtimeServerEventBase? Type922 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferCommit? Type923 { get; set; } + public global::OpenAI.RealtimeConversation? Type923 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferCommitType? Type924 { get; set; } + public global::OpenAI.RealtimeConversationObject? Type924 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferClear? Type925 { get; set; } + public global::OpenAI.RealtimeContentPart? Type925 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferClearType? Type926 { get; set; } + public global::OpenAI.RealtimeContentPartType? Type926 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemCreate? Type927 { get; set; } + public global::OpenAI.RealtimeErrorDetails? Type927 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemCreateType? Type928 { get; set; } + public global::OpenAI.RealtimeSessionUpdate? Type928 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemTruncate? Type929 { get; set; } + public global::OpenAI.RealtimeSessionUpdateType? Type929 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemTruncateType? Type930 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferAppend? Type930 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemDelete? Type931 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferAppendType? Type931 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemDeleteType? Type932 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferCommit? Type932 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreate? Type933 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferCommitType? Type933 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreateType? Type934 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferClear? Type934 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreateResponse? Type935 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferClearType? Type935 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type936 { get; set; } + public global::OpenAI.RealtimeConversationItemCreate? Type936 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreateResponseModalitie? Type937 { get; set; } + public global::OpenAI.RealtimeConversationItemCreateType? Type937 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreateResponseVoice? Type938 { get; set; } + public global::OpenAI.RealtimeConversationItemTruncate? Type938 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type939 { get; set; } + public global::OpenAI.RealtimeConversationItemTruncateType? Type939 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreateResponseTool? Type940 { get; set; } + public global::OpenAI.RealtimeConversationItemDelete? Type940 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type941 { get; set; } + public global::OpenAI.RealtimeConversationItemDeleteType? Type941 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreateResponseToolChoice? Type942 { get; set; } + public global::OpenAI.RealtimeResponseCreate? Type942 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type943 { get; set; } + public global::OpenAI.RealtimeResponseCreateType? Type943 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreateResponseMaxOutputTokens? Type944 { get; set; } + public global::OpenAI.RealtimeResponseCreateResponse? Type944 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCancel? Type945 { get; set; } + public global::System.Collections.Generic.IList? Type945 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCancelType? Type946 { get; set; } + public global::OpenAI.RealtimeResponseCreateResponseModalitie? Type946 { get; set; } /// /// /// - public global::OpenAI.RealtimeError? Type947 { get; set; } + public global::OpenAI.RealtimeResponseCreateResponseVoice? Type947 { get; set; } /// /// /// - public global::OpenAI.RealtimeErrorType? Type948 { get; set; } + public global::System.Collections.Generic.IList? Type948 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionCreated? Type949 { get; set; } + public global::OpenAI.RealtimeResponseCreateResponseTool? Type949 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionCreatedType? Type950 { get; set; } + public global::OpenAI.OneOf? Type950 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionUpdated? Type951 { get; set; } + public global::OpenAI.RealtimeResponseCreateResponseToolChoice? Type951 { get; set; } /// /// /// - public global::OpenAI.RealtimeSessionUpdatedType? Type952 { get; set; } + public global::OpenAI.OneOf? Type952 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationCreated? Type953 { get; set; } + public global::OpenAI.RealtimeResponseCreateResponseMaxOutputTokens? Type953 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationCreatedType? Type954 { get; set; } + public global::OpenAI.RealtimeResponseCancel? Type954 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemCreated? Type955 { get; set; } + public global::OpenAI.RealtimeResponseCancelType? Type955 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemCreatedType? Type956 { get; set; } + public global::OpenAI.RealtimeError? Type956 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemInputAudioTranscriptionCompleted? Type957 { get; set; } + public global::OpenAI.RealtimeErrorType? Type957 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemInputAudioTranscriptionCompletedType? Type958 { get; set; } + public global::OpenAI.RealtimeSessionCreated? Type958 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemInputAudioTranscriptionFailed? Type959 { get; set; } + public global::OpenAI.RealtimeSessionCreatedType? Type959 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemInputAudioTranscriptionFailedType? Type960 { get; set; } + public global::OpenAI.RealtimeSessionUpdated? Type960 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemTruncated? Type961 { get; set; } + public global::OpenAI.RealtimeSessionUpdatedType? Type961 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemTruncatedType? Type962 { get; set; } + public global::OpenAI.RealtimeConversationCreated? Type962 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemDeleted? Type963 { get; set; } + public global::OpenAI.RealtimeConversationCreatedType? Type963 { get; set; } /// /// /// - public global::OpenAI.RealtimeConversationItemDeletedType? Type964 { get; set; } + public global::OpenAI.RealtimeConversationItemCreated? Type964 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferCommitted? Type965 { get; set; } + public global::OpenAI.RealtimeConversationItemCreatedType? Type965 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferCommittedType? Type966 { get; set; } + public global::OpenAI.RealtimeConversationItemInputAudioTranscriptionCompleted? Type966 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferCleared? Type967 { get; set; } + public global::OpenAI.RealtimeConversationItemInputAudioTranscriptionCompletedType? Type967 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferClearedType? Type968 { get; set; } + public global::OpenAI.RealtimeConversationItemInputAudioTranscriptionFailed? Type968 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferSpeechStarted? Type969 { get; set; } + public global::OpenAI.RealtimeConversationItemInputAudioTranscriptionFailedType? Type969 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferSpeechStartedType? Type970 { get; set; } + public global::OpenAI.RealtimeConversationItemTruncated? Type970 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferSpeechStopped? Type971 { get; set; } + public global::OpenAI.RealtimeConversationItemTruncatedType? Type971 { get; set; } /// /// /// - public global::OpenAI.RealtimeInputAudioBufferSpeechStoppedType? Type972 { get; set; } + public global::OpenAI.RealtimeConversationItemDeleted? Type972 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreated? Type973 { get; set; } + public global::OpenAI.RealtimeConversationItemDeletedType? Type973 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseCreatedType? Type974 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferCommitted? Type974 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseDone? Type975 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferCommittedType? Type975 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseDoneType? Type976 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferCleared? Type976 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseOutputItemAdded? Type977 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferClearedType? Type977 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseOutputItemAddedType? Type978 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferSpeechStarted? Type978 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseOutputItemDone? Type979 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferSpeechStartedType? Type979 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseOutputItemDoneType? Type980 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferSpeechStopped? Type980 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseContentPartAdded? Type981 { get; set; } + public global::OpenAI.RealtimeInputAudioBufferSpeechStoppedType? Type981 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseContentPartAddedType? Type982 { get; set; } + public global::OpenAI.RealtimeResponseCreated? Type982 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseContentPartDone? Type983 { get; set; } + public global::OpenAI.RealtimeResponseCreatedType? Type983 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseContentPartDoneType? Type984 { get; set; } + public global::OpenAI.RealtimeResponseDone? Type984 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseTextDelta? Type985 { get; set; } + public global::OpenAI.RealtimeResponseDoneType? Type985 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseTextDeltaType? Type986 { get; set; } + public global::OpenAI.RealtimeResponseOutputItemAdded? Type986 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseTextDone? Type987 { get; set; } + public global::OpenAI.RealtimeResponseOutputItemAddedType? Type987 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseTextDoneType? Type988 { get; set; } + public global::OpenAI.RealtimeResponseOutputItemDone? Type988 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseAudioTranscriptDelta? Type989 { get; set; } + public global::OpenAI.RealtimeResponseOutputItemDoneType? Type989 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseAudioTranscriptDeltaType? Type990 { get; set; } + public global::OpenAI.RealtimeResponseContentPartAdded? Type990 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseAudioTranscriptDone? Type991 { get; set; } + public global::OpenAI.RealtimeResponseContentPartAddedType? Type991 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseAudioTranscriptDoneType? Type992 { get; set; } + public global::OpenAI.RealtimeResponseContentPartDone? Type992 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseAudioDelta? Type993 { get; set; } + public global::OpenAI.RealtimeResponseContentPartDoneType? Type993 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseAudioDeltaType? Type994 { get; set; } + public global::OpenAI.RealtimeResponseTextDelta? Type994 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseAudioDone? Type995 { get; set; } + public global::OpenAI.RealtimeResponseTextDeltaType? Type995 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseAudioDoneType? Type996 { get; set; } + public global::OpenAI.RealtimeResponseTextDone? Type996 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseFunctionCallArgumentsDelta? Type997 { get; set; } + public global::OpenAI.RealtimeResponseTextDoneType? Type997 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseFunctionCallArgumentsDeltaType? Type998 { get; set; } + public global::OpenAI.RealtimeResponseAudioTranscriptDelta? Type998 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseFunctionCallArgumentsDone? Type999 { get; set; } + public global::OpenAI.RealtimeResponseAudioTranscriptDeltaType? Type999 { get; set; } /// /// /// - public global::OpenAI.RealtimeResponseFunctionCallArgumentsDoneType? Type1000 { get; set; } + public global::OpenAI.RealtimeResponseAudioTranscriptDone? Type1000 { get; set; } /// /// /// - public global::OpenAI.RealtimeRateLimitsUpdated? Type1001 { get; set; } + public global::OpenAI.RealtimeResponseAudioTranscriptDoneType? Type1001 { get; set; } /// /// /// - public global::OpenAI.RealtimeRateLimitsUpdatedType? Type1002 { get; set; } + public global::OpenAI.RealtimeResponseAudioDelta? Type1002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1003 { get; set; } + public global::OpenAI.RealtimeResponseAudioDeltaType? Type1003 { get; set; } /// /// /// - public global::OpenAI.RealtimeRateLimitsUpdatedRateLimit? Type1004 { get; set; } + public global::OpenAI.RealtimeResponseAudioDone? Type1004 { get; set; } /// /// /// - public global::OpenAI.RealtimeRateLimitsUpdatedRateLimitName? Type1005 { get; set; } + public global::OpenAI.RealtimeResponseAudioDoneType? Type1005 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEvent? Type1006 { get; set; } + public global::OpenAI.RealtimeResponseFunctionCallArgumentsDelta? Type1006 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventDiscriminator? Type1007 { get; set; } + public global::OpenAI.RealtimeResponseFunctionCallArgumentsDeltaType? Type1007 { get; set; } /// /// /// - public global::OpenAI.RealtimeServerEventDiscriminatorType? Type1008 { get; set; } + public global::OpenAI.RealtimeResponseFunctionCallArgumentsDone? Type1008 { get; set; } /// /// /// - public global::OpenAI.CreateBatchRequest? Type1009 { get; set; } + public global::OpenAI.RealtimeResponseFunctionCallArgumentsDoneType? Type1009 { get; set; } /// /// /// - public global::OpenAI.CreateBatchRequestEndpoint? Type1010 { get; set; } + public global::OpenAI.RealtimeRateLimitsUpdated? Type1010 { get; set; } /// /// /// - public global::OpenAI.CreateBatchRequestCompletionWindow? Type1011 { get; set; } + public global::OpenAI.RealtimeRateLimitsUpdatedType? Type1011 { get; set; } /// /// /// - public global::OpenAI.ListAssistantsOrder? Type1012 { get; set; } + public global::System.Collections.Generic.IList? Type1012 { get; set; } /// /// /// - public global::OpenAI.ListFilesOrder? Type1013 { get; set; } + public global::OpenAI.RealtimeRateLimitsUpdatedRateLimit? Type1013 { get; set; } /// /// /// - public global::OpenAI.ListAuditLogsEffectiveAt? Type1014 { get; set; } + public global::OpenAI.RealtimeRateLimitsUpdatedRateLimitName? Type1014 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1015 { get; set; } + public global::OpenAI.RealtimeServerEvent? Type1015 { get; set; } /// /// /// - public global::OpenAI.ListMessagesOrder? Type1016 { get; set; } + public global::OpenAI.RealtimeServerEventDiscriminator? Type1016 { get; set; } /// /// /// - public global::OpenAI.ListRunsOrder? Type1017 { get; set; } + public global::OpenAI.RealtimeServerEventDiscriminatorType? Type1017 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1018 { get; set; } + public global::OpenAI.CreateBatchRequest? Type1018 { get; set; } /// /// /// - public global::OpenAI.CreateRunIncludeItem? Type1019 { get; set; } + public global::OpenAI.CreateBatchRequestEndpoint? Type1019 { get; set; } /// /// /// - public global::OpenAI.ListRunStepsOrder? Type1020 { get; set; } + public global::OpenAI.CreateBatchRequestCompletionWindow? Type1020 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1021 { get; set; } + public global::OpenAI.ListAssistantsOrder? Type1021 { get; set; } /// /// /// - public global::OpenAI.ListRunStepsIncludeItem? Type1022 { get; set; } + public global::OpenAI.ListFilesOrder? Type1022 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1023 { get; set; } + public global::OpenAI.ListAuditLogsEffectiveAt? Type1023 { get; set; } /// /// /// - public global::OpenAI.GetRunStepIncludeItem? Type1024 { get; set; } + public global::System.Collections.Generic.IList? Type1024 { get; set; } /// /// /// - public global::OpenAI.ListVectorStoresOrder? Type1025 { get; set; } + public global::OpenAI.ListMessagesOrder? Type1025 { get; set; } /// /// /// - public global::OpenAI.ListFilesInVectorStoreBatchOrder? Type1026 { get; set; } + public global::OpenAI.ListRunsOrder? Type1026 { get; set; } /// /// /// - public global::OpenAI.ListFilesInVectorStoreBatchFilter? Type1027 { get; set; } + public global::System.Collections.Generic.IList? Type1027 { get; set; } /// /// /// - public global::OpenAI.ListVectorStoreFilesOrder? Type1028 { get; set; } + public global::OpenAI.CreateRunIncludeItem? Type1028 { get; set; } /// /// /// - public global::OpenAI.ListVectorStoreFilesFilter? Type1029 { get; set; } + public global::OpenAI.ListRunStepsOrder? Type1029 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type1030 { get; set; } + public global::System.Collections.Generic.IList? Type1030 { get; set; } /// /// /// - public global::OpenAI.OneOf? Type1031 { get; set; } + public global::OpenAI.ListRunStepsIncludeItem? Type1031 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type1032 { get; set; } + /// + /// + /// + public global::OpenAI.GetRunStepIncludeItem? Type1033 { get; set; } + /// + /// + /// + public global::OpenAI.ListVectorStoresOrder? Type1034 { get; set; } + /// + /// + /// + public global::OpenAI.ListFilesInVectorStoreBatchOrder? Type1035 { get; set; } + /// + /// + /// + public global::OpenAI.ListFilesInVectorStoreBatchFilter? Type1036 { get; set; } + /// + /// + /// + public global::OpenAI.ListVectorStoreFilesOrder? Type1037 { get; set; } + /// + /// + /// + public global::OpenAI.ListVectorStoreFilesFilter? Type1038 { get; set; } + /// + /// + /// + public global::OpenAI.OneOf? Type1039 { get; set; } + /// + /// + /// + public global::OpenAI.OneOf? Type1040 { get; set; } } } \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.BatchClient.CreateBatch.g.cs b/src/libs/OpenAI/Generated/OpenAI.BatchClient.CreateBatch.g.cs index 7886c1a..4e4c9ca 100644 --- a/src/libs/OpenAI/Generated/OpenAI.BatchClient.CreateBatch.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.BatchClient.CreateBatch.g.cs @@ -159,7 +159,7 @@ partial void ProcessCreateBatchResponseContent( /// /// The ID of an uploaded file that contains requests for the new batch.
/// See [upload file](/docs/api-reference/files/create) for how to upload a file.
- /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 100 MB in size. + /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 200 MB in size. /// /// /// The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported. Note that `/v1/embeddings` batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch. diff --git a/src/libs/OpenAI/Generated/OpenAI.ChatClient.CreateChatCompletion.g.cs b/src/libs/OpenAI/Generated/OpenAI.ChatClient.CreateChatCompletion.g.cs index fb027fa..05beaa5 100644 --- a/src/libs/OpenAI/Generated/OpenAI.ChatClient.CreateChatCompletion.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.ChatClient.CreateChatCompletion.g.cs @@ -213,7 +213,7 @@ partial void ProcessCreateChatCompletionResponseContent( /// `["text", "audio"]` /// /// - /// Configuration for a [Predicted Output](/docs/guides/latency-optimization#use-predicted-outputs),
+ /// Configuration for a [Predicted Output](/docs/guides/predicted-outputs),
/// which can greatly improve response times when large parts of the model
/// response are known ahead of time. This is most common when you are
/// regenerating a file with only minor changes to most of the content. diff --git a/src/libs/OpenAI/Generated/OpenAI.FilesClient.CreateFile.g.cs b/src/libs/OpenAI/Generated/OpenAI.FilesClient.CreateFile.g.cs index 7221265..d562056 100644 --- a/src/libs/OpenAI/Generated/OpenAI.FilesClient.CreateFile.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.FilesClient.CreateFile.g.cs @@ -25,7 +25,7 @@ partial void ProcessCreateFileResponseContent( /// Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
/// The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
/// The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.
- /// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
+ /// The Batch API only supports `.jsonl` files up to 200 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
/// Please [contact us](https://help.openai.com/) if you need to increase these storage limits. /// /// @@ -164,7 +164,7 @@ partial void ProcessCreateFileResponseContent( /// Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
/// The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
/// The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.
- /// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
+ /// The Batch API only supports `.jsonl` files up to 200 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
/// Please [contact us](https://help.openai.com/) if you need to increase these storage limits. /// /// diff --git a/src/libs/OpenAI/Generated/OpenAI.IBatchClient.CreateBatch.g.cs b/src/libs/OpenAI/Generated/OpenAI.IBatchClient.CreateBatch.g.cs index ee1688c..a3fe734 100644 --- a/src/libs/OpenAI/Generated/OpenAI.IBatchClient.CreateBatch.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.IBatchClient.CreateBatch.g.cs @@ -20,7 +20,7 @@ public partial interface IBatchClient /// /// The ID of an uploaded file that contains requests for the new batch.
/// See [upload file](/docs/api-reference/files/create) for how to upload a file.
- /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 100 MB in size. + /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 200 MB in size. /// /// /// The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported. Note that `/v1/embeddings` batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch. diff --git a/src/libs/OpenAI/Generated/OpenAI.IChatClient.CreateChatCompletion.g.cs b/src/libs/OpenAI/Generated/OpenAI.IChatClient.CreateChatCompletion.g.cs index 07d5673..95ed3ab 100644 --- a/src/libs/OpenAI/Generated/OpenAI.IChatClient.CreateChatCompletion.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.IChatClient.CreateChatCompletion.g.cs @@ -74,7 +74,7 @@ public partial interface IChatClient /// `["text", "audio"]` /// /// - /// Configuration for a [Predicted Output](/docs/guides/latency-optimization#use-predicted-outputs),
+ /// Configuration for a [Predicted Output](/docs/guides/predicted-outputs),
/// which can greatly improve response times when large parts of the model
/// response are known ahead of time. This is most common when you are
/// regenerating a file with only minor changes to most of the content. diff --git a/src/libs/OpenAI/Generated/OpenAI.IFilesClient.CreateFile.g.cs b/src/libs/OpenAI/Generated/OpenAI.IFilesClient.CreateFile.g.cs index f665e70..6d6ed2f 100644 --- a/src/libs/OpenAI/Generated/OpenAI.IFilesClient.CreateFile.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.IFilesClient.CreateFile.g.cs @@ -8,7 +8,7 @@ public partial interface IFilesClient /// Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
/// The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
/// The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.
- /// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
+ /// The Batch API only supports `.jsonl` files up to 200 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
/// Please [contact us](https://help.openai.com/) if you need to increase these storage limits. /// /// @@ -22,7 +22,7 @@ public partial interface IFilesClient /// Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.
/// The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.
/// The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.
- /// The Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
+ /// The Batch API only supports `.jsonl` files up to 200 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).
/// Please [contact us](https://help.openai.com/) if you need to increase these storage limits. /// /// diff --git a/src/libs/OpenAI/Generated/OpenAI.IProjectsClient.ListProjectRateLimits.g.cs b/src/libs/OpenAI/Generated/OpenAI.IProjectsClient.ListProjectRateLimits.g.cs new file mode 100644 index 0000000..60803b4 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.IProjectsClient.ListProjectRateLimits.g.cs @@ -0,0 +1,25 @@ +#nullable enable + +namespace OpenAI +{ + public partial interface IProjectsClient + { + /// + /// Returns the rate limits per model for a project. + /// + /// + /// + /// Default Value: 100 + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListProjectRateLimitsAsync( + string projectId, + int? limit = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.IProjectsClient.UpdateProjectRateLimits.g.cs b/src/libs/OpenAI/Generated/OpenAI.IProjectsClient.UpdateProjectRateLimits.g.cs new file mode 100644 index 0000000..d671f41 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.IProjectsClient.UpdateProjectRateLimits.g.cs @@ -0,0 +1,57 @@ +#nullable enable + +namespace OpenAI +{ + public partial interface IProjectsClient + { + /// + /// Updates a project rate limit. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateProjectRateLimitsAsync( + string projectId, + string rateLimitId, + global::OpenAI.ProjectRateLimitUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Updates a project rate limit. + /// + /// + /// + /// + /// The maximum requests per minute. + /// + /// + /// The maximum tokens per minute. + /// + /// + /// The maximum images per minute. Only relevant for certain models. + /// + /// + /// The maximum audio megabytes per minute. Only relevant for certain models. + /// + /// + /// The maximum requests per day. Only relevant for certain models. + /// + /// + /// The maximum batch input tokens per day. Only relevant for certain models. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateProjectRateLimitsAsync( + string projectId, + string rateLimitId, + int? maxRequestsPer1Minute = default, + int? maxTokensPer1Minute = default, + int? maxImagesPer1Minute = default, + int? maxAudioMegabytesPer1Minute = default, + int? maxRequestsPer1Day = default, + int? batch1DayMaxInputTokens = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.AuditLog.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLog.g.cs index 23fe5f4..60f2fd8 100644 --- a/src/libs/OpenAI/Generated/OpenAI.Models.AuditLog.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLog.g.cs @@ -116,6 +116,18 @@ public sealed partial class AuditLog [global::System.Text.Json.Serialization.JsonPropertyName("project.archived")] public global::OpenAI.AuditLogProjectArchived? ProjectArchived { get; set; } + /// + /// The details for events with this `type`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rate_limit.updated")] + public global::OpenAI.AuditLogRateLimitUpdated? RateLimitUpdated { get; set; } + + /// + /// The details for events with this `type`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rate_limit.deleted")] + public global::OpenAI.AuditLogRateLimitDeleted? RateLimitDeleted { get; set; } + /// /// The details for events with this `type`. /// @@ -212,6 +224,12 @@ public sealed partial class AuditLog /// /// The details for events with this `type`. /// + /// + /// The details for events with this `type`. + /// + /// + /// The details for events with this `type`. + /// /// /// The details for events with this `type`. /// @@ -249,6 +267,8 @@ public AuditLog( global::OpenAI.AuditLogProjectCreated? projectCreated, global::OpenAI.AuditLogProjectUpdated? projectUpdated, global::OpenAI.AuditLogProjectArchived? projectArchived, + global::OpenAI.AuditLogRateLimitUpdated? rateLimitUpdated, + global::OpenAI.AuditLogRateLimitDeleted? rateLimitDeleted, global::OpenAI.AuditLogServiceAccountCreated? serviceAccountCreated, global::OpenAI.AuditLogServiceAccountUpdated? serviceAccountUpdated, global::OpenAI.AuditLogServiceAccountDeleted? serviceAccountDeleted, @@ -273,6 +293,8 @@ public AuditLog( this.ProjectCreated = projectCreated; this.ProjectUpdated = projectUpdated; this.ProjectArchived = projectArchived; + this.RateLimitUpdated = rateLimitUpdated; + this.RateLimitDeleted = rateLimitDeleted; this.ServiceAccountCreated = serviceAccountCreated; this.ServiceAccountUpdated = serviceAccountUpdated; this.ServiceAccountDeleted = serviceAccountDeleted; diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogEventType.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogEventType.g.cs index ee8f11d..3cf3838 100644 --- a/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogEventType.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogEventType.g.cs @@ -79,6 +79,14 @@ public enum AuditLogEventType /// /// /// + RateLimitUpdated, + /// + /// + /// + RateLimitDeleted, + /// + /// + /// UserAdded, /// /// @@ -119,6 +127,8 @@ public static string ToValueString(this AuditLogEventType value) AuditLogEventType.ServiceAccountCreated => "service_account.created", AuditLogEventType.ServiceAccountUpdated => "service_account.updated", AuditLogEventType.ServiceAccountDeleted => "service_account.deleted", + AuditLogEventType.RateLimitUpdated => "rate_limit.updated", + AuditLogEventType.RateLimitDeleted => "rate_limit.deleted", AuditLogEventType.UserAdded => "user.added", AuditLogEventType.UserUpdated => "user.updated", AuditLogEventType.UserDeleted => "user.deleted", @@ -149,6 +159,8 @@ public static string ToValueString(this AuditLogEventType value) "service_account.created" => AuditLogEventType.ServiceAccountCreated, "service_account.updated" => AuditLogEventType.ServiceAccountUpdated, "service_account.deleted" => AuditLogEventType.ServiceAccountDeleted, + "rate_limit.updated" => AuditLogEventType.RateLimitUpdated, + "rate_limit.deleted" => AuditLogEventType.RateLimitDeleted, "user.added" => AuditLogEventType.UserAdded, "user.updated" => AuditLogEventType.UserUpdated, "user.deleted" => AuditLogEventType.UserDeleted, diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitDeleted.Json.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitDeleted.Json.g.cs new file mode 100644 index 0000000..6ea0a04 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitDeleted.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenAI +{ + public sealed partial class AuditLogRateLimitDeleted + { + /// + /// 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::OpenAI.AuditLogRateLimitDeleted? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenAI.AuditLogRateLimitDeleted), + jsonSerializerContext) as global::OpenAI.AuditLogRateLimitDeleted; + } + + /// + /// 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::OpenAI.AuditLogRateLimitDeleted? 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::OpenAI.AuditLogRateLimitDeleted), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenAI.AuditLogRateLimitDeleted; + } + + /// + /// 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/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitDeleted.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitDeleted.g.cs new file mode 100644 index 0000000..e327de1 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitDeleted.g.cs @@ -0,0 +1,43 @@ + +#nullable enable + +namespace OpenAI +{ + /// + /// The details for events with this `type`. + /// + public sealed partial class AuditLogRateLimitDeleted + { + /// + /// The rate limit ID + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The rate limit ID + /// + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public AuditLogRateLimitDeleted( + string? id) + { + this.Id = id; + } + + /// + /// Initializes a new instance of the class. + /// + public AuditLogRateLimitDeleted() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdated.Json.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdated.Json.g.cs new file mode 100644 index 0000000..387fd40 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdated.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenAI +{ + public sealed partial class AuditLogRateLimitUpdated + { + /// + /// 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::OpenAI.AuditLogRateLimitUpdated? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenAI.AuditLogRateLimitUpdated), + jsonSerializerContext) as global::OpenAI.AuditLogRateLimitUpdated; + } + + /// + /// 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::OpenAI.AuditLogRateLimitUpdated? 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::OpenAI.AuditLogRateLimitUpdated), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenAI.AuditLogRateLimitUpdated; + } + + /// + /// 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/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdated.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdated.g.cs new file mode 100644 index 0000000..a579233 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdated.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace OpenAI +{ + /// + /// The details for events with this `type`. + /// + public sealed partial class AuditLogRateLimitUpdated + { + /// + /// The rate limit ID + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public string? Id { get; set; } + + /// + /// The payload used to update the rate limits. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("changes_requested")] + public global::OpenAI.AuditLogRateLimitUpdatedChangesRequested? ChangesRequested { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The rate limit ID + /// + /// + /// The payload used to update the rate limits. + /// + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public AuditLogRateLimitUpdated( + string? id, + global::OpenAI.AuditLogRateLimitUpdatedChangesRequested? changesRequested) + { + this.Id = id; + this.ChangesRequested = changesRequested; + } + + /// + /// Initializes a new instance of the class. + /// + public AuditLogRateLimitUpdated() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdatedChangesRequested.Json.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdatedChangesRequested.Json.g.cs new file mode 100644 index 0000000..f8a3410 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdatedChangesRequested.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenAI +{ + public sealed partial class AuditLogRateLimitUpdatedChangesRequested + { + /// + /// 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::OpenAI.AuditLogRateLimitUpdatedChangesRequested? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenAI.AuditLogRateLimitUpdatedChangesRequested), + jsonSerializerContext) as global::OpenAI.AuditLogRateLimitUpdatedChangesRequested; + } + + /// + /// 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::OpenAI.AuditLogRateLimitUpdatedChangesRequested? 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::OpenAI.AuditLogRateLimitUpdatedChangesRequested), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenAI.AuditLogRateLimitUpdatedChangesRequested; + } + + /// + /// 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/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdatedChangesRequested.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdatedChangesRequested.g.cs new file mode 100644 index 0000000..9cd439b --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.AuditLogRateLimitUpdatedChangesRequested.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace OpenAI +{ + /// + /// The payload used to update the rate limits. + /// + public sealed partial class AuditLogRateLimitUpdatedChangesRequested + { + /// + /// The maximum requests per minute. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_requests_per_1_minute")] + public int? MaxRequestsPer1Minute { get; set; } + + /// + /// The maximum tokens per minute. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_tokens_per_1_minute")] + public int? MaxTokensPer1Minute { get; set; } + + /// + /// The maximum images per minute. Only relevant for certain models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_images_per_1_minute")] + public int? MaxImagesPer1Minute { get; set; } + + /// + /// The maximum audio megabytes per minute. Only relevant for certain models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_audio_megabytes_per_1_minute")] + public int? MaxAudioMegabytesPer1Minute { get; set; } + + /// + /// The maximum requests per day. Only relevant for certain models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_requests_per_1_day")] + public int? MaxRequestsPer1Day { get; set; } + + /// + /// The maximum batch input tokens per day. Only relevant for certain models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("batch_1_day_max_input_tokens")] + public int? Batch1DayMaxInputTokens { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The maximum requests per minute. + /// + /// + /// The maximum tokens per minute. + /// + /// + /// The maximum images per minute. Only relevant for certain models. + /// + /// + /// The maximum audio megabytes per minute. Only relevant for certain models. + /// + /// + /// The maximum requests per day. Only relevant for certain models. + /// + /// + /// The maximum batch input tokens per day. Only relevant for certain models. + /// + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public AuditLogRateLimitUpdatedChangesRequested( + int? maxRequestsPer1Minute, + int? maxTokensPer1Minute, + int? maxImagesPer1Minute, + int? maxAudioMegabytesPer1Minute, + int? maxRequestsPer1Day, + int? batch1DayMaxInputTokens) + { + this.MaxRequestsPer1Minute = maxRequestsPer1Minute; + this.MaxTokensPer1Minute = maxTokensPer1Minute; + this.MaxImagesPer1Minute = maxImagesPer1Minute; + this.MaxAudioMegabytesPer1Minute = maxAudioMegabytesPer1Minute; + this.MaxRequestsPer1Day = maxRequestsPer1Day; + this.Batch1DayMaxInputTokens = batch1DayMaxInputTokens; + } + + /// + /// Initializes a new instance of the class. + /// + public AuditLogRateLimitUpdatedChangesRequested() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.CreateBatchRequest.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.CreateBatchRequest.g.cs index efc785a..1a62d93 100644 --- a/src/libs/OpenAI/Generated/OpenAI.Models.CreateBatchRequest.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.Models.CreateBatchRequest.g.cs @@ -11,7 +11,7 @@ public sealed partial class CreateBatchRequest /// /// The ID of an uploaded file that contains requests for the new batch.
/// See [upload file](/docs/api-reference/files/create) for how to upload a file.
- /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 100 MB in size. + /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 200 MB in size. ///
[global::System.Text.Json.Serialization.JsonPropertyName("input_file_id")] [global::System.Text.Json.Serialization.JsonRequired] @@ -50,7 +50,7 @@ public sealed partial class CreateBatchRequest /// /// The ID of an uploaded file that contains requests for the new batch.
/// See [upload file](/docs/api-reference/files/create) for how to upload a file.
- /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 100 MB in size. + /// Your input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 200 MB in size. /// /// /// The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported. Note that `/v1/embeddings` batches are also restricted to a maximum of 50,000 embedding inputs across all requests in the batch. diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.CreateChatCompletionRequest.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.CreateChatCompletionRequest.g.cs index 3fffdb3..a3b6b63 100644 --- a/src/libs/OpenAI/Generated/OpenAI.Models.CreateChatCompletionRequest.g.cs +++ b/src/libs/OpenAI/Generated/OpenAI.Models.CreateChatCompletionRequest.g.cs @@ -109,7 +109,7 @@ public sealed partial class CreateChatCompletionRequest public global::System.Collections.Generic.IList? Modalities { get; set; } /// - /// Configuration for a [Predicted Output](/docs/guides/latency-optimization#use-predicted-outputs),
+ /// Configuration for a [Predicted Output](/docs/guides/predicted-outputs),
/// which can greatly improve response times when large parts of the model
/// response are known ahead of time. This is most common when you are
/// regenerating a file with only minor changes to most of the content. @@ -317,7 +317,7 @@ public sealed partial class CreateChatCompletionRequest /// `["text", "audio"]` /// /// - /// Configuration for a [Predicted Output](/docs/guides/latency-optimization#use-predicted-outputs),
+ /// Configuration for a [Predicted Output](/docs/guides/predicted-outputs),
/// which can greatly improve response times when large parts of the model
/// response are known ahead of time. This is most common when you are
/// regenerating a file with only minor changes to most of the content. diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimit.Json.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimit.Json.g.cs new file mode 100644 index 0000000..afaf89e --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimit.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenAI +{ + public sealed partial class ProjectRateLimit + { + /// + /// 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::OpenAI.ProjectRateLimit? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenAI.ProjectRateLimit), + jsonSerializerContext) as global::OpenAI.ProjectRateLimit; + } + + /// + /// 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::OpenAI.ProjectRateLimit? 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::OpenAI.ProjectRateLimit), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenAI.ProjectRateLimit; + } + + /// + /// 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/OpenAI/Generated/OpenAI.Models.ProjectRateLimit.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimit.g.cs new file mode 100644 index 0000000..99e5a2f --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimit.g.cs @@ -0,0 +1,136 @@ + +#nullable enable + +namespace OpenAI +{ + /// + /// Represents a project rate limit config. + /// + public sealed partial class ProjectRateLimit + { + /// + /// The object type, which is always `project.rate_limit` + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenAI.JsonConverters.ProjectRateLimitObjectJsonConverter))] + public global::OpenAI.ProjectRateLimitObject Object { get; set; } + + /// + /// The identifier, which can be referenced in API endpoints. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// The model this rate limit applies to. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Model { get; set; } + + /// + /// The maximum requests per minute. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_requests_per_1_minute")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int MaxRequestsPer1Minute { get; set; } + + /// + /// The maximum tokens per minute. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_tokens_per_1_minute")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int MaxTokensPer1Minute { get; set; } + + /// + /// The maximum images per minute. Only present for relevant models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_images_per_1_minute")] + public int? MaxImagesPer1Minute { get; set; } + + /// + /// The maximum audio megabytes per minute. Only present for relevant models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_audio_megabytes_per_1_minute")] + public int? MaxAudioMegabytesPer1Minute { get; set; } + + /// + /// The maximum requests per day. Only present for relevant models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_requests_per_1_day")] + public int? MaxRequestsPer1Day { get; set; } + + /// + /// The maximum batch input tokens per day. Only present for relevant models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("batch_1_day_max_input_tokens")] + public int? Batch1DayMaxInputTokens { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The object type, which is always `project.rate_limit` + /// + /// + /// The identifier, which can be referenced in API endpoints. + /// + /// + /// The model this rate limit applies to. + /// + /// + /// The maximum requests per minute. + /// + /// + /// The maximum tokens per minute. + /// + /// + /// The maximum images per minute. Only present for relevant models. + /// + /// + /// The maximum audio megabytes per minute. Only present for relevant models. + /// + /// + /// The maximum requests per day. Only present for relevant models. + /// + /// + /// The maximum batch input tokens per day. Only present for relevant models. + /// + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public ProjectRateLimit( + string id, + string model, + int maxRequestsPer1Minute, + int maxTokensPer1Minute, + global::OpenAI.ProjectRateLimitObject @object, + int? maxImagesPer1Minute, + int? maxAudioMegabytesPer1Minute, + int? maxRequestsPer1Day, + int? batch1DayMaxInputTokens) + { + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); + this.MaxRequestsPer1Minute = maxRequestsPer1Minute; + this.MaxTokensPer1Minute = maxTokensPer1Minute; + this.Object = @object; + this.MaxImagesPer1Minute = maxImagesPer1Minute; + this.MaxAudioMegabytesPer1Minute = maxAudioMegabytesPer1Minute; + this.MaxRequestsPer1Day = maxRequestsPer1Day; + this.Batch1DayMaxInputTokens = batch1DayMaxInputTokens; + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectRateLimit() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponse.Json.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponse.Json.g.cs new file mode 100644 index 0000000..7d77443 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponse.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenAI +{ + public sealed partial class ProjectRateLimitListResponse + { + /// + /// 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::OpenAI.ProjectRateLimitListResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenAI.ProjectRateLimitListResponse), + jsonSerializerContext) as global::OpenAI.ProjectRateLimitListResponse; + } + + /// + /// 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::OpenAI.ProjectRateLimitListResponse? 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::OpenAI.ProjectRateLimitListResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenAI.ProjectRateLimitListResponse; + } + + /// + /// 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/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponse.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponse.g.cs new file mode 100644 index 0000000..c00f264 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponse.g.cs @@ -0,0 +1,82 @@ + +#nullable enable + +namespace OpenAI +{ + /// + /// + /// + public sealed partial class ProjectRateLimitListResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("object")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenAI.JsonConverters.ProjectRateLimitListResponseObjectJsonConverter))] + public global::OpenAI.ProjectRateLimitListResponseObject Object { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("first_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string FirstId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string LastId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("has_more")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool HasMore { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public ProjectRateLimitListResponse( + global::System.Collections.Generic.IList data, + string firstId, + string lastId, + bool hasMore, + global::OpenAI.ProjectRateLimitListResponseObject @object) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId)); + this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId)); + this.HasMore = hasMore; + this.Object = @object; + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectRateLimitListResponse() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponseObject.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponseObject.g.cs new file mode 100644 index 0000000..fb2acfa --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitListResponseObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenAI +{ + /// + /// + /// + public enum ProjectRateLimitListResponseObject + { + /// + /// + /// + List, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectRateLimitListResponseObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectRateLimitListResponseObject value) + { + return value switch + { + ProjectRateLimitListResponseObject.List => "list", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectRateLimitListResponseObject? ToEnum(string value) + { + return value switch + { + "list" => ProjectRateLimitListResponseObject.List, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitObject.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitObject.g.cs new file mode 100644 index 0000000..ac98b51 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitObject.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenAI +{ + /// + /// The object type, which is always `project.rate_limit` + /// + public enum ProjectRateLimitObject + { + /// + /// + /// + ProjectRateLimit, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ProjectRateLimitObjectExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ProjectRateLimitObject value) + { + return value switch + { + ProjectRateLimitObject.ProjectRateLimit => "project.rate_limit", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ProjectRateLimitObject? ToEnum(string value) + { + return value switch + { + "project.rate_limit" => ProjectRateLimitObject.ProjectRateLimit, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitUpdateRequest.Json.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitUpdateRequest.Json.g.cs new file mode 100644 index 0000000..eb3ab0e --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitUpdateRequest.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace OpenAI +{ + public sealed partial class ProjectRateLimitUpdateRequest + { + /// + /// 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::OpenAI.ProjectRateLimitUpdateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenAI.ProjectRateLimitUpdateRequest), + jsonSerializerContext) as global::OpenAI.ProjectRateLimitUpdateRequest; + } + + /// + /// 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::OpenAI.ProjectRateLimitUpdateRequest? 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::OpenAI.ProjectRateLimitUpdateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenAI.ProjectRateLimitUpdateRequest; + } + + /// + /// 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/OpenAI/Generated/OpenAI.Models.ProjectRateLimitUpdateRequest.g.cs b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitUpdateRequest.g.cs new file mode 100644 index 0000000..21b8681 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.Models.ProjectRateLimitUpdateRequest.g.cs @@ -0,0 +1,98 @@ + +#nullable enable + +namespace OpenAI +{ + /// + /// + /// + public sealed partial class ProjectRateLimitUpdateRequest + { + /// + /// The maximum requests per minute. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_requests_per_1_minute")] + public int? MaxRequestsPer1Minute { get; set; } + + /// + /// The maximum tokens per minute. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_tokens_per_1_minute")] + public int? MaxTokensPer1Minute { get; set; } + + /// + /// The maximum images per minute. Only relevant for certain models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_images_per_1_minute")] + public int? MaxImagesPer1Minute { get; set; } + + /// + /// The maximum audio megabytes per minute. Only relevant for certain models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_audio_megabytes_per_1_minute")] + public int? MaxAudioMegabytesPer1Minute { get; set; } + + /// + /// The maximum requests per day. Only relevant for certain models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_requests_per_1_day")] + public int? MaxRequestsPer1Day { get; set; } + + /// + /// The maximum batch input tokens per day. Only relevant for certain models. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("batch_1_day_max_input_tokens")] + public int? Batch1DayMaxInputTokens { get; set; } + + /// + /// 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(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// The maximum requests per minute. + /// + /// + /// The maximum tokens per minute. + /// + /// + /// The maximum images per minute. Only relevant for certain models. + /// + /// + /// The maximum audio megabytes per minute. Only relevant for certain models. + /// + /// + /// The maximum requests per day. Only relevant for certain models. + /// + /// + /// The maximum batch input tokens per day. Only relevant for certain models. + /// + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public ProjectRateLimitUpdateRequest( + int? maxRequestsPer1Minute, + int? maxTokensPer1Minute, + int? maxImagesPer1Minute, + int? maxAudioMegabytesPer1Minute, + int? maxRequestsPer1Day, + int? batch1DayMaxInputTokens) + { + this.MaxRequestsPer1Minute = maxRequestsPer1Minute; + this.MaxTokensPer1Minute = maxTokensPer1Minute; + this.MaxImagesPer1Minute = maxImagesPer1Minute; + this.MaxAudioMegabytesPer1Minute = maxAudioMegabytesPer1Minute; + this.MaxRequestsPer1Day = maxRequestsPer1Day; + this.Batch1DayMaxInputTokens = batch1DayMaxInputTokens; + } + + /// + /// Initializes a new instance of the class. + /// + public ProjectRateLimitUpdateRequest() + { + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.ProjectsClient.ListProjectRateLimits.g.cs b/src/libs/OpenAI/Generated/OpenAI.ProjectsClient.ListProjectRateLimits.g.cs new file mode 100644 index 0000000..40859ad --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.ProjectsClient.ListProjectRateLimits.g.cs @@ -0,0 +1,173 @@ + +#nullable enable + +namespace OpenAI +{ + public partial class ProjectsClient + { + partial void PrepareListProjectRateLimitsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref int? limit, + ref string? after, + ref string? before); + partial void PrepareListProjectRateLimitsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + int? limit, + string? after, + string? before); + partial void ProcessListProjectRateLimitsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListProjectRateLimitsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Returns the rate limits per model for a project. + /// + /// + /// + /// Default Value: 100 + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ListProjectRateLimitsAsync( + string projectId, + int? limit = default, + string? after = default, + string? before = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListProjectRateLimitsArguments( + httpClient: HttpClient, + projectId: ref projectId, + limit: ref limit, + after: ref after, + before: ref before); + + var __pathBuilder = new PathBuilder( + path: $"/organization/projects/{projectId}/rate_limits", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("after", after) + .AddOptionalParameter("before", before) + ; + var __path = __pathBuilder.ToString(); + using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var __authorization in Authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListProjectRateLimitsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId, + limit: limit, + after: after, + before: before); + + using var __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListProjectRateLimitsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + + if (ReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListProjectRateLimitsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException __ex) + { + throw new global::OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + return + global::OpenAI.ProjectRateLimitListResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException __ex) + { + throw new global::OpenAI.ApiException( + message: __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + + return + await global::OpenAI.ProjectRateLimitListResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/Generated/OpenAI.ProjectsClient.UpdateProjectRateLimits.g.cs b/src/libs/OpenAI/Generated/OpenAI.ProjectsClient.UpdateProjectRateLimits.g.cs new file mode 100644 index 0000000..caa3654 --- /dev/null +++ b/src/libs/OpenAI/Generated/OpenAI.ProjectsClient.UpdateProjectRateLimits.g.cs @@ -0,0 +1,249 @@ + +#nullable enable + +namespace OpenAI +{ + public partial class ProjectsClient + { + partial void PrepareUpdateProjectRateLimitsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string projectId, + ref string rateLimitId, + global::OpenAI.ProjectRateLimitUpdateRequest request); + partial void PrepareUpdateProjectRateLimitsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string projectId, + string rateLimitId, + global::OpenAI.ProjectRateLimitUpdateRequest request); + partial void ProcessUpdateProjectRateLimitsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateProjectRateLimitsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Updates a project rate limit. + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateProjectRateLimitsAsync( + string projectId, + string rateLimitId, + global::OpenAI.ProjectRateLimitUpdateRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUpdateProjectRateLimitsArguments( + httpClient: HttpClient, + projectId: ref projectId, + rateLimitId: ref rateLimitId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/organization/projects/{projectId}/rate_limits/{rateLimitId}", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var __authorization in Authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUpdateProjectRateLimitsRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + projectId: projectId, + rateLimitId: rateLimitId, + request: request); + + using var __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUpdateProjectRateLimitsResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + // Error response for various conditions. + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::OpenAI.ErrorResponse? __value_400 = null; + if (ReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + __value_400 = global::OpenAI.ErrorResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + var __contentStream_400 = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + __value_400 = await global::OpenAI.ErrorResponse.FromJsonStreamAsync(__contentStream_400, JsonSerializerContext).ConfigureAwait(false); + } + + throw new global::OpenAI.ApiException( + message: __response.ReasonPhrase ?? string.Empty, + statusCode: __response.StatusCode) + { + ResponseBody = __content_400, + ResponseObject = __value_400, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + if (ReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUpdateProjectRateLimitsResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException __ex) + { + throw new global::OpenAI.ApiException( + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseBody = __content, + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + return + global::OpenAI.ProjectRateLimit.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException __ex) + { + throw new global::OpenAI.ApiException( + message: __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + statusCode: __response.StatusCode) + { + ResponseHeaders = global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value), + }; + } + + using var __content = await __response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false); + + return + await global::OpenAI.ProjectRateLimit.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + } + } + + /// + /// Updates a project rate limit. + /// + /// + /// + /// + /// The maximum requests per minute. + /// + /// + /// The maximum tokens per minute. + /// + /// + /// The maximum images per minute. Only relevant for certain models. + /// + /// + /// The maximum audio megabytes per minute. Only relevant for certain models. + /// + /// + /// The maximum requests per day. Only relevant for certain models. + /// + /// + /// The maximum batch input tokens per day. Only relevant for certain models. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateProjectRateLimitsAsync( + string projectId, + string rateLimitId, + int? maxRequestsPer1Minute = default, + int? maxTokensPer1Minute = default, + int? maxImagesPer1Minute = default, + int? maxAudioMegabytesPer1Minute = default, + int? maxRequestsPer1Day = default, + int? batch1DayMaxInputTokens = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::OpenAI.ProjectRateLimitUpdateRequest + { + MaxRequestsPer1Minute = maxRequestsPer1Minute, + MaxTokensPer1Minute = maxTokensPer1Minute, + MaxImagesPer1Minute = maxImagesPer1Minute, + MaxAudioMegabytesPer1Minute = maxAudioMegabytesPer1Minute, + MaxRequestsPer1Day = maxRequestsPer1Day, + Batch1DayMaxInputTokens = batch1DayMaxInputTokens, + }; + + return await UpdateProjectRateLimitsAsync( + projectId: projectId, + rateLimitId: rateLimitId, + request: __request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenAI/openapi.yaml b/src/libs/OpenAI/openapi.yaml index 331febd..80f078b 100644 --- a/src/libs/OpenAI/openapi.yaml +++ b/src/libs/OpenAI/openapi.yaml @@ -323,7 +323,7 @@ paths: properties: input_file_id: type: string - description: "The ID of an uploaded file that contains requests for the new batch.\n\nSee [upload file](/docs/api-reference/files/create) for how to upload a file.\n\nYour input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 100 MB in size.\n" + description: "The ID of an uploaded file that contains requests for the new batch.\n\nSee [upload file](/docs/api-reference/files/create) for how to upload a file.\n\nYour input file must be formatted as a [JSONL file](/docs/api-reference/batch/request-input), and must be uploaded with the purpose `batch`. The file can contain up to 50,000 requests, and can be up to 200 MB in size.\n" endpoint: enum: - /v1/chat/completions @@ -627,7 +627,7 @@ paths: post: tags: - Files - summary: "Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.\n\nThe Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.\n\nThe Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.\n\nThe Batch API only supports `.jsonl` files up to 100 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.\n" + summary: "Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB.\n\nThe Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details.\n\nThe Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models.\n\nThe Batch API only supports `.jsonl` files up to 200 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input).\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.\n" operationId: createFile requestBody: content: @@ -1667,6 +1667,99 @@ paths: curl: "curl -X POST https://api.openai.com/v1/organization/projects/proj_abc/archive \\\n -H \"Authorization: Bearer $OPENAI_ADMIN_KEY\" \\\n -H \"Content-Type: application/json\"\n" response: content: "{\n \"id\": \"proj_abc\",\n \"object\": \"organization.project\",\n \"name\": \"Project DEF\",\n \"created_at\": 1711471533,\n \"archived_at\": 1711471533,\n \"status\": \"archived\"\n}\n" + '/organization/projects/{project_id}/rate_limits': + get: + tags: + - Projects + summary: Returns the rate limits per model for a project. + operationId: list-project-rate-limits + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + - name: limit + in: query + description: "A limit on the number of objects to be returned. The default is 100.\n" + schema: + type: integer + default: 100 + - name: after + in: query + 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: before + in: query + description: "A cursor for use in pagination. `before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, beginning with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n" + schema: + type: string + responses: + '200': + description: Project rate limits listed successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectRateLimitListResponse' + x-oaiMeta: + name: List project rate limits + group: administration + returns: 'A list of [ProjectRateLimit](/docs/api-reference/project-rate-limits/object) objects.' + examples: + request: + curl: "curl https://api.openai.com/v1/organization/projects/proj_abc/rate_limits?after=rl_xxx&limit=20 \\\n -H \"Authorization: Bearer $OPENAI_ADMIN_KEY\" \\\n -H \"Content-Type: application/json\"\n" + response: "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"project.rate_limit\",\n \"id\": \"rl-ada\",\n \"model\": \"ada\",\n \"max_requests_per_1_minute\": 600,\n \"max_tokens_per_1_minute\": 150000,\n \"max_images_per_1_minute\": 10\n }\n ],\n \"first_id\": \"rl-ada\",\n \"last_id\": \"rl-ada\",\n \"has_more\": false\n}\n" + error_response: "{\n \"code\": 404,\n \"message\": \"The project {project_id} was not found\"\n}\n" + '/organization/projects/{project_id}/rate_limits/{rate_limit_id}': + post: + tags: + - Projects + summary: Updates a project rate limit. + operationId: update-project-rate-limits + parameters: + - name: project_id + in: path + description: The ID of the project. + required: true + schema: + type: string + - name: rate_limit_id + in: path + description: The ID of the rate limit. + required: true + schema: + type: string + requestBody: + description: The project rate limit update request payload. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectRateLimitUpdateRequest' + required: true + responses: + '200': + description: Project rate limit updated successfully. + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectRateLimit' + '400': + description: Error response for various conditions. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + x-oaiMeta: + name: Modify project rate limit + group: administration + returns: 'The updated [ProjectRateLimit](/docs/api-reference/project-rate-limits/object) object.' + examples: + request: + curl: "curl -X POST https://api.openai.com/v1/organization/projects/proj_abc/rate_limits/rl_xxx \\\n -H \"Authorization: Bearer $OPENAI_ADMIN_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"max_requests_per_1_minute\": 500\n }'\n" + response: "{\n \"object\": \"project.rate_limit\",\n \"id\": \"rl-ada\",\n \"model\": \"ada\",\n \"max_requests_per_1_minute\": 600,\n \"max_tokens_per_1_minute\": 150000,\n \"max_images_per_1_minute\": 10\n }\n" + error_response: "{\n \"code\": 404,\n \"message\": \"The project {project_id} was not found\"\n}\n" '/organization/projects/{project_id}/service_accounts': get: tags: @@ -4043,6 +4136,42 @@ components: type: string description: The project ID. description: The details for events with this `type`. + rate_limit.updated: + type: object + properties: + id: + type: string + description: The rate limit ID + changes_requested: + type: object + properties: + max_requests_per_1_minute: + type: integer + description: The maximum requests per minute. + max_tokens_per_1_minute: + type: integer + description: The maximum tokens per minute. + max_images_per_1_minute: + type: integer + description: The maximum images per minute. Only relevant for certain models. + max_audio_megabytes_per_1_minute: + type: integer + description: The maximum audio megabytes per minute. Only relevant for certain models. + max_requests_per_1_day: + type: integer + description: The maximum requests per day. Only relevant for certain models. + batch_1_day_max_input_tokens: + type: integer + description: The maximum batch input tokens per day. Only relevant for certain models. + description: The payload used to update the rate limits. + description: The details for events with this `type`. + rate_limit.deleted: + type: object + properties: + id: + type: string + description: The rate limit ID + description: The details for events with this `type`. service_account.created: type: object properties: @@ -4193,6 +4322,8 @@ components: - service_account.created - service_account.updated - service_account.deleted + - rate_limit.updated + - rate_limit.deleted - user.added - user.updated - user.deleted @@ -5372,7 +5503,7 @@ components: prediction: oneOf: - $ref: '#/components/schemas/PredictionContent' - description: "Configuration for a [Predicted Output](/docs/guides/latency-optimization#use-predicted-outputs),\nwhich can greatly improve response times when large parts of the model\nresponse are known ahead of time. This is most common when you are\nregenerating a file with only minor changes to most of the content.\n" + description: "Configuration for a [Predicted Output](/docs/guides/predicted-outputs),\nwhich can greatly improve response times when large parts of the model\nresponse are known ahead of time. This is most common when you are\nregenerating a file with only minor changes to most of the content.\n" nullable: true x-oaiExpandable: true audio: @@ -9306,6 +9437,92 @@ components: type: string has_more: type: boolean + ProjectRateLimit: + required: + - object + - id + - model + - max_requests_per_1_minute + - max_tokens_per_1_minute + type: object + properties: + object: + enum: + - project.rate_limit + type: string + description: 'The object type, which is always `project.rate_limit`' + id: + type: string + description: 'The identifier, which can be referenced in API endpoints.' + model: + type: string + description: The model this rate limit applies to. + max_requests_per_1_minute: + type: integer + description: The maximum requests per minute. + max_tokens_per_1_minute: + type: integer + description: The maximum tokens per minute. + max_images_per_1_minute: + type: integer + description: The maximum images per minute. Only present for relevant models. + max_audio_megabytes_per_1_minute: + type: integer + description: The maximum audio megabytes per minute. Only present for relevant models. + max_requests_per_1_day: + type: integer + description: The maximum requests per day. Only present for relevant models. + batch_1_day_max_input_tokens: + type: integer + description: The maximum batch input tokens per day. Only present for relevant models. + description: Represents a project rate limit config. + x-oaiMeta: + name: The project rate limit object + example: "{\n \"object\": \"project.rate_limit\",\n \"id\": \"rl_ada\",\n \"model\": \"ada\",\n \"max_requests_per_1_minute\": 600,\n \"max_tokens_per_1_minute\": 150000,\n \"max_images_per_1_minute\": 10\n}\n" + ProjectRateLimitListResponse: + required: + - object + - data + - first_id + - last_id + - has_more + type: object + properties: + object: + enum: + - list + type: string + data: + type: array + items: + $ref: '#/components/schemas/ProjectRateLimit' + first_id: + type: string + last_id: + type: string + has_more: + type: boolean + ProjectRateLimitUpdateRequest: + type: object + properties: + max_requests_per_1_minute: + type: integer + description: The maximum requests per minute. + max_tokens_per_1_minute: + type: integer + description: The maximum tokens per minute. + max_images_per_1_minute: + type: integer + description: The maximum images per minute. Only relevant for certain models. + max_audio_megabytes_per_1_minute: + type: integer + description: The maximum audio megabytes per minute. Only relevant for certain models. + max_requests_per_1_day: + type: integer + description: The maximum requests per day. Only relevant for certain models. + batch_1_day_max_input_tokens: + type: integer + description: The maximum batch input tokens per day. Only relevant for certain models. ProjectServiceAccount: required: - object @@ -10462,7 +10679,7 @@ components: x-oaiMeta: name: response.done group: realtime - example: "{\n \"event_id\": \"event_3132\",\n \"type\": \"response.done\",\n \"response\": {\n \"id\": \"resp_001\",\n \"object\": \"realtime.response\",\n \"status\": \"completed\",\n \"status_details\": null,\n \"output\": [\n {\n \"id\": \"msg_006\",\n \"object\": \"realtime.item\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"role\": \"assistant\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Sure, how can I assist you today?\"\n }\n ]\n }\n ],\n \"usage\": {\n \"total_tokens\":275,\n \"input_tokens\":127,\n \"output_tokens\":148,\n \"input_token_details\": {\n \"cached_tokens\":0,\n \"text_tokens\":119,\n \"audio_tokens\":8\n },\n \"output_token_details\": {\n \"text_tokens\":36,\n \"audio_tokens\":112\n }\n }\n }\n}\n" + example: "{\n \"event_id\": \"event_3132\",\n \"type\": \"response.done\",\n \"response\": {\n \"id\": \"resp_001\",\n \"object\": \"realtime.response\",\n \"status\": \"completed\",\n \"status_details\": null,\n \"output\": [\n {\n \"id\": \"msg_006\",\n \"object\": \"realtime.item\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"role\": \"assistant\",\n \"content\": [\n {\n \"type\": \"text\",\n \"text\": \"Sure, how can I assist you today?\"\n }\n ]\n }\n ],\n \"usage\": {\n \"total_tokens\":275,\n \"input_tokens\":127,\n \"output_tokens\":148,\n \"input_token_details\": {\n \"cached_tokens\":384,\n \"text_tokens\":119,\n \"audio_tokens\":8,\n \"cached_tokens_details\": {\n \"text_tokens\": 128,\n \"audio_tokens\": 256\n }\n },\n \"output_token_details\": {\n \"text_tokens\":36,\n \"audio_tokens\":112\n }\n }\n }\n}\n" RealtimeServerEventResponseFunctionCallArgumentsDelta: required: - event_id @@ -14476,6 +14693,20 @@ x-oaiMeta: - type: object key: ProjectApiKey path: object + - id: project-rate-limits + title: Project rate limits + description: "Manage rate limits per model for projects. Rate limits may be configured to be equal to or lower than the organization's rate limits.\n" + navigationGroup: administration + sections: + - type: endpoint + key: list-project-rate-limits + path: list + - type: endpoint + key: update-project-rate-limits + path: update + - type: object + key: ProjectRateLimit + path: object - id: audit-logs title: Audit logs description: "Logs of user actions and configuration changes within this organization. \nTo log events, you must activate logging in the [Organization Settings](/settings/organization/general). \nOnce activated, for security reasons, logging cannot be deactivated.\n"