diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI..JsonSerializerContext.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI..JsonSerializerContext.g.cs index 4305e1049..bab6ad8e8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI..JsonSerializerContext.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI..JsonSerializerContext.g.cs @@ -275,6 +275,10 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ClickButtonNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterFileOutputTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterFileOutputTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageTypeJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsTypeJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsTypeNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterTextOutputTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterTextOutputTypeNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterToolTypeJsonConverter), @@ -673,6 +677,12 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechRequestModelNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechRequestResponseFormatJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechRequestResponseFormatNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormatJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormatNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventTypeJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1TypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1TypeNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2TypeJsonConverter), @@ -689,6 +699,10 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.CreateTranscriptionRequestChunkingStrategyNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.VadConfigTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.VadConfigTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensTypeJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensTypeNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationTypeJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationTypeNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextDeltaEventTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextDeltaEventTypeNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextDoneEventTypeJsonConverter), @@ -937,8 +951,8 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestToolTypeNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestMaxResponseOutputTokensJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestMaxResponseOutputTokensNullableJsonConverter), - typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorJsonConverter), - typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorNullableJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeClientEventTranscriptionSessionUpdateTypeJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeClientEventTranscriptionSessionUpdateTypeNullableJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeTranscriptionSessionCreateRequestModalitieJsonConverter), @@ -1433,8 +1447,6 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ChatCompletionRequestToolMessageContentPartJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ChatCompletionToolChoiceOptionJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ChunkingStrategyRequestParamJsonConverter), - typeof(global::tryAGI.OpenAI.JsonConverters.ContainerJsonConverter), - typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterToolOutputJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ComputerActionJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ComputerToolCallOutputResourceJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.Content6JsonConverter), @@ -1458,6 +1470,7 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ModelIdsResponsesJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.InputItemJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ItemJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEventJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateTranscriptionResponseStreamEventJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.EvalGraderLabelModelJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.FineTuneChatCompletionRequestAssistantMessageJsonConverter), @@ -1493,6 +1506,8 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter>), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter>), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter>), + typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), @@ -1585,6 +1600,7 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.CreateSpeech.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.CreateSpeech.g.cs index 4c6c3dd5b..bb0f559d0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.CreateSpeech.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AudioClient.CreateSpeech.g.cs @@ -176,9 +176,13 @@ partial void ProcessCreateSpeechResponseContent( /// Default Value: mp3 /// /// - /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default. Does not work with `gpt-4o-mini-tts`.
+ /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default.
/// Default Value: 1 /// + /// + /// The format to stream the audio in. Supported formats are `sse` and `audio`. `sse` is not supported for `tts-1` or `tts-1-hd`.
+ /// Default Value: audio + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateSpeechAsync( @@ -188,6 +192,7 @@ partial void ProcessCreateSpeechResponseContent( string? instructions = default, global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? responseFormat = default, double? speed = default, + global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? streamFormat = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.CreateSpeechRequest @@ -198,6 +203,7 @@ partial void ProcessCreateSpeechResponseContent( Voice = voice, ResponseFormat = responseFormat, Speed = speed, + StreamFormat = streamFormat, }; return await CreateSpeechAsync( diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAudioClient.CreateSpeech.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAudioClient.CreateSpeech.g.cs index 7746233b3..d75f827d1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAudioClient.CreateSpeech.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAudioClient.CreateSpeech.g.cs @@ -34,9 +34,13 @@ public partial interface IAudioClient /// Default Value: mp3 /// /// - /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default. Does not work with `gpt-4o-mini-tts`.
+ /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default.
/// Default Value: 1 /// + /// + /// The format to stream the audio in. Supported formats are `sse` and `audio`. `sse` is not supported for `tts-1` or `tts-1-hd`.
+ /// Default Value: audio + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateSpeechAsync( @@ -46,6 +50,7 @@ public partial interface IAudioClient string? instructions = default, global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? responseFormat = default, double? speed = default, + global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? streamFormat = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageType.g.cs new file mode 100644 index 000000000..f873bd71e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CodeInterpreterOutputImageTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CodeInterpreterOutputImageType 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::tryAGI.OpenAI.CodeInterpreterOutputImageTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CodeInterpreterOutputImageType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CodeInterpreterOutputImageType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CodeInterpreterOutputImageType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.CodeInterpreterOutputImageTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageTypeNullable.g.cs new file mode 100644 index 000000000..a16b96fbd --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CodeInterpreterOutputImageTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CodeInterpreterOutputImageType? 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::tryAGI.OpenAI.CodeInterpreterOutputImageTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CodeInterpreterOutputImageType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CodeInterpreterOutputImageType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CodeInterpreterOutputImageType? 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::tryAGI.OpenAI.CodeInterpreterOutputImageTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsType.g.cs new file mode 100644 index 000000000..81b0f2dde --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CodeInterpreterOutputLogsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CodeInterpreterOutputLogsType 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::tryAGI.OpenAI.CodeInterpreterOutputLogsTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CodeInterpreterOutputLogsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CodeInterpreterOutputLogsType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CodeInterpreterOutputLogsType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.CodeInterpreterOutputLogsTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsTypeNullable.g.cs new file mode 100644 index 000000000..da2a54c6b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CodeInterpreterOutputLogsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? 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::tryAGI.OpenAI.CodeInterpreterOutputLogsTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CodeInterpreterOutputLogsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CodeInterpreterOutputLogsType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? 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::tryAGI.OpenAI.CodeInterpreterOutputLogsTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Container.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Container.g.cs deleted file mode 100644 index cf81a5ac1..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.Container.g.cs +++ /dev/null @@ -1,87 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace tryAGI.OpenAI.JsonConverters -{ - /// - public class ContainerJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::tryAGI.OpenAI.Container Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - var - readerCopy = reader; - string? value1 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - readerCopy = reader; - global::tryAGI.OpenAI.CodeInterpreterToolAuto? value2 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterToolAuto), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterToolAuto).Name}"); - value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - var result = new global::tryAGI.OpenAI.Container( - value1, - value2 - ); - - if (value1 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - else if (value2 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterToolAuto), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterToolAuto).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - return result; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::tryAGI.OpenAI.Container value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsValue1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); - } - else if (value.IsValue2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterToolAuto), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterToolAuto).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value2, typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormat.g.cs new file mode 100644 index 000000000..8b94b9890 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormat.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateSpeechRequestStreamFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat 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::tryAGI.OpenAI.CreateSpeechRequestStreamFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.CreateSpeechRequestStreamFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormatNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormatNullable.g.cs new file mode 100644 index 000000000..62cf1d329 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormatNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class CreateSpeechRequestStreamFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? 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::tryAGI.OpenAI.CreateSpeechRequestStreamFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? 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::tryAGI.OpenAI.CreateSpeechRequestStreamFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterToolOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEvent.g.cs similarity index 56% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterToolOutput.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEvent.g.cs index 4aeaffe0c..0fc8691c1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CodeInterpreterToolOutput.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.CreateSpeechResponseStreamEvent.g.cs @@ -4,10 +4,10 @@ namespace tryAGI.OpenAI.JsonConverters { /// - public class CodeInterpreterToolOutputJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public class CreateSpeechResponseStreamEventJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::tryAGI.OpenAI.CodeInterpreterToolOutput Read( + public override global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -17,44 +17,44 @@ public class CodeInterpreterToolOutputJsonConverter : global::System.Text.Json.S var readerCopy = reader; - global::tryAGI.OpenAI.CodeInterpreterTextOutput? text = default; + global::tryAGI.OpenAI.SpeechAudioDeltaEvent? audioDelta = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterTextOutput), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterTextOutput).Name}"); - text = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent).Name}"); + audioDelta = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } readerCopy = reader; - global::tryAGI.OpenAI.CodeInterpreterFileOutput? file = default; + global::tryAGI.OpenAI.SpeechAudioDoneEvent? audioDone = default; try { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterFileOutput), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterFileOutput).Name}"); - file = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent).Name}"); + audioDone = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); } catch (global::System.Text.Json.JsonException) { } - var result = new global::tryAGI.OpenAI.CodeInterpreterToolOutput( - text, - file + var result = new global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent( + audioDelta, + audioDone ); - if (text != null) + if (audioDelta != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterTextOutput), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterTextOutput).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - else if (file != null) + else if (audioDone != null) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterFileOutput), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterFileOutput).Name}"); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent).Name}"); _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } @@ -64,23 +64,23 @@ public class CodeInterpreterToolOutputJsonConverter : global::System.Text.Json.S /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::tryAGI.OpenAI.CodeInterpreterToolOutput value, + global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent value, global::System.Text.Json.JsonSerializerOptions options) { options = options ?? throw new global::System.ArgumentNullException(nameof(options)); var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - if (value.IsText) + if (value.IsAudioDelta) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterTextOutput), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterTextOutput).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Text, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.AudioDelta, typeInfo); } - else if (value.IsFile) + else if (value.IsAudioDone) { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.CodeInterpreterFileOutput), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.CodeInterpreterFileOutput).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.File, typeInfo); + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.AudioDone, typeInfo); } } } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor.g.cs similarity index 77% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor.g.cs index ade069d85..1d458c823 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor.g.cs @@ -3,10 +3,10 @@ namespace tryAGI.OpenAI.JsonConverters { /// - public sealed class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor Read( + public override global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorJsonC var stringValue = reader.GetString(); if (stringValue != null) { - return global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorExtensions.ToEnum(stringValue) ?? default; + return global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorJsonC case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor)numValue; + return (global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor); + return default(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorJsonC /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor value, + global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorExtensions.ToValueString(value)); + writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorExtensions.ToValueString(value)); } } } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorNullable.g.cs similarity index 78% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorNullable.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorNullable.g.cs index 0c3771706..00ad9d7f1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorNullable.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorNullable.g.cs @@ -3,10 +3,10 @@ namespace tryAGI.OpenAI.JsonConverters { /// - public sealed class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor? Read( + public override global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorNulla var stringValue = reader.GetString(); if (stringValue != null) { - return global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorExtensions.ToEnum(stringValue); + return global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorNulla case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor)numValue; + return (global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor?); + return default(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorNulla /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor? value, + global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventType.g.cs new file mode 100644 index 000000000..fbd411c69 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SpeechAudioDeltaEventTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SpeechAudioDeltaEventType 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::tryAGI.OpenAI.SpeechAudioDeltaEventTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SpeechAudioDeltaEventType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SpeechAudioDeltaEventType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SpeechAudioDeltaEventType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.SpeechAudioDeltaEventTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventTypeNullable.g.cs new file mode 100644 index 000000000..39f4f5048 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SpeechAudioDeltaEventTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SpeechAudioDeltaEventType? 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::tryAGI.OpenAI.SpeechAudioDeltaEventTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SpeechAudioDeltaEventType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SpeechAudioDeltaEventType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SpeechAudioDeltaEventType? 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::tryAGI.OpenAI.SpeechAudioDeltaEventTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventType.g.cs new file mode 100644 index 000000000..e92577bc9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SpeechAudioDoneEventTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SpeechAudioDoneEventType 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::tryAGI.OpenAI.SpeechAudioDoneEventTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SpeechAudioDoneEventType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SpeechAudioDoneEventType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SpeechAudioDoneEventType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.SpeechAudioDoneEventTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullable.g.cs new file mode 100644 index 000000000..e93a9cf3a --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class SpeechAudioDoneEventTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.SpeechAudioDoneEventType? 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::tryAGI.OpenAI.SpeechAudioDoneEventTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.SpeechAudioDoneEventType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.SpeechAudioDoneEventType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.SpeechAudioDoneEventType? 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::tryAGI.OpenAI.SpeechAudioDoneEventTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationType.g.cs new file mode 100644 index 000000000..568463f00 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class TranscriptTextUsageDurationTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.TranscriptTextUsageDurationType 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::tryAGI.OpenAI.TranscriptTextUsageDurationTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.TranscriptTextUsageDurationType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.TranscriptTextUsageDurationType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.TranscriptTextUsageDurationType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.TranscriptTextUsageDurationTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationTypeNullable.g.cs new file mode 100644 index 000000000..89d445336 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class TranscriptTextUsageDurationTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.TranscriptTextUsageDurationType? 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::tryAGI.OpenAI.TranscriptTextUsageDurationTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.TranscriptTextUsageDurationType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.TranscriptTextUsageDurationType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.TranscriptTextUsageDurationType? 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::tryAGI.OpenAI.TranscriptTextUsageDurationTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensType.g.cs new file mode 100644 index 000000000..75e1a59c7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class TranscriptTextUsageTokensTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.TranscriptTextUsageTokensType 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::tryAGI.OpenAI.TranscriptTextUsageTokensTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.TranscriptTextUsageTokensType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.TranscriptTextUsageTokensType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.TranscriptTextUsageTokensType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::tryAGI.OpenAI.TranscriptTextUsageTokensTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensTypeNullable.g.cs new file mode 100644 index 000000000..08132e28d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public sealed class TranscriptTextUsageTokensTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::tryAGI.OpenAI.TranscriptTextUsageTokensType? 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::tryAGI.OpenAI.TranscriptTextUsageTokensTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::tryAGI.OpenAI.TranscriptTextUsageTokensType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::tryAGI.OpenAI.TranscriptTextUsageTokensType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::tryAGI.OpenAI.TranscriptTextUsageTokensType? 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::tryAGI.OpenAI.TranscriptTextUsageTokensTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs index 5ee74ecfa..d994d855d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.JsonSerializerContextTypes.g.cs @@ -1766,5710 +1766,5778 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterTextOutput? Type435 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputImage? Type435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterTextOutputType? Type436 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputImageType? Type436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterTool? Type437 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputLogs? Type437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolType? Type438 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterOutputLogsType? Type438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Container? Type439 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterTextOutput? Type439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolAuto? Type440 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterTextOutputType? Type440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolAutoType? Type441 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterTool? Type441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolContainerDiscriminator? Type442 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolType? Type442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolCall? Type443 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolCallType? Type444 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolAuto? Type444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolCallStatus? Type445 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolAutoType? Type445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type446 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCall? Type446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolOutput? Type447 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCallType? Type447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CodeInterpreterToolOutputDiscriminator? Type448 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCallStatus? Type448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComparisonFilter? Type449 { get; set; } + public global::System.Collections.Generic.IList>? Type449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComparisonFilterType? Type450 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type451 { get; set; } + public global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsDiscriminator? Type451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompleteUploadRequest? Type452 { get; set; } + public global::tryAGI.OpenAI.ComparisonFilter? Type452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompoundFilter? Type453 { get; set; } + public global::tryAGI.OpenAI.ComparisonFilterType? Type453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompoundFilterType? Type454 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type455 { get; set; } + public global::tryAGI.OpenAI.CompleteUploadRequest? Type455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type456 { get; set; } + public global::tryAGI.OpenAI.CompoundFilter? Type456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerAction? Type457 { get; set; } + public global::tryAGI.OpenAI.CompoundFilterType? Type457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoubleClick? Type458 { get; set; } + public global::System.Collections.Generic.IList>? Type458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoubleClickType? Type459 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Drag? Type460 { get; set; } + public global::tryAGI.OpenAI.ComputerAction? Type460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DragType? Type461 { get; set; } + public global::tryAGI.OpenAI.DoubleClick? Type461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type462 { get; set; } + public global::tryAGI.OpenAI.DoubleClickType? Type462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Coordinate? Type463 { get; set; } + public global::tryAGI.OpenAI.Drag? Type463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.KeyPress? Type464 { get; set; } + public global::tryAGI.OpenAI.DragType? Type464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.KeyPressType? Type465 { get; set; } + public global::System.Collections.Generic.IList? Type465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Move? Type466 { get; set; } + public global::tryAGI.OpenAI.Coordinate? Type466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MoveType? Type467 { get; set; } + public global::tryAGI.OpenAI.KeyPress? Type467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Screenshot? Type468 { get; set; } + public global::tryAGI.OpenAI.KeyPressType? Type468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScreenshotType? Type469 { get; set; } + public global::tryAGI.OpenAI.Move? Type469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Scroll? Type470 { get; set; } + public global::tryAGI.OpenAI.MoveType? Type470 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ScrollType? Type471 { get; set; } + public global::tryAGI.OpenAI.Screenshot? Type471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Type? Type472 { get; set; } + public global::tryAGI.OpenAI.ScreenshotType? Type472 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TypeType1? Type473 { get; set; } + public global::tryAGI.OpenAI.Scroll? Type473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Wait? Type474 { get; set; } + public global::tryAGI.OpenAI.ScrollType? Type474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WaitType? Type475 { get; set; } + public global::tryAGI.OpenAI.Type? Type475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotImage? Type476 { get; set; } + public global::tryAGI.OpenAI.TypeType1? Type476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerScreenshotImageType? Type477 { get; set; } + public global::tryAGI.OpenAI.Wait? Type477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCall? Type478 { get; set; } + public global::tryAGI.OpenAI.WaitType? Type478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallType? Type479 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotImage? Type479 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type480 { get; set; } + public global::tryAGI.OpenAI.ComputerScreenshotImageType? Type480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallSafetyCheck? Type481 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCall? Type481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallStatus? Type482 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallType? Type482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutput? Type483 { get; set; } + public global::System.Collections.Generic.IList? Type483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutputType? Type484 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallSafetyCheck? Type484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutputStatus? Type485 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallStatus? Type485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutputResource? Type486 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutput? Type486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerToolCallOutputResourceVariant2? Type487 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutputType? Type487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileListResource? Type488 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutputStatus? Type488 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileListResourceObject? Type489 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutputResource? Type489 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type490 { get; set; } + public global::tryAGI.OpenAI.ComputerToolCallOutputResourceVariant2? Type490 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileResource? Type491 { get; set; } + public global::tryAGI.OpenAI.ContainerFileListResource? Type491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerListResource? Type492 { get; set; } + public global::tryAGI.OpenAI.ContainerFileListResourceObject? Type492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerListResourceObject? Type493 { get; set; } + public global::System.Collections.Generic.IList? Type493 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type494 { get; set; } + public global::tryAGI.OpenAI.ContainerFileResource? Type494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResource? Type495 { get; set; } + public global::tryAGI.OpenAI.ContainerListResource? Type495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResourceExpiresAfter? Type496 { get; set; } + public global::tryAGI.OpenAI.ContainerListResourceObject? Type496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerResourceExpiresAfterAnchor? Type497 { get; set; } + public global::System.Collections.Generic.IList? Type497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Content6? Type498 { get; set; } + public global::tryAGI.OpenAI.ContainerResource? Type498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputContent? Type499 { get; set; } + public global::tryAGI.OpenAI.ContainerResourceExpiresAfter? Type499 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContent? Type500 { get; set; } + public global::tryAGI.OpenAI.ContainerResourceExpiresAfterAnchor? Type500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputTextContentType? Type501 { get; set; } + public global::tryAGI.OpenAI.Content6? Type501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContent? Type502 { get; set; } + public global::tryAGI.OpenAI.InputContent? Type502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentType? Type503 { get; set; } + public global::tryAGI.OpenAI.InputTextContent? Type503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type504 { get; set; } + public global::tryAGI.OpenAI.InputTextContentType? Type504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputImageContentDetail? Type505 { get; set; } + public global::tryAGI.OpenAI.InputImageContent? Type505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContent? Type506 { get; set; } + public global::tryAGI.OpenAI.InputImageContentType? Type506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputFileContentType? Type507 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputContent? Type508 { get; set; } + public global::tryAGI.OpenAI.InputImageContentDetail? Type508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextContent? Type509 { get; set; } + public global::tryAGI.OpenAI.InputFileContent? Type509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputTextContentType? Type510 { get; set; } + public global::tryAGI.OpenAI.InputFileContentType? Type510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type511 { get; set; } + public global::tryAGI.OpenAI.OutputContent? Type511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Annotation? Type512 { get; set; } + public global::tryAGI.OpenAI.OutputTextContent? Type512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationBody? Type513 { get; set; } + public global::tryAGI.OpenAI.OutputTextContentType? Type513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileCitationBodyType? Type514 { get; set; } + public global::System.Collections.Generic.IList? Type514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationBody? Type515 { get; set; } + public global::tryAGI.OpenAI.Annotation? Type515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UrlCitationBodyType? Type516 { get; set; } + public global::tryAGI.OpenAI.FileCitationBody? Type516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationBody? Type517 { get; set; } + public global::tryAGI.OpenAI.FileCitationBodyType? Type517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContainerFileCitationBodyType? Type518 { get; set; } + public global::tryAGI.OpenAI.UrlCitationBody? Type518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FilePath? Type519 { get; set; } + public global::tryAGI.OpenAI.UrlCitationBodyType? Type519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FilePathType? Type520 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationBody? Type520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationDiscriminator? Type521 { get; set; } + public global::tryAGI.OpenAI.ContainerFileCitationBodyType? Type521 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type522 { get; set; } + public global::tryAGI.OpenAI.FilePath? Type522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LogProb? Type523 { get; set; } + public global::tryAGI.OpenAI.FilePathType? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::tryAGI.OpenAI.AnnotationDiscriminator? Type524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TopLogProb? Type525 { get; set; } + public global::System.Collections.Generic.IList? Type525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RefusalContent? Type526 { get; set; } + public global::tryAGI.OpenAI.LogProb? Type526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RefusalContentType? Type527 { get; set; } + public global::System.Collections.Generic.IList? Type527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResult? Type528 { get; set; } + public global::tryAGI.OpenAI.TopLogProb? Type528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResultObject? Type529 { get; set; } + public global::tryAGI.OpenAI.RefusalContent? Type529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResultAmount? Type530 { get; set; } + public global::tryAGI.OpenAI.RefusalContentType? Type530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequest? Type531 { get; set; } + public global::tryAGI.OpenAI.CostsResult? Type531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type532 { get; set; } + public global::tryAGI.OpenAI.CostsResultObject? Type532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningEffort? Type533 { get; set; } + public global::tryAGI.OpenAI.CostsResultAmount? Type533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResources? Type534 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequest? Type534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type535 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type536 { get; set; } + public global::tryAGI.OpenAI.ReasoningEffort? Type536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type537 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResources? Type537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type538 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type539 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type540 { get; set; } + public global::System.Collections.Generic.IList? Type540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type541 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type542 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type543 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type544 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequest? Type545 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModelResponseProperties? Type546 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelResponseProperties? Type547 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2? Type548 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequest? Type548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type549 { get; set; } + public global::tryAGI.OpenAI.CreateModelResponseProperties? Type549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsShared? Type550 { get; set; } + public global::tryAGI.OpenAI.ModelResponseProperties? Type550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsSharedEnum? Type551 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2? Type551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type552 { get; set; } + public global::System.Collections.Generic.IList? Type552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseModalitie? Type553 { get; set; } + public global::tryAGI.OpenAI.ModelIdsShared? Type553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptions? Type554 { get; set; } + public global::tryAGI.OpenAI.ModelIdsSharedEnum? Type554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation? Type555 { get; set; } + public global::System.Collections.Generic.IList? Type555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocationType? Type556 { get; set; } + public global::tryAGI.OpenAI.ResponseModalitie? Type556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchLocation? Type557 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptions? Type557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchContextSize? Type558 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation? Type558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type559 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocationType? Type559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2Audio? Type560 { get; set; } + public global::tryAGI.OpenAI.WebSearchLocation? Type560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsShared? Type561 { get; set; } + public global::tryAGI.OpenAI.WebSearchContextSize? Type561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VoiceIdsSharedEnum? Type562 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2AudioFormat? Type563 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2Audio? Type563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StopConfiguration? Type564 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsShared? Type564 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type565 { get; set; } + public global::tryAGI.OpenAI.VoiceIdsSharedEnum? Type565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PredictionContent? Type566 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2AudioFormat? Type566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PredictionContentType? Type567 { get; set; } + public global::tryAGI.OpenAI.StopConfiguration? Type567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type568 { get; set; } + public global::System.Collections.Generic.Dictionary? Type568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type569 { get; set; } + public global::tryAGI.OpenAI.PredictionContent? Type569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2FunctionCall? Type570 { get; set; } + public global::tryAGI.OpenAI.PredictionContentType? Type570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type571 { get; set; } + public global::System.Collections.Generic.IList? Type571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponse? Type572 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type573 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2FunctionCall? Type573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoice? Type574 { get; set; } + public global::System.Collections.Generic.IList? Type574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceLogprobs? Type575 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponse? Type575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? Type576 { get; set; } + public global::System.Collections.Generic.IList? Type576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseObject? Type577 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoice? Type577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionRequest? Type578 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceLogprobs? Type578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type579 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? Type579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionRequestModel? Type580 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseObject? Type580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? Type581 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionRequest? Type581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type582 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type582 { get; set; } /// /// /// - public long? Type583 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionRequestModel? Type583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponse? Type584 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? Type584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type585 { get; set; } + public global::System.Collections.Generic.IList>? Type585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoice? Type586 { get; set; } + public long? Type586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoiceFinishReason? Type587 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponse? Type587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoiceLogprobs? Type588 { get; set; } + public global::System.Collections.Generic.IList? Type588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type589 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoice? Type589 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type590 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoiceFinishReason? Type590 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type591 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoiceLogprobs? Type591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseObject? Type592 { get; set; } + public global::System.Collections.Generic.IList? Type592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBody? Type593 { get; set; } + public global::System.Collections.Generic.IList>? Type593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodyExpiresAfter? Type594 { get; set; } + public global::System.Collections.Generic.Dictionary? Type594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerBodyExpiresAfterAnchor? Type595 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseObject? Type595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateContainerFileBody? Type596 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBody? Type596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequest? Type597 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodyExpiresAfter? Type597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type598 { get; set; } + public global::tryAGI.OpenAI.CreateContainerBodyExpiresAfterAnchor? Type598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequestModel? Type599 { get; set; } + public global::tryAGI.OpenAI.CreateContainerFileBody? Type599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequestEncodingFormat? Type600 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequest? Type600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponse? Type601 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type601 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type602 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequestModel? Type602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Embedding? Type603 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequestEncodingFormat? Type603 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type604 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponse? Type604 { get; set; } /// /// /// - public float? Type605 { get; set; } + public global::System.Collections.Generic.IList? Type605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EmbeddingObject? Type606 { get; set; } + public global::tryAGI.OpenAI.Embedding? Type606 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponseObject? Type607 { get; set; } + public global::System.Collections.Generic.IList? Type607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponseUsage? Type608 { get; set; } + public float? Type608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSource? Type609 { get; set; } + public global::tryAGI.OpenAI.EmbeddingObject? Type609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType? Type610 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponseObject? Type610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type611 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponseUsage? Type611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesVariant1? Type612 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSource? Type612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesVariant1Type? Type613 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType? Type613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type614 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type615 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesVariant1? Type615 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EasyInputMessage? Type616 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesVariant1Type? Type616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EasyInputMessageRole? Type617 { get; set; } + public global::System.Collections.Generic.IList>? Type617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type618 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type619 { get; set; } + public global::tryAGI.OpenAI.EasyInputMessage? Type619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EasyInputMessageType? Type620 { get; set; } + public global::tryAGI.OpenAI.EasyInputMessageRole? Type620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItem? Type621 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemRole? Type622 { get; set; } + public global::System.Collections.Generic.IList? Type622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type623 { get; set; } + public global::tryAGI.OpenAI.EasyInputMessageType? Type623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemContent? Type624 { get; set; } + public global::tryAGI.OpenAI.EvalItem? Type624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemContentType? Type625 { get; set; } + public global::tryAGI.OpenAI.EvalItemRole? Type625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalItemType? Type626 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesVariant2? Type627 { get; set; } + public global::tryAGI.OpenAI.EvalItemContent? Type627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesVariant2Type? Type628 { get; set; } + public global::tryAGI.OpenAI.EvalItemContentType? Type628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceSamplingParams? Type629 { get; set; } + public global::tryAGI.OpenAI.EvalItemType? Type629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type630 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesVariant2? Type630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileContentSource? Type631 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesVariant2Type? Type631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileContentSourceType? Type632 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceSamplingParams? Type632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type633 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileContentSourceContentItem? Type634 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileContentSource? Type634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileIdSource? Type635 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileContentSourceType? Type635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalJsonlFileIdSourceType? Type636 { get; set; } + public global::System.Collections.Generic.IList? Type636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalStoredCompletionsSource? Type637 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileContentSourceContentItem? Type637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalStoredCompletionsSourceType? Type638 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileIdSource? Type638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfig? Type639 { get; set; } + public global::tryAGI.OpenAI.EvalJsonlFileIdSourceType? Type639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfigType? Type640 { get; set; } + public global::tryAGI.OpenAI.EvalStoredCompletionsSource? Type640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalItem? Type641 { get; set; } + public global::tryAGI.OpenAI.EvalStoredCompletionsSourceType? Type641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalItemVariant1? Type642 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfig? Type642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalJsonlRunDataSource? Type643 { get; set; } + public global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfigType? Type643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalJsonlRunDataSourceType? Type644 { get; set; } + public global::tryAGI.OpenAI.CreateEvalItem? Type644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type645 { get; set; } + public global::tryAGI.OpenAI.CreateEvalItemVariant1? Type645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalLabelModelGrader? Type646 { get; set; } + public global::tryAGI.OpenAI.CreateEvalJsonlRunDataSource? Type646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalLabelModelGraderType? Type647 { get; set; } + public global::tryAGI.OpenAI.CreateEvalJsonlRunDataSourceType? Type647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type648 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type648 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalLogsDataSourceConfig? Type649 { get; set; } + public global::tryAGI.OpenAI.CreateEvalLabelModelGrader? Type649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalLogsDataSourceConfigType? Type650 { get; set; } + public global::tryAGI.OpenAI.CreateEvalLabelModelGraderType? Type650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalRequest? Type651 { get; set; } + public global::System.Collections.Generic.IList? Type651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type652 { get; set; } + public global::tryAGI.OpenAI.CreateEvalLogsDataSourceConfig? Type652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalStoredCompletionsDataSourceConfig? Type653 { get; set; } + public global::tryAGI.OpenAI.CreateEvalLogsDataSourceConfigType? Type653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalStoredCompletionsDataSourceConfigType? Type654 { get; set; } + public global::tryAGI.OpenAI.CreateEvalRequest? Type654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type655 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type656 { get; set; } + public global::tryAGI.OpenAI.CreateEvalStoredCompletionsDataSourceConfig? Type656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderStringCheck? Type657 { get; set; } + public global::tryAGI.OpenAI.CreateEvalStoredCompletionsDataSourceConfigType? Type657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderStringCheck? Type658 { get; set; } + public global::System.Collections.Generic.IList>? Type658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderStringCheckType? Type659 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderStringCheckOperation? Type660 { get; set; } + public global::tryAGI.OpenAI.EvalGraderStringCheck? Type660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderTextSimilarity? Type661 { get; set; } + public global::tryAGI.OpenAI.GraderStringCheck? Type661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderTextSimilarity? Type662 { get; set; } + public global::tryAGI.OpenAI.GraderStringCheckType? Type662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderTextSimilarityType? Type663 { get; set; } + public global::tryAGI.OpenAI.GraderStringCheckOperation? Type663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric? Type664 { get; set; } + public global::tryAGI.OpenAI.EvalGraderTextSimilarity? Type664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderTextSimilarityVariant2? Type665 { get; set; } + public global::tryAGI.OpenAI.GraderTextSimilarity? Type665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderPython? Type666 { get; set; } + public global::tryAGI.OpenAI.GraderTextSimilarityType? Type666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderPython? Type667 { get; set; } + public global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric? Type667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderPythonType? Type668 { get; set; } + public global::tryAGI.OpenAI.EvalGraderTextSimilarityVariant2? Type668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderPythonVariant2? Type669 { get; set; } + public global::tryAGI.OpenAI.EvalGraderPython? Type669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderScoreModel? Type670 { get; set; } + public global::tryAGI.OpenAI.GraderPython? Type670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderScoreModel? Type671 { get; set; } + public global::tryAGI.OpenAI.GraderPythonType? Type671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderScoreModelType? Type672 { get; set; } + public global::tryAGI.OpenAI.EvalGraderPythonVariant2? Type672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type673 { get; set; } + public global::tryAGI.OpenAI.EvalGraderScoreModel? Type673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderScoreModelVariant2? Type674 { get; set; } + public global::tryAGI.OpenAI.GraderScoreModel? Type674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSource? Type675 { get; set; } + public global::tryAGI.OpenAI.GraderScoreModelType? Type675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceType? Type676 { get; set; } + public global::System.Collections.Generic.IList? Type676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type677 { get; set; } + public global::tryAGI.OpenAI.EvalGraderScoreModelVariant2? Type677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant1? Type678 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSource? Type678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant1Type? Type679 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceType? Type679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type680 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type681 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant1? Type681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant1TemplateItem? Type682 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant1Type? Type682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant2? Type683 { get; set; } + public global::System.Collections.Generic.IList>? Type683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant2Type? Type684 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceSamplingParams? Type685 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant1TemplateItem? Type685 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type686 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant2? Type686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Tool? Type687 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesVariant2Type? Type687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionTool? Type688 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceSamplingParams? Type688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolType? Type689 { get; set; } + public global::System.Collections.Generic.IList? Type689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type690 { get; set; } + public global::tryAGI.OpenAI.Tool? Type690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type691 { get; set; } + public global::tryAGI.OpenAI.FunctionTool? Type691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchTool? Type692 { get; set; } + public global::tryAGI.OpenAI.FunctionToolType? Type692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolType? Type693 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RankingOptions? Type694 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RankingOptionsRanker? Type695 { get; set; } + public global::tryAGI.OpenAI.FileSearchTool? Type695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type696 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolType? Type696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Filters2? Type697 { get; set; } + public global::tryAGI.OpenAI.RankingOptions? Type697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchPreviewTool? Type698 { get; set; } + public global::tryAGI.OpenAI.RankingOptionsRanker? Type698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchPreviewToolType? Type699 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type700 { get; set; } + public global::tryAGI.OpenAI.Filters2? Type700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApproximateLocation? Type701 { get; set; } + public global::tryAGI.OpenAI.WebSearchPreviewTool? Type701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ApproximateLocationType? Type702 { get; set; } + public global::tryAGI.OpenAI.WebSearchPreviewToolType? Type702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchPreviewToolSearchContextSize? Type703 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUsePreviewTool? Type704 { get; set; } + public global::tryAGI.OpenAI.ApproximateLocation? Type704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUsePreviewToolType? Type705 { get; set; } + public global::tryAGI.OpenAI.ApproximateLocationType? Type705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerUsePreviewToolEnvironment? Type706 { get; set; } + public global::tryAGI.OpenAI.WebSearchPreviewToolSearchContextSize? Type706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPTool? Type707 { get; set; } + public global::tryAGI.OpenAI.ComputerUsePreviewTool? Type707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolType? Type708 { get; set; } + public global::tryAGI.OpenAI.ComputerUsePreviewToolType? Type708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.MCPToolAllowedTools>? Type709 { get; set; } + public global::tryAGI.OpenAI.ComputerUsePreviewToolEnvironment? Type709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolAllowedTools? Type710 { get; set; } + public global::tryAGI.OpenAI.MCPTool? Type710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type711 { get; set; } + public global::tryAGI.OpenAI.MCPToolType? Type711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolRequireApprovalEnum? Type712 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::tryAGI.OpenAI.MCPToolAllowedTools>? Type712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolRequireApprovalEnumAlways? Type713 { get; set; } + public global::tryAGI.OpenAI.MCPToolAllowedTools? Type713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolRequireApprovalEnumNever? Type714 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolRequireApprovalEnum2? Type715 { get; set; } + public global::tryAGI.OpenAI.MCPToolRequireApprovalEnum? Type715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenTool? Type716 { get; set; } + public global::tryAGI.OpenAI.MCPToolRequireApprovalEnumAlways? Type716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolType? Type717 { get; set; } + public global::tryAGI.OpenAI.MCPToolRequireApprovalEnumNever? Type717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolModel? Type718 { get; set; } + public global::tryAGI.OpenAI.MCPToolRequireApprovalEnum2? Type718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolQuality? Type719 { get; set; } + public global::tryAGI.OpenAI.ImageGenTool? Type719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolSize? Type720 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolType? Type720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolOutputFormat? Type721 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolModel? Type721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolModeration? Type722 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolQuality? Type722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolBackground? Type723 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolSize? Type723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolInputImageMask? Type724 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolOutputFormat? Type724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellTool? Type725 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolModeration? Type725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolType? Type726 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolBackground? Type726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolDiscriminator? Type727 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolInputImageMask? Type727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceSamplingParamsText? Type728 { get; set; } + public global::tryAGI.OpenAI.LocalShellTool? Type728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResponseFormatConfiguration? Type729 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolType? Type729 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResponseFormatJsonSchema? Type730 { get; set; } + public global::tryAGI.OpenAI.ToolDiscriminator? Type730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TextResponseFormatJsonSchemaType? Type731 { get; set; } + public global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceSamplingParamsText? Type731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type732 { get; set; } + public global::tryAGI.OpenAI.TextResponseFormatConfiguration? Type732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalResponsesSource? Type733 { get; set; } + public global::tryAGI.OpenAI.TextResponseFormatJsonSchema? Type733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalResponsesSourceType? Type734 { get; set; } + public global::tryAGI.OpenAI.TextResponseFormatJsonSchemaType? Type734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEvalRunRequest? Type735 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type736 { get; set; } + public global::tryAGI.OpenAI.EvalResponsesSource? Type736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFileRequest? Type737 { get; set; } + public global::tryAGI.OpenAI.EvalResponsesSourceType? Type737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFileRequestPurpose? Type738 { get; set; } + public global::tryAGI.OpenAI.CreateEvalRunRequest? Type738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningCheckpointPermissionRequest? Type739 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequest? Type740 { get; set; } + public global::tryAGI.OpenAI.CreateFileRequest? Type740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type741 { get; set; } + public global::tryAGI.OpenAI.CreateFileRequestPurpose? Type741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestModel? Type742 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningCheckpointPermissionRequest? Type742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparameters? Type743 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequest? Type743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type744 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersBatchSize? Type745 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestModel? Type745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type746 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparameters? Type746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplier? Type747 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type748 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersBatchSize? Type748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersNEpochs? Type749 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type750 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplier? Type750 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegration? Type751 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationType? Type752 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersNEpochs? Type752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationWandb? Type753 { get; set; } + public global::System.Collections.Generic.IList? Type753 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneMethod? Type754 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegration? Type754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneMethodType? Type755 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationType? Type755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedMethod? Type756 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationWandb? Type756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedHyperparameters? Type757 { get; set; } + public global::tryAGI.OpenAI.FineTuneMethod? Type757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type758 { get; set; } + public global::tryAGI.OpenAI.FineTuneMethodType? Type758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersBatchSize? Type759 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedMethod? Type759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type760 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedHyperparameters? Type760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersLearningRateMultiplier? Type761 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type762 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersBatchSize? Type762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersNEpochs? Type763 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOMethod? Type764 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersLearningRateMultiplier? Type764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparameters? Type765 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type766 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedHyperparametersNEpochs? Type766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparametersBeta? Type767 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOMethod? Type767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type768 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparameters? Type768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparametersBatchSize? Type769 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type770 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparametersBeta? Type770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparametersLearningRateMultiplier? Type771 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type772 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparametersBatchSize? Type772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOHyperparametersNEpochs? Type773 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementMethod? Type774 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparametersLearningRateMultiplier? Type774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type775 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderMulti? Type776 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOHyperparametersNEpochs? Type776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderMultiType? Type777 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementMethod? Type777 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type778 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderLabelModel? Type779 { get; set; } + public global::tryAGI.OpenAI.GraderMulti? Type779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GraderLabelModelType? Type780 { get; set; } + public global::tryAGI.OpenAI.GraderMultiType? Type780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparameters? Type781 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type782 { get; set; } + public global::tryAGI.OpenAI.GraderLabelModel? Type782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersBatchSize? Type783 { get; set; } + public global::tryAGI.OpenAI.GraderLabelModelType? Type783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type784 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparameters? Type784 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersLearningRateMultiplier? Type785 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type786 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersBatchSize? Type786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersNEpochs? Type787 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersReasoningEffort? Type788 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersLearningRateMultiplier? Type788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type789 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersComputeMultiplier? Type790 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersNEpochs? Type790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type791 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersReasoningEffort? Type791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersEvalInterval? Type792 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type793 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersComputeMultiplier? Type793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersEvalSamples? Type794 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequest? Type795 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersEvalInterval? Type795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf>? Type796 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type797 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementHyperparametersEvalSamples? Type797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestBackground? Type798 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequest? Type798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type799 { get; set; } + public global::tryAGI.OpenAI.AnyOf>? Type799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestModel? Type800 { get; set; } + public global::System.Collections.Generic.IList? Type800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestSize? Type801 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestBackground? Type801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestResponseFormat? Type802 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestOutputFormat? Type803 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestModel? Type803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestQuality? Type804 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestSize? Type804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequest? Type805 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestResponseFormat? Type805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type806 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestOutputFormat? Type806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestModel? Type807 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestQuality? Type807 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestQuality? Type808 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequest? Type808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestResponseFormat? Type809 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestOutputFormat? Type810 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestModel? Type810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestSize? Type811 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestQuality? Type811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestModeration? Type812 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestResponseFormat? Type812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestBackground? Type813 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestOutputFormat? Type813 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestStyle? Type814 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestSize? Type814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequest? Type815 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestModeration? Type815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type816 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestBackground? Type816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestModel? Type817 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestStyle? Type817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestResponseFormat? Type818 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequest? Type818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestSize? Type819 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequest? Type820 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestModel? Type820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestRole? Type821 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestResponseFormat? Type821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>>? Type822 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestSize? Type822 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type823 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequest? Type823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type824 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestRole? Type824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRequestContentTextObject? Type825 { get; set; } + public global::tryAGI.OpenAI.OneOf>>? Type825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRequestContentTextObjectType? Type826 { get; set; } + public global::System.Collections.Generic.IList>? Type826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type827 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestAttachment? Type828 { get; set; } + public global::tryAGI.OpenAI.MessageRequestContentTextObject? Type828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequest? Type829 { get; set; } + public global::tryAGI.OpenAI.MessageRequestContentTextObjectType? Type829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>? Type830 { get; set; } + public global::System.Collections.Generic.IList? Type830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type831 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestAttachment? Type831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type832 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequest? Type832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1? Type833 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>>? Type833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type? Type834 { get; set; } + public global::System.Collections.Generic.IList>? Type834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl? Type835 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2? Type836 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1? Type836 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type? Type837 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type? Type837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type838 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl? Type838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestModel? Type839 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2? Type839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponse? Type840 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type? Type840 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type841 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResult? Type842 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestModel? Type842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategories? Type843 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponse? Type843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryScores? Type844 { get; set; } + public global::System.Collections.Generic.IList? Type844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypes? Type845 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResult? Type845 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type846 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategories? Type846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateItem? Type847 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryScores? Type847 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type848 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypes? Type848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateThreateningItem? Type849 { get; set; } + public global::System.Collections.Generic.IList? Type849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type850 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateItem? Type850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentItem? Type851 { get; set; } + public global::System.Collections.Generic.IList? Type851 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type852 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateThreateningItem? Type852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentThreateningItem? Type853 { get; set; } + public global::System.Collections.Generic.IList? Type853 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type854 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentItem? Type854 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitItem? Type855 { get; set; } + public global::System.Collections.Generic.IList? Type855 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type856 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentThreateningItem? Type856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitViolentItem? Type857 { get; set; } + public global::System.Collections.Generic.IList? Type857 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type858 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitItem? Type858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem? Type859 { get; set; } + public global::System.Collections.Generic.IList? Type859 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type860 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitViolentItem? Type860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem? Type861 { get; set; } + public global::System.Collections.Generic.IList? Type861 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type862 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem? Type862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction? Type863 { get; set; } + public global::System.Collections.Generic.IList? Type863 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type864 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem? Type864 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem? Type865 { get; set; } + public global::System.Collections.Generic.IList? Type865 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type866 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction? Type866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualMinor? Type867 { get; set; } + public global::System.Collections.Generic.IList? Type867 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type868 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem? Type868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem? Type869 { get; set; } + public global::System.Collections.Generic.IList? Type869 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type870 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualMinor? Type870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem? Type871 { get; set; } + public global::System.Collections.Generic.IList? Type871 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateResponse? Type872 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem? Type872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseProperties? Type873 { get; set; } + public global::System.Collections.Generic.IList? Type873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsResponses? Type874 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem? Type874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIdsResponsesEnum? Type875 { get; set; } + public global::tryAGI.OpenAI.CreateResponse? Type875 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Reasoning? Type876 { get; set; } + public global::tryAGI.OpenAI.ResponseProperties? Type876 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningSummary? Type877 { get; set; } + public global::tryAGI.OpenAI.ModelIdsResponses? Type877 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningGenerateSummary? Type878 { get; set; } + public global::tryAGI.OpenAI.ModelIdsResponsesEnum? Type878 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsePropertiesText? Type879 { get; set; } + public global::tryAGI.OpenAI.Reasoning? Type879 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type880 { get; set; } + public global::tryAGI.OpenAI.ReasoningSummary? Type880 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceOptions? Type881 { get; set; } + public global::tryAGI.OpenAI.ReasoningGenerateSummary? Type881 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceTypes? Type882 { get; set; } + public global::tryAGI.OpenAI.ResponsePropertiesText? Type882 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceTypesType? Type883 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type883 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceFunction? Type884 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceOptions? Type884 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolChoiceFunctionType? Type885 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceTypes? Type885 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Prompt2? Type886 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceTypesType? Type886 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type887 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceFunction? Type887 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponsePropertiesTruncation? Type888 { get; set; } + public global::tryAGI.OpenAI.ToolChoiceFunctionType? Type888 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateResponseVariant3? Type889 { get; set; } + public global::tryAGI.OpenAI.Prompt2? Type889 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type890 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type890 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type891 { get; set; } + public global::tryAGI.OpenAI.ResponsePropertiesTruncation? Type891 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputItem? Type892 { get; set; } + public global::tryAGI.OpenAI.CreateResponseVariant3? Type892 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Item? Type893 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type893 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessage? Type894 { get; set; } + public global::System.Collections.Generic.IList? Type894 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageType? Type895 { get; set; } + public global::tryAGI.OpenAI.InputItem? Type895 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageRole? Type896 { get; set; } + public global::tryAGI.OpenAI.Item? Type896 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageStatus? Type897 { get; set; } + public global::tryAGI.OpenAI.InputMessage? Type897 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessage? Type898 { get; set; } + public global::tryAGI.OpenAI.InputMessageType? Type898 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageType? Type899 { get; set; } + public global::tryAGI.OpenAI.InputMessageRole? Type899 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageRole? Type900 { get; set; } + public global::tryAGI.OpenAI.InputMessageStatus? Type900 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type901 { get; set; } + public global::tryAGI.OpenAI.OutputMessage? Type901 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputMessageStatus? Type902 { get; set; } + public global::tryAGI.OpenAI.OutputMessageType? Type902 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolCall? Type903 { get; set; } + public global::tryAGI.OpenAI.OutputMessageRole? Type903 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolCallType? Type904 { get; set; } + public global::System.Collections.Generic.IList? Type904 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolCallStatus? Type905 { get; set; } + public global::tryAGI.OpenAI.OutputMessageStatus? Type905 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type906 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolCall? Type906 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FileSearchToolCallResult? Type907 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolCallType? Type907 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputItemParam? Type908 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolCallStatus? Type908 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputItemParamType? Type909 { get; set; } + public global::System.Collections.Generic.IList? Type909 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf, object>? Type910 { get; set; } + public global::tryAGI.OpenAI.FileSearchToolCallResult? Type910 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type911 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputItemParam? Type911 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallSafetyCheckParam? Type912 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputItemParamType? Type912 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type913 { get; set; } + public global::tryAGI.OpenAI.AnyOf, object>? Type913 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ComputerCallOutputItemParamStatus? Type914 { get; set; } + public global::System.Collections.Generic.IList? Type914 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCall? Type915 { get; set; } + public global::tryAGI.OpenAI.ComputerCallSafetyCheckParam? Type915 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallType? Type916 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type916 { get; set; } /// /// /// - public global::tryAGI.OpenAI.WebSearchToolCallStatus? Type917 { get; set; } + public global::tryAGI.OpenAI.ComputerCallOutputItemParamStatus? Type917 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCall? Type918 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCall? Type918 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallType? Type919 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallType? Type919 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallStatus? Type920 { get; set; } + public global::tryAGI.OpenAI.WebSearchToolCallStatus? Type920 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParam? Type921 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCall? Type921 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamType? Type922 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallType? Type922 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type923 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallStatus? Type923 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionCallOutputItemParamStatus? Type924 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParam? Type924 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItem? Type925 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamType? Type925 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemType? Type926 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type926 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type927 { get; set; } + public global::tryAGI.OpenAI.FunctionCallOutputItemParamStatus? Type927 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemSummaryItem? Type928 { get; set; } + public global::tryAGI.OpenAI.ReasoningItem? Type928 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemSummaryItemType? Type929 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemType? Type929 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ReasoningItemStatus? Type930 { get; set; } + public global::System.Collections.Generic.IList? Type930 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCall? Type931 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemSummaryItem? Type931 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallType? Type932 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemSummaryItemType? Type932 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImageGenToolCallStatus? Type933 { get; set; } + public global::tryAGI.OpenAI.ReasoningItemStatus? Type933 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCall? Type934 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCall? Type934 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallType? Type935 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallType? Type935 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellExecAction? Type936 { get; set; } + public global::tryAGI.OpenAI.ImageGenToolCallStatus? Type936 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellExecActionType? Type937 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCall? Type937 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallStatus? Type938 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallType? Type938 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallOutput? Type939 { get; set; } + public global::tryAGI.OpenAI.LocalShellExecAction? Type939 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallOutputType? Type940 { get; set; } + public global::tryAGI.OpenAI.LocalShellExecActionType? Type940 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LocalShellToolCallOutputStatus? Type941 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallStatus? Type941 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPListTools? Type942 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallOutput? Type942 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPListToolsType? Type943 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallOutputType? Type943 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type944 { get; set; } + public global::tryAGI.OpenAI.LocalShellToolCallOutputStatus? Type944 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPListToolsTool? Type945 { get; set; } + public global::tryAGI.OpenAI.MCPListTools? Type945 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalRequest? Type946 { get; set; } + public global::tryAGI.OpenAI.MCPListToolsType? Type946 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalRequestType? Type947 { get; set; } + public global::System.Collections.Generic.IList? Type947 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponse? Type948 { get; set; } + public global::tryAGI.OpenAI.MCPListToolsTool? Type948 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponseType? Type949 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalRequest? Type949 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolCall? Type950 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalRequestType? Type950 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPToolCallType? Type951 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponse? Type951 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemDiscriminator? Type952 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponseType? Type952 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemReferenceParam? Type953 { get; set; } + public global::tryAGI.OpenAI.MCPToolCall? Type953 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type954 { get; set; } + public global::tryAGI.OpenAI.MCPToolCallType? Type954 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemReferenceParamType? Type955 { get; set; } + public global::tryAGI.OpenAI.ItemDiscriminator? Type955 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputItemDiscriminator? Type956 { get; set; } + public global::tryAGI.OpenAI.ItemReferenceParam? Type956 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type957 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type957 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Includable? Type958 { get; set; } + public global::tryAGI.OpenAI.ItemReferenceParamType? Type958 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunRequest? Type959 { get; set; } + public global::tryAGI.OpenAI.InputItemDiscriminator? Type959 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type960 { get; set; } + public global::System.Collections.Generic.IList? Type960 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequest? Type961 { get; set; } + public global::tryAGI.OpenAI.Includable? Type961 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type962 { get; set; } + public global::tryAGI.OpenAI.CreateRunRequest? Type962 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequestModel? Type963 { get; set; } + public global::System.Collections.Generic.IList? Type963 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? Type964 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequest? Type964 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequest? Type965 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type965 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequest? Type966 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestModel? Type966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResources? Type967 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? Type967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesCodeInterpreter? Type968 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? Type968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearch? Type969 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent? Type969 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type970 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDeltaEvent? Type970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStore? Type971 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDeltaEventType? Type971 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type972 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDoneEvent? Type972 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type973 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDoneEventType? Type973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type974 { get; set; } + public global::tryAGI.OpenAI.SpeechAudioDoneEventUsage? Type974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type975 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator? Type975 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type976 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequest? Type976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type977 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequest? Type977 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type978 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResources? Type978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestModel? Type979 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesCodeInterpreter? Type979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? Type980 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearch? Type980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesCodeInterpreter? Type981 { get; set; } + public global::System.Collections.Generic.IList? Type981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesFileSearch? Type982 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStore? Type982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequest? Type983 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type984 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequestModel? Type985 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type985 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type986 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionInclude? Type987 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type987 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type988 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequestTimestampGranularitie? Type989 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type990 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestModel? Type990 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequestChunkingStrategy? Type991 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? Type991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VadConfig? Type992 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesCodeInterpreter? Type992 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VadConfigType? Type993 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesFileSearch? Type993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseJson? Type994 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequest? Type994 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type995 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseJsonLogprob? Type996 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequestModel? Type996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEvent? Type997 { get; set; } + public global::System.Collections.Generic.IList? Type997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDeltaEvent? Type998 { get; set; } + public global::tryAGI.OpenAI.TranscriptionInclude? Type998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDeltaEventType? Type999 { get; set; } + public global::System.Collections.Generic.IList? Type999 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1000 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequestTimestampGranularitie? Type1000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDeltaEventLogprob? Type1001 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDoneEvent? Type1002 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequestChunkingStrategy? Type1002 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDoneEventType? Type1003 { get; set; } + public global::tryAGI.OpenAI.VadConfig? Type1003 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1004 { get; set; } + public global::tryAGI.OpenAI.VadConfigType? Type1004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptTextDoneEventLogprob? Type1005 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseJson? Type1005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEventDiscriminator? Type1006 { get; set; } + public global::System.Collections.Generic.IList? Type1006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseVerboseJson? Type1007 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseJsonLogprob? Type1007 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1008 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionWord? Type1009 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageTokens? Type1009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1010 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageTokensType? Type1010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionSegment? Type1011 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? Type1011 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationRequest? Type1012 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageDuration? Type1012 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type1013 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextUsageDurationType? Type1013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationRequestModel? Type1014 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEvent? Type1014 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationRequestResponseFormat? Type1015 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDeltaEvent? Type1015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationResponseJson? Type1016 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDeltaEventType? Type1016 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationResponseVerboseJson? Type1017 { get; set; } + public global::System.Collections.Generic.IList? Type1017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateUploadRequest? Type1018 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDeltaEventLogprob? Type1018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateUploadRequestPurpose? Type1019 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDoneEvent? Type1019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreFileBatchRequest? Type1020 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDoneEventType? Type1020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreFileRequest? Type1021 { get; set; } + public global::System.Collections.Generic.IList? Type1021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreRequest? Type1022 { get; set; } + public global::tryAGI.OpenAI.TranscriptTextDoneEventLogprob? Type1022 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreExpirationAfter? Type1023 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseStreamEventDiscriminator? Type1023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor? Type1024 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseVerboseJson? Type1024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1025 { get; set; } + public global::System.Collections.Generic.IList? Type1025 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteAssistantResponse? Type1026 { get; set; } + public global::tryAGI.OpenAI.TranscriptionWord? Type1026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteAssistantResponseObject? Type1027 { get; set; } + public global::System.Collections.Generic.IList? Type1027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteCertificateResponse? Type1028 { get; set; } + public global::tryAGI.OpenAI.TranscriptionSegment? Type1028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteCertificateResponseObject? Type1029 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationRequest? Type1029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFileResponse? Type1030 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type1030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFileResponseObject? Type1031 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationRequestModel? Type1031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponse? Type1032 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationRequestResponseFormat? Type1032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponseObject? Type1033 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationResponseJson? Type1033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteMessageResponse? Type1034 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationResponseVerboseJson? Type1034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteMessageResponseObject? Type1035 { get; set; } + public global::tryAGI.OpenAI.CreateUploadRequest? Type1035 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteModelResponse? Type1036 { get; set; } + public global::tryAGI.OpenAI.CreateUploadRequestPurpose? Type1036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteThreadResponse? Type1037 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreFileBatchRequest? Type1037 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteThreadResponseObject? Type1038 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreFileRequest? Type1038 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreFileResponse? Type1039 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreRequest? Type1039 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreFileResponseObject? Type1040 { get; set; } + public global::tryAGI.OpenAI.VectorStoreExpirationAfter? Type1040 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreResponse? Type1041 { get; set; } + public global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor? Type1041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreResponseObject? Type1042 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorResponse? Type1043 { get; set; } + public global::tryAGI.OpenAI.DeleteAssistantResponse? Type1043 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Eval? Type1044 { get; set; } + public global::tryAGI.OpenAI.DeleteAssistantResponseObject? Type1044 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalObject? Type1045 { get; set; } + public global::tryAGI.OpenAI.DeleteCertificateResponse? Type1045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1046 { get; set; } + public global::tryAGI.OpenAI.DeleteCertificateResponseObject? Type1046 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalCustomDataSourceConfig? Type1047 { get; set; } + public global::tryAGI.OpenAI.DeleteFileResponse? Type1047 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalCustomDataSourceConfigType? Type1048 { get; set; } + public global::tryAGI.OpenAI.DeleteFileResponseObject? Type1048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalLogsDataSourceConfig? Type1049 { get; set; } + public global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponse? Type1049 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalLogsDataSourceConfigType? Type1050 { get; set; } + public global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponseObject? Type1050 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfig? Type1051 { get; set; } + public global::tryAGI.OpenAI.DeleteMessageResponse? Type1051 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfigType? Type1052 { get; set; } + public global::tryAGI.OpenAI.DeleteMessageResponseObject? Type1052 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1053 { get; set; } + public global::tryAGI.OpenAI.DeleteModelResponse? Type1053 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1054 { get; set; } + public global::tryAGI.OpenAI.DeleteThreadResponse? Type1054 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalGraderLabelModel? Type1055 { get; set; } + public global::tryAGI.OpenAI.DeleteThreadResponseObject? Type1055 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalApiError? Type1056 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreFileResponse? Type1056 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalList? Type1057 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreFileResponseObject? Type1057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalListObject? Type1058 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreResponse? Type1058 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1059 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreResponseObject? Type1059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRun? Type1060 { get; set; } + public global::tryAGI.OpenAI.ErrorResponse? Type1060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunObject? Type1061 { get; set; } + public global::tryAGI.OpenAI.Eval? Type1061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunResultCounts? Type1062 { get; set; } + public global::tryAGI.OpenAI.EvalObject? Type1062 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1063 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunPerModelUsageItem? Type1064 { get; set; } + public global::tryAGI.OpenAI.EvalCustomDataSourceConfig? Type1064 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1065 { get; set; } + public global::tryAGI.OpenAI.EvalCustomDataSourceConfigType? Type1065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunPerTestingCriteriaResult? Type1066 { get; set; } + public global::tryAGI.OpenAI.EvalLogsDataSourceConfig? Type1066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunList? Type1067 { get; set; } + public global::tryAGI.OpenAI.EvalLogsDataSourceConfigType? Type1067 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunListObject? Type1068 { get; set; } + public global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfig? Type1068 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1069 { get; set; } + public global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfigType? Type1069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItem? Type1070 { get; set; } + public global::System.Collections.Generic.IList>? Type1070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemObject? Type1071 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1071 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1072 { get; set; } + public global::tryAGI.OpenAI.EvalGraderLabelModel? Type1072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemSample? Type1073 { get; set; } + public global::tryAGI.OpenAI.EvalApiError? Type1073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1074 { get; set; } + public global::tryAGI.OpenAI.EvalList? Type1074 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemSampleInputItem? Type1075 { get; set; } + public global::tryAGI.OpenAI.EvalListObject? Type1075 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1076 { get; set; } + public global::System.Collections.Generic.IList? Type1076 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemSampleOutputItem? Type1077 { get; set; } + public global::tryAGI.OpenAI.EvalRun? Type1077 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemSampleUsage? Type1078 { get; set; } + public global::tryAGI.OpenAI.EvalRunObject? Type1078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemList? Type1079 { get; set; } + public global::tryAGI.OpenAI.EvalRunResultCounts? Type1079 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EvalRunOutputItemListObject? Type1080 { get; set; } + public global::System.Collections.Generic.IList? Type1080 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1081 { get; set; } + public global::tryAGI.OpenAI.EvalRunPerModelUsageItem? Type1081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessage? Type1082 { get; set; } + public global::System.Collections.Generic.IList? Type1082 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessageVariant1? Type1083 { get; set; } + public global::tryAGI.OpenAI.EvalRunPerTestingCriteriaResult? Type1083 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneChatRequestInput? Type1084 { get; set; } + public global::tryAGI.OpenAI.EvalRunList? Type1084 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1085 { get; set; } + public global::tryAGI.OpenAI.EvalRunListObject? Type1085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1086 { get; set; } + public global::System.Collections.Generic.IList? Type1086 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTunePreferenceRequestInput? Type1087 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItem? Type1087 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTunePreferenceRequestInputInput? Type1088 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemObject? Type1088 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1089 { get; set; } + public global::System.Collections.Generic.IList? Type1089 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1090 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemSample? Type1090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneReinforcementRequestInput? Type1091 { get; set; } + public global::System.Collections.Generic.IList? Type1091 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1092 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemSampleInputItem? Type1092 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1093 { get; set; } + public global::System.Collections.Generic.IList? Type1093 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningCheckpointPermission? Type1094 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemSampleOutputItem? Type1094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningCheckpointPermissionObject? Type1095 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemSampleUsage? Type1095 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegration? Type1096 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemList? Type1096 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegrationType? Type1097 { get; set; } + public global::tryAGI.OpenAI.EvalRunOutputItemListObject? Type1097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegrationWandb? Type1098 { get; set; } + public global::System.Collections.Generic.IList? Type1098 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJob? Type1099 { get; set; } + public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessage? Type1099 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobError? Type1100 { get; set; } + public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessageVariant1? Type1100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparameters? Type1101 { get; set; } + public global::tryAGI.OpenAI.FineTuneChatRequestInput? Type1101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1102 { get; set; } + public global::System.Collections.Generic.IList>? Type1102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersBatchSize? Type1103 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1104 { get; set; } + public global::tryAGI.OpenAI.FineTunePreferenceRequestInput? Type1104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersLearningRateMultiplier? Type1105 { get; set; } + public global::tryAGI.OpenAI.FineTunePreferenceRequestInputInput? Type1105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1106 { get; set; } + public global::System.Collections.Generic.IList>? Type1106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersNEpochs? Type1107 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobObject? Type1108 { get; set; } + public global::tryAGI.OpenAI.FineTuneReinforcementRequestInput? Type1108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobStatus? Type1109 { get; set; } + public global::System.Collections.Generic.IList>? Type1109 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1110 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1111 { get; set; } + public global::tryAGI.OpenAI.FineTuningCheckpointPermission? Type1111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpoint? Type1112 { get; set; } + public global::tryAGI.OpenAI.FineTuningCheckpointPermissionObject? Type1112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpointMetrics? Type1113 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegration? Type1113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpointObject? Type1114 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegrationType? Type1114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEvent? Type1115 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegrationWandb? Type1115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventObject? Type1116 { get; set; } + public global::tryAGI.OpenAI.FineTuningJob? Type1116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventLevel? Type1117 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobError? Type1117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventType? Type1118 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparameters? Type1118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutput? Type1119 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutputType? Type1120 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersBatchSize? Type1120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutputStatus? Type1121 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutputResource? Type1122 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersLearningRateMultiplier? Type1122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallOutputResourceVariant2? Type1123 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallResource? Type1124 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersNEpochs? Type1124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FunctionToolCallResourceVariant2? Type1125 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobObject? Type1125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Image2? Type1126 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobStatus? Type1126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponse? Type1127 { get; set; } + public global::System.Collections.Generic.IList>? Type1127 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1128 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseUsage? Type1129 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpoint? Type1129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponseUsageInputTokensDetails? Type1130 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpointMetrics? Type1130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudio? Type1131 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpointObject? Type1131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudioType? Type1132 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEvent? Type1132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputAudioFormat? Type1133 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventObject? Type1133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageResource? Type1134 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventLevel? Type1134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputMessageResourceVariant2? Type1135 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventType? Type1135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Invite? Type1136 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutput? Type1136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteObject? Type1137 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutputType? Type1137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRole? Type1138 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutputStatus? Type1138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteStatus? Type1139 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutputResource? Type1139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1140 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallOutputResourceVariant2? Type1140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProject? Type1141 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallResource? Type1141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProjectRole? Type1142 { get; set; } + public global::tryAGI.OpenAI.FunctionToolCallResourceVariant2? Type1142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteDeleteResponse? Type1143 { get; set; } + public global::tryAGI.OpenAI.Image2? Type1143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteDeleteResponseObject? Type1144 { get; set; } + public global::tryAGI.OpenAI.ImagesResponse? Type1144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteListResponse? Type1145 { get; set; } + public global::System.Collections.Generic.IList? Type1145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteListResponseObject? Type1146 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseUsage? Type1146 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1147 { get; set; } + public global::tryAGI.OpenAI.ImagesResponseUsageInputTokensDetails? Type1147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequest? Type1148 { get; set; } + public global::tryAGI.OpenAI.InputAudio? Type1148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestRole? Type1149 { get; set; } + public global::tryAGI.OpenAI.InputAudioType? Type1149 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1150 { get; set; } + public global::tryAGI.OpenAI.InputAudioFormat? Type1150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestProject? Type1151 { get; set; } + public global::tryAGI.OpenAI.InputMessageResource? Type1151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestProjectRole? Type1152 { get; set; } + public global::tryAGI.OpenAI.InputMessageResourceVariant2? Type1152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemResource? Type1153 { get; set; } + public global::tryAGI.OpenAI.Invite? Type1153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponseResource? Type1154 { get; set; } + public global::tryAGI.OpenAI.InviteObject? Type1154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MCPApprovalResponseResourceType? Type1155 { get; set; } + public global::tryAGI.OpenAI.InviteRole? Type1155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ItemResourceDiscriminator? Type1156 { get; set; } + public global::tryAGI.OpenAI.InviteStatus? Type1156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsResponse? Type1157 { get; set; } + public global::System.Collections.Generic.IList? Type1157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1158 { get; set; } + public global::tryAGI.OpenAI.InviteProject? Type1158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsResponse? Type1159 { get; set; } + public global::tryAGI.OpenAI.InviteProjectRole? Type1159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsResponseObject? Type1160 { get; set; } + public global::tryAGI.OpenAI.InviteDeleteResponse? Type1160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1161 { get; set; } + public global::tryAGI.OpenAI.InviteDeleteResponseObject? Type1161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListBatchesResponse? Type1162 { get; set; } + public global::tryAGI.OpenAI.InviteListResponse? Type1162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1163 { get; set; } + public global::tryAGI.OpenAI.InviteListResponseObject? Type1163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListBatchesResponseObject? Type1164 { get; set; } + public global::System.Collections.Generic.IList? Type1164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListCertificatesResponse? Type1165 { get; set; } + public global::tryAGI.OpenAI.InviteRequest? Type1165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1166 { get; set; } + public global::tryAGI.OpenAI.InviteRequestRole? Type1166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListCertificatesResponseObject? Type1167 { get; set; } + public global::System.Collections.Generic.IList? Type1167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesResponse? Type1168 { get; set; } + public global::tryAGI.OpenAI.InviteRequestProject? Type1168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1169 { get; set; } + public global::tryAGI.OpenAI.InviteRequestProjectRole? Type1169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFile? Type1170 { get; set; } + public global::tryAGI.OpenAI.ItemResource? Type1170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFileObject? Type1171 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponseResource? Type1171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFilePurpose? Type1172 { get; set; } + public global::tryAGI.OpenAI.MCPApprovalResponseResourceType? Type1172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFileStatus? Type1173 { get; set; } + public global::tryAGI.OpenAI.ItemResourceDiscriminator? Type1173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponse? Type1174 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsResponse? Type1174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1175 { get; set; } + public global::System.Collections.Generic.IList? Type1175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponseObject? Type1176 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsResponse? Type1176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponse? Type1177 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsResponseObject? Type1177 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1178 { get; set; } + public global::System.Collections.Generic.IList? Type1178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponseObject? Type1179 { get; set; } + public global::tryAGI.OpenAI.ListBatchesResponse? Type1179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobEventsResponse? Type1180 { get; set; } + public global::System.Collections.Generic.IList? Type1180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1181 { get; set; } + public global::tryAGI.OpenAI.ListBatchesResponseObject? Type1181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject? Type1182 { get; set; } + public global::tryAGI.OpenAI.ListCertificatesResponse? Type1182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesResponse? Type1183 { get; set; } + public global::System.Collections.Generic.IList? Type1183 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1184 { get; set; } + public global::tryAGI.OpenAI.ListCertificatesResponseObject? Type1184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListModelsResponse? Type1185 { get; set; } + public global::tryAGI.OpenAI.ListFilesResponse? Type1185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListModelsResponseObject? Type1186 { get; set; } + public global::System.Collections.Generic.IList? Type1186 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1187 { get; set; } + public global::tryAGI.OpenAI.OpenAIFile? Type1187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Model14? Type1188 { get; set; } + public global::tryAGI.OpenAI.OpenAIFileObject? Type1188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelObject? Type1189 { get; set; } + public global::tryAGI.OpenAI.OpenAIFilePurpose? Type1189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse? Type1190 { get; set; } + public global::tryAGI.OpenAI.OpenAIFileStatus? Type1190 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1191 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponse? Type1191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject? Type1192 { get; set; } + public global::System.Collections.Generic.IList? Type1192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsResponse? Type1193 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionResponseObject? Type1193 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1194 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponse? Type1194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsResponse? Type1195 { get; set; } + public global::System.Collections.Generic.IList? Type1195 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1196 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponseObject? Type1196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesResponse? Type1197 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobEventsResponse? Type1197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1198 { get; set; } + public global::System.Collections.Generic.IList? Type1198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObject? Type1199 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject? Type1199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectObject? Type1200 { get; set; } + public global::tryAGI.OpenAI.ListMessagesResponse? Type1200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectStatus? Type1201 { get; set; } + public global::System.Collections.Generic.IList? Type1201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectLastError? Type1202 { get; set; } + public global::tryAGI.OpenAI.ListModelsResponse? Type1202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectLastErrorCode? Type1203 { get; set; } + public global::tryAGI.OpenAI.ListModelsResponseObject? Type1203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1204 { get; set; } + public global::System.Collections.Generic.IList? Type1204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam? Type1205 { get; set; } + public global::tryAGI.OpenAI.Model14? Type1205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType? Type1206 { get; set; } + public global::tryAGI.OpenAI.ModelObject? Type1206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam? Type1207 { get; set; } + public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse? Type1207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType? Type1208 { get; set; } + public global::System.Collections.Generic.IList? Type1208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresResponse? Type1209 { get; set; } + public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject? Type1209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1210 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsResponse? Type1210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObject? Type1211 { get; set; } + public global::System.Collections.Generic.IList? Type1211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectObject? Type1212 { get; set; } + public global::tryAGI.OpenAI.ListRunsResponse? Type1212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectFileCounts? Type1213 { get; set; } + public global::System.Collections.Generic.IList? Type1213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectStatus? Type1214 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoreFilesResponse? Type1214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.LogProbProperties? Type1215 { get; set; } + public global::System.Collections.Generic.IList? Type1215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelIds? Type1216 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObject? Type1216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequest? Type1217 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectObject? Type1217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? Type1218 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectStatus? Type1218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type1219 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectLastError? Type1219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type1220 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectLastErrorCode? Type1220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyCertificateRequest? Type1221 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyMessageRequest? Type1222 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam? Type1222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyRunRequest? Type1223 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType? Type1223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequest? Type1224 { get; set; } + public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam? Type1224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResources? Type1225 { get; set; } + public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType? Type1225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type1226 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoresResponse? Type1226 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type1227 { get; set; } + public global::System.Collections.Generic.IList? Type1227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputAudio? Type1228 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObject? Type1228 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputAudioType? Type1229 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectObject? Type1229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItem? Type1230 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectFileCounts? Type1230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OutputItemDiscriminator? Type1231 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectStatus? Type1231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Project? Type1232 { get; set; } + public global::tryAGI.OpenAI.LogProbProperties? Type1232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectObject? Type1233 { get; set; } + public global::tryAGI.OpenAI.ModelIds? Type1233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectStatus? Type1234 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequest? Type1234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKey? Type1235 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? Type1235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyObject? Type1236 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type1236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwner? Type1237 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type1237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwnerType? Type1238 { get; set; } + public global::tryAGI.OpenAI.ModifyCertificateRequest? Type1238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUser? Type1239 { get; set; } + public global::tryAGI.OpenAI.ModifyMessageRequest? Type1239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserObject? Type1240 { get; set; } + public global::tryAGI.OpenAI.ModifyRunRequest? Type1240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserRole? Type1241 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequest? Type1241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccount? Type1242 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResources? Type1242 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountObject? Type1243 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type1243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountRole? Type1244 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type1244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse? Type1245 { get; set; } + public global::tryAGI.OpenAI.OutputAudio? Type1245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject? Type1246 { get; set; } + public global::tryAGI.OpenAI.OutputAudioType? Type1246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyListResponse? Type1247 { get; set; } + public global::tryAGI.OpenAI.OutputItem? Type1247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyListResponseObject? Type1248 { get; set; } + public global::tryAGI.OpenAI.OutputItemDiscriminator? Type1248 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1249 { get; set; } + public global::tryAGI.OpenAI.Project? Type1249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectCreateRequest? Type1250 { get; set; } + public global::tryAGI.OpenAI.ProjectObject? Type1250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectListResponse? Type1251 { get; set; } + public global::tryAGI.OpenAI.ProjectStatus? Type1251 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectListResponseObject? Type1252 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKey? Type1252 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1253 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyObject? Type1253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimit? Type1254 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwner? Type1254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitObject? Type1255 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwnerType? Type1255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitListResponse? Type1256 { get; set; } + public global::tryAGI.OpenAI.ProjectUser? Type1256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitListResponseObject? Type1257 { get; set; } + public global::tryAGI.OpenAI.ProjectUserObject? Type1257 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1258 { get; set; } + public global::tryAGI.OpenAI.ProjectUserRole? Type1258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest? Type1259 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccount? Type1259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountApiKey? Type1260 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountObject? Type1260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject? Type1261 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountRole? Type1261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateRequest? Type1262 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse? Type1262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponse? Type1263 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject? Type1263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject? Type1264 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyListResponse? Type1264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole? Type1265 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyListResponseObject? Type1265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponse? Type1266 { get; set; } + public global::System.Collections.Generic.IList? Type1266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject? Type1267 { get; set; } + public global::tryAGI.OpenAI.ProjectCreateRequest? Type1267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountListResponse? Type1268 { get; set; } + public global::tryAGI.OpenAI.ProjectListResponse? Type1268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject? Type1269 { get; set; } + public global::tryAGI.OpenAI.ProjectListResponseObject? Type1269 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1270 { get; set; } + public global::System.Collections.Generic.IList? Type1270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUpdateRequest? Type1271 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimit? Type1271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserCreateRequest? Type1272 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitObject? Type1272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserCreateRequestRole? Type1273 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitListResponse? Type1273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserDeleteResponse? Type1274 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitListResponseObject? Type1274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserDeleteResponseObject? Type1275 { get; set; } + public global::System.Collections.Generic.IList? Type1275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserListResponse? Type1276 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest? Type1276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1277 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountApiKey? Type1277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserUpdateRequest? Type1278 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject? Type1278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserUpdateRequestRole? Type1279 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateRequest? Type1279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEvent? Type1280 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponse? Type1280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreate? Type1281 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject? Type1281 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType? Type1282 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole? Type1282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItem? Type1283 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponse? Type1283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemObject? Type1284 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject? Type1284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemType? Type1285 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountListResponse? Type1285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemStatus? Type1286 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject? Type1286 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemRole? Type1287 { get; set; } + public global::System.Collections.Generic.IList? Type1287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1288 { get; set; } + public global::tryAGI.OpenAI.ProjectUpdateRequest? Type1288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemContentItem? Type1289 { get; set; } + public global::tryAGI.OpenAI.ProjectUserCreateRequest? Type1289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemContentItemType? Type1290 { get; set; } + public global::tryAGI.OpenAI.ProjectUserCreateRequestRole? Type1290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDelete? Type1291 { get; set; } + public global::tryAGI.OpenAI.ProjectUserDeleteResponse? Type1291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType? Type1292 { get; set; } + public global::tryAGI.OpenAI.ProjectUserDeleteResponseObject? Type1292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieve? Type1293 { get; set; } + public global::tryAGI.OpenAI.ProjectUserListResponse? Type1293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieveType? Type1294 { get; set; } + public global::System.Collections.Generic.IList? Type1294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncate? Type1295 { get; set; } + public global::tryAGI.OpenAI.ProjectUserUpdateRequest? Type1295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType? Type1296 { get; set; } + public global::tryAGI.OpenAI.ProjectUserUpdateRequestRole? Type1296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppend? Type1297 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEvent? Type1297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType? Type1298 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreate? Type1298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClear? Type1299 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType? Type1299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClearType? Type1300 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItem? Type1300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClear? Type1301 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemObject? Type1301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClearType? Type1302 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemType? Type1302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommit? Type1303 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemStatus? Type1303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommitType? Type1304 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemRole? Type1304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCancel? Type1305 { get; set; } + public global::System.Collections.Generic.IList? Type1305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCancelType? Type1306 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemContentItem? Type1306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCreate? Type1307 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemContentItemType? Type1307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCreateType? Type1308 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDelete? Type1308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParams? Type1309 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType? Type1309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1310 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieve? Type1310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsModalitie? Type1311 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieveType? Type1311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsOutputAudioFormat? Type1312 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncate? Type1312 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1313 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType? Type1313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsTool? Type1314 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppend? Type1314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsToolType? Type1315 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType? Type1315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1316 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClear? Type1316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsMaxResponseOutputTokens? Type1317 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClearType? Type1317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1318 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClear? Type1318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsConversation? Type1319 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventOutputAudioBufferClearType? Type1319 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1320 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommit? Type1320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReference? Type1321 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommitType? Type1321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Type1322 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCancel? Type1322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Type1323 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCancelType? Type1323 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Type1324 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCreate? Type1324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Type1325 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCreateType? Type1325 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1326 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParams? Type1326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem? Type1327 { get; set; } + public global::System.Collections.Generic.IList? Type1327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Type1328 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsModalitie? Type1328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type1329 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsOutputAudioFormat? Type1329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type1330 { get; set; } + public global::System.Collections.Generic.IList? Type1330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type1331 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsTool? Type1331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1332 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsToolType? Type1332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type1333 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModel? Type1334 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsMaxResponseOutputTokens? Type1334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioFormat? Type1335 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestOutputAudioFormat? Type1336 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsConversation? Type1336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type1337 { get; set; } + public global::System.Collections.Generic.IList? Type1337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type1338 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReference? Type1338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetectionType? Type1339 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Type1339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetectionEagerness? Type1340 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Type1340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioNoiseReduction? Type1341 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Type1341 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioNoiseReductionType? Type1342 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Type1342 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1343 { get; set; } + public global::System.Collections.Generic.IList? Type1343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum? Type1344 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem? Type1344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum2? Type1345 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Type1345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1346 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type1346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type1347 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type1347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type1348 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type1348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1349 { get; set; } + public global::System.Collections.Generic.IList? Type1349 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type1350 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type1350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecret? Type1351 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModel? Type1351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt? Type1352 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioFormat? Type1352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor? Type1353 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestOutputAudioFormat? Type1353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdate? Type1354 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type1354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdateType? Type1355 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type1355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequest? Type1356 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetectionType? Type1356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1357 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetectionEagerness? Type1357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestModalitie? Type1358 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioNoiseReduction? Type1358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioFormat? Type1359 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioNoiseReductionType? Type1359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioTranscription? Type1360 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel? Type1361 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum? Type1361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetection? Type1362 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTracingEnum2? Type1362 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetectionType? Type1363 { get; set; } + public global::System.Collections.Generic.IList? Type1363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness? Type1364 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type1364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction? Type1365 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type1365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType? Type1366 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestClientSecret? Type1367 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type1367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt? Type1368 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecret? Type1368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor? Type1369 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter? Type1369 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventDiscriminator? Type1370 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor? Type1370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponse? Type1371 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdate? Type1371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseObject? Type1372 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventTranscriptionSessionUpdateType? Type1372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatus? Type1373 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequest? Type1373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1374 { get; set; } + public global::System.Collections.Generic.IList? Type1374 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsage? Type1375 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestModalitie? Type1375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEvent? Type1376 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioFormat? Type1376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeError? Type1377 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioTranscription? Type1377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeErrorType? Type1378 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel? Type1378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeErrorDetails? Type1379 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetection? Type1379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreated? Type1380 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetectionType? Type1380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreatedType? Type1381 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness? Type1381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSession? Type1382 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction? Type1382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionObject? Type1383 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType? Type1383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionVoice? Type1384 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestClientSecret? Type1384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormat? Type1385 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt? Type1385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionInputAudioTranscription? Type1386 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor? Type1386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTurnDetection? Type1387 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventDiscriminator? Type1387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTurnDetectionType? Type1388 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponse? Type1388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1389 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseObject? Type1389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTool? Type1390 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatus? Type1390 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionToolChoice? Type1391 { get; set; } + public global::System.Collections.Generic.IList? Type1391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1392 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsage? Type1392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionMaxOutputTokens? Type1393 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEvent? Type1393 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionUpdated? Type1394 { get; set; } + public global::tryAGI.OpenAI.RealtimeError? Type1394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionUpdatedType? Type1395 { get; set; } + public global::tryAGI.OpenAI.RealtimeErrorType? Type1395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationCreated? Type1396 { get; set; } + public global::tryAGI.OpenAI.RealtimeErrorDetails? Type1396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationCreatedType? Type1397 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreated? Type1397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversation? Type1398 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreatedType? Type1398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationObject? Type1399 { get; set; } + public global::tryAGI.OpenAI.RealtimeSession? Type1399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemCreated? Type1400 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionObject? Type1400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemCreatedType? Type1401 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionVoice? Type1401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompleted? Type1402 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormat? Type1402 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompletedType? Type1403 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionInputAudioTranscription? Type1403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailed? Type1404 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTurnDetection? Type1404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailedType? Type1405 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTurnDetectionType? Type1405 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemTruncated? Type1406 { get; set; } + public global::System.Collections.Generic.IList? Type1406 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemTruncatedType? Type1407 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTool? Type1407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDeleted? Type1408 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionToolChoice? Type1408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDeletedType? Type1409 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitted? Type1410 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionMaxOutputTokens? Type1410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommittedType? Type1411 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionUpdated? Type1411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCleared? Type1412 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionUpdatedType? Type1412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearedType? Type1413 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationCreated? Type1413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStarted? Type1414 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationCreatedType? Type1414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStartedType? Type1415 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversation? Type1415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStopped? Type1416 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationObject? Type1416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStoppedType? Type1417 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemCreated? Type1417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreated? Type1418 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemCreatedType? Type1418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreatedType? Type1419 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompleted? Type1419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseDone? Type1420 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompletedType? Type1420 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseDoneType? Type1421 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailed? Type1421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputItemAdded? Type1422 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailedType? Type1422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputItemAddedType? Type1423 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemTruncated? Type1423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputItemDone? Type1424 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemTruncatedType? Type1424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputItemDoneType? Type1425 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDeleted? Type1425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseContentPartAdded? Type1426 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDeletedType? Type1426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseContentPartAddedType? Type1427 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitted? Type1427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeContentPart? Type1428 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommittedType? Type1428 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeContentPartType? Type1429 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCleared? Type1429 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseContentPartDone? Type1430 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearedType? Type1430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseContentPartDoneType? Type1431 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStarted? Type1431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseTextDelta? Type1432 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStartedType? Type1432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseTextDeltaType? Type1433 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStopped? Type1433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseTextDone? Type1434 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStoppedType? Type1434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseTextDoneType? Type1435 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreated? Type1435 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDelta? Type1436 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreatedType? Type1436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDeltaType? Type1437 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseDone? Type1437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDone? Type1438 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseDoneType? Type1438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDoneType? Type1439 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputItemAdded? Type1439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioDelta? Type1440 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputItemAddedType? Type1440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioDeltaType? Type1441 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputItemDone? Type1441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioDone? Type1442 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputItemDoneType? Type1442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioDoneType? Type1443 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseContentPartAdded? Type1443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDelta? Type1444 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseContentPartAddedType? Type1444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDeltaType? Type1445 { get; set; } + public global::tryAGI.OpenAI.RealtimeContentPart? Type1445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDone? Type1446 { get; set; } + public global::tryAGI.OpenAI.RealtimeContentPartType? Type1446 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDoneType? Type1447 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseContentPartDone? Type1447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeRateLimitsUpdated? Type1448 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseContentPartDoneType? Type1448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedType? Type1449 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseTextDelta? Type1449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1450 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseTextDeltaType? Type1450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimit? Type1451 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseTextDone? Type1451 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimitName? Type1452 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseTextDoneType? Type1452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type1453 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDelta? Type1453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type1454 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDeltaType? Type1454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type1455 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDone? Type1455 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type1456 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDoneType? Type1456 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type1457 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioDelta? Type1457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type1458 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioDeltaType? Type1458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type1459 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioDone? Type1459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type1460 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioDoneType? Type1460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type1461 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDelta? Type1461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1462 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDeltaType? Type1462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta? Type1463 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDone? Type1463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDeltaType? Type1464 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDoneType? Type1464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type1465 { get; set; } + public global::tryAGI.OpenAI.RealtimeRateLimitsUpdated? Type1465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type1466 { get; set; } + public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedType? Type1466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type1467 { get; set; } + public global::System.Collections.Generic.IList? Type1467 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrieved? Type1468 { get; set; } + public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimit? Type1468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrievedType? Type1469 { get; set; } + public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimitName? Type1469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type1470 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type1470 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type1471 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type1471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventError? Type1472 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type1472 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type1473 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type1473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type1474 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type1474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type1475 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type1475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type1476 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type1476 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type1477 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type1477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type1478 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type1478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type1479 { get; set; } + public global::System.Collections.Generic.IList? Type1479 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type1480 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDelta? Type1480 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type1481 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionDeltaType? Type1481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type1482 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type1482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferCleared? Type1483 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type1483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferClearedType? Type1484 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type1484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStarted? Type1485 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrieved? Type1485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStartedType? Type1486 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemRetrievedType? Type1486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStopped? Type1487 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type1487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStoppedType? Type1488 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type1488 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type1489 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventError? Type1489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type1490 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type1490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1491 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type1491 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type1492 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type1492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type1493 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type1493 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type1494 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type1494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type1495 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type1495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type1496 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type1496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type1497 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type1497 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type1498 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type1498 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type1499 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type1499 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type1500 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferCleared? Type1500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type1501 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferClearedType? Type1501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type1502 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStarted? Type1502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type1503 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStartedType? Type1503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type1504 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStopped? Type1504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type1505 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventOutputAudioBufferStoppedType? Type1505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type1506 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type1506 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type1507 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type1507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type1508 { get; set; } + public global::System.Collections.Generic.IList? Type1508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type1509 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type1509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type1510 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type1510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type1511 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type1511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type1512 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type1512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type1513 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type1513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type1514 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type1514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type1515 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type1515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type1516 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type1516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type1517 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type1517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type1518 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type1518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type1519 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type1519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type1520 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type1520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type1521 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type1521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type1522 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type1522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type1523 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type1523 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type1524 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type1524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type1525 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type1525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type1526 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type1526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type1527 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type1527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1528 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type1528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1529 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type1529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdated? Type1530 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type1530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdatedType? Type1531 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type1531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponse? Type1532 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type1532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseClientSecret? Type1533 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type1533 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1534 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type1534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseModalitie? Type1535 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type1535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseInputAudioTranscription? Type1536 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type1536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel? Type1537 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type1537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseTurnDetection? Type1538 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type1538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1539 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type1539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret? Type1540 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type1540 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1541 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type1541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseModalitie? Type1542 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type1542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseInputAudioTranscription? Type1543 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type1543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1544 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type1544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum? Type1545 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum2? Type1546 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1547 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdated? Type1547 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1548 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventTranscriptionSessionUpdatedType? Type1548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTool? Type1549 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponse? Type1549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseToolType? Type1550 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseClientSecret? Type1550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1551 { get; set; } + public global::System.Collections.Generic.IList? Type1551 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxResponseOutputTokens? Type1552 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseModalitie? Type1552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Response? Type1553 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseInputAudioTranscription? Type1553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3? Type1554 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel? Type1554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3Object? Type1555 { get; set; } + public global::tryAGI.OpenAI.RealtimeTranscriptionSessionCreateResponseTurnDetection? Type1555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3Status? Type1556 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseError? Type1557 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret? Type1557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorCode? Type1558 { get; set; } + public global::System.Collections.Generic.IList? Type1558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails? Type1559 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseModalitie? Type1559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason? Type1560 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseInputAudioTranscription? Type1560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1561 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsage? Type1562 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum? Type1562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsageInputTokensDetails? Type1563 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTracingEnum2? Type1563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseUsageOutputTokensDetails? Type1564 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDeltaEvent? Type1565 { get; set; } + public global::System.Collections.Generic.IList? Type1565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDeltaEventType? Type1566 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTool? Type1566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDoneEvent? Type1567 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseToolType? Type1567 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioDoneEventType? Type1568 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEvent? Type1569 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxResponseOutputTokens? Type1569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType? Type1570 { get; set; } + public global::tryAGI.OpenAI.Response? Type1570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEvent? Type1571 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3? Type1571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType? Type1572 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3Object? Type1572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent? Type1573 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3Status? Type1573 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType? Type1574 { get; set; } + public global::tryAGI.OpenAI.ResponseError? Type1574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent? Type1575 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorCode? Type1575 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType? Type1576 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetails? Type1576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEvent? Type1577 { get; set; } + public global::tryAGI.OpenAI.ResponseVariant3IncompleteDetailsReason? Type1577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType? Type1578 { get; set; } + public global::System.Collections.Generic.IList? Type1578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEvent? Type1579 { get; set; } + public global::tryAGI.OpenAI.ResponseUsage? Type1579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType? Type1580 { get; set; } + public global::tryAGI.OpenAI.ResponseUsageInputTokensDetails? Type1580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEvent? Type1581 { get; set; } + public global::tryAGI.OpenAI.ResponseUsageOutputTokensDetails? Type1581 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType? Type1582 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDeltaEvent? Type1582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCompletedEvent? Type1583 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDeltaEventType? Type1583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCompletedEventType? Type1584 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDoneEvent? Type1584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartAddedEvent? Type1585 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioDoneEventType? Type1585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartAddedEventType? Type1586 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEvent? Type1586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartDoneEvent? Type1587 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDeltaEventType? Type1587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseContentPartDoneEventType? Type1588 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEvent? Type1588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCreatedEvent? Type1589 { get; set; } + public global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEventType? Type1589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseCreatedEventType? Type1590 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent? Type1590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorEvent? Type1591 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType? Type1591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseErrorEventType? Type1592 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent? Type1592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFailedEvent? Type1593 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType? Type1593 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFailedEventType? Type1594 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEvent? Type1594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEvent? Type1595 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType? Type1595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEventType? Type1596 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEvent? Type1596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEvent? Type1597 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType? Type1597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEventType? Type1598 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEvent? Type1598 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEvent? Type1599 { get; set; } + public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType? Type1599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEventType? Type1600 { get; set; } + public global::tryAGI.OpenAI.ResponseCompletedEvent? Type1600 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEvent? Type1601 { get; set; } + public global::tryAGI.OpenAI.ResponseCompletedEventType? Type1601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEventType? Type1602 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartAddedEvent? Type1602 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEvent? Type1603 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartAddedEventType? Type1603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEventType? Type1604 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartDoneEvent? Type1604 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEvent? Type1605 { get; set; } + public global::tryAGI.OpenAI.ResponseContentPartDoneEventType? Type1605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEventType? Type1606 { get; set; } + public global::tryAGI.OpenAI.ResponseCreatedEvent? Type1606 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEvent? Type1607 { get; set; } + public global::tryAGI.OpenAI.ResponseCreatedEventType? Type1607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEventType? Type1608 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorEvent? Type1608 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEvent? Type1609 { get; set; } + public global::tryAGI.OpenAI.ResponseErrorEventType? Type1609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEventType? Type1610 { get; set; } + public global::tryAGI.OpenAI.ResponseFailedEvent? Type1610 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEvent? Type1611 { get; set; } + public global::tryAGI.OpenAI.ResponseFailedEventType? Type1611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEventType? Type1612 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEvent? Type1612 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseInProgressEvent? Type1613 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallCompletedEventType? Type1613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseInProgressEventType? Type1614 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEvent? Type1614 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseIncompleteEvent? Type1615 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallInProgressEventType? Type1615 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseIncompleteEventType? Type1616 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEvent? Type1616 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseItemList? Type1617 { get; set; } + public global::tryAGI.OpenAI.ResponseFileSearchCallSearchingEventType? Type1617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseItemListObject? Type1618 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEvent? Type1618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1619 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDeltaEventType? Type1619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEvent? Type1620 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEvent? Type1620 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEventType? Type1621 { get; set; } + public global::tryAGI.OpenAI.ResponseFunctionCallArgumentsDoneEventType? Type1621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEvent? Type1622 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEvent? Type1622 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEventType? Type1623 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallCompletedEventType? Type1623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallCompletedEvent? Type1624 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEvent? Type1624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallCompletedEventType? Type1625 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallGeneratingEventType? Type1625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallFailedEvent? Type1626 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEvent? Type1626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallFailedEventType? Type1627 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallInProgressEventType? Type1627 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallInProgressEvent? Type1628 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEvent? Type1628 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPCallInProgressEventType? Type1629 { get; set; } + public global::tryAGI.OpenAI.ResponseImageGenCallPartialImageEventType? Type1629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEvent? Type1630 { get; set; } + public global::tryAGI.OpenAI.ResponseInProgressEvent? Type1630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEventType? Type1631 { get; set; } + public global::tryAGI.OpenAI.ResponseInProgressEventType? Type1631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEvent? Type1632 { get; set; } + public global::tryAGI.OpenAI.ResponseIncompleteEvent? Type1632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEventType? Type1633 { get; set; } + public global::tryAGI.OpenAI.ResponseIncompleteEventType? Type1633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEvent? Type1634 { get; set; } + public global::tryAGI.OpenAI.ResponseItemList? Type1634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEventType? Type1635 { get; set; } + public global::tryAGI.OpenAI.ResponseItemListObject? Type1635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemAddedEvent? Type1636 { get; set; } + public global::System.Collections.Generic.IList? Type1636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemAddedEventType? Type1637 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEvent? Type1637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemDoneEvent? Type1638 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDeltaEventType? Type1638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputItemDoneEventType? Type1639 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEvent? Type1639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEvent? Type1640 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallArgumentsDoneEventType? Type1640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEventType? Type1641 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallCompletedEvent? Type1641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseQueuedEvent? Type1642 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallCompletedEventType? Type1642 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseQueuedEventType? Type1643 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallFailedEvent? Type1643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningDeltaEvent? Type1644 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallFailedEventType? Type1644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningDeltaEventType? Type1645 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallInProgressEvent? Type1645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningDoneEvent? Type1646 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPCallInProgressEventType? Type1646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningDoneEventType? Type1647 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEvent? Type1647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryDeltaEvent? Type1648 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsCompletedEventType? Type1648 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryDeltaEventType? Type1649 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEvent? Type1649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryDoneEvent? Type1650 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsFailedEventType? Type1650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryDoneEventType? Type1651 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEvent? Type1651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEvent? Type1652 { get; set; } + public global::tryAGI.OpenAI.ResponseMCPListToolsInProgressEventType? Type1652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventType? Type1653 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemAddedEvent? Type1653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPart? Type1654 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemAddedEventType? Type1654 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPartType? Type1655 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemDoneEvent? Type1655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEvent? Type1656 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputItemDoneEventType? Type1656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventType? Type1657 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEvent? Type1657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPart? Type1658 { get; set; } + public global::tryAGI.OpenAI.ResponseOutputTextAnnotationAddedEventType? Type1658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPartType? Type1659 { get; set; } + public global::tryAGI.OpenAI.ResponseQueuedEvent? Type1659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEvent? Type1660 { get; set; } + public global::tryAGI.OpenAI.ResponseQueuedEventType? Type1660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEventType? Type1661 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningDeltaEvent? Type1661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEvent? Type1662 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningDeltaEventType? Type1662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEventType? Type1663 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningDoneEvent? Type1663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDeltaEvent? Type1664 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningDoneEventType? Type1664 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDeltaEventType? Type1665 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryDeltaEvent? Type1665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDoneEvent? Type1666 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryDeltaEventType? Type1666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseRefusalDoneEventType? Type1667 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryDoneEvent? Type1667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamEvent? Type1668 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryDoneEventType? Type1668 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDeltaEvent? Type1669 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEvent? Type1669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDeltaEventType? Type1670 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventType? Type1670 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDoneEvent? Type1671 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPart? Type1671 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseTextDoneEventType? Type1672 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartAddedEventPartType? Type1672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEvent? Type1673 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEvent? Type1673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEventType? Type1674 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventType? Type1674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEvent? Type1675 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPart? Type1675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEventType? Type1676 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryPartDoneEventPartType? Type1676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEvent? Type1677 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEvent? Type1677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEventType? Type1678 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDeltaEventType? Type1678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseStreamEventDiscriminator? Type1679 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEvent? Type1679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderRequest? Type1680 { get; set; } + public global::tryAGI.OpenAI.ResponseReasoningSummaryTextDoneEventType? Type1680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponse? Type1681 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDeltaEvent? Type1681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponseMetadata? Type1682 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDeltaEventType? Type1682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunGraderResponseMetadataErrors? Type1683 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDoneEvent? Type1683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type1684 { get; set; } + public global::tryAGI.OpenAI.ResponseRefusalDoneEventType? Type1684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1685 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamEvent? Type1685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type1686 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDeltaEvent? Type1686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToggleCertificatesRequest? Type1687 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDeltaEventType? Type1687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionChunkingStrategy? Type1688 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDoneEvent? Type1688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionChunkingStrategyEnum? Type1689 { get; set; } + public global::tryAGI.OpenAI.ResponseTextDoneEventType? Type1689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVectorStoreFileAttributesRequest? Type1690 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEvent? Type1690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type1691 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallCompletedEventType? Type1691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type1692 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEvent? Type1692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Upload? Type1693 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallInProgressEventType? Type1693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadStatus? Type1694 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEvent? Type1694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadObject? Type1695 { get; set; } + public global::tryAGI.OpenAI.ResponseWebSearchCallSearchingEventType? Type1695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AllOf? Type1696 { get; set; } + public global::tryAGI.OpenAI.ResponseStreamEventDiscriminator? Type1696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadCertificateRequest? Type1697 { get; set; } + public global::tryAGI.OpenAI.RunGraderRequest? Type1697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadPart? Type1698 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponse? Type1698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadPartObject? Type1699 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponseMetadata? Type1699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type1700 { get; set; } + public global::tryAGI.OpenAI.RunGraderResponseMetadataErrors? Type1700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type1701 { get; set; } + public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type1701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type1702 { get; set; } + public global::System.Collections.Generic.IList? Type1702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type1703 { get; set; } + public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type1703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type1704 { get; set; } + public global::tryAGI.OpenAI.ToggleCertificatesRequest? Type1704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type1705 { get; set; } + public global::tryAGI.OpenAI.TranscriptionChunkingStrategy? Type1705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsResult? Type1706 { get; set; } + public global::tryAGI.OpenAI.TranscriptionChunkingStrategyEnum? Type1706 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type1707 { get; set; } + public global::tryAGI.OpenAI.UpdateVectorStoreFileAttributesRequest? Type1707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type1708 { get; set; } + public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type1708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type1709 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type1709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesResult? Type1710 { get; set; } + public global::tryAGI.OpenAI.Upload? Type1710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesResultObject? Type1711 { get; set; } + public global::tryAGI.OpenAI.UploadStatus? Type1711 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsResult? Type1712 { get; set; } + public global::tryAGI.OpenAI.UploadObject? Type1712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsResultObject? Type1713 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type1713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageResponse? Type1714 { get; set; } + public global::tryAGI.OpenAI.UploadCertificateRequest? Type1714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageResponseObject? Type1715 { get; set; } + public global::tryAGI.OpenAI.UploadPart? Type1715 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1716 { get; set; } + public global::tryAGI.OpenAI.UploadPartObject? Type1716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucket? Type1717 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type1717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketObject? Type1718 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type1718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1719 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type1719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1720 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type1720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresResult? Type1721 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type1721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type1722 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type1722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.User? Type1723 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsResult? Type1723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserObject? Type1724 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type1724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRole? Type1725 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type1725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserDeleteResponse? Type1726 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type1726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserDeleteResponseObject? Type1727 { get; set; } + public global::tryAGI.OpenAI.UsageImagesResult? Type1727 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResponse? Type1728 { get; set; } + public global::tryAGI.OpenAI.UsageImagesResultObject? Type1728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResponseObject? Type1729 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsResult? Type1729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1730 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsResultObject? Type1730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type1731 { get; set; } + public global::tryAGI.OpenAI.UsageResponse? Type1731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleUpdateRequestRole? Type1732 { get; set; } + public global::tryAGI.OpenAI.UsageResponseObject? Type1732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ValidateGraderRequest? Type1733 { get; set; } + public global::System.Collections.Generic.IList? Type1733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ValidateGraderResponse? Type1734 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucket? Type1734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type1735 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketObject? Type1735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type1736 { get; set; } + public global::System.Collections.Generic.IList>? Type1736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type1737 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type1738 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresResult? Type1738 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponse? Type1739 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type1739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponseObject? Type1740 { get; set; } + public global::tryAGI.OpenAI.User? Type1740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1741 { get; set; } + public global::tryAGI.OpenAI.UserObject? Type1741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileContentResponseDataItem? Type1742 { get; set; } + public global::tryAGI.OpenAI.UserRole? Type1742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequest? Type1743 { get; set; } + public global::tryAGI.OpenAI.UserDeleteResponse? Type1743 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type1744 { get; set; } + public global::tryAGI.OpenAI.UserDeleteResponseObject? Type1744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1745 { get; set; } + public global::tryAGI.OpenAI.UserListResponse? Type1745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptions? Type1746 { get; set; } + public global::tryAGI.OpenAI.UserListResponseObject? Type1746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptionsRanker? Type1747 { get; set; } + public global::System.Collections.Generic.IList? Type1747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultContentObject? Type1748 { get; set; } + public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type1748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultContentObjectType? Type1749 { get; set; } + public global::tryAGI.OpenAI.UserRoleUpdateRequestRole? Type1749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultItem? Type1750 { get; set; } + public global::tryAGI.OpenAI.ValidateGraderRequest? Type1750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1751 { get; set; } + public global::tryAGI.OpenAI.ValidateGraderResponse? Type1751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultsPage? Type1752 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type1752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreSearchResultsPageObject? Type1753 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type1753 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1754 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type1754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventType? Type1755 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type1755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventBase? Type1756 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponse? Type1756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionUpdate? Type1757 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponseObject? Type1757 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionUpdateType? Type1758 { get; set; } + public global::System.Collections.Generic.IList? Type1758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppend? Type1759 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileContentResponseDataItem? Type1759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppendType? Type1760 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequest? Type1760 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommit? Type1761 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type1761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitType? Type1762 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1762 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferClear? Type1763 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptions? Type1763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearType? Type1764 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchRequestRankingOptionsRanker? Type1764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemCreate? Type1765 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultContentObject? Type1765 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemCreateType? Type1766 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultContentObjectType? Type1766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemTruncate? Type1767 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultItem? Type1767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemTruncateType? Type1768 { get; set; } + public global::System.Collections.Generic.IList? Type1768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDelete? Type1769 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultsPage? Type1769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDeleteType? Type1770 { get; set; } + public global::tryAGI.OpenAI.VectorStoreSearchResultsPageObject? Type1770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreate? Type1771 { get; set; } + public global::System.Collections.Generic.IList? Type1771 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateType? Type1772 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventType? Type1772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponse? Type1773 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventBase? Type1773 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1774 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionUpdate? Type1774 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseModalitie? Type1775 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionUpdateType? Type1775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseVoice? Type1776 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppend? Type1776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1777 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppendType? Type1777 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseTool? Type1778 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommit? Type1778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1779 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitType? Type1779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseToolChoice? Type1780 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferClear? Type1780 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1781 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearType? Type1781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseMaxOutputTokens? Type1782 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemCreate? Type1782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCancel? Type1783 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemCreateType? Type1783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCancelType? Type1784 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemTruncate? Type1784 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequest? Type1785 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemTruncateType? Type1785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type1786 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDelete? Type1786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type1787 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDeleteType? Type1787 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type1788 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreate? Type1788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateEvalRequest? Type1789 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateType? Type1789 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type1790 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponse? Type1790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsOrder? Type1791 { get; set; } + public global::System.Collections.Generic.IList? Type1791 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type1792 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseModalitie? Type1792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type1793 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseVoice? Type1793 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainersOrder? Type1794 { get; set; } + public global::System.Collections.Generic.IList? Type1794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListContainerFilesOrder? Type1795 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseTool? Type1795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrder? Type1796 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListEvalsOrderBy? Type1797 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseToolChoice? Type1797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsOrder? Type1798 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunsStatus? Type1799 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseMaxOutputTokens? Type1799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type1800 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCancel? Type1800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type1801 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCancelType? Type1801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesOrder? Type1802 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequest? Type1802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type1803 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type1803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type1804 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type1804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type1805 { get; set; } + public global::tryAGI.OpenAI.UpdateChatCompletionRequest? Type1805 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1806 { get; set; } + public global::tryAGI.OpenAI.UpdateEvalRequest? Type1806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type1807 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type1807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1808 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsOrder? Type1808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type1809 { get; set; } + public global::tryAGI.OpenAI.ListChatCompletionsOrder? Type1809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type1810 { get; set; } + public global::tryAGI.OpenAI.GetChatCompletionMessagesOrder? Type1810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1811 { get; set; } + public global::tryAGI.OpenAI.ListContainersOrder? Type1811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type1812 { get; set; } + public global::tryAGI.OpenAI.ListContainerFilesOrder? Type1812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type1813 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrder? Type1813 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type1814 { get; set; } + public global::tryAGI.OpenAI.ListEvalsOrderBy? Type1814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1815 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsOrder? Type1815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type1816 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunsStatus? Type1816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type1817 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsStatus? Type1817 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1818 { get; set; } + public global::tryAGI.OpenAI.GetEvalRunOutputItemsOrder? Type1818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type1819 { get; set; } + public global::tryAGI.OpenAI.ListFilesOrder? Type1819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type1820 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningCheckpointPermissionsOrder? Type1820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1821 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type1821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type1822 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type1822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type1823 { get; set; } + public global::System.Collections.Generic.IList? Type1823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1824 { get; set; } + public global::tryAGI.OpenAI.ListOrganizationCertificatesOrder? Type1824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type1825 { get; set; } + public global::System.Collections.Generic.IList? Type1825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type1826 { get; set; } + public global::tryAGI.OpenAI.GetCertificateIncludeItem? Type1826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1827 { get; set; } + public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type1827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type1828 { get; set; } + public global::System.Collections.Generic.IList? Type1828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type1829 { get; set; } + public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type1829 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1830 { get; set; } + public global::tryAGI.OpenAI.ListProjectCertificatesOrder? Type1830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSource? Type1831 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type1831 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1832 { get; set; } + public global::System.Collections.Generic.IList? Type1832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSize? Type1833 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type1833 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1834 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type1834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type1835 { get; set; } + public global::System.Collections.Generic.IList? Type1835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type1836 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type1836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1837 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type1837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type1838 { get; set; } + public global::System.Collections.Generic.IList? Type1838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type1839 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type1839 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1840 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type1840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type1841 { get; set; } + public global::System.Collections.Generic.IList? Type1841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListInputItemsOrder? Type1842 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type1842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesOrder? Type1843 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type1843 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsOrder? Type1844 { get; set; } + public global::System.Collections.Generic.IList? Type1844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1845 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type1845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunIncludeItem? Type1846 { get; set; } + public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type1846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsOrder? Type1847 { get; set; } + public global::System.Collections.Generic.IList? Type1847 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1848 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSource? Type1848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type1849 { get; set; } + public global::System.Collections.Generic.IList? Type1849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1850 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSize? Type1850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type1851 { get; set; } + public global::System.Collections.Generic.IList? Type1851 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresOrder? Type1852 { get; set; } + public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type1852 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type1853 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type1853 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type1854 { get; set; } + public global::System.Collections.Generic.IList? Type1854 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type1855 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type1855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type1856 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type1856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1857 { get; set; } + public global::System.Collections.Generic.IList? Type1857 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1858 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type1858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalResponse? Type1859 { get; set; } + public global::tryAGI.OpenAI.ListInputItemsOrder? Type1859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type1860 { get; set; } + public global::tryAGI.OpenAI.ListMessagesOrder? Type1860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type1861 { get; set; } + public global::tryAGI.OpenAI.ListRunsOrder? Type1861 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type1862 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.CreateRunIncludeItem? Type1863 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunStepsOrder? Type1864 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type1865 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type1866 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type1867 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type1868 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoresOrder? Type1869 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type1870 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type1871 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type1872 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type1873 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.OneOf? Type1874 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.OneOf? Type1875 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteEvalResponse? Type1876 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.DeleteEvalRunResponse? Type1877 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type1878 { get; set; } } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutputDiscriminator.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.Json.g.cs similarity index 84% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutputDiscriminator.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.Json.g.cs index 95b77c576..8b022a206 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutputDiscriminator.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public sealed partial class CodeInterpreterToolOutputDiscriminator + public sealed partial class CodeInterpreterOutputImage { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.CodeInterpreterToolOutputDiscriminator? FromJson( + public static global::tryAGI.OpenAI.CodeInterpreterOutputImage? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.CodeInterpreterToolOutputDiscriminator), - jsonSerializerContext) as global::tryAGI.OpenAI.CodeInterpreterToolOutputDiscriminator; + typeof(global::tryAGI.OpenAI.CodeInterpreterOutputImage), + jsonSerializerContext) as global::tryAGI.OpenAI.CodeInterpreterOutputImage; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.CodeInterpreterToolOutputDiscriminator? FromJson( + public static global::tryAGI.OpenAI.CodeInterpreterOutputImage? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.CodeInterpreterToolOutputDiscriminator), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CodeInterpreterToolOutputDiscriminator; + typeof(global::tryAGI.OpenAI.CodeInterpreterOutputImage), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CodeInterpreterOutputImage; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs new file mode 100644 index 000000000..817c50a92 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The image output from the code interpreter. + /// + public sealed partial class CodeInterpreterOutputImage + { + /// + /// The type of the output. Always 'image'.
+ /// Default Value: image + ///
+ /// global::tryAGI.OpenAI.CodeInterpreterOutputImageType.Image + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputImageTypeJsonConverter))] + public global::tryAGI.OpenAI.CodeInterpreterOutputImageType Type { get; set; } = global::tryAGI.OpenAI.CodeInterpreterOutputImageType.Image; + + /// + /// The URL of the image output from the code interpreter. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("url")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { 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 type of the output. Always 'image'.
+ /// Default Value: image + /// + /// + /// The URL of the image output from the code interpreter. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CodeInterpreterOutputImage( + string url, + global::tryAGI.OpenAI.CodeInterpreterOutputImageType type = global::tryAGI.OpenAI.CodeInterpreterOutputImageType.Image) + { + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public CodeInterpreterOutputImage() + { + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImageType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImageType.g.cs new file mode 100644 index 000000000..ccbca0720 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImageType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the output. Always 'image'.
+ /// Default Value: image + ///
+ public enum CodeInterpreterOutputImageType + { + /// + /// + /// + Image, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeInterpreterOutputImageTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeInterpreterOutputImageType value) + { + return value switch + { + CodeInterpreterOutputImageType.Image => "image", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeInterpreterOutputImageType? ToEnum(string value) + { + return value switch + { + "image" => CodeInterpreterOutputImageType.Image, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutput.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.Json.g.cs similarity index 86% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutput.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.Json.g.cs index b035dd372..18ca80e8b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutput.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public readonly partial struct CodeInterpreterToolOutput + public sealed partial class CodeInterpreterOutputLogs { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.CodeInterpreterToolOutput? FromJson( + public static global::tryAGI.OpenAI.CodeInterpreterOutputLogs? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.CodeInterpreterToolOutput), - jsonSerializerContext) as global::tryAGI.OpenAI.CodeInterpreterToolOutput?; + typeof(global::tryAGI.OpenAI.CodeInterpreterOutputLogs), + jsonSerializerContext) as global::tryAGI.OpenAI.CodeInterpreterOutputLogs; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.CodeInterpreterToolOutput? FromJson( + public static global::tryAGI.OpenAI.CodeInterpreterOutputLogs? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.CodeInterpreterToolOutput), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CodeInterpreterToolOutput?; + typeof(global::tryAGI.OpenAI.CodeInterpreterOutputLogs), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CodeInterpreterOutputLogs; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs new file mode 100644 index 000000000..f37c7bc54 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The logs output from the code interpreter. + /// + public sealed partial class CodeInterpreterOutputLogs + { + /// + /// The type of the output. Always 'logs'.
+ /// Default Value: logs + ///
+ /// global::tryAGI.OpenAI.CodeInterpreterOutputLogsType.Logs + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterOutputLogsTypeJsonConverter))] + public global::tryAGI.OpenAI.CodeInterpreterOutputLogsType Type { get; set; } = global::tryAGI.OpenAI.CodeInterpreterOutputLogsType.Logs; + + /// + /// The logs output from the code interpreter. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("logs")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Logs { 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 type of the output. Always 'logs'.
+ /// Default Value: logs + /// + /// + /// The logs output from the code interpreter. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CodeInterpreterOutputLogs( + string logs, + global::tryAGI.OpenAI.CodeInterpreterOutputLogsType type = global::tryAGI.OpenAI.CodeInterpreterOutputLogsType.Logs) + { + this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs)); + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public CodeInterpreterOutputLogs() + { + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogsType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogsType.g.cs new file mode 100644 index 000000000..f5b57c8e2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogsType.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the output. Always 'logs'.
+ /// Default Value: logs + ///
+ public enum CodeInterpreterOutputLogsType + { + /// + /// + /// + Logs, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CodeInterpreterOutputLogsTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CodeInterpreterOutputLogsType value) + { + return value switch + { + CodeInterpreterOutputLogsType.Logs => "logs", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CodeInterpreterOutputLogsType? ToEnum(string value) + { + return value switch + { + "logs" => CodeInterpreterOutputLogsType.Logs, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs index af4fa3e13..366190e51 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace tryAGI.OpenAI @@ -20,9 +22,9 @@ public sealed partial class CodeInterpreterTool /// specifies uploaded file IDs to make available to your code. ///
[global::System.Text.Json.Serialization.JsonPropertyName("container")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ContainerJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::tryAGI.OpenAI.Container Container { get; set; } + public required global::tryAGI.OpenAI.OneOf Container { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -44,7 +46,7 @@ public sealed partial class CodeInterpreterTool [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CodeInterpreterTool( - global::tryAGI.OpenAI.Container container, + global::tryAGI.OpenAI.OneOf container, global::tryAGI.OpenAI.CodeInterpreterToolType type) { this.Container = container; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs index 0ede6e972..75d7cd296 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace tryAGI.OpenAI @@ -8,6 +10,15 @@ namespace tryAGI.OpenAI /// public sealed partial class CodeInterpreterToolCall { + /// + /// The type of the code interpreter tool call. Always `code_interpreter_call`.
+ /// Default Value: code_interpreter_call + ///
+ /// global::tryAGI.OpenAI.CodeInterpreterToolCallType.CodeInterpreterCall + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterToolCallTypeJsonConverter))] + public global::tryAGI.OpenAI.CodeInterpreterToolCallType Type { get; set; } = global::tryAGI.OpenAI.CodeInterpreterToolCallType.CodeInterpreterCall; + /// /// The unique ID of the code interpreter tool call. /// @@ -16,39 +27,34 @@ public sealed partial class CodeInterpreterToolCall public required string Id { get; set; } /// - /// The type of the code interpreter tool call. Always `code_interpreter_call`. + /// The status of the code interpreter tool call. /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterToolCallTypeJsonConverter))] - public global::tryAGI.OpenAI.CodeInterpreterToolCallType Type { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.CodeInterpreterToolCallStatus Status { get; set; } /// /// The ID of the container used to run the code. /// [global::System.Text.Json.Serialization.JsonPropertyName("container_id")] - public string? ContainerId { get; set; } - - /// - /// The code to run. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("code")] [global::System.Text.Json.Serialization.JsonRequired] - public required string Code { get; set; } + public required string ContainerId { get; set; } /// - /// The status of the code interpreter tool call. + /// The code to run, or null if not available. /// - [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CodeInterpreterToolCallStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonPropertyName("code")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::tryAGI.OpenAI.CodeInterpreterToolCallStatus Status { get; set; } + public required string? Code { get; set; } /// - /// The results of the code interpreter tool call. + /// The outputs generated by the code interpreter, such as logs or images.
+ /// Can be null if no outputs are available. ///
- [global::System.Text.Json.Serialization.JsonPropertyName("results")] + [global::System.Text.Json.Serialization.JsonPropertyName("outputs")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Results { get; set; } + public required global::System.Collections.Generic.IList>? Outputs { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -59,41 +65,43 @@ public sealed partial class CodeInterpreterToolCall /// /// Initializes a new instance of the class. /// + /// + /// The type of the code interpreter tool call. Always `code_interpreter_call`.
+ /// Default Value: code_interpreter_call + /// /// /// The unique ID of the code interpreter tool call. /// - /// - /// The type of the code interpreter tool call. Always `code_interpreter_call`. + /// + /// The status of the code interpreter tool call. /// /// /// The ID of the container used to run the code. /// /// - /// The code to run. - /// - /// - /// The status of the code interpreter tool call. + /// The code to run, or null if not available. /// - /// - /// The results of the code interpreter tool call. + /// + /// The outputs generated by the code interpreter, such as logs or images.
+ /// Can be null if no outputs are available. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CodeInterpreterToolCall( string id, - string code, global::tryAGI.OpenAI.CodeInterpreterToolCallStatus status, - global::System.Collections.Generic.IList results, - global::tryAGI.OpenAI.CodeInterpreterToolCallType type, - string? containerId) + string containerId, + string? code, + global::System.Collections.Generic.IList>? outputs, + global::tryAGI.OpenAI.CodeInterpreterToolCallType type = global::tryAGI.OpenAI.CodeInterpreterToolCallType.CodeInterpreterCall) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); - this.Code = code ?? throw new global::System.ArgumentNullException(nameof(code)); this.Status = status; - this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); + this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId)); + this.Code = code ?? throw new global::System.ArgumentNullException(nameof(code)); + this.Outputs = outputs ?? throw new global::System.ArgumentNullException(nameof(outputs)); this.Type = type; - this.ContainerId = containerId; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolContainerDiscriminator.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallOutputsDiscriminator.Json.g.cs similarity index 88% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolContainerDiscriminator.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallOutputsDiscriminator.Json.g.cs index 801ef8682..4c5ba9783 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolContainerDiscriminator.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallOutputsDiscriminator.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public sealed partial class CodeInterpreterToolContainerDiscriminator + public sealed partial class CodeInterpreterToolCallOutputsDiscriminator { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.CodeInterpreterToolContainerDiscriminator? FromJson( + public static global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsDiscriminator? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.CodeInterpreterToolContainerDiscriminator), - jsonSerializerContext) as global::tryAGI.OpenAI.CodeInterpreterToolContainerDiscriminator; + typeof(global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsDiscriminator), + jsonSerializerContext) as global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsDiscriminator; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.CodeInterpreterToolContainerDiscriminator? FromJson( + public static global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsDiscriminator? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.CodeInterpreterToolContainerDiscriminator), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CodeInterpreterToolContainerDiscriminator; + typeof(global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CodeInterpreterToolCallOutputsDiscriminator; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolContainerDiscriminator.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallOutputsDiscriminator.g.cs similarity index 79% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolContainerDiscriminator.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallOutputsDiscriminator.g.cs index 3d6ad1fe2..8a73bc4e2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolContainerDiscriminator.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallOutputsDiscriminator.g.cs @@ -6,7 +6,7 @@ namespace tryAGI.OpenAI /// /// /// - public sealed partial class CodeInterpreterToolContainerDiscriminator + public sealed partial class CodeInterpreterToolCallOutputsDiscriminator { /// /// @@ -21,22 +21,22 @@ public sealed partial class CodeInterpreterToolContainerDiscriminator public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CodeInterpreterToolContainerDiscriminator( + public CodeInterpreterToolCallOutputsDiscriminator( string? type) { this.Type = type; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CodeInterpreterToolContainerDiscriminator() + public CodeInterpreterToolCallOutputsDiscriminator() { } } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallStatus.g.cs index c5958d306..5ca16bc39 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallStatus.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallStatus.g.cs @@ -15,11 +15,19 @@ public enum CodeInterpreterToolCallStatus /// /// /// + Completed, + /// + /// + /// + Incomplete, + /// + /// + /// Interpreting, /// /// /// - Completed, + Failed, } /// @@ -35,8 +43,10 @@ public static string ToValueString(this CodeInterpreterToolCallStatus value) return value switch { CodeInterpreterToolCallStatus.InProgress => "in_progress", - CodeInterpreterToolCallStatus.Interpreting => "interpreting", CodeInterpreterToolCallStatus.Completed => "completed", + CodeInterpreterToolCallStatus.Incomplete => "incomplete", + CodeInterpreterToolCallStatus.Interpreting => "interpreting", + CodeInterpreterToolCallStatus.Failed => "failed", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -48,8 +58,10 @@ public static string ToValueString(this CodeInterpreterToolCallStatus value) return value switch { "in_progress" => CodeInterpreterToolCallStatus.InProgress, - "interpreting" => CodeInterpreterToolCallStatus.Interpreting, "completed" => CodeInterpreterToolCallStatus.Completed, + "incomplete" => CodeInterpreterToolCallStatus.Incomplete, + "interpreting" => CodeInterpreterToolCallStatus.Interpreting, + "failed" => CodeInterpreterToolCallStatus.Failed, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallType.g.cs index c3b01f7cb..0ed031cd4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallType.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCallType.g.cs @@ -4,7 +4,8 @@ namespace tryAGI.OpenAI { /// - /// The type of the code interpreter tool call. Always `code_interpreter_call`. + /// The type of the code interpreter tool call. Always `code_interpreter_call`.
+ /// Default Value: code_interpreter_call ///
public enum CodeInterpreterToolCallType { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutput.g.cs deleted file mode 100644 index 998275f00..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutput.g.cs +++ /dev/null @@ -1,222 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// The output of a code interpreter tool. - /// - public readonly partial struct CodeInterpreterToolOutput : global::System.IEquatable - { - /// - /// The output of a code interpreter tool call that is text. - /// -#if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.CodeInterpreterTextOutput? Text { get; init; } -#else - public global::tryAGI.OpenAI.CodeInterpreterTextOutput? Text { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Text))] -#endif - public bool IsText => Text != null; - - /// - /// - /// - public static implicit operator CodeInterpreterToolOutput(global::tryAGI.OpenAI.CodeInterpreterTextOutput value) => new CodeInterpreterToolOutput((global::tryAGI.OpenAI.CodeInterpreterTextOutput?)value); - - /// - /// - /// - public static implicit operator global::tryAGI.OpenAI.CodeInterpreterTextOutput?(CodeInterpreterToolOutput @this) => @this.Text; - - /// - /// - /// - public CodeInterpreterToolOutput(global::tryAGI.OpenAI.CodeInterpreterTextOutput? value) - { - Text = value; - } - - /// - /// The output of a code interpreter tool call that is a file. - /// -#if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.CodeInterpreterFileOutput? File { get; init; } -#else - public global::tryAGI.OpenAI.CodeInterpreterFileOutput? File { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(File))] -#endif - public bool IsFile => File != null; - - /// - /// - /// - public static implicit operator CodeInterpreterToolOutput(global::tryAGI.OpenAI.CodeInterpreterFileOutput value) => new CodeInterpreterToolOutput((global::tryAGI.OpenAI.CodeInterpreterFileOutput?)value); - - /// - /// - /// - public static implicit operator global::tryAGI.OpenAI.CodeInterpreterFileOutput?(CodeInterpreterToolOutput @this) => @this.File; - - /// - /// - /// - public CodeInterpreterToolOutput(global::tryAGI.OpenAI.CodeInterpreterFileOutput? value) - { - File = value; - } - - /// - /// - /// - public CodeInterpreterToolOutput( - global::tryAGI.OpenAI.CodeInterpreterTextOutput? text, - global::tryAGI.OpenAI.CodeInterpreterFileOutput? file - ) - { - Text = text; - File = file; - } - - /// - /// - /// - public object? Object => - File as object ?? - Text as object - ; - - /// - /// - /// - public override string? ToString() => - Text?.ToString() ?? - File?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsText && !IsFile || !IsText && IsFile; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? text = null, - global::System.Func? file = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsText && text != null) - { - return text(Text!); - } - else if (IsFile && file != null) - { - return file(File!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? text = null, - global::System.Action? file = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsText) - { - text?.Invoke(Text!); - } - else if (IsFile) - { - file?.Invoke(File!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - Text, - typeof(global::tryAGI.OpenAI.CodeInterpreterTextOutput), - File, - typeof(global::tryAGI.OpenAI.CodeInterpreterFileOutput), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(CodeInterpreterToolOutput other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Text, other.Text) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(File, other.File) - ; - } - - /// - /// - /// - public static bool operator ==(CodeInterpreterToolOutput obj1, CodeInterpreterToolOutput obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(CodeInterpreterToolOutput obj1, CodeInterpreterToolOutput obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is CodeInterpreterToolOutput o && Equals(o); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Container.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Container.g.cs deleted file mode 100644 index 53403a50e..000000000 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Container.g.cs +++ /dev/null @@ -1,224 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace tryAGI.OpenAI -{ - /// - /// The code interpreter container. Can be a container ID or an object that
- /// specifies uploaded file IDs to make available to your code. - ///
- public readonly partial struct Container : global::System.IEquatable - { - /// - /// The container ID. - /// -#if NET6_0_OR_GREATER - public string? Value1 { get; init; } -#else - public string? Value1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] -#endif - public bool IsValue1 => Value1 != null; - - /// - /// - /// - public static implicit operator Container(string value) => new Container((string?)value); - - /// - /// - /// - public static implicit operator string?(Container @this) => @this.Value1; - - /// - /// - /// - public Container(string? value) - { - Value1 = value; - } - - /// - /// Configuration for a code interpreter container. Optionally specify the IDs
- /// of the files to run the code on. - ///
-#if NET6_0_OR_GREATER - public global::tryAGI.OpenAI.CodeInterpreterToolAuto? Value2 { get; init; } -#else - public global::tryAGI.OpenAI.CodeInterpreterToolAuto? Value2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value2))] -#endif - public bool IsValue2 => Value2 != null; - - /// - /// - /// - public static implicit operator Container(global::tryAGI.OpenAI.CodeInterpreterToolAuto value) => new Container((global::tryAGI.OpenAI.CodeInterpreterToolAuto?)value); - - /// - /// - /// - public static implicit operator global::tryAGI.OpenAI.CodeInterpreterToolAuto?(Container @this) => @this.Value2; - - /// - /// - /// - public Container(global::tryAGI.OpenAI.CodeInterpreterToolAuto? value) - { - Value2 = value; - } - - /// - /// - /// - public Container( - string? value1, - global::tryAGI.OpenAI.CodeInterpreterToolAuto? value2 - ) - { - Value1 = value1; - Value2 = value2; - } - - /// - /// - /// - public object? Object => - Value2 as object ?? - Value1 as object - ; - - /// - /// - /// - public override string? ToString() => - Value1?.ToString() ?? - Value2?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsValue1 && !IsValue2 || !IsValue1 && IsValue2; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? value1 = null, - global::System.Func? value2 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsValue1 && value1 != null) - { - return value1(Value1!); - } - else if (IsValue2 && value2 != null) - { - return value2(Value2!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? value1 = null, - global::System.Action? value2 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsValue1) - { - value1?.Invoke(Value1!); - } - else if (IsValue2) - { - value2?.Invoke(Value2!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - Value1, - typeof(string), - Value2, - typeof(global::tryAGI.OpenAI.CodeInterpreterToolAuto), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(Container other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) && - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value2, other.Value2) - ; - } - - /// - /// - /// - public static bool operator ==(Container obj1, Container obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(Container obj1, Container obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is Container o && Equals(o); - } - } -} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs index 36e266590..5b64e8abd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs @@ -45,6 +45,13 @@ public sealed partial class ContainerFileCitationBody [global::System.Text.Json.Serialization.JsonRequired] public required int EndIndex { get; set; } + /// + /// The filename of the container file cited. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filename")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Filename { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -70,6 +77,9 @@ public sealed partial class ContainerFileCitationBody /// /// The index of the last character of the container file citation in the message. /// + /// + /// The filename of the container file cited. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -78,12 +88,14 @@ public ContainerFileCitationBody( string fileId, int startIndex, int endIndex, + string filename, global::tryAGI.OpenAI.ContainerFileCitationBodyType type = global::tryAGI.OpenAI.ContainerFileCitationBodyType.ContainerFileCitation) { this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId)); this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.StartIndex = startIndex; this.EndIndex = endIndex; + this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); this.Type = type; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs index cb1210b13..ebe6f8f8e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs @@ -49,12 +49,20 @@ public sealed partial class CreateSpeechRequest public global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? ResponseFormat { get; set; } /// - /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default. Does not work with `gpt-4o-mini-tts`.
+ /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default.
/// Default Value: 1 ///
[global::System.Text.Json.Serialization.JsonPropertyName("speed")] public double? Speed { get; set; } + /// + /// The format to stream the audio in. Supported formats are `sse` and `audio`. `sse` is not supported for `tts-1` or `tts-1-hd`.
+ /// Default Value: audio + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("stream_format")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.CreateSpeechRequestStreamFormatJsonConverter))] + public global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? StreamFormat { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -81,9 +89,13 @@ public sealed partial class CreateSpeechRequest /// Default Value: mp3 /// /// - /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default. Does not work with `gpt-4o-mini-tts`.
+ /// The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default.
/// Default Value: 1 /// + /// + /// The format to stream the audio in. Supported formats are `sse` and `audio`. `sse` is not supported for `tts-1` or `tts-1-hd`.
+ /// Default Value: audio + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -93,7 +105,8 @@ public CreateSpeechRequest( global::tryAGI.OpenAI.VoiceIdsShared voice, string? instructions, global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? responseFormat, - double? speed) + double? speed, + global::tryAGI.OpenAI.CreateSpeechRequestStreamFormat? streamFormat) { this.Model = model; this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input)); @@ -101,6 +114,7 @@ public CreateSpeechRequest( this.Instructions = instructions; this.ResponseFormat = responseFormat; this.Speed = speed; + this.StreamFormat = streamFormat; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestStreamFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestStreamFormat.g.cs new file mode 100644 index 000000000..ed2430f14 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequestStreamFormat.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The format to stream the audio in. Supported formats are `sse` and `audio`. `sse` is not supported for `tts-1` or `tts-1-hd`.
+ /// Default Value: audio + ///
+ public enum CreateSpeechRequestStreamFormat + { + /// + /// + /// + Sse, + /// + /// + /// + Audio, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateSpeechRequestStreamFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateSpeechRequestStreamFormat value) + { + return value switch + { + CreateSpeechRequestStreamFormat.Sse => "sse", + CreateSpeechRequestStreamFormat.Audio => "audio", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateSpeechRequestStreamFormat? ToEnum(string value) + { + return value switch + { + "sse" => CreateSpeechRequestStreamFormat.Sse, + "audio" => CreateSpeechRequestStreamFormat.Audio, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEvent.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEvent.Json.g.cs new file mode 100644 index 000000000..f6acad2d8 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEvent.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct CreateSpeechResponseStreamEvent + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent?; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateSpeechResponseStreamEvent?; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEvent.g.cs new file mode 100644 index 000000000..452f2940d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEvent.g.cs @@ -0,0 +1,222 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public readonly partial struct CreateSpeechResponseStreamEvent : global::System.IEquatable + { + /// + /// Emitted for each chunk of audio data generated during speech synthesis. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.SpeechAudioDeltaEvent? AudioDelta { get; init; } +#else + public global::tryAGI.OpenAI.SpeechAudioDeltaEvent? AudioDelta { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AudioDelta))] +#endif + public bool IsAudioDelta => AudioDelta != null; + + /// + /// + /// + public static implicit operator CreateSpeechResponseStreamEvent(global::tryAGI.OpenAI.SpeechAudioDeltaEvent value) => new CreateSpeechResponseStreamEvent((global::tryAGI.OpenAI.SpeechAudioDeltaEvent?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.SpeechAudioDeltaEvent?(CreateSpeechResponseStreamEvent @this) => @this.AudioDelta; + + /// + /// + /// + public CreateSpeechResponseStreamEvent(global::tryAGI.OpenAI.SpeechAudioDeltaEvent? value) + { + AudioDelta = value; + } + + /// + /// Emitted when the speech synthesis is complete and all audio has been streamed. + /// +#if NET6_0_OR_GREATER + public global::tryAGI.OpenAI.SpeechAudioDoneEvent? AudioDone { get; init; } +#else + public global::tryAGI.OpenAI.SpeechAudioDoneEvent? AudioDone { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(AudioDone))] +#endif + public bool IsAudioDone => AudioDone != null; + + /// + /// + /// + public static implicit operator CreateSpeechResponseStreamEvent(global::tryAGI.OpenAI.SpeechAudioDoneEvent value) => new CreateSpeechResponseStreamEvent((global::tryAGI.OpenAI.SpeechAudioDoneEvent?)value); + + /// + /// + /// + public static implicit operator global::tryAGI.OpenAI.SpeechAudioDoneEvent?(CreateSpeechResponseStreamEvent @this) => @this.AudioDone; + + /// + /// + /// + public CreateSpeechResponseStreamEvent(global::tryAGI.OpenAI.SpeechAudioDoneEvent? value) + { + AudioDone = value; + } + + /// + /// + /// + public CreateSpeechResponseStreamEvent( + global::tryAGI.OpenAI.SpeechAudioDeltaEvent? audioDelta, + global::tryAGI.OpenAI.SpeechAudioDoneEvent? audioDone + ) + { + AudioDelta = audioDelta; + AudioDone = audioDone; + } + + /// + /// + /// + public object? Object => + AudioDone as object ?? + AudioDelta as object + ; + + /// + /// + /// + public override string? ToString() => + AudioDelta?.ToString() ?? + AudioDone?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsAudioDelta || IsAudioDone; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? audioDelta = null, + global::System.Func? audioDone = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsAudioDelta && audioDelta != null) + { + return audioDelta(AudioDelta!); + } + else if (IsAudioDone && audioDone != null) + { + return audioDone(AudioDone!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? audioDelta = null, + global::System.Action? audioDone = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsAudioDelta) + { + audioDelta?.Invoke(AudioDelta!); + } + else if (IsAudioDone) + { + audioDone?.Invoke(AudioDone!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + AudioDelta, + typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent), + AudioDone, + typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(CreateSpeechResponseStreamEvent other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(AudioDelta, other.AudioDelta) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(AudioDone, other.AudioDone) + ; + } + + /// + /// + /// + public static bool operator ==(CreateSpeechResponseStreamEvent obj1, CreateSpeechResponseStreamEvent obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(CreateSpeechResponseStreamEvent obj1, CreateSpeechResponseStreamEvent obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is CreateSpeechResponseStreamEvent o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEventDiscriminator.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEventDiscriminator.Json.g.cs new file mode 100644 index 000000000..2cca78b1b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEventDiscriminator.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateSpeechResponseStreamEventDiscriminator + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateSpeechResponseStreamEventDiscriminator; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutputDiscriminator.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEventDiscriminator.g.cs similarity index 69% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutputDiscriminator.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEventDiscriminator.g.cs index eef24cc2a..69a341f16 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolOutputDiscriminator.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechResponseStreamEventDiscriminator.g.cs @@ -6,7 +6,7 @@ namespace tryAGI.OpenAI /// /// /// - public sealed partial class CodeInterpreterToolOutputDiscriminator + public sealed partial class CreateSpeechResponseStreamEventDiscriminator { /// /// @@ -21,22 +21,22 @@ public sealed partial class CodeInterpreterToolOutputDiscriminator public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public CodeInterpreterToolOutputDiscriminator( + public CreateSpeechResponseStreamEventDiscriminator( string? type) { this.Type = type; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public CodeInterpreterToolOutputDiscriminator() + public CreateSpeechResponseStreamEventDiscriminator() { } } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseJson.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseJson.g.cs index dbb4c7e59..8d0914abd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseJson.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseJson.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace tryAGI.OpenAI @@ -21,6 +23,13 @@ public sealed partial class CreateTranscriptionResponseJson [global::System.Text.Json.Serialization.JsonPropertyName("logprobs")] public global::System.Collections.Generic.IList? Logprobs { get; set; } + /// + /// Token usage statistics for the request. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("usage")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter))] + public global::tryAGI.OpenAI.OneOf? Usage { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -36,15 +45,20 @@ public sealed partial class CreateTranscriptionResponseJson /// /// The log probabilities of the tokens in the transcription. Only returned with the models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` if `logprobs` is added to the `include` array. /// + /// + /// Token usage statistics for the request. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public CreateTranscriptionResponseJson( string text, - global::System.Collections.Generic.IList? logprobs) + global::System.Collections.Generic.IList? logprobs, + global::tryAGI.OpenAI.OneOf? usage) { this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Logprobs = logprobs; + this.Usage = usage; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseVerboseJson.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseVerboseJson.g.cs index 1df04e0b4..39b881be8 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseVerboseJson.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseVerboseJson.g.cs @@ -41,6 +41,12 @@ public sealed partial class CreateTranscriptionResponseVerboseJson [global::System.Text.Json.Serialization.JsonPropertyName("segments")] public global::System.Collections.Generic.IList? Segments { get; set; } + /// + /// Usage statistics for models billed by audio input duration. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("usage")] + public global::tryAGI.OpenAI.TranscriptTextUsageDuration? Usage { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -65,6 +71,9 @@ public sealed partial class CreateTranscriptionResponseVerboseJson /// /// Segments of the transcribed text and their corresponding details. /// + /// + /// Usage statistics for models billed by audio input duration. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -73,13 +82,15 @@ public CreateTranscriptionResponseVerboseJson( double duration, string text, global::System.Collections.Generic.IList? words, - global::System.Collections.Generic.IList? segments) + global::System.Collections.Generic.IList? segments, + global::tryAGI.OpenAI.TranscriptTextUsageDuration? usage) { this.Language = language ?? throw new global::System.ArgumentNullException(nameof(language)); this.Duration = duration; this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Words = words; this.Segments = segments; + this.Usage = usage; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs index f0029c884..3b347ad0a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs @@ -31,6 +31,13 @@ public sealed partial class FileCitationBody [global::System.Text.Json.Serialization.JsonRequired] public required int Index { get; set; } + /// + /// The filename of the file cited. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filename")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Filename { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -50,16 +57,21 @@ public sealed partial class FileCitationBody /// /// The index of the file in the list of files. /// + /// + /// The filename of the file cited. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public FileCitationBody( string fileId, int index, + string filename, global::tryAGI.OpenAI.FileCitationBodyType type = global::tryAGI.OpenAI.FileCitationBodyType.FileCitation) { this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId)); this.Index = index; + this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); this.Type = type; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted.g.cs index ff45288a3..cfb84f4b6 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted.g.cs @@ -9,10 +9,10 @@ namespace tryAGI.OpenAI /// committed by the client or server (in `server_vad` mode). Transcription runs
/// asynchronously with Response creation, so this event may come before or after
/// the Response events.
- /// Realtime API models accept audio natively, and thus input transcription is a
- /// separate process run on a separate ASR (Automatic Speech Recognition) model,
- /// currently always `whisper-1`. Thus the transcript may diverge somewhat from
- /// the model's interpretation, and should be treated as a rough guide. + /// Realtime API models accept audio natively, and thus input transcription is a
+ /// separate process run on a separate ASR (Automatic Speech Recognition) model.
+ /// The transcript may diverge somewhat from the model's interpretation, and
+ /// should be treated as a rough guide. ///
public sealed partial class RealtimeServerEventConversationItemInputAudioTranscriptionCompleted { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecret.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecret.g.cs index 8a6cd6782..577e8771e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecret.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecret.g.cs @@ -11,8 +11,8 @@ public sealed partial class RealtimeSessionCreateRequestClientSecret /// /// Configuration for the ephemeral token expiration. /// - [global::System.Text.Json.Serialization.JsonPropertyName("expires_at")] - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt? ExpiresAt { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("expires_after")] + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter? ExpiresAfter { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -23,16 +23,16 @@ public sealed partial class RealtimeSessionCreateRequestClientSecret /// /// Initializes a new instance of the class. /// - /// + /// /// Configuration for the ephemeral token expiration. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public RealtimeSessionCreateRequestClientSecret( - global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt? expiresAt) + global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter? expiresAfter) { - this.ExpiresAt = expiresAt; + this.ExpiresAfter = expiresAfter; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAt.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfter.Json.g.cs similarity index 93% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAt.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfter.Json.g.cs index b4afb14ee..f50f95bad 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAt.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfter.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public sealed partial class RealtimeSessionCreateRequestClientSecretExpiresAt + public sealed partial class RealtimeSessionCreateRequestClientSecretExpiresAfter { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt? FromJson( + public static global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt), - jsonSerializerContext) as global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt; + typeof(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter), + jsonSerializerContext) as global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt? FromJson( + public static global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAt; + typeof(global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfter; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAt.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfter.g.cs similarity index 78% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAt.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfter.g.cs index 6fdd4657c..731113be2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAt.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfter.g.cs @@ -6,15 +6,14 @@ namespace tryAGI.OpenAI /// /// Configuration for the ephemeral token expiration. /// - public sealed partial class RealtimeSessionCreateRequestClientSecretExpiresAt + public sealed partial class RealtimeSessionCreateRequestClientSecretExpiresAfter { /// - /// The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.
- /// Default Value: created_at + /// The anchor point for the ephemeral token expiration. Only `created_at` is currently supported. ///
[global::System.Text.Json.Serialization.JsonPropertyName("anchor")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAtAnchorJsonConverter))] - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor? Anchor { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorJsonConverter))] + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor Anchor { get; set; } /// /// The number of seconds from the anchor point to the expiration. Select a value between `10` and `7200`.
@@ -30,11 +29,10 @@ public sealed partial class RealtimeSessionCreateRequestClientSecretExpiresAt public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.
- /// Default Value: created_at + /// The anchor point for the ephemeral token expiration. Only `created_at` is currently supported. /// /// /// The number of seconds from the anchor point to the expiration. Select a value between `10` and `7200`.
@@ -43,8 +41,8 @@ public sealed partial class RealtimeSessionCreateRequestClientSecretExpiresAt #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public RealtimeSessionCreateRequestClientSecretExpiresAt( - global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor? anchor, + public RealtimeSessionCreateRequestClientSecretExpiresAfter( + global::tryAGI.OpenAI.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor anchor, int? seconds) { this.Anchor = anchor; @@ -52,9 +50,9 @@ public RealtimeSessionCreateRequestClientSecretExpiresAt( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public RealtimeSessionCreateRequestClientSecretExpiresAt() + public RealtimeSessionCreateRequestClientSecretExpiresAfter() { } } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor.g.cs similarity index 81% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor.g.cs index 3b7d001c6..8213d035b 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAtAnchor.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor.g.cs @@ -4,10 +4,9 @@ namespace tryAGI.OpenAI { /// - /// The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.
- /// Default Value: created_at + /// The anchor point for the ephemeral token expiration. Only `created_at` is currently supported. ///
- public enum RealtimeSessionCreateRequestClientSecretExpiresAtAnchor + public enum RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor { /// /// @@ -18,27 +17,27 @@ public enum RealtimeSessionCreateRequestClientSecretExpiresAtAnchor /// /// Enum extensions to do fast conversions without the reflection. /// - public static class RealtimeSessionCreateRequestClientSecretExpiresAtAnchorExtensions + public static class RealtimeSessionCreateRequestClientSecretExpiresAfterAnchorExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this RealtimeSessionCreateRequestClientSecretExpiresAtAnchor value) + public static string ToValueString(this RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor value) { return value switch { - RealtimeSessionCreateRequestClientSecretExpiresAtAnchor.CreatedAt => "created_at", + RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor.CreatedAt => "created_at", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static RealtimeSessionCreateRequestClientSecretExpiresAtAnchor? ToEnum(string value) + public static RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor? ToEnum(string value) { return value switch { - "created_at" => RealtimeSessionCreateRequestClientSecretExpiresAtAnchor.CreatedAt, + "created_at" => RealtimeSessionCreateRequestClientSecretExpiresAfterAnchor.CreatedAt, _ => null, }; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponse.g.cs index e584fcd85..364005d28 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponse.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponse.g.cs @@ -64,8 +64,8 @@ public sealed partial class RealtimeSessionCreateResponse /// /// Configuration for input audio transcription, defaults to off and can be
/// set to `null` to turn off once on. Input audio transcription is not native
- /// to the model, since the model consumes audio directly. Transcription runs
- /// asynchronously through Whisper and should be treated as rough guidance
+ /// to the model, since the model consumes audio directly. Transcription runs
+ /// asynchronously and should be treated as rough guidance
/// rather than the representation understood by the model. ///
[global::System.Text.Json.Serialization.JsonPropertyName("input_audio_transcription")] @@ -168,8 +168,8 @@ public sealed partial class RealtimeSessionCreateResponse /// /// Configuration for input audio transcription, defaults to off and can be
/// set to `null` to turn off once on. Input audio transcription is not native
- /// to the model, since the model consumes audio directly. Transcription runs
- /// asynchronously through Whisper and should be treated as rough guidance
+ /// to the model, since the model consumes audio directly. Transcription runs
+ /// asynchronously and should be treated as rough guidance
/// rather than the representation understood by the model. /// /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseInputAudioTranscription.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseInputAudioTranscription.g.cs index 569c87132..b53f64d77 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseInputAudioTranscription.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeSessionCreateResponseInputAudioTranscription.g.cs @@ -6,15 +6,14 @@ namespace tryAGI.OpenAI /// /// Configuration for input audio transcription, defaults to off and can be
/// set to `null` to turn off once on. Input audio transcription is not native
- /// to the model, since the model consumes audio directly. Transcription runs
- /// asynchronously through Whisper and should be treated as rough guidance
+ /// to the model, since the model consumes audio directly. Transcription runs
+ /// asynchronously and should be treated as rough guidance
/// rather than the representation understood by the model. ///
public sealed partial class RealtimeSessionCreateResponseInputAudioTranscription { /// - /// The model to use for transcription, `whisper-1` is the only currently
- /// supported model. + /// The model to use for transcription. ///
[global::System.Text.Json.Serialization.JsonPropertyName("model")] public string? Model { get; set; } @@ -29,8 +28,7 @@ public sealed partial class RealtimeSessionCreateResponseInputAudioTranscription /// Initializes a new instance of the class. ///
/// - /// The model to use for transcription, `whisper-1` is the only currently
- /// supported model. + /// The model to use for transcription. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDeltaEvent.g.cs index aa270ebee..717d294ce 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDeltaEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDeltaEvent.g.cs @@ -4,7 +4,7 @@ namespace tryAGI.OpenAI { /// - /// Emitted when a partial code snippet is added by the code interpreter. + /// Emitted when a partial code snippet is streamed by the code interpreter. /// public sealed partial class ResponseCodeInterpreterCallCodeDeltaEvent { @@ -16,21 +16,28 @@ public sealed partial class ResponseCodeInterpreterCallCodeDeltaEvent public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType Type { get; set; } /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code is being streamed. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_index")] [global::System.Text.Json.Serialization.JsonRequired] public required int OutputIndex { get; set; } /// - /// The partial code snippet added by the code interpreter. + /// The unique identifier of the code interpreter tool call item. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("item_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ItemId { get; set; } + + /// + /// The partial code snippet being streamed by the code interpreter. /// [global::System.Text.Json.Serialization.JsonPropertyName("delta")] [global::System.Text.Json.Serialization.JsonRequired] public required string Delta { get; set; } /// - /// The sequence number of this event. + /// The sequence number of this event, used to order streaming events. /// [global::System.Text.Json.Serialization.JsonPropertyName("sequence_number")] [global::System.Text.Json.Serialization.JsonRequired] @@ -49,24 +56,29 @@ public sealed partial class ResponseCodeInterpreterCallCodeDeltaEvent /// The type of the event. Always `response.code_interpreter_call_code.delta`. /// /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code is being streamed. + /// + /// + /// The unique identifier of the code interpreter tool call item. /// /// - /// The partial code snippet added by the code interpreter. + /// The partial code snippet being streamed by the code interpreter. /// /// - /// The sequence number of this event. + /// The sequence number of this event, used to order streaming events. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ResponseCodeInterpreterCallCodeDeltaEvent( int outputIndex, + string itemId, string delta, int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEventType type) { this.OutputIndex = outputIndex; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta)); this.SequenceNumber = sequenceNumber; this.Type = type; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDoneEvent.g.cs index 4b4bbafdf..4256f693f 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCodeDoneEvent.g.cs @@ -4,7 +4,7 @@ namespace tryAGI.OpenAI { /// - /// Emitted when code snippet output is finalized by the code interpreter. + /// Emitted when the code snippet is finalized by the code interpreter. /// public sealed partial class ResponseCodeInterpreterCallCodeDoneEvent { @@ -16,12 +16,19 @@ public sealed partial class ResponseCodeInterpreterCallCodeDoneEvent public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType Type { get; set; } /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code is finalized. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_index")] [global::System.Text.Json.Serialization.JsonRequired] public required int OutputIndex { get; set; } + /// + /// The unique identifier of the code interpreter tool call item. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("item_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ItemId { get; set; } + /// /// The final code snippet output by the code interpreter. /// @@ -30,7 +37,7 @@ public sealed partial class ResponseCodeInterpreterCallCodeDoneEvent public required string Code { get; set; } /// - /// The sequence number of this event. + /// The sequence number of this event, used to order streaming events. /// [global::System.Text.Json.Serialization.JsonPropertyName("sequence_number")] [global::System.Text.Json.Serialization.JsonRequired] @@ -49,24 +56,29 @@ public sealed partial class ResponseCodeInterpreterCallCodeDoneEvent /// The type of the event. Always `response.code_interpreter_call_code.done`. /// /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code is finalized. + /// + /// + /// The unique identifier of the code interpreter tool call item. /// /// /// The final code snippet output by the code interpreter. /// /// - /// The sequence number of this event. + /// The sequence number of this event, used to order streaming events. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ResponseCodeInterpreterCallCodeDoneEvent( int outputIndex, + string itemId, string code, int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEventType type) { this.OutputIndex = outputIndex; + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.Code = code ?? throw new global::System.ArgumentNullException(nameof(code)); this.SequenceNumber = sequenceNumber; this.Type = type; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCompletedEvent.g.cs index 6639ef0cc..0545488f0 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCompletedEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallCompletedEvent.g.cs @@ -16,21 +16,21 @@ public sealed partial class ResponseCodeInterpreterCallCompletedEvent public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType Type { get; set; } /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code interpreter call is completed. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_index")] [global::System.Text.Json.Serialization.JsonRequired] public required int OutputIndex { get; set; } /// - /// A tool call to run code. + /// The unique identifier of the code interpreter tool call item. /// - [global::System.Text.Json.Serialization.JsonPropertyName("code_interpreter_call")] + [global::System.Text.Json.Serialization.JsonPropertyName("item_id")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::tryAGI.OpenAI.CodeInterpreterToolCall CodeInterpreterCall { get; set; } + public required string ItemId { get; set; } /// - /// The sequence number of this event. + /// The sequence number of this event, used to order streaming events. /// [global::System.Text.Json.Serialization.JsonPropertyName("sequence_number")] [global::System.Text.Json.Serialization.JsonRequired] @@ -49,25 +49,25 @@ public sealed partial class ResponseCodeInterpreterCallCompletedEvent /// The type of the event. Always `response.code_interpreter_call.completed`. /// /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code interpreter call is completed. /// - /// - /// A tool call to run code. + /// + /// The unique identifier of the code interpreter tool call item. /// /// - /// The sequence number of this event. + /// The sequence number of this event, used to order streaming events. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ResponseCodeInterpreterCallCompletedEvent( int outputIndex, - global::tryAGI.OpenAI.CodeInterpreterToolCall codeInterpreterCall, + string itemId, int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallCompletedEventType type) { this.OutputIndex = outputIndex; - this.CodeInterpreterCall = codeInterpreterCall ?? throw new global::System.ArgumentNullException(nameof(codeInterpreterCall)); + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; this.Type = type; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInProgressEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInProgressEvent.g.cs index 6ec419de6..952301fbd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInProgressEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInProgressEvent.g.cs @@ -16,21 +16,21 @@ public sealed partial class ResponseCodeInterpreterCallInProgressEvent public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType Type { get; set; } /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code interpreter call is in progress. /// [global::System.Text.Json.Serialization.JsonPropertyName("output_index")] [global::System.Text.Json.Serialization.JsonRequired] public required int OutputIndex { get; set; } /// - /// A tool call to run code. + /// The unique identifier of the code interpreter tool call item. /// - [global::System.Text.Json.Serialization.JsonPropertyName("code_interpreter_call")] + [global::System.Text.Json.Serialization.JsonPropertyName("item_id")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::tryAGI.OpenAI.CodeInterpreterToolCall CodeInterpreterCall { get; set; } + public required string ItemId { get; set; } /// - /// The sequence number of this event. + /// The sequence number of this event, used to order streaming events. /// [global::System.Text.Json.Serialization.JsonPropertyName("sequence_number")] [global::System.Text.Json.Serialization.JsonRequired] @@ -49,25 +49,25 @@ public sealed partial class ResponseCodeInterpreterCallInProgressEvent /// The type of the event. Always `response.code_interpreter_call.in_progress`. /// /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code interpreter call is in progress. /// - /// - /// A tool call to run code. + /// + /// The unique identifier of the code interpreter tool call item. /// /// - /// The sequence number of this event. + /// The sequence number of this event, used to order streaming events. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ResponseCodeInterpreterCallInProgressEvent( int outputIndex, - global::tryAGI.OpenAI.CodeInterpreterToolCall codeInterpreterCall, + string itemId, int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallInProgressEventType type) { this.OutputIndex = outputIndex; - this.CodeInterpreterCall = codeInterpreterCall ?? throw new global::System.ArgumentNullException(nameof(codeInterpreterCall)); + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); this.SequenceNumber = sequenceNumber; this.Type = type; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInterpretingEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInterpretingEvent.g.cs index 0595d183b..d697ce1ce 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInterpretingEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseCodeInterpreterCallInterpretingEvent.g.cs @@ -16,25 +16,25 @@ public sealed partial class ResponseCodeInterpreterCallInterpretingEvent public global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType Type { get; set; } /// - /// The sequence number of this event. + /// The index of the output item in the response for which the code interpreter is interpreting code. /// - [global::System.Text.Json.Serialization.JsonPropertyName("sequence_number")] + [global::System.Text.Json.Serialization.JsonPropertyName("output_index")] [global::System.Text.Json.Serialization.JsonRequired] - public required int SequenceNumber { get; set; } + public required int OutputIndex { get; set; } /// - /// The index of the output item that the code interpreter call is in progress. + /// The unique identifier of the code interpreter tool call item. /// - [global::System.Text.Json.Serialization.JsonPropertyName("output_index")] + [global::System.Text.Json.Serialization.JsonPropertyName("item_id")] [global::System.Text.Json.Serialization.JsonRequired] - public required int OutputIndex { get; set; } + public required string ItemId { get; set; } /// - /// A tool call to run code. + /// The sequence number of this event, used to order streaming events. /// - [global::System.Text.Json.Serialization.JsonPropertyName("code_interpreter_call")] + [global::System.Text.Json.Serialization.JsonPropertyName("sequence_number")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::tryAGI.OpenAI.CodeInterpreterToolCall CodeInterpreterCall { get; set; } + public required int SequenceNumber { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -48,27 +48,27 @@ public sealed partial class ResponseCodeInterpreterCallInterpretingEvent /// /// The type of the event. Always `response.code_interpreter_call.interpreting`. /// - /// - /// The sequence number of this event. - /// /// - /// The index of the output item that the code interpreter call is in progress. + /// The index of the output item in the response for which the code interpreter is interpreting code. /// - /// - /// A tool call to run code. + /// + /// The unique identifier of the code interpreter tool call item. + /// + /// + /// The sequence number of this event, used to order streaming events. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ResponseCodeInterpreterCallInterpretingEvent( - int sequenceNumber, int outputIndex, - global::tryAGI.OpenAI.CodeInterpreterToolCall codeInterpreterCall, + string itemId, + int sequenceNumber, global::tryAGI.OpenAI.ResponseCodeInterpreterCallInterpretingEventType type) { - this.SequenceNumber = sequenceNumber; this.OutputIndex = outputIndex; - this.CodeInterpreterCall = codeInterpreterCall ?? throw new global::System.ArgumentNullException(nameof(codeInterpreterCall)); + this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId)); + this.SequenceNumber = sequenceNumber; this.Type = type; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseStreamEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseStreamEvent.g.cs index a4ace2867..1665e991e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseStreamEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseStreamEvent.g.cs @@ -150,7 +150,7 @@ public ResponseStreamEvent(global::tryAGI.OpenAI.ResponseAudioTranscriptDoneEven } /// - /// Emitted when a partial code snippet is added by the code interpreter. + /// Emitted when a partial code snippet is streamed by the code interpreter. /// #if NET6_0_OR_GREATER public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent? CodeInterpreterCallDelta { get; init; } @@ -185,7 +185,7 @@ public ResponseStreamEvent(global::tryAGI.OpenAI.ResponseCodeInterpreterCallCode } /// - /// Emitted when code snippet output is finalized by the code interpreter. + /// Emitted when the code snippet is finalized by the code interpreter. /// #if NET6_0_OR_GREATER public global::tryAGI.OpenAI.ResponseCodeInterpreterCallCodeDoneEvent? CodeInterpreterCallDone { get; init; } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.Json.g.cs new file mode 100644 index 000000000..dc15556da --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class SpeechAudioDeltaEvent + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.SpeechAudioDeltaEvent? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent), + jsonSerializerContext) as global::tryAGI.OpenAI.SpeechAudioDeltaEvent; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.SpeechAudioDeltaEvent? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.SpeechAudioDeltaEvent), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.SpeechAudioDeltaEvent; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.g.cs new file mode 100644 index 000000000..9bf53734e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEvent.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Emitted for each chunk of audio data generated during speech synthesis. + /// + public sealed partial class SpeechAudioDeltaEvent + { + /// + /// The type of the event. Always `speech.audio.delta`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDeltaEventTypeJsonConverter))] + public global::tryAGI.OpenAI.SpeechAudioDeltaEventType Type { get; set; } + + /// + /// A chunk of Base64-encoded audio data. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("audio")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Audio { 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 type of the event. Always `speech.audio.delta`. + /// + /// + /// A chunk of Base64-encoded audio data. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SpeechAudioDeltaEvent( + string audio, + global::tryAGI.OpenAI.SpeechAudioDeltaEventType type) + { + this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio)); + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public SpeechAudioDeltaEvent() + { + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEventType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEventType.g.cs new file mode 100644 index 000000000..9b4414ea2 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDeltaEventType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the event. Always `speech.audio.delta`. + /// + public enum SpeechAudioDeltaEventType + { + /// + /// + /// + SpeechAudioDelta, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SpeechAudioDeltaEventTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SpeechAudioDeltaEventType value) + { + return value switch + { + SpeechAudioDeltaEventType.SpeechAudioDelta => "speech.audio.delta", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SpeechAudioDeltaEventType? ToEnum(string value) + { + return value switch + { + "speech.audio.delta" => SpeechAudioDeltaEventType.SpeechAudioDelta, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Container.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.Json.g.cs similarity index 87% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Container.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.Json.g.cs index 2f20b157b..43b03ee71 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Container.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public readonly partial struct Container + public sealed partial class SpeechAudioDoneEvent { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -34,14 +34,14 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::tryAGI.OpenAI.Container? FromJson( + public static global::tryAGI.OpenAI.SpeechAudioDoneEvent? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.Container), - jsonSerializerContext) as global::tryAGI.OpenAI.Container?; + typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent), + jsonSerializerContext) as global::tryAGI.OpenAI.SpeechAudioDoneEvent; } /// @@ -51,11 +51,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::tryAGI.OpenAI.Container? FromJson( + public static global::tryAGI.OpenAI.SpeechAudioDoneEvent? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +63,14 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, - typeof(global::tryAGI.OpenAI.Container), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.Container?; + typeof(global::tryAGI.OpenAI.SpeechAudioDoneEvent), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.SpeechAudioDoneEvent; } /// @@ -80,11 +80,11 @@ public string ToJson( [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] #endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.g.cs new file mode 100644 index 000000000..ca9801a82 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEvent.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Emitted when the speech synthesis is complete and all audio has been streamed. + /// + public sealed partial class SpeechAudioDoneEvent + { + /// + /// The type of the event. Always `speech.audio.done`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.SpeechAudioDoneEventTypeJsonConverter))] + public global::tryAGI.OpenAI.SpeechAudioDoneEventType Type { get; set; } + + /// + /// Token usage statistics for the request. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("usage")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::tryAGI.OpenAI.SpeechAudioDoneEventUsage Usage { 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 type of the event. Always `speech.audio.done`. + /// + /// + /// Token usage statistics for the request. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SpeechAudioDoneEvent( + global::tryAGI.OpenAI.SpeechAudioDoneEventUsage usage, + global::tryAGI.OpenAI.SpeechAudioDoneEventType type) + { + this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public SpeechAudioDoneEvent() + { + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventType.g.cs new file mode 100644 index 000000000..90336e551 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the event. Always `speech.audio.done`. + /// + public enum SpeechAudioDoneEventType + { + /// + /// + /// + SpeechAudioDone, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SpeechAudioDoneEventTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SpeechAudioDoneEventType value) + { + return value switch + { + SpeechAudioDoneEventType.SpeechAudioDone => "speech.audio.done", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SpeechAudioDoneEventType? ToEnum(string value) + { + return value switch + { + "speech.audio.done" => SpeechAudioDoneEventType.SpeechAudioDone, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventUsage.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventUsage.Json.g.cs new file mode 100644 index 000000000..34e113447 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventUsage.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class SpeechAudioDoneEventUsage + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.SpeechAudioDoneEventUsage? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.SpeechAudioDoneEventUsage), + jsonSerializerContext) as global::tryAGI.OpenAI.SpeechAudioDoneEventUsage; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.SpeechAudioDoneEventUsage? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.SpeechAudioDoneEventUsage), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.SpeechAudioDoneEventUsage; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventUsage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventUsage.g.cs new file mode 100644 index 000000000..c05ec5aed --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.SpeechAudioDoneEventUsage.g.cs @@ -0,0 +1,70 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Token usage statistics for the request. + /// + public sealed partial class SpeechAudioDoneEventUsage + { + /// + /// Number of input tokens in the prompt. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("input_tokens")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int InputTokens { get; set; } + + /// + /// Number of output tokens generated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output_tokens")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OutputTokens { get; set; } + + /// + /// Total number of tokens used (input + output). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_tokens")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalTokens { 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. + /// + /// + /// Number of input tokens in the prompt. + /// + /// + /// Number of output tokens generated. + /// + /// + /// Total number of tokens used (input + output). + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public SpeechAudioDoneEventUsage( + int inputTokens, + int outputTokens, + int totalTokens) + { + this.InputTokens = inputTokens; + this.OutputTokens = outputTokens; + this.TotalTokens = totalTokens; + } + + /// + /// Initializes a new instance of the class. + /// + public SpeechAudioDoneEventUsage() + { + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDoneEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDoneEvent.g.cs index 05e32034d..dd0c343c9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDoneEvent.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextDoneEvent.g.cs @@ -28,6 +28,12 @@ public sealed partial class TranscriptTextDoneEvent [global::System.Text.Json.Serialization.JsonPropertyName("logprobs")] public global::System.Collections.Generic.IList? Logprobs { get; set; } + /// + /// Usage statistics for models billed by token usage. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("usage")] + public global::tryAGI.OpenAI.TranscriptTextUsageTokens? Usage { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -46,17 +52,22 @@ public sealed partial class TranscriptTextDoneEvent /// /// The log probabilities of the individual tokens in the transcription. Only included if you [create a transcription](/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`. /// + /// + /// Usage statistics for models billed by token usage. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public TranscriptTextDoneEvent( string text, global::tryAGI.OpenAI.TranscriptTextDoneEventType type, - global::System.Collections.Generic.IList? logprobs) + global::System.Collections.Generic.IList? logprobs, + global::tryAGI.OpenAI.TranscriptTextUsageTokens? usage) { this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text)); this.Type = type; this.Logprobs = logprobs; + this.Usage = usage; } /// diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.Json.g.cs new file mode 100644 index 000000000..fbfadd2f3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class TranscriptTextUsageDuration + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.TranscriptTextUsageDuration? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.TranscriptTextUsageDuration), + jsonSerializerContext) as global::tryAGI.OpenAI.TranscriptTextUsageDuration; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.TranscriptTextUsageDuration? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.TranscriptTextUsageDuration), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.TranscriptTextUsageDuration; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.g.cs new file mode 100644 index 000000000..c36c5a578 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDuration.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Usage statistics for models billed by audio input duration. + /// + public sealed partial class TranscriptTextUsageDuration + { + /// + /// The type of the usage object. Always `duration` for this variant. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextUsageDurationTypeJsonConverter))] + public global::tryAGI.OpenAI.TranscriptTextUsageDurationType Type { get; set; } + + /// + /// Duration of the input audio in seconds. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("duration")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Duration { 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 type of the usage object. Always `duration` for this variant. + /// + /// + /// Duration of the input audio in seconds. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public TranscriptTextUsageDuration( + double duration, + global::tryAGI.OpenAI.TranscriptTextUsageDurationType type) + { + this.Duration = duration; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public TranscriptTextUsageDuration() + { + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDurationType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDurationType.g.cs new file mode 100644 index 000000000..600ce619b --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageDurationType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the usage object. Always `duration` for this variant. + /// + public enum TranscriptTextUsageDurationType + { + /// + /// + /// + Duration, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TranscriptTextUsageDurationTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this TranscriptTextUsageDurationType value) + { + return value switch + { + TranscriptTextUsageDurationType.Duration => "duration", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static TranscriptTextUsageDurationType? ToEnum(string value) + { + return value switch + { + "duration" => TranscriptTextUsageDurationType.Duration, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.Json.g.cs new file mode 100644 index 000000000..172785d5d --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class TranscriptTextUsageTokens + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.TranscriptTextUsageTokens? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.TranscriptTextUsageTokens), + jsonSerializerContext) as global::tryAGI.OpenAI.TranscriptTextUsageTokens; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.TranscriptTextUsageTokens? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.TranscriptTextUsageTokens), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.TranscriptTextUsageTokens; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.g.cs new file mode 100644 index 000000000..3612659bc --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokens.g.cs @@ -0,0 +1,93 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Usage statistics for models billed by token usage. + /// + public sealed partial class TranscriptTextUsageTokens + { + /// + /// The type of the usage object. Always `tokens` for this variant. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.TranscriptTextUsageTokensTypeJsonConverter))] + public global::tryAGI.OpenAI.TranscriptTextUsageTokensType Type { get; set; } + + /// + /// Number of input tokens billed for this request. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("input_tokens")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int InputTokens { get; set; } + + /// + /// Details about the input tokens billed for this request. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("input_token_details")] + public global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? InputTokenDetails { get; set; } + + /// + /// Number of output tokens generated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output_tokens")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int OutputTokens { get; set; } + + /// + /// Total number of tokens used (input + output). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("total_tokens")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalTokens { 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 type of the usage object. Always `tokens` for this variant. + /// + /// + /// Number of input tokens billed for this request. + /// + /// + /// Details about the input tokens billed for this request. + /// + /// + /// Number of output tokens generated. + /// + /// + /// Total number of tokens used (input + output). + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public TranscriptTextUsageTokens( + int inputTokens, + int outputTokens, + int totalTokens, + global::tryAGI.OpenAI.TranscriptTextUsageTokensType type, + global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? inputTokenDetails) + { + this.InputTokens = inputTokens; + this.OutputTokens = outputTokens; + this.TotalTokens = totalTokens; + this.Type = type; + this.InputTokenDetails = inputTokenDetails; + } + + /// + /// Initializes a new instance of the class. + /// + public TranscriptTextUsageTokens() + { + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensInputTokenDetails.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensInputTokenDetails.Json.g.cs new file mode 100644 index 000000000..79eb30fc3 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensInputTokenDetails.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class TranscriptTextUsageTokensInputTokenDetails + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails), + jsonSerializerContext) as global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails; + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.TranscriptTextUsageTokensInputTokenDetails; + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensInputTokenDetails.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensInputTokenDetails.g.cs new file mode 100644 index 000000000..54bb451ee --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensInputTokenDetails.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// Details about the input tokens billed for this request. + /// + public sealed partial class TranscriptTextUsageTokensInputTokenDetails + { + /// + /// Number of text tokens billed for this request. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("text_tokens")] + public int? TextTokens { get; set; } + + /// + /// Number of audio tokens billed for this request. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("audio_tokens")] + public int? AudioTokens { 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. + /// + /// + /// Number of text tokens billed for this request. + /// + /// + /// Number of audio tokens billed for this request. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public TranscriptTextUsageTokensInputTokenDetails( + int? textTokens, + int? audioTokens) + { + this.TextTokens = textTokens; + this.AudioTokens = audioTokens; + } + + /// + /// Initializes a new instance of the class. + /// + public TranscriptTextUsageTokensInputTokenDetails() + { + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensType.g.cs new file mode 100644 index 000000000..6674c510f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.TranscriptTextUsageTokensType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The type of the usage object. Always `tokens` for this variant. + /// + public enum TranscriptTextUsageTokensType + { + /// + /// + /// + Tokens, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class TranscriptTextUsageTokensTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this TranscriptTextUsageTokensType value) + { + return value switch + { + TranscriptTextUsageTokensType.Tokens => "tokens", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static TranscriptTextUsageTokensType? ToEnum(string value) + { + return value switch + { + "tokens" => TranscriptTextUsageTokensType.Tokens, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index a1b092c7a..edb2e48b2 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -239,22 +239,34 @@ paths: schema: type: string format: binary + text/event-stream: + schema: + $ref: '#/components/schemas/CreateSpeechResponseStreamEvent' x-oaiMeta: name: Create speech group: audio - returns: The audio file content. + returns: 'The audio file content or a [stream of audio events](/docs/api-reference/audio/speech-audio-delta-event).' examples: - response: '' - request: - curl: "curl https://api.openai.com/v1/audio/speech \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"model\": \"gpt-4o-mini-tts\",\n \"input\": \"The quick brown fox jumped over the lazy dog.\",\n \"voice\": \"alloy\"\n }' \\\n --output speech.mp3\n" - python: "import os\nfrom openai import OpenAI\n\nclient = OpenAI(\n api_key=os.environ.get(\"OPENAI_API_KEY\"), # This is the default and can be omitted\n)\nspeech = client.audio.speech.create(\n input=\"input\",\n model=\"string\",\n voice=\"ash\",\n)\nprint(speech)\ncontent = speech.read()\nprint(content)" - javascript: "import fs from \"fs\";\nimport path from \"path\";\nimport OpenAI from \"openai\";\n\nconst openai = new OpenAI();\n\nconst speechFile = path.resolve(\"./speech.mp3\");\n\nasync function main() {\n const mp3 = await openai.audio.speech.create({\n model: \"gpt-4o-mini-tts\",\n voice: \"alloy\",\n input: \"Today is a wonderful day to build something people love!\",\n });\n console.log(speechFile);\n const buffer = Buffer.from(await mp3.arrayBuffer());\n await fs.promises.writeFile(speechFile, buffer);\n}\nmain();\n" - csharp: "using System;\nusing System.IO;\n\nusing OpenAI.Audio;\n\nAudioClient client = new(\n model: \"gpt-4o-mini-tts\",\n apiKey: Environment.GetEnvironmentVariable(\"OPENAI_API_KEY\")\n);\n\nBinaryData speech = client.GenerateSpeech(\n text: \"The quick brown fox jumped over the lazy dog.\",\n voice: GeneratedSpeechVoice.Alloy\n);\n\nusing FileStream stream = File.OpenWrite(\"speech.mp3\");\nspeech.ToStream().CopyTo(stream);\n" - node.js: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\nconst speech = await client.audio.speech.create({ input: 'input', model: 'string', voice: 'ash' });\n\nconsole.log(speech);\n\nconst content = await speech.blob();\nconsole.log(content);" - go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"), // defaults to os.LookupEnv(\"OPENAI_API_KEY\")\n )\n speech, err := client.Audio.Speech.New(context.TODO(), openai.AudioSpeechNewParams{\n Input: \"input\",\n Model: openai.SpeechModelTTS1,\n Voice: openai.AudioSpeechNewParamsVoiceAlloy,\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", speech)\n}\n" - java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.core.http.HttpResponse;\nimport com.openai.models.audio.speech.SpeechCreateParams;\nimport com.openai.models.audio.speech.SpeechModel;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n SpeechCreateParams params = SpeechCreateParams.builder()\n .input(\"input\")\n .model(SpeechModel.TTS_1)\n .voice(SpeechCreateParams.Voice.ALLOY)\n .build();\n HttpResponse speech = client.audio().speech().create(params);\n }\n}" - kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.core.http.HttpResponse\nimport com.openai.models.audio.speech.SpeechCreateParams\nimport com.openai.models.audio.speech.SpeechModel\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val params: SpeechCreateParams = SpeechCreateParams.builder()\n .input(\"input\")\n .model(SpeechModel.TTS_1)\n .voice(SpeechCreateParams.Voice.ALLOY)\n .build()\n val speech: HttpResponse = client.audio().speech().create(params)\n}" - ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\nspeech = openai.audio.speech.create(input: \"input\", model: :\"tts-1\", voice: :alloy)\n\nputs(speech)" + - title: Default + request: + curl: "curl https://api.openai.com/v1/audio/speech \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"model\": \"gpt-4o-mini-tts\",\n \"input\": \"The quick brown fox jumped over the lazy dog.\",\n \"voice\": \"alloy\"\n }' \\\n --output speech.mp3\n" + python: "import os\nfrom openai import OpenAI\n\nclient = OpenAI(\n api_key=os.environ.get(\"OPENAI_API_KEY\"), # This is the default and can be omitted\n)\nspeech = client.audio.speech.create(\n input=\"input\",\n model=\"string\",\n voice=\"ash\",\n)\nprint(speech)\ncontent = speech.read()\nprint(content)" + javascript: "import fs from \"fs\";\nimport path from \"path\";\nimport OpenAI from \"openai\";\n\nconst openai = new OpenAI();\n\nconst speechFile = path.resolve(\"./speech.mp3\");\n\nasync function main() {\n const mp3 = await openai.audio.speech.create({\n model: \"gpt-4o-mini-tts\",\n voice: \"alloy\",\n input: \"Today is a wonderful day to build something people love!\",\n });\n console.log(speechFile);\n const buffer = Buffer.from(await mp3.arrayBuffer());\n await fs.promises.writeFile(speechFile, buffer);\n}\nmain();\n" + csharp: "using System;\nusing System.IO;\n\nusing OpenAI.Audio;\n\nAudioClient client = new(\n model: \"gpt-4o-mini-tts\",\n apiKey: Environment.GetEnvironmentVariable(\"OPENAI_API_KEY\")\n);\n\nBinaryData speech = client.GenerateSpeech(\n text: \"The quick brown fox jumped over the lazy dog.\",\n voice: GeneratedSpeechVoice.Alloy\n);\n\nusing FileStream stream = File.OpenWrite(\"speech.mp3\");\nspeech.ToStream().CopyTo(stream);\n" + node.js: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\nconst speech = await client.audio.speech.create({ input: 'input', model: 'string', voice: 'ash' });\n\nconsole.log(speech);\n\nconst content = await speech.blob();\nconsole.log(content);" + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"), // defaults to os.LookupEnv(\"OPENAI_API_KEY\")\n )\n speech, err := client.Audio.Speech.New(context.TODO(), openai.AudioSpeechNewParams{\n Input: \"input\",\n Model: openai.SpeechModelTTS1,\n Voice: openai.AudioSpeechNewParamsVoiceAlloy,\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", speech)\n}\n" + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.core.http.HttpResponse;\nimport com.openai.models.audio.speech.SpeechCreateParams;\nimport com.openai.models.audio.speech.SpeechModel;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n SpeechCreateParams params = SpeechCreateParams.builder()\n .input(\"input\")\n .model(SpeechModel.TTS_1)\n .voice(SpeechCreateParams.Voice.ALLOY)\n .build();\n HttpResponse speech = client.audio().speech().create(params);\n }\n}" + kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.core.http.HttpResponse\nimport com.openai.models.audio.speech.SpeechCreateParams\nimport com.openai.models.audio.speech.SpeechModel\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val params: SpeechCreateParams = SpeechCreateParams.builder()\n .input(\"input\")\n .model(SpeechModel.TTS_1)\n .voice(SpeechCreateParams.Voice.ALLOY)\n .build()\n val speech: HttpResponse = client.audio().speech().create(params)\n}" + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\nspeech = openai.audio.speech.create(input: \"input\", model: :\"tts-1\", voice: :alloy)\n\nputs(speech)" + - title: SSE Stream Format + request: + curl: "curl https://api.openai.com/v1/audio/speech \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"model\": \"gpt-4o-mini-tts\",\n \"input\": \"The quick brown fox jumped over the lazy dog.\",\n \"voice\": \"alloy\",\n \"stream_format\": \"sse\"\n }'\n" + node.js: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\nconst speech = await client.audio.speech.create({ input: 'input', model: 'string', voice: 'ash' });\n\nconsole.log(speech);\n\nconst content = await speech.blob();\nconsole.log(content);" + python: "import os\nfrom openai import OpenAI\n\nclient = OpenAI(\n api_key=os.environ.get(\"OPENAI_API_KEY\"), # This is the default and can be omitted\n)\nspeech = client.audio.speech.create(\n input=\"input\",\n model=\"string\",\n voice=\"ash\",\n)\nprint(speech)\ncontent = speech.read()\nprint(content)" + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"), // defaults to os.LookupEnv(\"OPENAI_API_KEY\")\n )\n speech, err := client.Audio.Speech.New(context.TODO(), openai.AudioSpeechNewParams{\n Input: \"input\",\n Model: openai.SpeechModelTTS1,\n Voice: openai.AudioSpeechNewParamsVoiceAlloy,\n })\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", speech)\n}\n" + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.core.http.HttpResponse;\nimport com.openai.models.audio.speech.SpeechCreateParams;\nimport com.openai.models.audio.speech.SpeechModel;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n SpeechCreateParams params = SpeechCreateParams.builder()\n .input(\"input\")\n .model(SpeechModel.TTS_1)\n .voice(SpeechCreateParams.Voice.ALLOY)\n .build();\n HttpResponse speech = client.audio().speech().create(params);\n }\n}" + kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.core.http.HttpResponse\nimport com.openai.models.audio.speech.SpeechCreateParams\nimport com.openai.models.audio.speech.SpeechModel\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val params: SpeechCreateParams = SpeechCreateParams.builder()\n .input(\"input\")\n .model(SpeechModel.TTS_1)\n .voice(SpeechCreateParams.Voice.ALLOY)\n .build()\n val speech: HttpResponse = client.audio().speech().create(params)\n}" + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\nspeech = openai.audio.speech.create(input: \"input\", model: :\"tts-1\", voice: :alloy)\n\nputs(speech)" /audio/transcriptions: post: tags: @@ -295,7 +307,7 @@ paths: java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.audio.AudioModel;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse;\nimport java.io.ByteArrayInputStream;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n TranscriptionCreateParams params = TranscriptionCreateParams.builder()\n .file(ByteArrayInputStream(\"some content\".getBytes()))\n .model(AudioModel.WHISPER_1)\n .build();\n TranscriptionCreateResponse transcription = client.audio().transcriptions().create(params);\n }\n}" kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.models.audio.AudioModel\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse\nimport java.io.ByteArrayInputStream\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val params: TranscriptionCreateParams = TranscriptionCreateParams.builder()\n .file(\"some content\".byteInputStream())\n .model(AudioModel.WHISPER_1)\n .build()\n val transcription: TranscriptionCreateResponse = client.audio().transcriptions().create(params)\n}" ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\ntranscription = openai.audio.transcriptions.create(file: Pathname(__FILE__), model: :\"whisper-1\")\n\nputs(transcription)" - response: "{\n \"text\": \"Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that.\"\n}\n" + response: "{\n \"text\": \"Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that.\",\n \"usage\": {\n \"type\": \"tokens\",\n \"input_tokens\": 14,\n \"input_token_details\": {\n \"text_tokens\": 0,\n \"audio_tokens\": 14\n },\n \"output_tokens\": 45,\n \"total_tokens\": 59\n }\n}\n" - title: Streaming request: curl: "curl https://api.openai.com/v1/audio/transcriptions \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -H \"Content-Type: multipart/form-data\" \\\n -F file=\"@/path/to/file/audio.mp3\" \\\n -F model=\"gpt-4o-mini-transcribe\" \\\n -F stream=true\n" @@ -306,7 +318,7 @@ paths: java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.audio.AudioModel;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse;\nimport java.io.ByteArrayInputStream;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n TranscriptionCreateParams params = TranscriptionCreateParams.builder()\n .file(ByteArrayInputStream(\"some content\".getBytes()))\n .model(AudioModel.WHISPER_1)\n .build();\n TranscriptionCreateResponse transcription = client.audio().transcriptions().create(params);\n }\n}" kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.models.audio.AudioModel\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse\nimport java.io.ByteArrayInputStream\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val params: TranscriptionCreateParams = TranscriptionCreateParams.builder()\n .file(\"some content\".byteInputStream())\n .model(AudioModel.WHISPER_1)\n .build()\n val transcription: TranscriptionCreateResponse = client.audio().transcriptions().create(params)\n}" ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\ntranscription = openai.audio.transcriptions.create(file: Pathname(__FILE__), model: :\"whisper-1\")\n\nputs(transcription)" - response: "data: {\"type\":\"transcript.text.delta\",\"delta\":\"I\",\"logprobs\":[{\"token\":\"I\",\"logprob\":-0.00007588794,\"bytes\":[73]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" see\",\"logprobs\":[{\"token\":\" see\",\"logprob\":-3.1281633e-7,\"bytes\":[32,115,101,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" skies\",\"logprobs\":[{\"token\":\" skies\",\"logprob\":-2.3392786e-6,\"bytes\":[32,115,107,105,101,115]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" of\",\"logprobs\":[{\"token\":\" of\",\"logprob\":-3.1281633e-7,\"bytes\":[32,111,102]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" blue\",\"logprobs\":[{\"token\":\" blue\",\"logprob\":-1.0280384e-6,\"bytes\":[32,98,108,117,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" and\",\"logprobs\":[{\"token\":\" and\",\"logprob\":-0.0005108566,\"bytes\":[32,97,110,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" clouds\",\"logprobs\":[{\"token\":\" clouds\",\"logprob\":-1.9361265e-7,\"bytes\":[32,99,108,111,117,100,115]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" of\",\"logprobs\":[{\"token\":\" of\",\"logprob\":-1.9361265e-7,\"bytes\":[32,111,102]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" white\",\"logprobs\":[{\"token\":\" white\",\"logprob\":-7.89631e-7,\"bytes\":[32,119,104,105,116,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\",\",\"logprobs\":[{\"token\":\",\",\"logprob\":-0.0014890312,\"bytes\":[44]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" the\",\"logprobs\":[{\"token\":\" the\",\"logprob\":-0.0110956915,\"bytes\":[32,116,104,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" bright\",\"logprobs\":[{\"token\":\" bright\",\"logprob\":0.0,\"bytes\":[32,98,114,105,103,104,116]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" blessed\",\"logprobs\":[{\"token\":\" blessed\",\"logprob\":-0.000045848617,\"bytes\":[32,98,108,101,115,115,101,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" days\",\"logprobs\":[{\"token\":\" days\",\"logprob\":-0.000010802739,\"bytes\":[32,100,97,121,115]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\",\",\"logprobs\":[{\"token\":\",\",\"logprob\":-0.00001700133,\"bytes\":[44]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" the\",\"logprobs\":[{\"token\":\" the\",\"logprob\":-0.0000118755715,\"bytes\":[32,116,104,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" dark\",\"logprobs\":[{\"token\":\" dark\",\"logprob\":-5.5122365e-7,\"bytes\":[32,100,97,114,107]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" sacred\",\"logprobs\":[{\"token\":\" sacred\",\"logprob\":-5.4385737e-6,\"bytes\":[32,115,97,99,114,101,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" nights\",\"logprobs\":[{\"token\":\" nights\",\"logprob\":-4.00813e-6,\"bytes\":[32,110,105,103,104,116,115]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\",\",\"logprobs\":[{\"token\":\",\",\"logprob\":-0.0036910512,\"bytes\":[44]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" and\",\"logprobs\":[{\"token\":\" and\",\"logprob\":-0.0031903093,\"bytes\":[32,97,110,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" I\",\"logprobs\":[{\"token\":\" I\",\"logprob\":-1.504853e-6,\"bytes\":[32,73]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" think\",\"logprobs\":[{\"token\":\" think\",\"logprob\":-4.3202e-7,\"bytes\":[32,116,104,105,110,107]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" to\",\"logprobs\":[{\"token\":\" to\",\"logprob\":-1.9361265e-7,\"bytes\":[32,116,111]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" myself\",\"logprobs\":[{\"token\":\" myself\",\"logprob\":-1.7432603e-6,\"bytes\":[32,109,121,115,101,108,102]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\",\",\"logprobs\":[{\"token\":\",\",\"logprob\":-0.29254505,\"bytes\":[44]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" what\",\"logprobs\":[{\"token\":\" what\",\"logprob\":-0.016815351,\"bytes\":[32,119,104,97,116]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" a\",\"logprobs\":[{\"token\":\" a\",\"logprob\":-3.1281633e-7,\"bytes\":[32,97]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" wonderful\",\"logprobs\":[{\"token\":\" wonderful\",\"logprob\":-2.1008714e-6,\"bytes\":[32,119,111,110,100,101,114,102,117,108]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" world\",\"logprobs\":[{\"token\":\" world\",\"logprob\":-8.180258e-6,\"bytes\":[32,119,111,114,108,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\".\",\"logprobs\":[{\"token\":\".\",\"logprob\":-0.014231676,\"bytes\":[46]}]}\n\ndata: {\"type\":\"transcript.text.done\",\"text\":\"I see skies of blue and clouds of white, the bright blessed days, the dark sacred nights, and I think to myself, what a wonderful world.\",\"logprobs\":[{\"token\":\"I\",\"logprob\":-0.00007588794,\"bytes\":[73]},{\"token\":\" see\",\"logprob\":-3.1281633e-7,\"bytes\":[32,115,101,101]},{\"token\":\" skies\",\"logprob\":-2.3392786e-6,\"bytes\":[32,115,107,105,101,115]},{\"token\":\" of\",\"logprob\":-3.1281633e-7,\"bytes\":[32,111,102]},{\"token\":\" blue\",\"logprob\":-1.0280384e-6,\"bytes\":[32,98,108,117,101]},{\"token\":\" and\",\"logprob\":-0.0005108566,\"bytes\":[32,97,110,100]},{\"token\":\" clouds\",\"logprob\":-1.9361265e-7,\"bytes\":[32,99,108,111,117,100,115]},{\"token\":\" of\",\"logprob\":-1.9361265e-7,\"bytes\":[32,111,102]},{\"token\":\" white\",\"logprob\":-7.89631e-7,\"bytes\":[32,119,104,105,116,101]},{\"token\":\",\",\"logprob\":-0.0014890312,\"bytes\":[44]},{\"token\":\" the\",\"logprob\":-0.0110956915,\"bytes\":[32,116,104,101]},{\"token\":\" bright\",\"logprob\":0.0,\"bytes\":[32,98,114,105,103,104,116]},{\"token\":\" blessed\",\"logprob\":-0.000045848617,\"bytes\":[32,98,108,101,115,115,101,100]},{\"token\":\" days\",\"logprob\":-0.000010802739,\"bytes\":[32,100,97,121,115]},{\"token\":\",\",\"logprob\":-0.00001700133,\"bytes\":[44]},{\"token\":\" the\",\"logprob\":-0.0000118755715,\"bytes\":[32,116,104,101]},{\"token\":\" dark\",\"logprob\":-5.5122365e-7,\"bytes\":[32,100,97,114,107]},{\"token\":\" sacred\",\"logprob\":-5.4385737e-6,\"bytes\":[32,115,97,99,114,101,100]},{\"token\":\" nights\",\"logprob\":-4.00813e-6,\"bytes\":[32,110,105,103,104,116,115]},{\"token\":\",\",\"logprob\":-0.0036910512,\"bytes\":[44]},{\"token\":\" and\",\"logprob\":-0.0031903093,\"bytes\":[32,97,110,100]},{\"token\":\" I\",\"logprob\":-1.504853e-6,\"bytes\":[32,73]},{\"token\":\" think\",\"logprob\":-4.3202e-7,\"bytes\":[32,116,104,105,110,107]},{\"token\":\" to\",\"logprob\":-1.9361265e-7,\"bytes\":[32,116,111]},{\"token\":\" myself\",\"logprob\":-1.7432603e-6,\"bytes\":[32,109,121,115,101,108,102]},{\"token\":\",\",\"logprob\":-0.29254505,\"bytes\":[44]},{\"token\":\" what\",\"logprob\":-0.016815351,\"bytes\":[32,119,104,97,116]},{\"token\":\" a\",\"logprob\":-3.1281633e-7,\"bytes\":[32,97]},{\"token\":\" wonderful\",\"logprob\":-2.1008714e-6,\"bytes\":[32,119,111,110,100,101,114,102,117,108]},{\"token\":\" world\",\"logprob\":-8.180258e-6,\"bytes\":[32,119,111,114,108,100]},{\"token\":\".\",\"logprob\":-0.014231676,\"bytes\":[46]}]}\n" + response: "data: {\"type\":\"transcript.text.delta\",\"delta\":\"I\",\"logprobs\":[{\"token\":\"I\",\"logprob\":-0.00007588794,\"bytes\":[73]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" see\",\"logprobs\":[{\"token\":\" see\",\"logprob\":-3.1281633e-7,\"bytes\":[32,115,101,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" skies\",\"logprobs\":[{\"token\":\" skies\",\"logprob\":-2.3392786e-6,\"bytes\":[32,115,107,105,101,115]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" of\",\"logprobs\":[{\"token\":\" of\",\"logprob\":-3.1281633e-7,\"bytes\":[32,111,102]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" blue\",\"logprobs\":[{\"token\":\" blue\",\"logprob\":-1.0280384e-6,\"bytes\":[32,98,108,117,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" and\",\"logprobs\":[{\"token\":\" and\",\"logprob\":-0.0005108566,\"bytes\":[32,97,110,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" clouds\",\"logprobs\":[{\"token\":\" clouds\",\"logprob\":-1.9361265e-7,\"bytes\":[32,99,108,111,117,100,115]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" of\",\"logprobs\":[{\"token\":\" of\",\"logprob\":-1.9361265e-7,\"bytes\":[32,111,102]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" white\",\"logprobs\":[{\"token\":\" white\",\"logprob\":-7.89631e-7,\"bytes\":[32,119,104,105,116,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\",\",\"logprobs\":[{\"token\":\",\",\"logprob\":-0.0014890312,\"bytes\":[44]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" the\",\"logprobs\":[{\"token\":\" the\",\"logprob\":-0.0110956915,\"bytes\":[32,116,104,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" bright\",\"logprobs\":[{\"token\":\" bright\",\"logprob\":0.0,\"bytes\":[32,98,114,105,103,104,116]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" blessed\",\"logprobs\":[{\"token\":\" blessed\",\"logprob\":-0.000045848617,\"bytes\":[32,98,108,101,115,115,101,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" days\",\"logprobs\":[{\"token\":\" days\",\"logprob\":-0.000010802739,\"bytes\":[32,100,97,121,115]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\",\",\"logprobs\":[{\"token\":\",\",\"logprob\":-0.00001700133,\"bytes\":[44]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" the\",\"logprobs\":[{\"token\":\" the\",\"logprob\":-0.0000118755715,\"bytes\":[32,116,104,101]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" dark\",\"logprobs\":[{\"token\":\" dark\",\"logprob\":-5.5122365e-7,\"bytes\":[32,100,97,114,107]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" sacred\",\"logprobs\":[{\"token\":\" sacred\",\"logprob\":-5.4385737e-6,\"bytes\":[32,115,97,99,114,101,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" nights\",\"logprobs\":[{\"token\":\" nights\",\"logprob\":-4.00813e-6,\"bytes\":[32,110,105,103,104,116,115]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\",\",\"logprobs\":[{\"token\":\",\",\"logprob\":-0.0036910512,\"bytes\":[44]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" and\",\"logprobs\":[{\"token\":\" and\",\"logprob\":-0.0031903093,\"bytes\":[32,97,110,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" I\",\"logprobs\":[{\"token\":\" I\",\"logprob\":-1.504853e-6,\"bytes\":[32,73]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" think\",\"logprobs\":[{\"token\":\" think\",\"logprob\":-4.3202e-7,\"bytes\":[32,116,104,105,110,107]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" to\",\"logprobs\":[{\"token\":\" to\",\"logprob\":-1.9361265e-7,\"bytes\":[32,116,111]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" myself\",\"logprobs\":[{\"token\":\" myself\",\"logprob\":-1.7432603e-6,\"bytes\":[32,109,121,115,101,108,102]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\",\",\"logprobs\":[{\"token\":\",\",\"logprob\":-0.29254505,\"bytes\":[44]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" what\",\"logprobs\":[{\"token\":\" what\",\"logprob\":-0.016815351,\"bytes\":[32,119,104,97,116]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" a\",\"logprobs\":[{\"token\":\" a\",\"logprob\":-3.1281633e-7,\"bytes\":[32,97]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" wonderful\",\"logprobs\":[{\"token\":\" wonderful\",\"logprob\":-2.1008714e-6,\"bytes\":[32,119,111,110,100,101,114,102,117,108]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\" world\",\"logprobs\":[{\"token\":\" world\",\"logprob\":-8.180258e-6,\"bytes\":[32,119,111,114,108,100]}]}\n\ndata: {\"type\":\"transcript.text.delta\",\"delta\":\".\",\"logprobs\":[{\"token\":\".\",\"logprob\":-0.014231676,\"bytes\":[46]}]}\n\ndata: {\"type\":\"transcript.text.done\",\"text\":\"I see skies of blue and clouds of white, the bright blessed days, the dark sacred nights, and I think to myself, what a wonderful world.\",\"logprobs\":[{\"token\":\"I\",\"logprob\":-0.00007588794,\"bytes\":[73]},{\"token\":\" see\",\"logprob\":-3.1281633e-7,\"bytes\":[32,115,101,101]},{\"token\":\" skies\",\"logprob\":-2.3392786e-6,\"bytes\":[32,115,107,105,101,115]},{\"token\":\" of\",\"logprob\":-3.1281633e-7,\"bytes\":[32,111,102]},{\"token\":\" blue\",\"logprob\":-1.0280384e-6,\"bytes\":[32,98,108,117,101]},{\"token\":\" and\",\"logprob\":-0.0005108566,\"bytes\":[32,97,110,100]},{\"token\":\" clouds\",\"logprob\":-1.9361265e-7,\"bytes\":[32,99,108,111,117,100,115]},{\"token\":\" of\",\"logprob\":-1.9361265e-7,\"bytes\":[32,111,102]},{\"token\":\" white\",\"logprob\":-7.89631e-7,\"bytes\":[32,119,104,105,116,101]},{\"token\":\",\",\"logprob\":-0.0014890312,\"bytes\":[44]},{\"token\":\" the\",\"logprob\":-0.0110956915,\"bytes\":[32,116,104,101]},{\"token\":\" bright\",\"logprob\":0.0,\"bytes\":[32,98,114,105,103,104,116]},{\"token\":\" blessed\",\"logprob\":-0.000045848617,\"bytes\":[32,98,108,101,115,115,101,100]},{\"token\":\" days\",\"logprob\":-0.000010802739,\"bytes\":[32,100,97,121,115]},{\"token\":\",\",\"logprob\":-0.00001700133,\"bytes\":[44]},{\"token\":\" the\",\"logprob\":-0.0000118755715,\"bytes\":[32,116,104,101]},{\"token\":\" dark\",\"logprob\":-5.5122365e-7,\"bytes\":[32,100,97,114,107]},{\"token\":\" sacred\",\"logprob\":-5.4385737e-6,\"bytes\":[32,115,97,99,114,101,100]},{\"token\":\" nights\",\"logprob\":-4.00813e-6,\"bytes\":[32,110,105,103,104,116,115]},{\"token\":\",\",\"logprob\":-0.0036910512,\"bytes\":[44]},{\"token\":\" and\",\"logprob\":-0.0031903093,\"bytes\":[32,97,110,100]},{\"token\":\" I\",\"logprob\":-1.504853e-6,\"bytes\":[32,73]},{\"token\":\" think\",\"logprob\":-4.3202e-7,\"bytes\":[32,116,104,105,110,107]},{\"token\":\" to\",\"logprob\":-1.9361265e-7,\"bytes\":[32,116,111]},{\"token\":\" myself\",\"logprob\":-1.7432603e-6,\"bytes\":[32,109,121,115,101,108,102]},{\"token\":\",\",\"logprob\":-0.29254505,\"bytes\":[44]},{\"token\":\" what\",\"logprob\":-0.016815351,\"bytes\":[32,119,104,97,116]},{\"token\":\" a\",\"logprob\":-3.1281633e-7,\"bytes\":[32,97]},{\"token\":\" wonderful\",\"logprob\":-2.1008714e-6,\"bytes\":[32,119,111,110,100,101,114,102,117,108]},{\"token\":\" world\",\"logprob\":-8.180258e-6,\"bytes\":[32,119,111,114,108,100]},{\"token\":\".\",\"logprob\":-0.014231676,\"bytes\":[46]}],\"usage\":{\"input_tokens\":14,\"input_token_details\":{\"text_tokens\":0,\"audio_tokens\":14},\"output_tokens\":45,\"total_tokens\":59}}\n" - title: Logprobs request: curl: "curl https://api.openai.com/v1/audio/transcriptions \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -H \"Content-Type: multipart/form-data\" \\\n -F file=\"@/path/to/file/audio.mp3\" \\\n -F \"include[]=logprobs\" \\\n -F model=\"gpt-4o-transcribe\" \\\n -F response_format=\"json\"\n" @@ -317,7 +329,7 @@ paths: java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.audio.AudioModel;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse;\nimport java.io.ByteArrayInputStream;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n TranscriptionCreateParams params = TranscriptionCreateParams.builder()\n .file(ByteArrayInputStream(\"some content\".getBytes()))\n .model(AudioModel.WHISPER_1)\n .build();\n TranscriptionCreateResponse transcription = client.audio().transcriptions().create(params);\n }\n}" kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.models.audio.AudioModel\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse\nimport java.io.ByteArrayInputStream\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val params: TranscriptionCreateParams = TranscriptionCreateParams.builder()\n .file(\"some content\".byteInputStream())\n .model(AudioModel.WHISPER_1)\n .build()\n val transcription: TranscriptionCreateResponse = client.audio().transcriptions().create(params)\n}" ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\ntranscription = openai.audio.transcriptions.create(file: Pathname(__FILE__), model: :\"whisper-1\")\n\nputs(transcription)" - response: "{\n \"text\": \"Hey, my knee is hurting and I want to see the doctor tomorrow ideally.\",\n \"logprobs\": [\n { \"token\": \"Hey\", \"logprob\": -1.0415299, \"bytes\": [72, 101, 121] },\n { \"token\": \",\", \"logprob\": -9.805982e-5, \"bytes\": [44] },\n { \"token\": \" my\", \"logprob\": -0.00229799, \"bytes\": [32, 109, 121] },\n {\n \"token\": \" knee\",\n \"logprob\": -4.7159858e-5,\n \"bytes\": [32, 107, 110, 101, 101]\n },\n { \"token\": \" is\", \"logprob\": -0.043909557, \"bytes\": [32, 105, 115] },\n {\n \"token\": \" hurting\",\n \"logprob\": -1.1041146e-5,\n \"bytes\": [32, 104, 117, 114, 116, 105, 110, 103]\n },\n { \"token\": \" and\", \"logprob\": -0.011076359, \"bytes\": [32, 97, 110, 100] },\n { \"token\": \" I\", \"logprob\": -5.3193703e-6, \"bytes\": [32, 73] },\n {\n \"token\": \" want\",\n \"logprob\": -0.0017156356,\n \"bytes\": [32, 119, 97, 110, 116]\n },\n { \"token\": \" to\", \"logprob\": -7.89631e-7, \"bytes\": [32, 116, 111] },\n { \"token\": \" see\", \"logprob\": -5.5122365e-7, \"bytes\": [32, 115, 101, 101] },\n { \"token\": \" the\", \"logprob\": -0.0040786397, \"bytes\": [32, 116, 104, 101] },\n {\n \"token\": \" doctor\",\n \"logprob\": -2.3392786e-6,\n \"bytes\": [32, 100, 111, 99, 116, 111, 114]\n },\n {\n \"token\": \" tomorrow\",\n \"logprob\": -7.89631e-7,\n \"bytes\": [32, 116, 111, 109, 111, 114, 114, 111, 119]\n },\n {\n \"token\": \" ideally\",\n \"logprob\": -0.5800861,\n \"bytes\": [32, 105, 100, 101, 97, 108, 108, 121]\n },\n { \"token\": \".\", \"logprob\": -0.00011093382, \"bytes\": [46] }\n ]\n}\n" + response: "{\n \"text\": \"Hey, my knee is hurting and I want to see the doctor tomorrow ideally.\",\n \"logprobs\": [\n { \"token\": \"Hey\", \"logprob\": -1.0415299, \"bytes\": [72, 101, 121] },\n { \"token\": \",\", \"logprob\": -9.805982e-5, \"bytes\": [44] },\n { \"token\": \" my\", \"logprob\": -0.00229799, \"bytes\": [32, 109, 121] },\n {\n \"token\": \" knee\",\n \"logprob\": -4.7159858e-5,\n \"bytes\": [32, 107, 110, 101, 101]\n },\n { \"token\": \" is\", \"logprob\": -0.043909557, \"bytes\": [32, 105, 115] },\n {\n \"token\": \" hurting\",\n \"logprob\": -1.1041146e-5,\n \"bytes\": [32, 104, 117, 114, 116, 105, 110, 103]\n },\n { \"token\": \" and\", \"logprob\": -0.011076359, \"bytes\": [32, 97, 110, 100] },\n { \"token\": \" I\", \"logprob\": -5.3193703e-6, \"bytes\": [32, 73] },\n {\n \"token\": \" want\",\n \"logprob\": -0.0017156356,\n \"bytes\": [32, 119, 97, 110, 116]\n },\n { \"token\": \" to\", \"logprob\": -7.89631e-7, \"bytes\": [32, 116, 111] },\n { \"token\": \" see\", \"logprob\": -5.5122365e-7, \"bytes\": [32, 115, 101, 101] },\n { \"token\": \" the\", \"logprob\": -0.0040786397, \"bytes\": [32, 116, 104, 101] },\n {\n \"token\": \" doctor\",\n \"logprob\": -2.3392786e-6,\n \"bytes\": [32, 100, 111, 99, 116, 111, 114]\n },\n {\n \"token\": \" tomorrow\",\n \"logprob\": -7.89631e-7,\n \"bytes\": [32, 116, 111, 109, 111, 114, 114, 111, 119]\n },\n {\n \"token\": \" ideally\",\n \"logprob\": -0.5800861,\n \"bytes\": [32, 105, 100, 101, 97, 108, 108, 121]\n },\n { \"token\": \".\", \"logprob\": -0.00011093382, \"bytes\": [46] }\n ],\n \"usage\": {\n \"type\": \"tokens\",\n \"input_tokens\": 14,\n \"input_token_details\": {\n \"text_tokens\": 0,\n \"audio_tokens\": 14\n },\n \"output_tokens\": 45,\n \"total_tokens\": 59\n }\n}\n" - title: Word timestamps request: curl: "curl https://api.openai.com/v1/audio/transcriptions \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -H \"Content-Type: multipart/form-data\" \\\n -F file=\"@/path/to/file/audio.mp3\" \\\n -F \"timestamp_granularities[]=word\" \\\n -F model=\"whisper-1\" \\\n -F response_format=\"verbose_json\"\n" @@ -329,7 +341,7 @@ paths: java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.audio.AudioModel;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse;\nimport java.io.ByteArrayInputStream;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n TranscriptionCreateParams params = TranscriptionCreateParams.builder()\n .file(ByteArrayInputStream(\"some content\".getBytes()))\n .model(AudioModel.WHISPER_1)\n .build();\n TranscriptionCreateResponse transcription = client.audio().transcriptions().create(params);\n }\n}" kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.models.audio.AudioModel\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse\nimport java.io.ByteArrayInputStream\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val params: TranscriptionCreateParams = TranscriptionCreateParams.builder()\n .file(\"some content\".byteInputStream())\n .model(AudioModel.WHISPER_1)\n .build()\n val transcription: TranscriptionCreateResponse = client.audio().transcriptions().create(params)\n}" ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\ntranscription = openai.audio.transcriptions.create(file: Pathname(__FILE__), model: :\"whisper-1\")\n\nputs(transcription)" - response: "{\n \"task\": \"transcribe\",\n \"language\": \"english\",\n \"duration\": 8.470000267028809,\n \"text\": \"The beach was a popular spot on a hot summer day. People were swimming in the ocean, building sandcastles, and playing beach volleyball.\",\n \"words\": [\n {\n \"word\": \"The\",\n \"start\": 0.0,\n \"end\": 0.23999999463558197\n },\n ...\n {\n \"word\": \"volleyball\",\n \"start\": 7.400000095367432,\n \"end\": 7.900000095367432\n }\n ]\n}\n" + response: "{\n \"task\": \"transcribe\",\n \"language\": \"english\",\n \"duration\": 8.470000267028809,\n \"text\": \"The beach was a popular spot on a hot summer day. People were swimming in the ocean, building sandcastles, and playing beach volleyball.\",\n \"words\": [\n {\n \"word\": \"The\",\n \"start\": 0.0,\n \"end\": 0.23999999463558197\n },\n ...\n {\n \"word\": \"volleyball\",\n \"start\": 7.400000095367432,\n \"end\": 7.900000095367432\n }\n ],\n \"usage\": {\n \"type\": \"duration\",\n \"seconds\": 9\n }\n}\n" - title: Segment timestamps request: curl: "curl https://api.openai.com/v1/audio/transcriptions \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\" \\\n -H \"Content-Type: multipart/form-data\" \\\n -F file=\"@/path/to/file/audio.mp3\" \\\n -F \"timestamp_granularities[]=segment\" \\\n -F model=\"whisper-1\" \\\n -F response_format=\"verbose_json\"\n" @@ -341,7 +353,7 @@ paths: java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.audio.AudioModel;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams;\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse;\nimport java.io.ByteArrayInputStream;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n TranscriptionCreateParams params = TranscriptionCreateParams.builder()\n .file(ByteArrayInputStream(\"some content\".getBytes()))\n .model(AudioModel.WHISPER_1)\n .build();\n TranscriptionCreateResponse transcription = client.audio().transcriptions().create(params);\n }\n}" kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.models.audio.AudioModel\nimport com.openai.models.audio.transcriptions.TranscriptionCreateParams\nimport com.openai.models.audio.transcriptions.TranscriptionCreateResponse\nimport java.io.ByteArrayInputStream\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val params: TranscriptionCreateParams = TranscriptionCreateParams.builder()\n .file(\"some content\".byteInputStream())\n .model(AudioModel.WHISPER_1)\n .build()\n val transcription: TranscriptionCreateResponse = client.audio().transcriptions().create(params)\n}" ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\ntranscription = openai.audio.transcriptions.create(file: Pathname(__FILE__), model: :\"whisper-1\")\n\nputs(transcription)" - response: "{\n \"task\": \"transcribe\",\n \"language\": \"english\",\n \"duration\": 8.470000267028809,\n \"text\": \"The beach was a popular spot on a hot summer day. People were swimming in the ocean, building sandcastles, and playing beach volleyball.\",\n \"segments\": [\n {\n \"id\": 0,\n \"seek\": 0,\n \"start\": 0.0,\n \"end\": 3.319999933242798,\n \"text\": \" The beach was a popular spot on a hot summer day.\",\n \"tokens\": [\n 50364, 440, 7534, 390, 257, 3743, 4008, 322, 257, 2368, 4266, 786, 13, 50530\n ],\n \"temperature\": 0.0,\n \"avg_logprob\": -0.2860786020755768,\n \"compression_ratio\": 1.2363636493682861,\n \"no_speech_prob\": 0.00985979475080967\n },\n ...\n ]\n}\n" + response: "{\n \"task\": \"transcribe\",\n \"language\": \"english\",\n \"duration\": 8.470000267028809,\n \"text\": \"The beach was a popular spot on a hot summer day. People were swimming in the ocean, building sandcastles, and playing beach volleyball.\",\n \"segments\": [\n {\n \"id\": 0,\n \"seek\": 0,\n \"start\": 0.0,\n \"end\": 3.319999933242798,\n \"text\": \" The beach was a popular spot on a hot summer day.\",\n \"tokens\": [\n 50364, 440, 7534, 390, 257, 3743, 4008, 322, 257, 2368, 4266, 786, 13, 50530\n ],\n \"temperature\": 0.0,\n \"avg_logprob\": -0.2860786020755768,\n \"compression_ratio\": 1.2363636493682861,\n \"no_speech_prob\": 0.00985979475080967\n },\n ...\n ],\n \"usage\": {\n \"type\": \"duration\",\n \"seconds\": 9\n }\n}\n" /audio/translations: post: tags: @@ -2154,12 +2166,12 @@ paths: response: "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"checkpoint.permission\",\n \"id\": \"cp_zc4Q7MP6XxulcVzj4MZdwsAB\",\n \"created_at\": 1721764867,\n \"project_id\": \"proj_abGMw1llN8IrBb6SvvY5A1iH\"\n },\n {\n \"object\": \"checkpoint.permission\",\n \"id\": \"cp_enQCFmOTGj3syEpYVhBRLTSy\",\n \"created_at\": 1721764800,\n \"project_id\": \"proj_iqGMw1llN8IrBb6SvvY5A1oF\"\n },\n ],\n \"first_id\": \"cp_zc4Q7MP6XxulcVzj4MZdwsAB\",\n \"last_id\": \"cp_enQCFmOTGj3syEpYVhBRLTSy\",\n \"has_more\": false\n}\n" request: curl: "curl https://api.openai.com/v1/fine_tuning/checkpoints/ft:gpt-4o-mini-2024-07-18:org:weather:B7R9VjQd/permissions \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\"\n" - node.js: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const permissionRetrieveResponse of client.fineTuning.checkpoints.permissions.retrieve(\n 'ft-AF1WoRqd3aJAHsqc9NY7iL8F',\n)) {\n console.log(permissionRetrieveResponse.id);\n}" - python: "import os\nfrom openai import OpenAI\n\nclient = OpenAI(\n api_key=os.environ.get(\"OPENAI_API_KEY\"), # This is the default and can be omitted\n)\npage = client.fine_tuning.checkpoints.permissions.retrieve(\n fine_tuned_model_checkpoint=\"ft-AF1WoRqd3aJAHsqc9NY7iL8F\",\n)\npage = page.data[0]\nprint(page.id)" - go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"), // defaults to os.LookupEnv(\"OPENAI_API_KEY\")\n )\n page, err := client.FineTuning.Checkpoints.Permissions.Get(\n context.TODO(),\n \"ft-AF1WoRqd3aJAHsqc9NY7iL8F\",\n openai.FineTuningCheckpointPermissionGetParams{\n\n },\n )\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", page)\n}\n" - java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.finetuning.checkpoints.permissions.PermissionRetrievePage;\nimport com.openai.models.finetuning.checkpoints.permissions.PermissionRetrieveParams;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n PermissionRetrievePage page = client.fineTuning().checkpoints().permissions().retrieve(\"ft-AF1WoRqd3aJAHsqc9NY7iL8F\");\n }\n}" - kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.models.finetuning.checkpoints.permissions.PermissionRetrievePage\nimport com.openai.models.finetuning.checkpoints.permissions.PermissionRetrieveParams\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val page: PermissionRetrievePage = client.fineTuning().checkpoints().permissions().retrieve(\"ft-AF1WoRqd3aJAHsqc9NY7iL8F\")\n}" - ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\npage = openai.fine_tuning.checkpoints.permissions.retrieve(\"ft-AF1WoRqd3aJAHsqc9NY7iL8F\")\n\nputs(page)" + node.js: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\nconst permission = await client.fineTuning.checkpoints.permissions.retrieve('ft-AF1WoRqd3aJAHsqc9NY7iL8F');\n\nconsole.log(permission.first_id);" + python: "import os\nfrom openai import OpenAI\n\nclient = OpenAI(\n api_key=os.environ.get(\"OPENAI_API_KEY\"), # This is the default and can be omitted\n)\npermission = client.fine_tuning.checkpoints.permissions.retrieve(\n fine_tuned_model_checkpoint=\"ft-AF1WoRqd3aJAHsqc9NY7iL8F\",\n)\nprint(permission.first_id)" + go: "package main\n\nimport (\n \"context\"\n \"fmt\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"), // defaults to os.LookupEnv(\"OPENAI_API_KEY\")\n )\n permission, err := client.FineTuning.Checkpoints.Permissions.Get(\n context.TODO(),\n \"ft-AF1WoRqd3aJAHsqc9NY7iL8F\",\n openai.FineTuningCheckpointPermissionGetParams{\n\n },\n )\n if err != nil {\n panic(err.Error())\n }\n fmt.Printf(\"%+v\\n\", permission.FirstID)\n}\n" + java: "package com.openai.example;\n\nimport com.openai.client.OpenAIClient;\nimport com.openai.client.okhttp.OpenAIOkHttpClient;\nimport com.openai.models.finetuning.checkpoints.permissions.PermissionRetrieveParams;\nimport com.openai.models.finetuning.checkpoints.permissions.PermissionRetrieveResponse;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n OpenAIClient client = OpenAIOkHttpClient.fromEnv();\n\n PermissionRetrieveResponse permission = client.fineTuning().checkpoints().permissions().retrieve(\"ft-AF1WoRqd3aJAHsqc9NY7iL8F\");\n }\n}" + kotlin: "package com.openai.example\n\nimport com.openai.client.OpenAIClient\nimport com.openai.client.okhttp.OpenAIOkHttpClient\nimport com.openai.models.finetuning.checkpoints.permissions.PermissionRetrieveParams\nimport com.openai.models.finetuning.checkpoints.permissions.PermissionRetrieveResponse\n\nfun main() {\n // Configures using the `OPENAI_API_KEY`, `OPENAI_ORG_ID`, `OPENAI_PROJECT_ID` and `OPENAI_BASE_URL` environment variables\n val client: OpenAIClient = OpenAIOkHttpClient.fromEnv()\n\n val permission: PermissionRetrieveResponse = client.fineTuning().checkpoints().permissions().retrieve(\"ft-AF1WoRqd3aJAHsqc9NY7iL8F\")\n}" + ruby: "require \"openai\"\n\nopenai = OpenAI::Client.new(\n api_key: ENV[\"OPENAI_API_KEY\"] # This is the default and can be omitted\n)\n\npermission = openai.fine_tuning.checkpoints.permissions.retrieve(\"ft-AF1WoRqd3aJAHsqc9NY7iL8F\")\n\nputs(permission)" post: tags: - Fine-tuning @@ -2482,7 +2494,7 @@ paths: group: fine-tuning returns: 'A list of fine-tuning [checkpoint objects](/docs/api-reference/fine-tuning/checkpoint-object) for a fine-tuning job.' examples: - response: "{\n \"object\": \"list\"\n \"data\": [\n {\n \"object\": \"fine_tuning.job.checkpoint\",\n \"id\": \"ftckpt_zc4Q7MP6XxulcVzj4MZdwsAB\",\n \"created_at\": 1721764867,\n \"fine_tuned_model_checkpoint\": \"ft:gpt-4o-mini-2024-07-18:my-org:custom-suffix:96olL566:ckpt-step-2000\",\n \"metrics\": {\n \"full_valid_loss\": 0.134,\n \"full_valid_mean_token_accuracy\": 0.874\n },\n \"fine_tuning_job_id\": \"ftjob-abc123\",\n \"step_number\": 2000,\n },\n {\n \"object\": \"fine_tuning.job.checkpoint\",\n \"id\": \"ftckpt_enQCFmOTGj3syEpYVhBRLTSy\",\n \"created_at\": 1721764800,\n \"fine_tuned_model_checkpoint\": \"ft:gpt-4o-mini-2024-07-18:my-org:custom-suffix:7q8mpxmy:ckpt-step-1000\",\n \"metrics\": {\n \"full_valid_loss\": 0.167,\n \"full_valid_mean_token_accuracy\": 0.781\n },\n \"fine_tuning_job_id\": \"ftjob-abc123\",\n \"step_number\": 1000,\n },\n ],\n \"first_id\": \"ftckpt_zc4Q7MP6XxulcVzj4MZdwsAB\",\n \"last_id\": \"ftckpt_enQCFmOTGj3syEpYVhBRLTSy\",\n \"has_more\": true\n}\n" + response: "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"fine_tuning.job.checkpoint\",\n \"id\": \"ftckpt_zc4Q7MP6XxulcVzj4MZdwsAB\",\n \"created_at\": 1721764867,\n \"fine_tuned_model_checkpoint\": \"ft:gpt-4o-mini-2024-07-18:my-org:custom-suffix:96olL566:ckpt-step-2000\",\n \"metrics\": {\n \"full_valid_loss\": 0.134,\n \"full_valid_mean_token_accuracy\": 0.874\n },\n \"fine_tuning_job_id\": \"ftjob-abc123\",\n \"step_number\": 2000\n },\n {\n \"object\": \"fine_tuning.job.checkpoint\",\n \"id\": \"ftckpt_enQCFmOTGj3syEpYVhBRLTSy\",\n \"created_at\": 1721764800,\n \"fine_tuned_model_checkpoint\": \"ft:gpt-4o-mini-2024-07-18:my-org:custom-suffix:7q8mpxmy:ckpt-step-1000\",\n \"metrics\": {\n \"full_valid_loss\": 0.167,\n \"full_valid_mean_token_accuracy\": 0.781\n },\n \"fine_tuning_job_id\": \"ftjob-abc123\",\n \"step_number\": 1000\n }\n ],\n \"first_id\": \"ftckpt_zc4Q7MP6XxulcVzj4MZdwsAB\",\n \"last_id\": \"ftckpt_enQCFmOTGj3syEpYVhBRLTSy\",\n \"has_more\": true\n}\n" request: curl: "curl https://api.openai.com/v1/fine_tuning/jobs/ftjob-abc123/checkpoints \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\"\n" node.js: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\n// Automatically fetches more pages as needed.\nfor await (const fineTuningJobCheckpoint of client.fineTuning.jobs.checkpoints.list(\n 'ft-AF1WoRqd3aJAHsqc9NY7iL8F',\n)) {\n console.log(fineTuningJobCheckpoint.id);\n}" @@ -5425,7 +5437,7 @@ paths: response: "{\n \"id\": \"resp_6786a1bec27481909a17d673315b29f6\",\n \"object\": \"response\",\n \"deleted\": true\n}\n" request: curl: "curl -X DELETE https://api.openai.com/v1/responses/resp_123 \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\"\n" - javascript: "import OpenAI from \"openai\";\nconst client = new OpenAI();\n\nconst response = await client.responses.del(\"resp_123\");\nconsole.log(response);\n" + javascript: "import OpenAI from \"openai\";\nconst client = new OpenAI();\n\nconst response = await client.responses.delete(\"resp_123\");\nconsole.log(response);\n" python: "import os\nfrom openai import OpenAI\n\nclient = OpenAI(\n api_key=os.environ.get(\"OPENAI_API_KEY\"), # This is the default and can be omitted\n)\nclient.responses.delete(\n \"resp_677efb5139a88190b512bc3fef8e535d\",\n)" node.js: "import OpenAI from 'openai';\n\nconst client = new OpenAI({\n apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted\n});\n\nawait client.responses.delete('resp_677efb5139a88190b512bc3fef8e535d');" go: "package main\n\nimport (\n \"context\"\n\n \"github.com/openai/openai-go\"\n \"github.com/openai/openai-go/option\"\n)\n\nfunc main() {\n client := openai.NewClient(\n option.WithAPIKey(\"My API Key\"), // defaults to os.LookupEnv(\"OPENAI_API_KEY\")\n )\n err := client.Responses.Delete(context.TODO(), \"resp_677efb5139a88190b512bc3fef8e535d\")\n if err != nil {\n panic(err.Error())\n }\n}\n" @@ -9173,6 +9185,42 @@ components: type: string description: "The ID of the file.\n" description: "The output of a code interpreter tool call that is a file.\n" + CodeInterpreterOutputImage: + title: Code interpreter output image + required: + - type + - url + type: object + properties: + type: + enum: + - image + type: string + description: The type of the output. Always 'image'. + default: image + x-stainless-const: true + url: + type: string + description: The URL of the image output from the code interpreter. + description: "The image output from the code interpreter.\n" + CodeInterpreterOutputLogs: + title: Code interpreter output logs + required: + - type + - logs + type: object + properties: + type: + enum: + - logs + type: string + description: The type of the output. Always 'logs'. + default: logs + x-stainless-const: true + logs: + type: string + description: The logs output from the code interpreter. + description: "The logs output from the code interpreter.\n" CodeInterpreterTextOutput: title: Code interpreter text output required: @@ -9209,8 +9257,6 @@ components: description: The container ID. - $ref: '#/components/schemas/CodeInterpreterToolAuto' description: "The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code.\n" - discriminator: - propertyName: type description: "A tool that runs Python code to help generate a response to a prompt.\n" CodeInterpreterToolAuto: title: CodeInterpreterContainerAuto @@ -9233,49 +9279,51 @@ components: CodeInterpreterToolCall: title: Code interpreter tool call required: - - id - type - - code + - id - status - - results + - container_id + - code + - outputs type: object properties: - id: - type: string - description: "The unique ID of the code interpreter tool call.\n" type: enum: - code_interpreter_call type: string description: "The type of the code interpreter tool call. Always `code_interpreter_call`.\n" + default: code_interpreter_call x-stainless-const: true - container_id: - type: string - description: "The ID of the container used to run the code.\n" - code: + id: type: string - description: "The code to run.\n" + description: "The unique ID of the code interpreter tool call.\n" status: enum: - in_progress - - interpreting - completed + - incomplete + - interpreting + - failed type: string description: "The status of the code interpreter tool call.\n" - results: + container_id: + type: string + description: "The ID of the container used to run the code.\n" + code: + type: string + description: "The code to run, or null if not available.\n" + nullable: true + outputs: type: array items: - $ref: '#/components/schemas/CodeInterpreterToolOutput' - description: "The results of the code interpreter tool call.\n" + oneOf: + - $ref: '#/components/schemas/CodeInterpreterOutputLogs' + - $ref: '#/components/schemas/CodeInterpreterOutputImage' + description: "The outputs generated by the code interpreter, such as logs or images. \nCan be null if no outputs are available.\n" + nullable: true + discriminator: + propertyName: type description: "A tool call to run code.\n" - CodeInterpreterToolOutput: - title: Code interpreter tool output - oneOf: - - $ref: '#/components/schemas/CodeInterpreterTextOutput' - - $ref: '#/components/schemas/CodeInterpreterFileOutput' - description: "The output of a code interpreter tool.\n" - discriminator: - propertyName: type ComparisonFilter: title: Comparison Filter required: @@ -11789,12 +11837,12 @@ components: oneOf: - title: Text input type: string - description: "A text input to the model, equivalent to a text input with the \n`user` role.\n" + description: "A text input to the model, equivalent to a text input with the\n`user` role.\n" - title: Input item list type: array items: $ref: '#/components/schemas/InputItem' - description: "A list of one or many input items to the model, containing \ndifferent content types.\n" + description: "A list of one or many input items to the model, containing\ndifferent content types.\n" description: "Text, image, or file inputs to the model, used to generate a response.\n\nLearn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Image inputs](/docs/guides/images)\n- [File inputs](/docs/guides/pdf-files)\n- [Conversation state](/docs/guides/conversation-state)\n- [Function calling](/docs/guides/function-calling)\n" include: type: array @@ -11950,9 +11998,22 @@ components: maximum: 4 minimum: 0.25 type: number - description: The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default. Does not work with `gpt-4o-mini-tts`. + description: The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default. default: 1 + stream_format: + enum: + - sse + - audio + type: string + description: The format to stream the audio in. Supported formats are `sse` and `audio`. `sse` is not supported for `tts-1` or `tts-1-hd`. + default: audio additionalProperties: false + CreateSpeechResponseStreamEvent: + anyOf: + - $ref: '#/components/schemas/SpeechAudioDeltaEvent' + - $ref: '#/components/schemas/SpeechAudioDoneEvent' + discriminator: + propertyName: type CreateThreadAndRunRequest: required: - assistant_id @@ -12280,11 +12341,17 @@ components: type: number description: The bytes of the token. description: "The log probabilities of the tokens in the transcription. Only returned with the models `gpt-4o-transcribe` and `gpt-4o-mini-transcribe` if `logprobs` is added to the `include` array.\n" + usage: + type: object + oneOf: + - $ref: '#/components/schemas/TranscriptTextUsageTokens' + - $ref: '#/components/schemas/TranscriptTextUsageDuration' + description: Token usage statistics for the request. description: 'Represents a transcription response returned by model, based on the provided input.' x-oaiMeta: name: The transcription object (JSON) group: audio - example: "{\n \"text\": \"Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that.\"\n}\n" + example: "{\n \"text\": \"Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that.\",\n \"usage\": {\n \"type\": \"tokens\",\n \"input_tokens\": 14,\n \"input_token_details\": {\n \"text_tokens\": 10,\n \"audio_tokens\": 4\n },\n \"output_tokens\": 101,\n \"total_tokens\": 115\n }\n}\n" CreateTranscriptionResponseStreamEvent: anyOf: - $ref: '#/components/schemas/TranscriptTextDeltaEvent' @@ -12317,11 +12384,13 @@ components: items: $ref: '#/components/schemas/TranscriptionSegment' description: Segments of the transcribed text and their corresponding details. + usage: + $ref: '#/components/schemas/TranscriptTextUsageDuration' description: 'Represents a verbose json transcription response returned by model, based on the provided input.' x-oaiMeta: name: The transcription object (Verbose JSON) group: audio - example: "{\n \"task\": \"transcribe\",\n \"language\": \"english\",\n \"duration\": 8.470000267028809,\n \"text\": \"The beach was a popular spot on a hot summer day. People were swimming in the ocean, building sandcastles, and playing beach volleyball.\",\n \"segments\": [\n {\n \"id\": 0,\n \"seek\": 0,\n \"start\": 0.0,\n \"end\": 3.319999933242798,\n \"text\": \" The beach was a popular spot on a hot summer day.\",\n \"tokens\": [\n 50364, 440, 7534, 390, 257, 3743, 4008, 322, 257, 2368, 4266, 786, 13, 50530\n ],\n \"temperature\": 0.0,\n \"avg_logprob\": -0.2860786020755768,\n \"compression_ratio\": 1.2363636493682861,\n \"no_speech_prob\": 0.00985979475080967\n },\n ...\n ]\n}\n" + example: "{\n \"task\": \"transcribe\",\n \"language\": \"english\",\n \"duration\": 8.470000267028809,\n \"text\": \"The beach was a popular spot on a hot summer day. People were swimming in the ocean, building sandcastles, and playing beach volleyball.\",\n \"segments\": [\n {\n \"id\": 0,\n \"seek\": 0,\n \"start\": 0.0,\n \"end\": 3.319999933242798,\n \"text\": \" The beach was a popular spot on a hot summer day.\",\n \"tokens\": [\n 50364, 440, 7534, 390, 257, 3743, 4008, 322, 257, 2368, 4266, 786, 13, 50530\n ],\n \"temperature\": 0.0,\n \"avg_logprob\": -0.2860786020755768,\n \"compression_ratio\": 1.2363636493682861,\n \"no_speech_prob\": 0.00985979475080967\n },\n ...\n ],\n \"usage\": {\n \"type\": \"duration\",\n \"seconds\": 9\n }\n}\n" CreateTranslationRequest: required: - file @@ -18075,7 +18144,7 @@ components: $ref: '#/components/schemas/LogProbProperties' description: The log probabilities of the transcription. nullable: true - description: "This event is the output of audio transcription for user audio written to the \nuser audio buffer. Transcription begins when the input audio buffer is \ncommitted by the client or server (in `server_vad` mode). Transcription runs \nasynchronously with Response creation, so this event may come before or after \nthe Response events.\n\nRealtime API models accept audio natively, and thus input transcription is a \nseparate process run on a separate ASR (Automatic Speech Recognition) model, \ncurrently always `whisper-1`. Thus the transcript may diverge somewhat from \nthe model's interpretation, and should be treated as a rough guide.\n" + description: "This event is the output of audio transcription for user audio written to the \nuser audio buffer. Transcription begins when the input audio buffer is \ncommitted by the client or server (in `server_vad` mode). Transcription runs \nasynchronously with Response creation, so this event may come before or after \nthe Response events.\n\nRealtime API models accept audio natively, and thus input transcription is a\nseparate process run on a separate ASR (Automatic Speech Recognition) model.\nThe transcript may diverge somewhat from the model's interpretation, and\nshould be treated as a rough guide.\n" x-oaiMeta: name: conversation.item.input_audio_transcription.completed group: realtime @@ -19377,7 +19446,9 @@ components: client_secret: type: object properties: - expires_at: + expires_after: + required: + - anchor type: object properties: anchor: @@ -19385,7 +19456,6 @@ components: - created_at type: string description: "The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.\n" - default: created_at seconds: type: integer description: "The number of seconds from the anchor point to the expiration. Select a value between `10` and `7200`.\n" @@ -19434,8 +19504,8 @@ components: properties: model: type: string - description: "The model to use for transcription, `whisper-1` is the only currently \nsupported model.\n" - description: "Configuration for input audio transcription, defaults to off and can be \nset to `null` to turn off once on. Input audio transcription is not native \nto the model, since the model consumes audio directly. Transcription runs \nasynchronously through Whisper and should be treated as rough guidance \nrather than the representation understood by the model.\n" + description: "The model to use for transcription.\n" + description: "Configuration for input audio transcription, defaults to off and can be \nset to `null` to turn off once on. Input audio transcription is not native \nto the model, since the model consumes audio directly. Transcription runs\nasynchronously and should be treated as rough guidance\nrather than the representation understood by the model.\n" speed: maximum: 1.5 minimum: 0.25 @@ -20000,8 +20070,8 @@ components: ResponseCodeInterpreterCallCodeDeltaEvent: required: - type - - response_id - output_index + - item_id - delta - sequence_number type: object @@ -20010,27 +20080,30 @@ components: enum: - response.code_interpreter_call_code.delta type: string - description: "The type of the event. Always `response.code_interpreter_call_code.delta`.\n" + description: The type of the event. Always `response.code_interpreter_call_code.delta`. x-stainless-const: true output_index: type: integer - description: "The index of the output item that the code interpreter call is in progress.\n" + description: The index of the output item in the response for which the code is being streamed. + item_id: + type: string + description: The unique identifier of the code interpreter tool call item. delta: type: string - description: "The partial code snippet added by the code interpreter.\n" + description: The partial code snippet being streamed by the code interpreter. sequence_number: type: integer - description: The sequence number of this event. - description: Emitted when a partial code snippet is added by the code interpreter. + description: 'The sequence number of this event, used to order streaming events.' + description: Emitted when a partial code snippet is streamed by the code interpreter. x-oaiMeta: name: response.code_interpreter_call_code.delta group: responses - example: "{\n \"type\": \"response.code_interpreter_call_code.delta\",\n \"response_id\": \"resp-123\",\n \"output_index\": 0,\n \"delta\": \"partial code\",\n \"sequence_number\": 1\n}\n" + example: "{\n \"type\": \"response.code_interpreter_call_code.delta\",\n \"output_index\": 0,\n \"item_id\": \"ci_12345\",\n \"delta\": \"print('Hello, world')\",\n \"sequence_number\": 1\n}\n" ResponseCodeInterpreterCallCodeDoneEvent: required: - type - - response_id - output_index + - item_id - code - sequence_number type: object @@ -20039,28 +20112,30 @@ components: enum: - response.code_interpreter_call_code.done type: string - description: "The type of the event. Always `response.code_interpreter_call_code.done`.\n" + description: The type of the event. Always `response.code_interpreter_call_code.done`. x-stainless-const: true output_index: type: integer - description: "The index of the output item that the code interpreter call is in progress.\n" + description: The index of the output item in the response for which the code is finalized. + item_id: + type: string + description: The unique identifier of the code interpreter tool call item. code: type: string - description: "The final code snippet output by the code interpreter.\n" + description: The final code snippet output by the code interpreter. sequence_number: type: integer - description: The sequence number of this event. - description: Emitted when code snippet output is finalized by the code interpreter. + description: 'The sequence number of this event, used to order streaming events.' + description: Emitted when the code snippet is finalized by the code interpreter. x-oaiMeta: name: response.code_interpreter_call_code.done group: responses - example: "{\n \"type\": \"response.code_interpreter_call_code.done\",\n \"response_id\": \"resp-123\",\n \"output_index\": 3,\n \"code\": \"console.log('done');\",\n \"sequence_number\": 1\n}\n" + example: "{\n \"type\": \"response.code_interpreter_call_code.done\",\n \"output_index\": 3,\n \"item_id\": \"ci_12345\",\n \"code\": \"print('done')\",\n \"sequence_number\": 1\n}\n" ResponseCodeInterpreterCallCompletedEvent: required: - type - - response_id - output_index - - code_interpreter_call + - item_id - sequence_number type: object properties: @@ -20068,27 +20143,27 @@ components: enum: - response.code_interpreter_call.completed type: string - description: "The type of the event. Always `response.code_interpreter_call.completed`.\n" + description: The type of the event. Always `response.code_interpreter_call.completed`. x-stainless-const: true output_index: type: integer - description: "The index of the output item that the code interpreter call is in progress.\n" - code_interpreter_call: - $ref: '#/components/schemas/CodeInterpreterToolCall' + description: The index of the output item in the response for which the code interpreter call is completed. + item_id: + type: string + description: The unique identifier of the code interpreter tool call item. sequence_number: type: integer - description: The sequence number of this event. + description: 'The sequence number of this event, used to order streaming events.' description: Emitted when the code interpreter call is completed. x-oaiMeta: name: response.code_interpreter_call.completed group: responses - example: "{\n \"type\": \"response.code_interpreter_call.completed\",\n \"response_id\": \"resp-123\",\n \"output_index\": 5,\n \"code_interpreter_call\": {},\n \"sequence_number\": 1\n}\n" + example: "{\n \"type\": \"response.code_interpreter_call.completed\",\n \"output_index\": 5,\n \"item_id\": \"ci_12345\",\n \"sequence_number\": 1\n}\n" ResponseCodeInterpreterCallInProgressEvent: required: - type - - response_id - output_index - - code_interpreter_call + - item_id - sequence_number type: object properties: @@ -20096,27 +20171,27 @@ components: enum: - response.code_interpreter_call.in_progress type: string - description: "The type of the event. Always `response.code_interpreter_call.in_progress`.\n" + description: The type of the event. Always `response.code_interpreter_call.in_progress`. x-stainless-const: true output_index: type: integer - description: "The index of the output item that the code interpreter call is in progress.\n" - code_interpreter_call: - $ref: '#/components/schemas/CodeInterpreterToolCall' + description: The index of the output item in the response for which the code interpreter call is in progress. + item_id: + type: string + description: The unique identifier of the code interpreter tool call item. sequence_number: type: integer - description: The sequence number of this event. + description: 'The sequence number of this event, used to order streaming events.' description: Emitted when a code interpreter call is in progress. x-oaiMeta: name: response.code_interpreter_call.in_progress group: responses - example: "{\n \"type\": \"response.code_interpreter_call.in.progress\",\n \"response_id\": \"resp-123\",\n \"output_index\": 0,\n \"code_interpreter_call\": {},\n \"sequence_number\": 1\n}\n" + example: "{\n \"type\": \"response.code_interpreter_call.in_progress\",\n \"output_index\": 0,\n \"item_id\": \"ci_12345\",\n \"sequence_number\": 1\n}\n" ResponseCodeInterpreterCallInterpretingEvent: required: - type - - response_id - output_index - - code_interpreter_call + - item_id - sequence_number type: object properties: @@ -20124,21 +20199,22 @@ components: enum: - response.code_interpreter_call.interpreting type: string - description: "The type of the event. Always `response.code_interpreter_call.interpreting`.\n" + description: The type of the event. Always `response.code_interpreter_call.interpreting`. x-stainless-const: true - sequence_number: - type: integer - description: The sequence number of this event. output_index: type: integer - description: "The index of the output item that the code interpreter call is in progress.\n" - code_interpreter_call: - $ref: '#/components/schemas/CodeInterpreterToolCall' + description: The index of the output item in the response for which the code interpreter is interpreting code. + item_id: + type: string + description: The unique identifier of the code interpreter tool call item. + sequence_number: + type: integer + description: 'The sequence number of this event, used to order streaming events.' description: Emitted when the code interpreter is actively interpreting the code snippet. x-oaiMeta: name: response.code_interpreter_call.interpreting group: responses - example: "{\n \"type\": \"response.code_interpreter_call.interpreting\",\n \"response_id\": \"resp-123\",\n \"output_index\": 4,\n \"code_interpreter_call\": {},\n \"sequence_number\": 1\n}\n" + example: "{\n \"type\": \"response.code_interpreter_call.interpreting\",\n \"output_index\": 4,\n \"item_id\": \"ci_12345\",\n \"sequence_number\": 1\n}\n" ResponseCompletedEvent: required: - type @@ -23015,6 +23091,60 @@ components: description: "Specifies the latency tier to use for processing the request. This parameter is relevant for customers subscribed to the scale tier service:\n - If set to 'auto', and the Project is Scale tier enabled, the system\n will utilize scale tier credits until they are exhausted.\n - If set to 'auto', and the Project is not Scale tier enabled, the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.\n - If set to 'default', the request will be processed using the default service tier with a lower uptime SLA and no latency guarantee.\n - If set to 'flex', the request will be processed with the Flex Processing service tier. [Learn more](/docs/guides/flex-processing).\n - When not set, the default behavior is 'auto'.\n\n When this parameter is set, the response body will include the `service_tier` utilized.\n" default: auto nullable: true + SpeechAudioDeltaEvent: + required: + - type + - audio + type: object + properties: + type: + enum: + - speech.audio.delta + type: string + description: "The type of the event. Always `speech.audio.delta`.\n" + x-stainless-const: true + audio: + type: string + description: "A chunk of Base64-encoded audio data.\n" + description: Emitted for each chunk of audio data generated during speech synthesis. + x-oaiMeta: + name: Stream Event (speech.audio.delta) + group: speech + example: "{\n \"type\": \"speech.audio.delta\",\n \"audio\": \"base64-encoded-audio-data\"\n}\n" + SpeechAudioDoneEvent: + required: + - type + - usage + type: object + properties: + type: + enum: + - speech.audio.done + type: string + description: "The type of the event. Always `speech.audio.done`.\n" + x-stainless-const: true + usage: + required: + - input_tokens + - output_tokens + - total_tokens + type: object + properties: + input_tokens: + type: integer + description: Number of input tokens in the prompt. + output_tokens: + type: integer + description: Number of output tokens generated. + total_tokens: + type: integer + description: Total number of tokens used (input + output). + description: "Token usage statistics for the request.\n" + description: Emitted when the speech synthesis is complete and all audio has been streamed. + x-oaiMeta: + name: Stream Event (speech.audio.done) + group: speech + example: "{\n \"type\": \"speech.audio.done\",\n \"usage\": {\n \"input_tokens\": 14,\n \"output_tokens\": 101,\n \"total_tokens\": 115\n }\n}\n" StaticChunkingStrategy: required: - max_chunk_size_tokens @@ -23343,11 +23473,65 @@ components: type: integer description: "The bytes that were used to generate the log probability.\n" description: "The log probabilities of the individual tokens in the transcription. Only included if you [create a transcription](/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`.\n" + usage: + $ref: '#/components/schemas/TranscriptTextUsageTokens' description: 'Emitted when the transcription is complete. Contains the complete transcription text. Only emitted when you [create a transcription](/docs/api-reference/audio/create-transcription) with the `Stream` parameter set to `true`.' x-oaiMeta: name: Stream Event (transcript.text.done) group: transcript - example: "{\n \"type\": \"transcript.text.done\",\n \"text\": \"I see skies of blue and clouds of white, the bright blessed days, the dark sacred nights, and I think to myself, what a wonderful world.\"\n}\n" + example: "{\n \"type\": \"transcript.text.done\",\n \"text\": \"I see skies of blue and clouds of white, the bright blessed days, the dark sacred nights, and I think to myself, what a wonderful world.\",\n \"usage\": {\n \"type\": \"tokens\",\n \"input_tokens\": 14,\n \"input_token_details\": {\n \"text_tokens\": 10,\n \"audio_tokens\": 4\n },\n \"output_tokens\": 31,\n \"total_tokens\": 45\n }\n}\n" + TranscriptTextUsageDuration: + title: Duration Usage + required: + - type + - duration + type: object + properties: + type: + enum: + - duration + type: string + description: The type of the usage object. Always `duration` for this variant. + x-stainless-const: true + duration: + type: number + description: Duration of the input audio in seconds. + description: Usage statistics for models billed by audio input duration. + TranscriptTextUsageTokens: + title: Token Usage + required: + - type + - input_tokens + - output_tokens + - total_tokens + type: object + properties: + type: + enum: + - tokens + type: string + description: The type of the usage object. Always `tokens` for this variant. + x-stainless-const: true + input_tokens: + type: integer + description: Number of input tokens billed for this request. + input_token_details: + type: object + properties: + text_tokens: + type: integer + description: Number of text tokens billed for this request. + audio_tokens: + type: integer + description: Number of audio tokens billed for this request. + description: Details about the input tokens billed for this request. + output_tokens: + type: integer + description: Number of output tokens generated. + total_tokens: + type: integer + description: Total number of tokens used (input + output). + description: Usage statistics for models billed by token usage. TranscriptionChunkingStrategy: type: object oneOf: @@ -24815,6 +24999,7 @@ components: - type - file_id - index + - filename type: object properties: type: @@ -24830,6 +25015,9 @@ components: index: type: integer description: The index of the file in the list of files. + filename: + type: string + description: The filename of the file cited. description: A citation to a file. UrlCitationBody: title: URL citation @@ -24869,6 +25057,7 @@ components: - file_id - start_index - end_index + - filename type: object properties: type: @@ -24890,6 +25079,9 @@ components: end_index: type: integer description: The index of the last character of the container file citation in the message. + filename: + type: string + description: The filename of the container file cited. description: A citation for a container file used to generate a model response. Annotation: oneOf: @@ -26661,6 +26853,21 @@ x-oaiMeta: - type: object key: ResponseErrorEvent path: + - type: object + key: ResponseCodeInterpreterCallInProgressEvent + path: + - type: object + key: ResponseCodeInterpreterCallCodeDeltaEvent + path: + - type: object + key: ResponseCodeInterpreterCallCodeDoneEvent + path: + - type: object + key: ResponseCodeInterpreterCallInterpretingEvent + path: + - type: object + key: ResponseCodeInterpreterCallCompletedEvent + path: - id: chat title: Chat Completions description: "The Chat Completions API endpoint will generate a model response from a\nlist of messages comprising a conversation.\n\nRelated guides:\n- [Quickstart](/docs/quickstart?api-mode=chat)\n- [Text inputs and outputs](/docs/guides/text?api-mode=chat)\n- [Image inputs](/docs/guides/images?api-mode=chat)\n- [Audio inputs and outputs](/docs/guides/audio?api-mode=chat)\n- [Structured Outputs](/docs/guides/structured-outputs?api-mode=chat)\n- [Function calling](/docs/guides/function-calling?api-mode=chat)\n- [Conversation state](/docs/guides/conversation-state?api-mode=chat)\n\n**Starting a new project?** We recommend trying [Responses](/docs/api-reference/responses)\nto take advantage of the latest OpenAI platform features. Compare\n[Chat Completions with Responses](/docs/guides/responses-vs-chat-completions?api-mode=responses).\n" @@ -26891,6 +27098,12 @@ x-oaiMeta: - type: object key: CreateTranscriptionResponseVerboseJson path: verbose-json-object + - type: object + key: SpeechAudioDeltaEvent + path: speech-audio-delta-event + - type: object + key: SpeechAudioDoneEvent + path: speech-audio-done-event - type: object key: TranscriptTextDeltaEvent path: transcript-text-delta-event