From c985b7b4edd9c4fd00d9f528b43ea382a212b6bc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 22 Jan 2025 18:20:17 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...onseFormat.Json.g.cs => AllOf.2.Json.g.cs} | 22 +- src/libs/tryAGI.OpenAI/Generated/AllOf.2.g.cs | 213 ++ .../Generated/JsonConverters.AllOf2.g.cs | 86 + ...cs => JsonConverters.ResponseFormat3.g.cs} | 8 +- .../Generated/JsonSerializerContext.g.cs | 16 +- .../Generated/JsonSerializerContextTypes.g.cs | 2402 +++++++++-------- ...enAI.AssistantsClient.CreateAssistant.g.cs | 9 +- ...AGI.OpenAI.AssistantsClient.CreateRun.g.cs | 25 +- ...I.AssistantsClient.CreateThreadAndRun.g.cs | 30 +- ...enAI.AssistantsClient.ModifyAssistant.g.cs | 9 +- ...penAI.ChatClient.CreateChatCompletion.g.cs | 2 +- ...nAI.IAssistantsClient.CreateAssistant.g.cs | 9 +- ...GI.OpenAI.IAssistantsClient.CreateRun.g.cs | 25 +- ....IAssistantsClient.CreateThreadAndRun.g.cs | 30 +- ...nAI.IAssistantsClient.ModifyAssistant.g.cs | 9 +- ...enAI.IChatClient.CreateChatCompletion.g.cs | 2 +- ...IVectorStoresClient.ModifyVectorStore.g.cs | 6 +- .../tryAGI.OpenAI.Models.AssistantObject.g.cs | 20 +- ...ls.AssistantObjectResponseFormat.Json.g.cs | 92 + ....Models.AssistantObjectResponseFormat.g.cs | 18 + ....OpenAI.Models.CreateAssistantRequest.g.cs | 18 +- ...teAssistantRequestResponseFormat.Json.g.cs | 92 + ....CreateAssistantRequestResponseFormat.g.cs | 18 + ...AI.Models.CreateChatCompletionRequest.g.cs | 6 +- ...tryAGI.OpenAI.Models.CreateRunRequest.g.cs | 49 +- ...s.CreateRunRequestResponseFormat.Json.g.cs | 92 + ...Models.CreateRunRequestResponseFormat.g.cs | 18 + ...odels.CreateRunRequestToolChoice.Json.g.cs | 92 + ...nAI.Models.CreateRunRequestToolChoice.g.cs | 18 + ...eateRunRequestTruncationStrategy.Json.g.cs | 92 + ...ls.CreateRunRequestTruncationStrategy.g.cs | 18 + ...enAI.Models.CreateThreadAndRunRequest.g.cs | 57 +- ...hreadAndRunRequestResponseFormat.Json.g.cs | 92 + ...eateThreadAndRunRequestResponseFormat.g.cs | 18 + ...ateThreadAndRunRequestToolChoice.Json.g.cs | 92 + ...s.CreateThreadAndRunRequestToolChoice.g.cs | 18 + ...dAndRunRequestTruncationStrategy.Json.g.cs | 92 + ...ThreadAndRunRequestTruncationStrategy.g.cs | 18 + ...AGI.OpenAI.Models.CreateThreadRequest.g.cs | 3 +- ....OpenAI.Models.ModifyAssistantRequest.g.cs | 20 +- ...fyAssistantRequestResponseFormat.Json.g.cs | 92 + ....ModifyAssistantRequestResponseFormat.g.cs | 18 + ...GI.OpenAI.Models.ResponseFormat3.Json.g.cs | 92 + ...tryAGI.OpenAI.Models.ResponseFormat3.g.cs} | 32 +- .../tryAGI.OpenAI.Models.RunObject.g.cs | 53 +- ...I.Models.RunObjectResponseFormat.Json.g.cs | 92 + ...OpenAI.Models.RunObjectResponseFormat.g.cs | 18 + ...penAI.Models.RunObjectToolChoice.Json.g.cs | 92 + ...AGI.OpenAI.Models.RunObjectToolChoice.g.cs | 18 + ...dels.RunObjectTruncationStrategy.Json.g.cs | 92 + ...AI.Models.RunObjectTruncationStrategy.g.cs | 18 + ...penAI.Models.UpdateVectorStoreRequest.g.cs | 13 +- ...teVectorStoreRequestExpiresAfter.Json.g.cs | 92 + ....UpdateVectorStoreRequestExpiresAfter.g.cs | 18 + .../tryAGI.OpenAI.Models.Upload.g.cs | 13 +- .../tryAGI.OpenAI.Models.UploadFile.Json.g.cs | 92 + .../tryAGI.OpenAI.Models.UploadFile.g.cs | 18 + ...penAI.OpenAiClient.AdminApiKeysCreate.g.cs | 26 +- ...penAI.OpenAiClient.AdminApiKeysDelete.g.cs | 26 +- ...I.OpenAI.OpenAiClient.AdminApiKeysGet.g.cs | 26 +- ....OpenAI.OpenAiClient.AdminApiKeysList.g.cs | 26 +- ....VectorStoresClient.ModifyVectorStore.g.cs | 6 +- src/libs/tryAGI.OpenAI/openapi.yaml | 78 +- 63 files changed, 3438 insertions(+), 1569 deletions(-) rename src/libs/tryAGI.OpenAI/Generated/{tryAGI.OpenAI.Models.ResponseFormat.Json.g.cs => AllOf.2.Json.g.cs} (88%) create mode 100644 src/libs/tryAGI.OpenAI/Generated/AllOf.2.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/JsonConverters.AllOf2.g.cs rename src/libs/tryAGI.OpenAI/Generated/{JsonConverters.ResponseFormat.g.cs => JsonConverters.ResponseFormat3.g.cs} (95%) create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectResponseFormat.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectResponseFormat.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestResponseFormat.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestResponseFormat.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestResponseFormat.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestResponseFormat.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestToolChoice.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestToolChoice.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestTruncationStrategy.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestTruncationStrategy.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestResponseFormat.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestResponseFormat.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestToolChoice.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestToolChoice.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestTruncationStrategy.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestTruncationStrategy.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestResponseFormat.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestResponseFormat.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat3.Json.g.cs rename src/libs/tryAGI.OpenAI/Generated/{tryAGI.OpenAI.Models.ResponseFormat.g.cs => tryAGI.OpenAI.Models.ResponseFormat3.g.cs} (86%) create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectResponseFormat.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectResponseFormat.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectToolChoice.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectToolChoice.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectTruncationStrategy.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectTruncationStrategy.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestExpiresAfter.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestExpiresAfter.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadFile.Json.g.cs create mode 100644 src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadFile.g.cs diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/AllOf.2.Json.g.cs similarity index 88% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat.Json.g.cs rename to src/libs/tryAGI.OpenAI/Generated/AllOf.2.Json.g.cs index 88adf2f4..3f40868c 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat.Json.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/AllOf.2.Json.g.cs @@ -2,7 +2,7 @@ namespace tryAGI.OpenAI { - public readonly partial struct ResponseFormat + public readonly partial struct AllOf { /// /// 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.ResponseFormat? FromJson( + public static global::tryAGI.OpenAI.AllOf? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::tryAGI.OpenAI.ResponseFormat), - jsonSerializerContext) as global::tryAGI.OpenAI.ResponseFormat?; + typeof(global::tryAGI.OpenAI.AllOf), + jsonSerializerContext) as global::tryAGI.OpenAI.AllOf?; } /// @@ -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.ResponseFormat? FromJson( + public static global::tryAGI.OpenAI.AllOf? 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.ResponseFormat), - jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ResponseFormat?; + typeof(global::tryAGI.OpenAI.AllOf), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.AllOf?; } /// @@ -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/AllOf.2.g.cs b/src/libs/tryAGI.OpenAI/Generated/AllOf.2.g.cs new file mode 100644 index 00000000..cbb2b899 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/AllOf.2.g.cs @@ -0,0 +1,213 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public readonly partial struct AllOf : global::System.IEquatable> + { + /// + /// + /// +#if NET6_0_OR_GREATER + public T1? Value1 { get; init; } +#else + public T1? 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 AllOf(T1 value) => new AllOf(value); + + /// + /// + /// + public static implicit operator T1?(AllOf @this) => @this.Value1; + + /// + /// + /// + public AllOf(T1? value) + { + Value1 = value; + } + + /// + /// + /// +#if NET6_0_OR_GREATER + public T2? Value2 { get; init; } +#else + public T2? 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 AllOf(T2 value) => new AllOf(value); + + /// + /// + /// + public static implicit operator T2?(AllOf @this) => @this.Value2; + + /// + /// + /// + public AllOf(T2? value) + { + Value2 = value; + } + + /// + /// + /// + public AllOf( + T1? value1, + T2? value2 + ) + { + Value1 = value1; + Value2 = value2; + } + + /// + /// + /// + public object? Object => + Value2 as object ?? + Value1 as object + ; + + /// + /// + /// + public bool Validate() + { + return 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(T1), + Value2, + typeof(T2), + }; + 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(AllOf 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 ==(AllOf obj1, AllOf obj2) + { + return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(AllOf obj1, AllOf obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is AllOf o && Equals(o); + } + } +} diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.AllOf2.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.AllOf2.g.cs new file mode 100644 index 00000000..7e4b3f91 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.AllOf2.g.cs @@ -0,0 +1,86 @@ +#nullable enable + +namespace tryAGI.OpenAI.JsonConverters +{ + /// + public class AllOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> + { + /// + public override global::tryAGI.OpenAI.AllOf 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; + T1? value1 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + readerCopy = reader; + T2? value2 = default; + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).Name}"); + value2 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + + var result = new global::tryAGI.OpenAI.AllOf( + value1, + value2 + ); + + if (value1 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + else if (value2 != null) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).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.AllOf 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(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); + } + else if (value.IsValue2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T2).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/JsonConverters.ResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.ResponseFormat3.g.cs similarity index 95% rename from src/libs/tryAGI.OpenAI/Generated/JsonConverters.ResponseFormat.g.cs rename to src/libs/tryAGI.OpenAI/Generated/JsonConverters.ResponseFormat3.g.cs index 23a6bce6..896a3da2 100644 --- a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.ResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.ResponseFormat3.g.cs @@ -4,10 +4,10 @@ namespace tryAGI.OpenAI.JsonConverters { /// - public class ResponseFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public class ResponseFormat3JsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::tryAGI.OpenAI.ResponseFormat Read( + public override global::tryAGI.OpenAI.ResponseFormat3 Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -43,7 +43,7 @@ public class ResponseFormatJsonConverter : global::System.Text.Json.Serializatio jsonSchema = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); } - var result = new global::tryAGI.OpenAI.ResponseFormat( + var result = new global::tryAGI.OpenAI.ResponseFormat3( discriminator?.Type, text, jsonObject, @@ -56,7 +56,7 @@ public class ResponseFormatJsonConverter : global::System.Text.Json.Serializatio /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::tryAGI.OpenAI.ResponseFormat value, + global::tryAGI.OpenAI.ResponseFormat3 value, global::System.Text.Json.JsonSerializerOptions options) { options = options ?? throw new global::System.ArgumentNullException(nameof(options)); diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContext.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContext.g.cs index 61013789..e857ce2d 100644 --- a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContext.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContext.g.cs @@ -968,7 +968,7 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ChunkingStrategyRequestParamJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ToolsItem2JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyJsonConverter), - typeof(global::tryAGI.OpenAI.JsonConverters.ResponseFormatJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.ResponseFormat3JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ContentVariant2ItemJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ToolsItem3JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.InputVariant3ItemJsonConverter), @@ -981,12 +981,17 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.ToolsItem7JsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.ResultItemJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeServerEventJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), 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), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter>), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter>), @@ -1014,8 +1019,14 @@ namespace tryAGI.OpenAI typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter, global::System.Collections.Generic.IList>), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.AnyOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), @@ -1026,11 +1037,14 @@ 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.AllOfJsonConverter), 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.AllOfJsonConverter), + typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), typeof(global::tryAGI.OpenAI.JsonConverters.OneOfJsonConverter), diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs index 7de7d479..84962ebd 100644 --- a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs @@ -158,4766 +158,4786 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? Type33 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type33 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum? Type34 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? Type34 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatText? Type35 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiResponseFormatOptionEnum? Type35 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatTextType? Type36 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatText? Type36 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonObject? Type37 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatTextType? Type37 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonObjectType? Type38 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonObject? Type38 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchema? Type39 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonObjectType? Type39 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaType? Type40 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchema? Type40 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema? Type41 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaType? Type41 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEvent? Type42 { get; set; } + public global::tryAGI.OpenAI.ResponseFormatJsonSchemaJsonSchema? Type42 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorEvent? Type43 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEvent? Type43 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorEventEvent? Type44 { get; set; } + public global::tryAGI.OpenAI.ErrorEvent? Type44 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Error? Type45 { get; set; } + public global::tryAGI.OpenAI.ErrorEventEvent? Type45 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEvent? Type46 { get; set; } + public global::tryAGI.OpenAI.Error? Type46 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEventEvent? Type47 { get; set; } + public global::tryAGI.OpenAI.DoneEvent? Type47 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DoneEventData? Type48 { get; set; } + public global::tryAGI.OpenAI.DoneEventEvent? Type48 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant3? Type49 { get; set; } + public global::tryAGI.OpenAI.DoneEventData? Type49 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant3Event? Type50 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant3? Type50 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObject? Type51 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant3Event? Type51 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectObject? Type52 { get; set; } + public global::tryAGI.OpenAI.ThreadObject? Type52 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResources? Type53 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectObject? Type53 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResourcesCodeInterpreter? Type54 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResources? Type54 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ThreadObjectToolResourcesFileSearch? Type55 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResourcesCodeInterpreter? Type55 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant4? Type56 { get; set; } + public global::tryAGI.OpenAI.ThreadObjectToolResourcesFileSearch? Type56 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant4Event? Type57 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant4? Type57 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObject? Type58 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant4Event? Type58 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectObject? Type59 { get; set; } + public global::tryAGI.OpenAI.RunObject? Type59 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectStatus? Type60 { get; set; } + public global::tryAGI.OpenAI.RunObjectObject? Type60 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredAction? Type61 { get; set; } + public global::tryAGI.OpenAI.RunObjectStatus? Type61 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredActionType? Type62 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredAction? Type62 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs? Type63 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredActionType? Type63 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type64 { get; set; } + public global::tryAGI.OpenAI.RunObjectRequiredActionSubmitToolOutputs? Type64 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObject? Type65 { get; set; } + public global::System.Collections.Generic.IList? Type65 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObjectType? Type66 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObject? Type66 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunToolCallObjectFunction? Type67 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObjectType? Type67 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectLastError? Type68 { get; set; } + public global::tryAGI.OpenAI.RunToolCallObjectFunction? Type68 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectLastErrorCode? Type69 { get; set; } + public global::tryAGI.OpenAI.RunObjectLastError? Type69 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectIncompleteDetails? Type70 { get; set; } + public global::tryAGI.OpenAI.RunObjectLastErrorCode? Type70 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectIncompleteDetailsReason? Type71 { get; set; } + public global::tryAGI.OpenAI.RunObjectIncompleteDetails? Type71 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type72 { get; set; } + public global::tryAGI.OpenAI.RunObjectIncompleteDetailsReason? Type72 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem8? Type73 { get; set; } + public global::System.Collections.Generic.IList? Type73 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectToolDiscriminator? Type74 { get; set; } + public global::tryAGI.OpenAI.ToolsItem8? Type74 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunObjectToolDiscriminatorType? Type75 { get; set; } + public global::tryAGI.OpenAI.RunObjectToolDiscriminator? Type75 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunCompletionUsage? Type76 { get; set; } + public global::tryAGI.OpenAI.RunObjectToolDiscriminatorType? Type76 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationObject? Type77 { get; set; } + public global::tryAGI.OpenAI.RunCompletionUsage? Type77 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TruncationObjectType? Type78 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type78 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? Type79 { get; set; } + public global::tryAGI.OpenAI.TruncationObject? Type79 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum? Type80 { get; set; } + public global::tryAGI.OpenAI.TruncationObjectType? Type80 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoice? Type81 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type81 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoiceType? Type82 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? Type82 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantsNamedToolChoiceFunction? Type83 { get; set; } + public global::tryAGI.OpenAI.AssistantsApiToolChoiceOptionEnum? Type83 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant5? Type84 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoice? Type84 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant5Event? Type85 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoiceType? Type85 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant6? Type86 { get; set; } + public global::tryAGI.OpenAI.AssistantsNamedToolChoiceFunction? Type86 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant6Event? Type87 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant5? Type87 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant7? Type88 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant5Event? Type88 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant7Event? Type89 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant6? Type89 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant8? Type90 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant6Event? Type90 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant8Event? Type91 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant7? Type91 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant9? Type92 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant7Event? Type92 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant9Event? Type93 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant8? Type93 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant10? Type94 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant8Event? Type94 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant10Event? Type95 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant9? Type95 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant11? Type96 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant9Event? Type96 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant11Event? Type97 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant10? Type97 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant12? Type98 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant10Event? Type98 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant12Event? Type99 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant11? Type99 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant13? Type100 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant11Event? Type100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant13Event? Type101 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant12? Type101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant14? Type102 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant12Event? Type102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant14Event? Type103 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant13? Type103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObject? Type104 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant13Event? Type104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectObject? Type105 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant14? Type105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectType? Type106 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant14Event? Type106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStatus? Type107 { get; set; } + public global::tryAGI.OpenAI.RunStepObject? Type107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStepDetails? Type108 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectObject? Type108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObject? Type109 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectType? Type109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType? Type110 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStatus? Type110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation? Type111 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStepDetails? Type111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObject? Type112 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObject? Type112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType? Type113 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectType? Type113 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type114 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsMessageCreationObjectMessageCreation? Type114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolCallsItem2? Type115 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObject? Type115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObject? Type116 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectType? Type116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType? Type117 { get; set; } + public global::System.Collections.Generic.IList? Type117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreter? Type118 { get; set; } + public global::tryAGI.OpenAI.ToolCallsItem2? Type118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type119 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObject? Type119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutput? Type120 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectType? Type120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObject? Type121 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreter? Type121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType? Type122 { get; set; } + public global::System.Collections.Generic.IList? Type122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObject? Type123 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutput? Type123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType? Type124 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObject? Type124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage? Type125 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputLogsObjectType? Type125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminator? Type126 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObject? Type126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminatorType? Type127 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectType? Type127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObject? Type128 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeOutputImageObjectImage? Type128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType? Type129 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminator? Type129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectFileSearch? Type130 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminatorType? Type130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObject? Type131 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObject? Type131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObjectRanker? Type132 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectType? Type132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type133 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchObjectFileSearch? Type133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObject? Type134 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObject? Type134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type135 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchRankingOptionsObjectRanker? Type135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItem? Type136 { get; set; } + public global::System.Collections.Generic.IList? Type136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItemType? Type137 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObject? Type137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObject? Type138 { get; set; } + public global::System.Collections.Generic.IList? Type138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType? Type139 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItem? Type139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectFunction? Type140 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentItemType? Type140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectToolCallDiscriminator? Type141 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObject? Type141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectToolCallDiscriminatorType? Type142 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectType? Type142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStepDetailsDiscriminator? Type143 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsFunctionObjectFunction? Type143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectStepDetailsDiscriminatorType? Type144 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectToolCallDiscriminator? Type144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectLastError? Type145 { get; set; } + public global::tryAGI.OpenAI.RunStepDetailsToolCallsObjectToolCallDiscriminatorType? Type145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepObjectLastErrorCode? Type146 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStepDetailsDiscriminator? Type146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepCompletionUsage? Type147 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectStepDetailsDiscriminatorType? Type147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant15? Type148 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectLastError? Type148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant15Event? Type149 { get; set; } + public global::tryAGI.OpenAI.RunStepObjectLastErrorCode? Type149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant16? Type150 { get; set; } + public global::tryAGI.OpenAI.RunStepCompletionUsage? Type150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant16Event? Type151 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant15? Type151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObject? Type152 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant15Event? Type152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectObject? Type153 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant16? Type153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDelta? Type154 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant16Event? Type154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetails? Type155 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObject? Type155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObject? Type156 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectObject? Type156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectType? Type157 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDelta? Type157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectMessageCreation? Type158 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetails? Type158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObject? Type159 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObject? Type159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectType? Type160 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectType? Type160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type161 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsMessageCreationObjectMessageCreation? Type161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolCallsItem? Type162 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObject? Type162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject? Type163 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectType? Type163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectType? Type164 { get; set; } + public global::System.Collections.Generic.IList? Type164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? Type165 { get; set; } + public global::tryAGI.OpenAI.ToolCallsItem? Type165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type166 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject? Type166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutput? Type167 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectType? Type167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject? Type168 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? Type168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObjectType? Type169 { get; set; } + public global::System.Collections.Generic.IList? Type169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject? Type170 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutput? Type170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectType? Type171 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject? Type171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage? Type172 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObjectType? Type172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminator? Type173 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject? Type173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminatorType? Type174 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectType? Type174 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject? Type175 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage? Type175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType? Type176 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminator? Type176 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject? Type177 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputDiscriminatorType? Type177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectType? Type178 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject? Type178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectFunction? Type179 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObjectType? Type179 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallDiscriminator? Type180 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject? Type180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallDiscriminatorType? Type181 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectType? Type181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetailsDiscriminator? Type182 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObjectFunction? Type182 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetailsDiscriminatorType? Type183 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallDiscriminator? Type183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant17? Type184 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallDiscriminatorType? Type184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant17Event? Type185 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetailsDiscriminator? Type185 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant18? Type186 { get; set; } + public global::tryAGI.OpenAI.RunStepDeltaObjectDeltaStepDetailsDiscriminatorType? Type186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant18Event? Type187 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant17? Type187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant19? Type188 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant17Event? Type188 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant19Event? Type189 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant18? Type189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant20? Type190 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant18Event? Type190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant20Event? Type191 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant19? Type191 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant21? Type192 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant19Event? Type192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant21Event? Type193 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant20? Type193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObject? Type194 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant20Event? Type194 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectObject? Type195 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant21? Type195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectStatus? Type196 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant21Event? Type196 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectIncompleteDetails? Type197 { get; set; } + public global::tryAGI.OpenAI.MessageObject? Type197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectIncompleteDetailsReason? Type198 { get; set; } + public global::tryAGI.OpenAI.MessageObjectObject? Type198 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectRole? Type199 { get; set; } + public global::tryAGI.OpenAI.MessageObjectStatus? Type199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type200 { get; set; } + public global::tryAGI.OpenAI.MessageObjectIncompleteDetails? Type200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem2? Type201 { get; set; } + public global::tryAGI.OpenAI.MessageObjectIncompleteDetailsReason? Type201 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObject? Type202 { get; set; } + public global::tryAGI.OpenAI.MessageObjectRole? Type202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectType? Type203 { get; set; } + public global::System.Collections.Generic.IList? Type203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile? Type204 { get; set; } + public global::tryAGI.OpenAI.ContentItem2? Type204 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFileDetail? Type205 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObject? Type205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObject? Type206 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectType? Type206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectType? Type207 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile? Type207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl? Type208 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageFileObjectImageFileDetail? Type208 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrlDetail? Type209 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObject? Type209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObject? Type210 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectType? Type210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectType? Type211 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl? Type211 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectText? Type212 { get; set; } + public global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrlDetail? Type212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type213 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObject? Type213 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem? Type214 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectType? Type214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObject? Type215 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectText? Type215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType? Type216 { get; set; } + public global::System.Collections.Generic.IList? Type216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectFileCitation? Type217 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem? Type217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObject? Type218 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObject? Type218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType? Type219 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType? Type219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectFilePath? Type220 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectFileCitation? Type220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectTextAnnotationDiscriminator? Type221 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObject? Type221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentTextObjectTextAnnotationDiscriminatorType? Type222 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType? Type222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentRefusalObject? Type223 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectFilePath? Type223 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageContentRefusalObjectType? Type224 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectTextAnnotationDiscriminator? Type224 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectContentItemDiscriminator? Type225 { get; set; } + public global::tryAGI.OpenAI.MessageContentTextObjectTextAnnotationDiscriminatorType? Type225 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectContentItemDiscriminatorType? Type226 { get; set; } + public global::tryAGI.OpenAI.MessageContentRefusalObject? Type226 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type227 { get; set; } + public global::tryAGI.OpenAI.MessageContentRefusalObjectType? Type227 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectAttachment? Type228 { get; set; } + public global::tryAGI.OpenAI.MessageObjectContentItemDiscriminator? Type228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type229 { get; set; } + public global::tryAGI.OpenAI.MessageObjectContentItemDiscriminatorType? Type229 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem6? Type230 { get; set; } + public global::System.Collections.Generic.IList? Type230 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnly? Type231 { get; set; } + public global::tryAGI.OpenAI.MessageObjectAttachment? Type231 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType? Type232 { get; set; } + public global::System.Collections.Generic.IList? Type232 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectAttachmentToolDiscriminator? Type233 { get; set; } + public global::tryAGI.OpenAI.ToolsItem6? Type233 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageObjectAttachmentToolDiscriminatorType? Type234 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnly? Type234 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant22? Type235 { get; set; } + public global::tryAGI.OpenAI.AssistantToolsFileSearchTypeOnlyType? Type235 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant22Event? Type236 { get; set; } + public global::tryAGI.OpenAI.MessageObjectAttachmentToolDiscriminator? Type236 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant23? Type237 { get; set; } + public global::tryAGI.OpenAI.MessageObjectAttachmentToolDiscriminatorType? Type237 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant23Event? Type238 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant22? Type238 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObject? Type239 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant22Event? Type239 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectObject? Type240 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant23? Type240 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDelta? Type241 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant23Event? Type241 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDeltaRole? Type242 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObject? Type242 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type243 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectObject? Type243 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentItem? Type244 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDelta? Type244 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObject? Type245 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDeltaRole? Type245 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectType? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFile? Type247 { get; set; } + public global::tryAGI.OpenAI.ContentItem? Type247 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFileDetail? Type248 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObject? Type248 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObject? Type249 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectType? Type249 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectType? Type250 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFile? Type250 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectText? Type251 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageFileObjectImageFileDetail? Type251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type252 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObject? Type252 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnnotationsItem2? Type253 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectType? Type253 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject? Type254 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectText? Type254 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectType? Type255 { get; set; } + public global::System.Collections.Generic.IList? Type255 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation? Type256 { get; set; } + public global::tryAGI.OpenAI.AnnotationsItem2? Type256 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObject? Type257 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject? Type257 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectType? Type258 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectType? Type258 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectFilePath? Type259 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation? Type259 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectTextAnnotationDiscriminator? Type260 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObject? Type260 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentTextObjectTextAnnotationDiscriminatorType? Type261 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectType? Type261 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentRefusalObject? Type262 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextAnnotationsFilePathObjectFilePath? Type262 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentRefusalObjectType? Type263 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectTextAnnotationDiscriminator? Type263 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObject? Type264 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentTextObjectTextAnnotationDiscriminatorType? Type264 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectType? Type265 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentRefusalObject? Type265 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrl? Type266 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentRefusalObjectType? Type266 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrlDetail? Type267 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObject? Type267 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDeltaContentItemDiscriminator? Type268 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectType? Type268 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageDeltaObjectDeltaContentItemDiscriminatorType? Type269 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrl? Type269 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant24? Type270 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaContentImageUrlObjectImageUrlDetail? Type270 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant24Event? Type271 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDeltaContentItemDiscriminator? Type271 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant25? Type272 { get; set; } + public global::tryAGI.OpenAI.MessageDeltaObjectDeltaContentItemDiscriminatorType? Type272 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventVariant25Event? Type273 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant24? Type273 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventDiscriminator? Type274 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant24Event? Type274 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AssistantStreamEventDiscriminatorEvent? Type275 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant25? Type275 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AudioResponseFormat? Type276 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventVariant25Event? Type276 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLog? Type277 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventDiscriminator? Type277 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogEventType? Type278 { get; set; } + public global::tryAGI.OpenAI.AssistantStreamEventDiscriminatorEvent? Type278 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProject? Type279 { get; set; } + public global::tryAGI.OpenAI.AudioResponseFormat? Type279 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActor? Type280 { get; set; } + public global::tryAGI.OpenAI.AuditLog? Type280 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorType? Type281 { get; set; } + public global::tryAGI.OpenAI.AuditLogEventType? Type281 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorSession? Type282 { get; set; } + public global::tryAGI.OpenAI.AuditLogProject? Type282 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorUser? Type283 { get; set; } + public global::tryAGI.OpenAI.AuditLogActor? Type283 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorApiKey? Type284 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorType? Type284 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type285 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorSession? Type285 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type286 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorUser? Type286 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyCreated? Type287 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorApiKey? Type287 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyCreatedData? Type288 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorApiKeyType? Type288 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyUpdated? Type289 { get; set; } + public global::tryAGI.OpenAI.AuditLogActorServiceAccount? Type289 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyUpdatedChangesRequested? Type290 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyCreated? Type290 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogApiKeyDeleted? Type291 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyCreatedData? Type291 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteSent? Type292 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyUpdated? Type292 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteSentData? Type293 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyUpdatedChangesRequested? Type293 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteAccepted? Type294 { get; set; } + public global::tryAGI.OpenAI.AuditLogApiKeyDeleted? Type294 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogInviteDeleted? Type295 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteSent? Type295 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogLoginFailed? Type296 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteSentData? Type296 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogLogoutFailed? Type297 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteAccepted? Type297 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogOrganizationUpdated? Type298 { get; set; } + public global::tryAGI.OpenAI.AuditLogInviteDeleted? Type298 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequested? Type299 { get; set; } + public global::tryAGI.OpenAI.AuditLogLoginFailed? Type299 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequestedSettings? Type300 { get; set; } + public global::tryAGI.OpenAI.AuditLogLogoutFailed? Type300 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectCreated? Type301 { get; set; } + public global::tryAGI.OpenAI.AuditLogOrganizationUpdated? Type301 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectCreatedData? Type302 { get; set; } + public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequested? Type302 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectUpdated? Type303 { get; set; } + public global::tryAGI.OpenAI.AuditLogOrganizationUpdatedChangesRequestedSettings? Type303 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectUpdatedChangesRequested? Type304 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectCreated? Type304 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogProjectArchived? Type305 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectCreatedData? Type305 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitUpdated? Type306 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectUpdated? Type306 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type307 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectUpdatedChangesRequested? Type307 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogRateLimitDeleted? Type308 { get; set; } + public global::tryAGI.OpenAI.AuditLogProjectArchived? Type308 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountCreated? Type309 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitUpdated? Type309 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountCreatedData? Type310 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitUpdatedChangesRequested? Type310 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountUpdated? Type311 { get; set; } + public global::tryAGI.OpenAI.AuditLogRateLimitDeleted? Type311 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type312 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountCreated? Type312 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogServiceAccountDeleted? Type313 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountCreatedData? Type313 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserAdded? Type314 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountUpdated? Type314 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserAddedData? Type315 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountUpdatedChangesRequested? Type315 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserUpdated? Type316 { get; set; } + public global::tryAGI.OpenAI.AuditLogServiceAccountDeleted? Type316 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type317 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserAdded? Type317 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AuditLogUserDeleted? Type318 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserAddedData? Type318 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type319 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserUpdated? Type319 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type320 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserUpdatedChangesRequested? Type320 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Batch? Type321 { get; set; } + public global::tryAGI.OpenAI.AuditLogUserDeleted? Type321 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchObject? Type322 { get; set; } + public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParam? Type322 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchErrors? Type323 { get; set; } + public global::tryAGI.OpenAI.AutoChunkingStrategyRequestParamType? Type323 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type324 { get; set; } + public global::tryAGI.OpenAI.Batch? Type324 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchErrorsDataItem? Type325 { get; set; } + public global::tryAGI.OpenAI.BatchObject? Type325 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchStatus? Type326 { get; set; } + public global::tryAGI.OpenAI.BatchErrors? Type326 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestCounts? Type327 { get; set; } + public global::System.Collections.Generic.IList? Type327 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestInput? Type328 { get; set; } + public global::tryAGI.OpenAI.BatchErrorsDataItem? Type328 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestInputMethod? Type329 { get; set; } + public global::tryAGI.OpenAI.BatchStatus? Type329 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestOutput? Type330 { get; set; } + public global::tryAGI.OpenAI.BatchRequestCounts? Type330 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestOutputResponse? Type331 { get; set; } + public global::tryAGI.OpenAI.BatchRequestInput? Type331 { get; set; } /// /// /// - public global::tryAGI.OpenAI.BatchRequestOutputError? Type332 { get; set; } + public global::tryAGI.OpenAI.BatchRequestInputMethod? Type332 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CancelUploadRequest? Type333 { get; set; } + public global::tryAGI.OpenAI.BatchRequestOutput? Type333 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionFunctionCallOption? Type334 { get; set; } + public global::tryAGI.OpenAI.BatchRequestOutputResponse? Type334 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionFunctions? Type335 { get; set; } + public global::tryAGI.OpenAI.BatchRequestOutputError? Type335 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCall? Type336 { get; set; } + public global::tryAGI.OpenAI.CancelUploadRequest? Type336 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallType? Type337 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionFunctionCallOption? Type337 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallFunction? Type338 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionFunctions? Type338 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunk? Type339 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCall? Type339 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkType? Type340 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallType? Type340 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkFunction? Type341 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallFunction? Type341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type342 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunk? Type342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type343 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkType? Type343 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionModalitie? Type344 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionMessageToolCallChunkFunction? Type344 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoice? Type345 { get; set; } + public global::System.Collections.Generic.IList? Type345 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType? Type346 { get; set; } + public global::System.Collections.Generic.IList? Type346 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceFunction? Type347 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionModalitie? Type347 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessage? Type348 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoice? Type348 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type349 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType? Type349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type350 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceFunction? Type350 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPart? Type351 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessage? Type351 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartText? Type352 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type352 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartTextType? Type353 { get; set; } + public global::System.Collections.Generic.IList? Type353 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusal? Type354 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPart? Type354 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusalType? Type355 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartText? Type355 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminator? Type356 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartTextType? Type356 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminatorType? Type357 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusal? Type357 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageRole? Type358 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusalType? Type358 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageAudio? Type359 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminator? Type359 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageFunctionCall? Type360 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPartDiscriminatorType? Type360 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessage? Type361 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageRole? Type361 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type362 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageAudio? Type362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type363 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageFunctionCall? Type363 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessageRole? Type364 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessage? Type364 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessage? Type365 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type365 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessageRole? Type366 { get; set; } + public global::System.Collections.Generic.IList? Type366 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessage? Type367 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestDeveloperMessageRole? Type367 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessage? Type368 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessage? Type368 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type369 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessageRole? Type369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type370 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessage? Type370 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageContentPart? Type371 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessage? Type371 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageRole? Type372 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type372 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessage? Type373 { get; set; } + public global::System.Collections.Generic.IList? Type373 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type374 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageContentPart? Type374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type375 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageRole? Type375 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPart? Type376 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessage? Type376 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImage? Type377 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type377 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageType? Type378 { get; set; } + public global::System.Collections.Generic.IList? Type378 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl? Type379 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPart? Type379 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrlDetail? Type380 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImage? Type380 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudio? Type381 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageType? Type381 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioType? Type382 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl? Type382 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio? Type383 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrlDetail? Type383 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudioFormat? Type384 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudio? Type384 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminator? Type385 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioType? Type385 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminatorType? Type386 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio? Type386 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageRole? Type387 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudioFormat? Type387 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessage? Type388 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminator? Type388 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageRole? Type389 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPartDiscriminatorType? Type389 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type390 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestUserMessageRole? Type390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type391 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessage? Type391 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageContentPart? Type392 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageRole? Type392 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminator? Type393 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type393 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminatorRole? Type394 { get; set; } + public global::System.Collections.Generic.IList? Type394 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessage? Type395 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestToolMessageContentPart? Type395 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageRole? Type396 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminator? Type396 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageFunctionCall? Type397 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRequestMessageDiscriminatorRole? Type397 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionResponseMessageAudio? Type398 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessage? Type398 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionRole? Type399 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageRole? Type399 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamOptions? Type400 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageFunctionCall? Type400 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDelta? Type401 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionResponseMessageAudio? Type401 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaFunctionCall? Type402 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionRole? Type402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type403 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamOptions? Type403 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaRole? Type404 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDelta? Type404 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTokenLogprob? Type405 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaFunctionCall? Type405 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type407 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionStreamResponseDeltaRole? Type407 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTokenLogprobTopLogprob? Type408 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTokenLogprob? Type408 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionTool? Type409 { get; set; } + public global::System.Collections.Generic.IList? Type409 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolType? Type410 { get; set; } + public global::System.Collections.Generic.IList? Type410 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolChoiceOption? Type411 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTokenLogprobTopLogprob? Type411 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChatCompletionToolChoiceOptionEnum? Type412 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionTool? Type412 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParam? Type413 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolType? Type413 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParam? Type414 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolChoiceOption? Type414 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType? Type415 { get; set; } + public global::tryAGI.OpenAI.ChatCompletionToolChoiceOptionEnum? Type415 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategy? Type416 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParam? Type416 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminator? Type417 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParam? Type417 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminatorType? Type418 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyRequestParamType? Type418 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompleteUploadRequest? Type419 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategy? Type419 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsage? Type420 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminator? Type420 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsageCompletionTokensDetails? Type421 { get; set; } + public global::tryAGI.OpenAI.ChunkingStrategyRequestParamDiscriminatorType? Type421 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CompletionUsagePromptTokensDetails? Type422 { get; set; } + public global::tryAGI.OpenAI.CompleteUploadRequest? Type422 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResult? Type423 { get; set; } + public global::tryAGI.OpenAI.CompletionUsage? Type423 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResultObject? Type424 { get; set; } + public global::tryAGI.OpenAI.CompletionUsageCompletionTokensDetails? Type424 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CostsResultAmount? Type425 { get; set; } + public global::tryAGI.OpenAI.CompletionUsagePromptTokensDetails? Type425 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequest? Type426 { get; set; } + public global::tryAGI.OpenAI.CostsResult? Type426 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type427 { get; set; } + public global::tryAGI.OpenAI.CostsResultObject? Type427 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestModel? Type428 { get; set; } + public global::tryAGI.OpenAI.CostsResultAmount? Type428 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type429 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequest? Type429 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem2? Type430 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type430 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolDiscriminator? Type431 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestModel? Type431 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolDiscriminatorType? Type432 { get; set; } + public global::System.Collections.Generic.IList? Type432 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResources? Type433 { get; set; } + public global::tryAGI.OpenAI.ToolsItem2? Type433 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type434 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolDiscriminator? Type434 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type435 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolDiscriminatorType? Type435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type436 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResources? Type436 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type437 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesCodeInterpreter? Type437 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type438 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearch? Type438 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type439 { get; set; } + public global::System.Collections.Generic.IList? Type439 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type440 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStore? Type440 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type441 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type441 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type442 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type442 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type443 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type443 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type444 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type444 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type445 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type445 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponse? Type446 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type447 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type447 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseChoice? Type448 { get; set; } + public global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type448 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseChoiceFinishReason? Type449 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponse? Type449 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseObject? Type450 { get; set; } + public global::System.Collections.Generic.IList? Type450 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequest? Type451 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseChoice? Type451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type452 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseChoiceFinishReason? Type452 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type453 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionFunctionResponseObject? Type453 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestModel? Type454 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequest? Type454 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestReasoningEffort? Type455 { get; set; } + public global::System.Collections.Generic.IList? Type455 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type456 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type456 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type457 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestModel? Type457 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PredictionContent? Type458 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestReasoningEffort? Type458 { get; set; } /// /// /// - public global::tryAGI.OpenAI.PredictionContentType? Type459 { get; set; } + public global::System.Collections.Generic.Dictionary? Type459 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestAudio? Type460 { get; set; } + public global::System.Collections.Generic.Dictionary? Type460 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestAudioVoice? Type461 { get; set; } + public global::tryAGI.OpenAI.PredictionContent? Type461 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestAudioFormat? Type462 { get; set; } + public global::tryAGI.OpenAI.PredictionContentType? Type462 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResponseFormat? Type463 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestAudio? Type463 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestResponseFormatDiscriminator? Type464 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestAudioVoice? Type464 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestResponseFormatDiscriminatorType? Type465 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestAudioFormat? Type465 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestServiceTier? Type466 { get; set; } + public global::tryAGI.OpenAI.ResponseFormat3? Type466 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type467 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestResponseFormatDiscriminator? Type467 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type468 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestResponseFormatDiscriminatorType? Type468 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type469 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestServiceTier? Type469 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionRequestFunctionCall? Type470 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type470 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type471 { get; set; } + public global::System.Collections.Generic.IList? Type471 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponse? Type472 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type472 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type473 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionRequestFunctionCall? Type473 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseChoice? Type474 { get; set; } + public global::System.Collections.Generic.IList? Type474 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseChoiceFinishReason? Type475 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponse? Type475 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseChoiceLogprobs? Type476 { get; set; } + public global::System.Collections.Generic.IList? Type476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type477 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseChoice? Type477 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseServiceTier? Type478 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseChoiceFinishReason? Type478 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionResponseObject? Type479 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseChoiceLogprobs? Type479 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponse? Type480 { get; set; } + public global::System.Collections.Generic.IList? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseServiceTier? Type481 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoice? Type482 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionResponseObject? Type482 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceLogprobs? Type483 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponse? Type483 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? Type484 { get; set; } + public global::System.Collections.Generic.IList? Type484 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseServiceTier? Type485 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoice? Type485 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseObject? Type486 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceLogprobs? Type486 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseUsage? Type487 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? Type487 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionRequest? Type488 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseServiceTier? Type488 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type489 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseObject? Type489 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionRequestModel? Type490 { get; set; } + public global::tryAGI.OpenAI.CreateChatCompletionStreamResponseUsage? Type490 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? Type491 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionRequest? Type491 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type492 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type492 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponse? Type493 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionRequestModel? Type493 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type494 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>>? Type494 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoice? Type495 { get; set; } + public global::System.Collections.Generic.IList>? Type495 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoiceFinishReason? Type496 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponse? Type496 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseChoiceLogprobs? Type497 { get; set; } + public global::System.Collections.Generic.IList? Type497 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type498 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoice? Type498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type499 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoiceFinishReason? Type499 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type500 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseChoiceLogprobs? Type500 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateCompletionResponseObject? Type501 { get; set; } + public global::System.Collections.Generic.IList? Type501 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequest? Type502 { get; set; } + public global::System.Collections.Generic.IList>? Type502 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type503 { get; set; } + public global::System.Collections.Generic.Dictionary? Type503 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequestModel? Type504 { get; set; } + public global::tryAGI.OpenAI.CreateCompletionResponseObject? Type504 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingRequestEncodingFormat? Type505 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequest? Type505 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponse? Type506 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type506 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type507 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequestModel? Type507 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Embedding? Type508 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingRequestEncodingFormat? Type508 { get; set; } /// /// /// - public global::tryAGI.OpenAI.EmbeddingObject? Type509 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponse? Type509 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponseObject? Type510 { get; set; } + public global::System.Collections.Generic.IList? Type510 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateEmbeddingResponseUsage? Type511 { get; set; } + public global::tryAGI.OpenAI.Embedding? Type511 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFileRequest? Type512 { get; set; } + public global::tryAGI.OpenAI.EmbeddingObject? Type512 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFileRequestPurpose? Type513 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponseObject? Type513 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequest? Type514 { get; set; } + public global::tryAGI.OpenAI.CreateEmbeddingResponseUsage? Type514 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type515 { get; set; } + public global::tryAGI.OpenAI.CreateFileRequest? Type515 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestModel? Type516 { get; set; } + public global::tryAGI.OpenAI.CreateFileRequestPurpose? Type516 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparameters? Type517 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequest? Type517 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type518 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type518 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersBatchSize? Type519 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestModel? Type519 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type520 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparameters? Type520 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplier? Type521 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type521 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type522 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersBatchSize? Type522 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersNEpochs? Type523 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplier? Type524 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegration? Type525 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type525 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationType? Type526 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestHyperparametersNEpochs? Type526 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationWandb? Type527 { get; set; } + public global::System.Collections.Generic.IList? Type527 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneMethod? Type528 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegration? Type528 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneMethodType? Type529 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationType? Type529 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedMethod? Type530 { get; set; } + public global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationWandb? Type530 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedMethodHyperparameters? Type531 { get; set; } + public global::tryAGI.OpenAI.FineTuneMethod? Type531 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type532 { get; set; } + public global::tryAGI.OpenAI.FineTuneMethodType? Type532 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedMethodHyperparametersBatchSize? Type533 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedMethod? Type533 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type534 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedMethodHyperparameters? Type534 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedMethodHyperparametersLearningRateMultiplier? Type535 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type535 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type536 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedMethodHyperparametersBatchSize? Type536 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneSupervisedMethodHyperparametersNEpochs? Type537 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type537 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOMethod? Type538 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedMethodHyperparametersLearningRateMultiplier? Type538 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparameters? Type539 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type539 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type540 { get; set; } + public global::tryAGI.OpenAI.FineTuneSupervisedMethodHyperparametersNEpochs? Type540 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparametersBeta? Type541 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOMethod? Type541 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type542 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparameters? Type542 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparametersBatchSize? Type543 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type543 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type544 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparametersBeta? Type544 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparametersLearningRateMultiplier? Type545 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type545 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type546 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparametersBatchSize? Type546 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparametersNEpochs? Type547 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type547 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequest? Type548 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparametersLearningRateMultiplier? Type548 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type549 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type549 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestModel? Type550 { get; set; } + public global::tryAGI.OpenAI.FineTuneDPOMethodHyperparametersNEpochs? Type550 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestSize? Type551 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequest? Type551 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageEditRequestResponseFormat? Type552 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type552 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequest? Type553 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestModel? Type553 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type554 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestSize? Type554 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestModel? Type555 { get; set; } + public global::tryAGI.OpenAI.CreateImageEditRequestResponseFormat? Type555 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestQuality? Type556 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequest? Type556 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestResponseFormat? Type557 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type557 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestSize? Type558 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestModel? Type558 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageRequestStyle? Type559 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestQuality? Type559 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequest? Type560 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestResponseFormat? Type560 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type561 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestSize? Type561 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestModel? Type562 { get; set; } + public global::tryAGI.OpenAI.CreateImageRequestStyle? Type562 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestResponseFormat? Type563 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequest? Type563 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateImageVariationRequestSize? Type564 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type564 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequest? Type565 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestModel? Type565 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestRole? Type566 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestResponseFormat? Type566 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf>? Type567 { get; set; } + public global::tryAGI.OpenAI.CreateImageVariationRequestSize? Type567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type568 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequest? Type568 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ContentVariant2Item? Type569 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestRole? Type569 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRequestContentTextObject? Type570 { get; set; } + public global::tryAGI.OpenAI.OneOf>? Type570 { get; set; } /// /// /// - public global::tryAGI.OpenAI.MessageRequestContentTextObjectType? Type571 { get; set; } + public global::System.Collections.Generic.IList? Type571 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestContentVariant2ItemDiscriminator? Type572 { get; set; } + public global::tryAGI.OpenAI.ContentVariant2Item? Type572 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestContentVariant2ItemDiscriminatorType? Type573 { get; set; } + public global::tryAGI.OpenAI.MessageRequestContentTextObject? Type573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type574 { get; set; } + public global::tryAGI.OpenAI.MessageRequestContentTextObjectType? Type574 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestAttachment? Type575 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestContentVariant2ItemDiscriminator? Type575 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type576 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestContentVariant2ItemDiscriminatorType? Type576 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem3? Type577 { get; set; } + public global::System.Collections.Generic.IList? Type577 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestAttachmentToolDiscriminator? Type578 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestAttachment? Type578 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateMessageRequestAttachmentToolDiscriminatorType? Type579 { get; set; } + public global::System.Collections.Generic.IList? Type579 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequest? Type580 { get; set; } + public global::tryAGI.OpenAI.ToolsItem3? Type580 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>? Type581 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestAttachmentToolDiscriminator? Type581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type582 { get; set; } + public global::tryAGI.OpenAI.CreateMessageRequestAttachmentToolDiscriminatorType? Type582 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InputVariant3Item? Type583 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequest? Type583 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1? Type584 { get; set; } + public global::tryAGI.OpenAI.OneOf, global::System.Collections.Generic.IList>? Type584 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type? Type585 { get; set; } + public global::System.Collections.Generic.IList? Type585 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl? Type586 { get; set; } + public global::tryAGI.OpenAI.InputVariant3Item? Type586 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2? Type587 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1? Type587 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type? Type588 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type? Type588 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemDiscriminator? Type589 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl? Type589 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemDiscriminatorType? Type590 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2? Type590 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type591 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type? Type591 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationRequestModel? Type592 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemDiscriminator? Type592 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponse? Type593 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemDiscriminatorType? Type593 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type594 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type594 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResult? Type595 { get; set; } + public global::tryAGI.OpenAI.CreateModerationRequestModel? Type595 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategories? Type596 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponse? Type596 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryScores? Type597 { get; set; } + public global::System.Collections.Generic.IList? Type597 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypes? Type598 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResult? Type598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type599 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategories? Type599 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateItem? Type600 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryScores? Type600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type601 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypes? Type601 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateThreateningItem? Type602 { get; set; } + public global::System.Collections.Generic.IList? Type602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type603 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateItem? Type603 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentItem? Type604 { get; set; } + public global::System.Collections.Generic.IList? Type604 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type605 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHateThreateningItem? Type605 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentThreateningItem? Type606 { get; set; } + public global::System.Collections.Generic.IList? Type606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type607 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentItem? Type607 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitItem? Type608 { get; set; } + public global::System.Collections.Generic.IList? Type608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type609 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesHarassmentThreateningItem? Type609 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitViolentItem? Type610 { get; set; } + public global::System.Collections.Generic.IList? Type610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type611 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitItem? Type611 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem? Type612 { get; set; } + public global::System.Collections.Generic.IList? Type612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type613 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesIllicitViolentItem? Type613 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem? Type614 { get; set; } + public global::System.Collections.Generic.IList? Type614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type615 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmItem? Type615 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction? Type616 { get; set; } + public global::System.Collections.Generic.IList? Type616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type617 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntentItem? Type617 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type619 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction? Type619 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualMinor? Type620 { get; set; } + public global::System.Collections.Generic.IList? Type620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type621 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualItem? Type621 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem? Type622 { get; set; } + public global::System.Collections.Generic.IList? Type622 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type623 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesSexualMinor? Type623 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem? Type624 { get; set; } + public global::System.Collections.Generic.IList? Type624 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunRequest? Type625 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceItem? Type625 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type626 { get; set; } + public global::System.Collections.Generic.IList? Type626 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunRequestModel? Type627 { get; set; } + public global::tryAGI.OpenAI.CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphicItem? Type627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type628 { get; set; } + public global::tryAGI.OpenAI.CreateRunRequest? Type628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type629 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type629 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem4? Type630 { get; set; } + public global::tryAGI.OpenAI.CreateRunRequestModel? Type630 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunRequestToolDiscriminator? Type631 { get; set; } + public global::System.Collections.Generic.IList? Type631 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunRequestToolDiscriminatorType? Type632 { get; set; } + public global::System.Collections.Generic.IList? Type632 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequest? Type633 { get; set; } + public global::tryAGI.OpenAI.ToolsItem4? Type633 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type634 { get; set; } + public global::tryAGI.OpenAI.CreateRunRequestToolDiscriminator? Type634 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequestModel? Type635 { get; set; } + public global::tryAGI.OpenAI.CreateRunRequestToolDiscriminatorType? Type635 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequestVoice? Type636 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequest? Type636 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? Type637 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type637 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequest? Type638 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestModel? Type638 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequest? Type639 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestVoice? Type639 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResources? Type640 { get; set; } + public global::tryAGI.OpenAI.CreateSpeechRequestResponseFormat? Type640 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesCodeInterpreter? Type641 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequest? Type641 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearch? Type642 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequest? Type642 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type643 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResources? Type643 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStore? Type644 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesCodeInterpreter? Type644 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type645 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearch? Type645 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type646 { get; set; } + public global::System.Collections.Generic.IList? Type646 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type647 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStore? Type647 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type648 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategy? Type648 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type649 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1? Type649 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type650 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1Type? Type650 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type651 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2? Type651 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type652 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Type? Type652 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type653 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2Static? Type653 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestModel? Type654 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminator? Type654 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type655 { get; set; } + public global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyDiscriminatorType? Type655 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem5? Type656 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type656 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolDiscriminator? Type657 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestModel? Type657 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolDiscriminatorType? Type658 { get; set; } + public global::System.Collections.Generic.IList? Type658 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? Type659 { get; set; } + public global::tryAGI.OpenAI.ToolsItem5? Type659 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesCodeInterpreter? Type660 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolDiscriminator? Type660 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesFileSearch? Type661 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolDiscriminatorType? Type661 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequest? Type662 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? Type662 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type663 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesCodeInterpreter? Type663 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequestModel? Type664 { get; set; } + public global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResourcesFileSearch? Type664 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type665 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequest? Type665 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionRequestTimestampGranularitie? Type666 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type666 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseJson? Type667 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequestModel? Type667 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranscriptionResponseVerboseJson? Type668 { get; set; } + public global::System.Collections.Generic.IList? Type668 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type669 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionRequestTimestampGranularitie? Type669 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionWord? Type670 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseJson? Type670 { get; set; } /// /// /// - public float? Type671 { get; set; } + public global::tryAGI.OpenAI.CreateTranscriptionResponseVerboseJson? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::System.Collections.Generic.IList? Type672 { get; set; } /// /// /// - public global::tryAGI.OpenAI.TranscriptionSegment? Type673 { get; set; } + public global::tryAGI.OpenAI.TranscriptionWord? Type673 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationRequest? Type674 { get; set; } + public float? Type674 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AnyOf? Type675 { get; set; } + public global::System.Collections.Generic.IList? Type675 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationRequestModel? Type676 { get; set; } + public global::tryAGI.OpenAI.TranscriptionSegment? Type676 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationResponseJson? Type677 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationRequest? Type677 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateTranslationResponseVerboseJson? Type678 { get; set; } + public global::tryAGI.OpenAI.AnyOf? Type678 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateUploadRequest? Type679 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationRequestModel? Type679 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateUploadRequestPurpose? Type680 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationResponseJson? Type680 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreFileBatchRequest? Type681 { get; set; } + public global::tryAGI.OpenAI.CreateTranslationResponseVerboseJson? Type681 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreFileRequest? Type682 { get; set; } + public global::tryAGI.OpenAI.CreateUploadRequest? Type682 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreRequest? Type683 { get; set; } + public global::tryAGI.OpenAI.CreateUploadRequestPurpose? Type683 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreExpirationAfter? Type684 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreFileBatchRequest? Type684 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor? Type685 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreFileRequest? Type685 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategy? Type686 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreRequest? Type686 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategyDiscriminator? Type687 { get; set; } + public global::tryAGI.OpenAI.VectorStoreExpirationAfter? Type687 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategyDiscriminatorType? Type688 { get; set; } + public global::tryAGI.OpenAI.VectorStoreExpirationAfterAnchor? Type688 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DefaultProjectErrorResponse? Type689 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategy? Type689 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteAssistantResponse? Type690 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategyDiscriminator? Type690 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteAssistantResponseObject? Type691 { get; set; } + public global::tryAGI.OpenAI.CreateVectorStoreRequestChunkingStrategyDiscriminatorType? Type691 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFileResponse? Type692 { get; set; } + public global::tryAGI.OpenAI.DefaultProjectErrorResponse? Type692 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteFileResponseObject? Type693 { get; set; } + public global::tryAGI.OpenAI.DeleteAssistantResponse? Type693 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteMessageResponse? Type694 { get; set; } + public global::tryAGI.OpenAI.DeleteAssistantResponseObject? Type694 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteMessageResponseObject? Type695 { get; set; } + public global::tryAGI.OpenAI.DeleteFileResponse? Type695 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteModelResponse? Type696 { get; set; } + public global::tryAGI.OpenAI.DeleteFileResponseObject? Type696 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteThreadResponse? Type697 { get; set; } + public global::tryAGI.OpenAI.DeleteMessageResponse? Type697 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteThreadResponseObject? Type698 { get; set; } + public global::tryAGI.OpenAI.DeleteMessageResponseObject? Type698 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreFileResponse? Type699 { get; set; } + public global::tryAGI.OpenAI.DeleteModelResponse? Type699 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreFileResponseObject? Type700 { get; set; } + public global::tryAGI.OpenAI.DeleteThreadResponse? Type700 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreResponse? Type701 { get; set; } + public global::tryAGI.OpenAI.DeleteThreadResponseObject? Type701 { get; set; } /// /// /// - public global::tryAGI.OpenAI.DeleteVectorStoreResponseObject? Type702 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreFileResponse? Type702 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ErrorResponse? Type703 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreFileResponseObject? Type703 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessage? Type704 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreResponse? Type704 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessageVariant1? Type705 { get; set; } + public global::tryAGI.OpenAI.DeleteVectorStoreResponseObject? Type705 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneChatRequestInput? Type706 { get; set; } + public global::tryAGI.OpenAI.ErrorResponse? Type706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type707 { get; set; } + public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessage? Type707 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type708 { get; set; } + public global::tryAGI.OpenAI.FineTuneChatCompletionRequestAssistantMessageVariant1? Type708 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuneCompletionRequestInput? Type709 { get; set; } + public global::tryAGI.OpenAI.FineTuneChatRequestInput? Type709 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTunePreferenceRequestInput? Type710 { get; set; } + public global::System.Collections.Generic.IList>? Type710 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTunePreferenceRequestInputInput? Type711 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type711 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type712 { get; set; } + public global::tryAGI.OpenAI.FineTuneCompletionRequestInput? Type712 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type713 { get; set; } + public global::tryAGI.OpenAI.FineTunePreferenceRequestInput? Type713 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegration? Type714 { get; set; } + public global::tryAGI.OpenAI.FineTunePreferenceRequestInputInput? Type714 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegrationType? Type715 { get; set; } + public global::System.Collections.Generic.IList>? Type715 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningIntegrationWandb? Type716 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type716 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJob? Type717 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegration? Type717 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobError? Type718 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegrationType? Type718 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparameters? Type719 { get; set; } + public global::tryAGI.OpenAI.FineTuningIntegrationWandb? Type719 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type720 { get; set; } + public global::tryAGI.OpenAI.FineTuningJob? Type720 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersBatchSize? Type721 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobError? Type721 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type722 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparameters? Type722 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersLearningRateMultiplier? Type723 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type723 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type724 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersBatchSize? Type724 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobHyperparametersNEpochs? Type725 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type725 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobObject? Type726 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersLearningRateMultiplier? Type726 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobStatus? Type727 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type728 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobHyperparametersNEpochs? Type728 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type729 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobObject? Type729 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpoint? Type730 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobStatus? Type730 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpointMetrics? Type731 { get; set; } + public global::System.Collections.Generic.IList>? Type731 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobCheckpointObject? Type732 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type732 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEvent? Type733 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpoint? Type733 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventObject? Type734 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpointMetrics? Type734 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventLevel? Type735 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobCheckpointObject? Type735 { get; set; } /// /// /// - public global::tryAGI.OpenAI.FineTuningJobEventType? Type736 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEvent? Type736 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Image? Type737 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventObject? Type737 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ImagesResponse? Type738 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventLevel? Type738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type739 { get; set; } + public global::tryAGI.OpenAI.FineTuningJobEventType? Type739 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Invite? Type740 { get; set; } + public global::tryAGI.OpenAI.Image? Type740 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteObject? Type741 { get; set; } + public global::tryAGI.OpenAI.ImagesResponse? Type741 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRole? Type742 { get; set; } + public global::System.Collections.Generic.IList? Type742 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteStatus? Type743 { get; set; } + public global::tryAGI.OpenAI.Invite? Type743 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type744 { get; set; } + public global::tryAGI.OpenAI.InviteObject? Type744 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProject? Type745 { get; set; } + public global::tryAGI.OpenAI.InviteRole? Type745 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteProjectRole? Type746 { get; set; } + public global::tryAGI.OpenAI.InviteStatus? Type746 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteDeleteResponse? Type747 { get; set; } + public global::System.Collections.Generic.IList? Type747 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteDeleteResponseObject? Type748 { get; set; } + public global::tryAGI.OpenAI.InviteProject? Type748 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteListResponse? Type749 { get; set; } + public global::tryAGI.OpenAI.InviteProjectRole? Type749 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteListResponseObject? Type750 { get; set; } + public global::tryAGI.OpenAI.InviteDeleteResponse? Type750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type751 { get; set; } + public global::tryAGI.OpenAI.InviteDeleteResponseObject? Type751 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequest? Type752 { get; set; } + public global::tryAGI.OpenAI.InviteListResponse? Type752 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestRole? Type753 { get; set; } + public global::tryAGI.OpenAI.InviteListResponseObject? Type753 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type754 { get; set; } + public global::System.Collections.Generic.IList? Type754 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestProject? Type755 { get; set; } + public global::tryAGI.OpenAI.InviteRequest? Type755 { get; set; } /// /// /// - public global::tryAGI.OpenAI.InviteRequestProjectRole? Type756 { get; set; } + public global::tryAGI.OpenAI.InviteRequestRole? Type756 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsResponse? Type757 { get; set; } + public global::System.Collections.Generic.IList? Type757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type758 { get; set; } + public global::tryAGI.OpenAI.InviteRequestProject? Type758 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsResponse? Type759 { get; set; } + public global::tryAGI.OpenAI.InviteRequestProjectRole? Type759 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsResponseObject? Type760 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsResponse? Type760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type761 { get; set; } + public global::System.Collections.Generic.IList? Type761 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListBatchesResponse? Type762 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsResponse? Type762 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type763 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsResponseObject? Type763 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListBatchesResponseObject? Type764 { get; set; } + public global::System.Collections.Generic.IList? Type764 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesResponse? Type765 { get; set; } + public global::tryAGI.OpenAI.ListBatchesResponse? Type765 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type766 { get; set; } + public global::System.Collections.Generic.IList? Type766 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFile? Type767 { get; set; } + public global::tryAGI.OpenAI.ListBatchesResponseObject? Type767 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFileObject? Type768 { get; set; } + public global::tryAGI.OpenAI.ListFilesResponse? Type768 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFilePurpose? Type769 { get; set; } + public global::System.Collections.Generic.IList? Type769 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OpenAIFileStatus? Type770 { get; set; } + public global::tryAGI.OpenAI.OpenAIFile? Type770 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponse? Type771 { get; set; } + public global::tryAGI.OpenAI.OpenAIFileObject? Type771 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type772 { get; set; } + public global::tryAGI.OpenAI.OpenAIFilePurpose? Type772 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponseObject? Type773 { get; set; } + public global::tryAGI.OpenAI.OpenAIFileStatus? Type773 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobEventsResponse? Type774 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponse? Type774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type775 { get; set; } + public global::System.Collections.Generic.IList? Type775 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject? Type776 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobCheckpointsResponseObject? Type776 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesResponse? Type777 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobEventsResponse? Type777 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type778 { get; set; } + public global::System.Collections.Generic.IList? Type778 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListModelsResponse? Type779 { get; set; } + public global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject? Type779 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListModelsResponseObject? Type780 { get; set; } + public global::tryAGI.OpenAI.ListMessagesResponse? Type780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type781 { get; set; } + public global::System.Collections.Generic.IList? Type781 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Model15? Type782 { get; set; } + public global::tryAGI.OpenAI.ListModelsResponse? Type782 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModelObject? Type783 { get; set; } + public global::tryAGI.OpenAI.ListModelsResponseObject? Type783 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse? Type784 { get; set; } + public global::System.Collections.Generic.IList? Type784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type785 { get; set; } + public global::tryAGI.OpenAI.Model15? Type785 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject? Type786 { get; set; } + public global::tryAGI.OpenAI.ModelObject? Type786 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsResponse? Type787 { get; set; } + public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponse? Type787 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type788 { get; set; } + public global::System.Collections.Generic.IList? Type788 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsResponse? Type789 { get; set; } + public global::tryAGI.OpenAI.ListPaginatedFineTuningJobsResponseObject? Type789 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type790 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsResponse? Type790 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListThreadsResponse? Type791 { get; set; } + public global::System.Collections.Generic.IList? Type791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type792 { get; set; } + public global::tryAGI.OpenAI.ListRunsResponse? Type792 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesResponse? Type793 { get; set; } + public global::System.Collections.Generic.IList? Type793 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type794 { get; set; } + public global::tryAGI.OpenAI.ListThreadsResponse? Type794 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObject? Type795 { get; set; } + public global::System.Collections.Generic.IList? Type795 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectObject? Type796 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoreFilesResponse? Type796 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectStatus? Type797 { get; set; } + public global::System.Collections.Generic.IList? Type797 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectLastError? Type798 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObject? Type798 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectLastErrorCode? Type799 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectObject? Type799 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectChunkingStrategy? Type800 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectStatus? Type800 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam? Type801 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectLastError? Type801 { get; set; } /// /// /// - public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType? Type802 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectLastErrorCode? Type802 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam? Type803 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectChunkingStrategy? Type803 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType? Type804 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParam? Type804 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectChunkingStrategyDiscriminator? Type805 { get; set; } + public global::tryAGI.OpenAI.StaticChunkingStrategyResponseParamType? Type805 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileObjectChunkingStrategyDiscriminatorType? Type806 { get; set; } + public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParam? Type806 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresResponse? Type807 { get; set; } + public global::tryAGI.OpenAI.OtherChunkingStrategyResponseParamType? Type807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type808 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectChunkingStrategyDiscriminator? Type808 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObject? Type809 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileObjectChunkingStrategyDiscriminatorType? Type809 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectObject? Type810 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoresResponse? Type810 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectFileCounts? Type811 { get; set; } + public global::System.Collections.Generic.IList? Type811 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreObjectStatus? Type812 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObject? Type812 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequest? Type813 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectObject? Type813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type814 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectFileCounts? Type814 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ToolsItem7? Type815 { get; set; } + public global::tryAGI.OpenAI.VectorStoreObjectStatus? Type815 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolDiscriminator? Type816 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequest? Type816 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolDiscriminatorType? Type817 { get; set; } + public global::System.Collections.Generic.IList? Type817 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? Type818 { get; set; } + public global::tryAGI.OpenAI.ToolsItem7? Type818 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type819 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolDiscriminator? Type819 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type820 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolDiscriminatorType? Type820 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyMessageRequest? Type821 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? Type821 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyRunRequest? Type822 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesCodeInterpreter? Type822 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequest? Type823 { get; set; } + public global::tryAGI.OpenAI.ModifyAssistantRequestToolResourcesFileSearch? Type823 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResources? Type824 { get; set; } + public global::tryAGI.OpenAI.ModifyMessageRequest? Type824 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type825 { get; set; } + public global::tryAGI.OpenAI.ModifyRunRequest? Type825 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type826 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequest? Type826 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Project? Type827 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResources? Type827 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectObject? Type828 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesCodeInterpreter? Type828 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectStatus? Type829 { get; set; } + public global::tryAGI.OpenAI.ModifyThreadRequestToolResourcesFileSearch? Type829 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKey? Type830 { get; set; } + public global::tryAGI.OpenAI.Project? Type830 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyObject? Type831 { get; set; } + public global::tryAGI.OpenAI.ProjectObject? Type831 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwner? Type832 { get; set; } + public global::tryAGI.OpenAI.ProjectStatus? Type832 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyOwnerType? Type833 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKey? Type833 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUser? Type834 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyObject? Type834 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserObject? Type835 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwner? Type835 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserRole? Type836 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyOwnerType? Type836 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccount? Type837 { get; set; } + public global::tryAGI.OpenAI.ProjectUser? Type837 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountObject? Type838 { get; set; } + public global::tryAGI.OpenAI.ProjectUserObject? Type838 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountRole? Type839 { get; set; } + public global::tryAGI.OpenAI.ProjectUserRole? Type839 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse? Type840 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccount? Type840 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject? Type841 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountObject? Type841 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyListResponse? Type842 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountRole? Type842 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectApiKeyListResponseObject? Type843 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponse? Type843 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type844 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject? Type844 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectCreateRequest? Type845 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyListResponse? Type845 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectListResponse? Type846 { get; set; } + public global::tryAGI.OpenAI.ProjectApiKeyListResponseObject? Type846 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectListResponseObject? Type847 { get; set; } + public global::System.Collections.Generic.IList? Type847 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type848 { get; set; } + public global::tryAGI.OpenAI.ProjectCreateRequest? Type848 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimit? Type849 { get; set; } + public global::tryAGI.OpenAI.ProjectListResponse? Type849 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitObject? Type850 { get; set; } + public global::tryAGI.OpenAI.ProjectListResponseObject? Type850 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitListResponse? Type851 { get; set; } + public global::System.Collections.Generic.IList? Type851 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitListResponseObject? Type852 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimit? Type852 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type853 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitObject? Type853 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest? Type854 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitListResponse? Type854 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountApiKey? Type855 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitListResponseObject? Type855 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject? Type856 { get; set; } + public global::System.Collections.Generic.IList? Type856 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateRequest? Type857 { get; set; } + public global::tryAGI.OpenAI.ProjectRateLimitUpdateRequest? Type857 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponse? Type858 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountApiKey? Type858 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject? Type859 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject? Type859 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole? Type860 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateRequest? Type860 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponse? Type861 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponse? Type861 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject? Type862 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject? Type862 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountListResponse? Type863 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole? Type863 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject? Type864 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponse? Type864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type865 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject? Type865 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUpdateRequest? Type866 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountListResponse? Type866 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserCreateRequest? Type867 { get; set; } + public global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject? Type867 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserCreateRequestRole? Type868 { get; set; } + public global::System.Collections.Generic.IList? Type868 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserDeleteResponse? Type869 { get; set; } + public global::tryAGI.OpenAI.ProjectUpdateRequest? Type869 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserDeleteResponseObject? Type870 { get; set; } + public global::tryAGI.OpenAI.ProjectUserCreateRequest? Type870 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserListResponse? Type871 { get; set; } + public global::tryAGI.OpenAI.ProjectUserCreateRequestRole? Type871 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type872 { get; set; } + public global::tryAGI.OpenAI.ProjectUserDeleteResponse? Type872 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserUpdateRequest? Type873 { get; set; } + public global::tryAGI.OpenAI.ProjectUserDeleteResponseObject? Type873 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ProjectUserUpdateRequestRole? Type874 { get; set; } + public global::tryAGI.OpenAI.ProjectUserListResponse? Type874 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreate? Type875 { get; set; } + public global::System.Collections.Generic.IList? Type875 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType? Type876 { get; set; } + public global::tryAGI.OpenAI.ProjectUserUpdateRequest? Type876 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItem? Type877 { get; set; } + public global::tryAGI.OpenAI.ProjectUserUpdateRequestRole? Type877 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemObject? Type878 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreate? Type878 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemType? Type879 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType? Type879 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemStatus? Type880 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItem? Type880 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemRole? Type881 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemObject? Type881 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type882 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemType? Type882 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemContentItem? Type883 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemStatus? Type883 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemContentItemType? Type884 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemRole? Type884 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDelete? Type885 { get; set; } + public global::System.Collections.Generic.IList? Type885 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType? Type886 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemContentItem? Type886 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncate? Type887 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemContentItemType? Type887 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType? Type888 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDelete? Type888 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppend? Type889 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType? Type889 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType? Type890 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncate? Type890 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClear? Type891 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType? Type891 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClearType? Type892 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppend? Type892 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommit? Type893 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType? Type893 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommitType? Type894 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClear? Type894 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCancel? Type895 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferClearType? Type895 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCancelType? Type896 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommit? Type896 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCreate? Type897 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferCommitType? Type897 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventResponseCreateType? Type898 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCancel? Type898 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParams? Type899 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCancelType? Type899 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type900 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCreate? Type900 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsModalitie? Type901 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventResponseCreateType? Type901 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsVoice? Type902 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParams? Type902 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsOutputAudioFormat? Type903 { get; set; } + public global::System.Collections.Generic.IList? Type903 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type904 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsModalitie? Type904 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsTool? Type905 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsVoice? Type905 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsToolType? Type906 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsOutputAudioFormat? Type906 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type907 { get; set; } + public global::System.Collections.Generic.IList? Type907 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsMaxResponseOutputTokens? Type908 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsTool? Type908 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type909 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsToolType? Type909 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateParamsConversation? Type910 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type910 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type911 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsMaxResponseOutputTokens? Type911 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type912 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type912 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type913 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateParamsConversation? Type913 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type914 { get; set; } + public global::System.Collections.Generic.IList? Type914 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type915 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type915 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type916 { get; set; } + public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type916 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModel? Type917 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type917 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestVoice? Type918 { get; set; } + public global::System.Collections.Generic.IList? Type918 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioFormat? Type919 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type919 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestOutputAudioFormat? Type920 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModel? Type920 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type921 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestVoice? Type921 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type922 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioFormat? Type922 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type923 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestOutputAudioFormat? Type923 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type924 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type924 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type925 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type925 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type926 { get; set; } + public global::System.Collections.Generic.IList? Type926 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type927 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type927 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponse? Type928 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type928 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseObject? Type929 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type929 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseStatus? Type930 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type930 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseUsage? Type931 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponse? Type931 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type932 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseObject? Type932 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type933 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseStatus? Type933 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type934 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseUsage? Type934 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type935 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type935 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type936 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type936 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type937 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type937 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type938 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type938 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type939 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type939 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type940 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type940 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type941 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type941 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type942 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type942 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type943 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type943 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type944 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type944 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type945 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type945 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventError? Type946 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type946 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type947 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type947 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type948 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type948 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type949 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventError? Type949 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type950 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type950 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type951 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type951 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type952 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type952 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type953 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type953 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type954 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type954 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type955 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type955 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type956 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type956 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type957 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type957 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type958 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type958 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type959 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type959 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type960 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type960 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type961 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type961 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type962 { get; set; } + public global::System.Collections.Generic.IList? Type962 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type963 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type963 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type964 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type964 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type965 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type965 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type966 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type966 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type967 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type967 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type968 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type968 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type969 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type969 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type970 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type970 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type971 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type971 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type972 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type972 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type973 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type973 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type974 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type974 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type975 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type975 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type976 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type976 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type977 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type977 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type978 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type978 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type979 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type979 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type980 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type980 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type981 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type981 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type982 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type982 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type983 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type983 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type984 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type984 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type985 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type985 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type986 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type986 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type987 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type987 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type988 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type988 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type989 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type989 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type990 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type990 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type991 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type991 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type992 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type992 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type993 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type993 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type994 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type994 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type995 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type995 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSession? Type996 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type996 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionObject? Type997 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type997 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionVoice? Type998 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type998 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeAudioFormat? Type999 { get; set; } + public global::tryAGI.OpenAI.RealtimeSession? Type999 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionInputAudioTranscription? Type1000 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionObject? Type1000 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTurnDetection? Type1001 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionVoice? Type1001 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTurnDetectionType? Type1002 { get; set; } + public global::tryAGI.OpenAI.RealtimeAudioFormat? Type1002 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1003 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionInputAudioTranscription? Type1003 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionTool? Type1004 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTurnDetection? Type1004 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionToolChoice? Type1005 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTurnDetectionType? Type1005 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1006 { get; set; } + public global::System.Collections.Generic.IList? Type1006 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionMaxOutputTokens? Type1007 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionTool? Type1007 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1008 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionToolChoice? Type1008 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1009 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1009 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1010 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionMaxOutputTokens? Type1010 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret? Type1011 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1011 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1012 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1012 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseModalitie? Type1013 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1013 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseVoice? Type1014 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret? Type1014 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseInputAudioTranscription? Type1015 { get; set; } + public global::System.Collections.Generic.IList? Type1015 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1016 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseModalitie? Type1016 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1017 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseVoice? Type1017 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTool? Type1018 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseInputAudioTranscription? Type1018 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseToolType? Type1019 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1019 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1020 { get; set; } + public global::System.Collections.Generic.IList? Type1020 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxResponseOutputTokens? Type1021 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTool? Type1021 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type1022 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseToolType? Type1022 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1023 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1023 { get; set; } /// /// /// - public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type1024 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxResponseOutputTokens? Type1024 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type1025 { get; set; } + public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type1025 { get; set; } /// /// /// - public global::tryAGI.OpenAI.Upload? Type1026 { get; set; } + public global::System.Collections.Generic.IList? Type1026 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadStatus? Type1027 { get; set; } + public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type1027 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadObject? Type1028 { get; set; } + public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type1028 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadPart? Type1029 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type1029 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UploadPartObject? Type1030 { get; set; } + public global::tryAGI.OpenAI.Upload? Type1030 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type1031 { get; set; } + public global::tryAGI.OpenAI.UploadStatus? Type1031 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type1032 { get; set; } + public global::tryAGI.OpenAI.UploadObject? Type1032 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type1033 { get; set; } + public global::tryAGI.OpenAI.AllOf? Type1033 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type1034 { get; set; } + public global::tryAGI.OpenAI.UploadPart? Type1034 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type1035 { get; set; } + public global::tryAGI.OpenAI.UploadPartObject? Type1035 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type1036 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type1036 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsResult? Type1037 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type1037 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type1038 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type1038 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type1039 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type1039 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type1040 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type1040 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesResult? Type1041 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type1041 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesResultObject? Type1042 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsResult? Type1042 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsResult? Type1043 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type1043 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsResultObject? Type1044 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type1044 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageResponse? Type1045 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type1045 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageResponseObject? Type1046 { get; set; } + public global::tryAGI.OpenAI.UsageImagesResult? Type1046 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1047 { get; set; } + public global::tryAGI.OpenAI.UsageImagesResultObject? Type1047 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucket? Type1048 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsResult? Type1048 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketObject? Type1049 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsResultObject? Type1049 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1050 { get; set; } + public global::tryAGI.OpenAI.UsageResponse? Type1050 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ResultItem? Type1051 { get; set; } + public global::tryAGI.OpenAI.UsageResponseObject? Type1051 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresResult? Type1052 { get; set; } + public global::System.Collections.Generic.IList? Type1052 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type1053 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucket? Type1053 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketResultItemDiscriminator? Type1054 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketObject? Type1054 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageTimeBucketResultItemDiscriminatorObject? Type1055 { get; set; } + public global::System.Collections.Generic.IList? Type1055 { get; set; } /// /// /// - public global::tryAGI.OpenAI.User? Type1056 { get; set; } + public global::tryAGI.OpenAI.ResultItem? Type1056 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserObject? Type1057 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresResult? Type1057 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRole? Type1058 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type1058 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserDeleteResponse? Type1059 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketResultItemDiscriminator? Type1059 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserDeleteResponseObject? Type1060 { get; set; } + public global::tryAGI.OpenAI.UsageTimeBucketResultItemDiscriminatorObject? Type1060 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResponse? Type1061 { get; set; } + public global::tryAGI.OpenAI.User? Type1061 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserListResponseObject? Type1062 { get; set; } + public global::tryAGI.OpenAI.UserObject? Type1062 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1063 { get; set; } + public global::tryAGI.OpenAI.UserRole? Type1063 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type1064 { get; set; } + public global::tryAGI.OpenAI.UserDeleteResponse? Type1064 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UserRoleUpdateRequestRole? Type1065 { get; set; } + public global::tryAGI.OpenAI.UserDeleteResponseObject? Type1065 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type1066 { get; set; } + public global::tryAGI.OpenAI.UserListResponse? Type1066 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type1067 { get; set; } + public global::tryAGI.OpenAI.UserListResponseObject? Type1067 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type1068 { get; set; } + public global::System.Collections.Generic.IList? Type1068 { get; set; } /// /// /// - public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type1069 { get; set; } + public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type1069 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventType? Type1070 { get; set; } + public global::tryAGI.OpenAI.UserRoleUpdateRequestRole? Type1070 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventBase? Type1071 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type1071 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversation? Type1072 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type1072 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationObject? Type1073 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type1073 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeContentPart? Type1074 { get; set; } + public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type1074 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeContentPartType? Type1075 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventType? Type1075 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeErrorDetails? Type1076 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventBase? Type1076 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionUpdate? Type1077 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversation? Type1077 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionUpdateType? Type1078 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationObject? Type1078 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppend? Type1079 { get; set; } + public global::tryAGI.OpenAI.RealtimeContentPart? Type1079 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppendType? Type1080 { get; set; } + public global::tryAGI.OpenAI.RealtimeContentPartType? Type1080 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommit? Type1081 { get; set; } + public global::tryAGI.OpenAI.RealtimeErrorDetails? Type1081 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitType? Type1082 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionUpdate? Type1082 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferClear? Type1083 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionUpdateType? Type1083 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearType? Type1084 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppend? Type1084 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemCreate? Type1085 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppendType? Type1085 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemCreateType? Type1086 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommit? Type1086 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemTruncate? Type1087 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitType? Type1087 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemTruncateType? Type1088 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferClear? Type1088 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDelete? Type1089 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearType? Type1089 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDeleteType? Type1090 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemCreate? Type1090 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreate? Type1091 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemCreateType? Type1091 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateType? Type1092 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemTruncate? Type1092 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponse? Type1093 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemTruncateType? Type1093 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1094 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDelete? Type1094 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseModalitie? Type1095 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDeleteType? Type1095 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseVoice? Type1096 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreate? Type1096 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1097 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateType? Type1097 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseTool? Type1098 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponse? Type1098 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1099 { get; set; } + public global::System.Collections.Generic.IList? Type1099 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseToolChoice? Type1100 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseModalitie? Type1100 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1101 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseVoice? Type1101 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreateResponseMaxOutputTokens? Type1102 { get; set; } + public global::System.Collections.Generic.IList? Type1102 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCancel? Type1103 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseTool? Type1103 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCancelType? Type1104 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1104 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeError? Type1105 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseToolChoice? Type1105 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeErrorType? Type1106 { get; set; } + public global::tryAGI.OpenAI.OneOf? Type1106 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreated? Type1107 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreateResponseMaxOutputTokens? Type1107 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionCreatedType? Type1108 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCancel? Type1108 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionUpdated? Type1109 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCancelType? Type1109 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeSessionUpdatedType? Type1110 { get; set; } + public global::tryAGI.OpenAI.RealtimeError? Type1110 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationCreated? Type1111 { get; set; } + public global::tryAGI.OpenAI.RealtimeErrorType? Type1111 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationCreatedType? Type1112 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreated? Type1112 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemCreated? Type1113 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionCreatedType? Type1113 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemCreatedType? Type1114 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionUpdated? Type1114 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompleted? Type1115 { get; set; } + public global::tryAGI.OpenAI.RealtimeSessionUpdatedType? Type1115 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompletedType? Type1116 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationCreated? Type1116 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailed? Type1117 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationCreatedType? Type1117 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailedType? Type1118 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemCreated? Type1118 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemTruncated? Type1119 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemCreatedType? Type1119 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemTruncatedType? Type1120 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompleted? Type1120 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDeleted? Type1121 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompletedType? Type1121 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeConversationItemDeletedType? Type1122 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailed? Type1122 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitted? Type1123 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailedType? Type1123 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommittedType? Type1124 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemTruncated? Type1124 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferCleared? Type1125 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemTruncatedType? Type1125 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearedType? Type1126 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDeleted? Type1126 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStarted? Type1127 { get; set; } + public global::tryAGI.OpenAI.RealtimeConversationItemDeletedType? Type1127 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStartedType? Type1128 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitted? Type1128 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStopped? Type1129 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommittedType? Type1129 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStoppedType? Type1130 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferCleared? Type1130 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreated? Type1131 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearedType? Type1131 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseCreatedType? Type1132 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStarted? Type1132 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseDone? Type1133 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStartedType? Type1133 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseDoneType? Type1134 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStopped? Type1134 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputItemAdded? Type1135 { get; set; } + public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStoppedType? Type1135 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputItemAddedType? Type1136 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreated? Type1136 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputItemDone? Type1137 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseCreatedType? Type1137 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseOutputItemDoneType? Type1138 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseDone? Type1138 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseContentPartAdded? Type1139 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseDoneType? Type1139 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseContentPartAddedType? Type1140 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputItemAdded? Type1140 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseContentPartDone? Type1141 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputItemAddedType? Type1141 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseContentPartDoneType? Type1142 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputItemDone? Type1142 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseTextDelta? Type1143 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseOutputItemDoneType? Type1143 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseTextDeltaType? Type1144 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseContentPartAdded? Type1144 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseTextDone? Type1145 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseContentPartAddedType? Type1145 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseTextDoneType? Type1146 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseContentPartDone? Type1146 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDelta? Type1147 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseContentPartDoneType? Type1147 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDeltaType? Type1148 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseTextDelta? Type1148 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDone? Type1149 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseTextDeltaType? Type1149 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDoneType? Type1150 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseTextDone? Type1150 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioDelta? Type1151 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseTextDoneType? Type1151 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioDeltaType? Type1152 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDelta? Type1152 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioDone? Type1153 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDeltaType? Type1153 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseAudioDoneType? Type1154 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDone? Type1154 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDelta? Type1155 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDoneType? Type1155 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDeltaType? Type1156 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioDelta? Type1156 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDone? Type1157 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioDeltaType? Type1157 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDoneType? Type1158 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioDone? Type1158 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeRateLimitsUpdated? Type1159 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseAudioDoneType? Type1159 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedType? Type1160 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDelta? Type1160 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1161 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDeltaType? Type1161 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimit? Type1162 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDone? Type1162 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimitName? Type1163 { get; set; } + public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDoneType? Type1163 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEvent? Type1164 { get; set; } + public global::tryAGI.OpenAI.RealtimeRateLimitsUpdated? Type1164 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventDiscriminator? Type1165 { get; set; } + public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedType? Type1165 { get; set; } /// /// /// - public global::tryAGI.OpenAI.RealtimeServerEventDiscriminatorType? Type1166 { get; set; } + public global::System.Collections.Generic.IList? Type1166 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequest? Type1167 { get; set; } + public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimit? Type1167 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type1168 { get; set; } + public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimitName? Type1168 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type1169 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEvent? Type1169 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type1170 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventDiscriminator? Type1170 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAssistantsOrder? Type1171 { get; set; } + public global::tryAGI.OpenAI.RealtimeServerEventDiscriminatorType? Type1171 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesOrder? Type1172 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequest? Type1172 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type1173 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type1173 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type1174 { get; set; } + public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type1174 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1175 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type1175 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type1176 { get; set; } + public global::tryAGI.OpenAI.ListAssistantsOrder? Type1176 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1177 { get; set; } + public global::tryAGI.OpenAI.ListFilesOrder? Type1177 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type1178 { get; set; } + public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type1178 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type1179 { get; set; } + public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type1179 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1180 { get; set; } + public global::System.Collections.Generic.IList? Type1180 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type1181 { get; set; } + public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type1181 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type1182 { get; set; } + public global::System.Collections.Generic.IList? Type1182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1183 { get; set; } + public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type1183 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type1184 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type1184 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type1185 { get; set; } + public global::System.Collections.Generic.IList? Type1185 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1186 { get; set; } + public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type1186 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type1187 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type1187 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type1188 { get; set; } + public global::System.Collections.Generic.IList? Type1188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1189 { get; set; } + public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type1189 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type1190 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type1190 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type1191 { get; set; } + public global::System.Collections.Generic.IList? Type1191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1192 { get; set; } + public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type1192 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type1193 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type1193 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type1194 { get; set; } + public global::System.Collections.Generic.IList? Type1194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1195 { get; set; } + public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type1195 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSource? Type1196 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type1196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1197 { get; set; } + public global::System.Collections.Generic.IList? Type1197 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesSize? Type1198 { get; set; } + public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type1198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1199 { get; set; } + public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type1199 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type1200 { get; set; } + public global::System.Collections.Generic.IList? Type1200 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type1201 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSource? Type1201 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1202 { get; set; } + public global::System.Collections.Generic.IList? Type1202 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type1203 { get; set; } + public global::tryAGI.OpenAI.UsageImagesSize? Type1203 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type1204 { get; set; } + public global::System.Collections.Generic.IList? Type1204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1205 { get; set; } + public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type1205 { get; set; } /// /// /// - public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type1206 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type1206 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListMessagesOrder? Type1207 { get; set; } + public global::System.Collections.Generic.IList? Type1207 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunsOrder? Type1208 { get; set; } + public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type1208 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1209 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type1209 { get; set; } /// /// /// - public global::tryAGI.OpenAI.CreateRunIncludeItem? Type1210 { get; set; } + public global::System.Collections.Generic.IList? Type1210 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsOrder? Type1211 { get; set; } + public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type1211 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1212 { get; set; } + public global::tryAGI.OpenAI.ListMessagesOrder? Type1212 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type1213 { get; set; } + public global::tryAGI.OpenAI.ListRunsOrder? Type1213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1214 { get; set; } + public global::System.Collections.Generic.IList? Type1214 { get; set; } /// /// /// - public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type1215 { get; set; } + public global::tryAGI.OpenAI.CreateRunIncludeItem? Type1215 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoresOrder? Type1216 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsOrder? Type1216 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type1217 { get; set; } + public global::System.Collections.Generic.IList? Type1217 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type1218 { get; set; } + public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type1218 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type1219 { get; set; } + public global::System.Collections.Generic.IList? Type1219 { get; set; } /// /// /// - public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type1220 { get; set; } + public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type1220 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1221 { get; set; } + public global::tryAGI.OpenAI.ListVectorStoresOrder? Type1221 { get; set; } /// /// /// - public global::tryAGI.OpenAI.OneOf? Type1222 { get; set; } + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type1222 { get; set; } /// /// /// - public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type1223 { get; set; } + public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type1223 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type1224 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type1225 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.OneOf? Type1226 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.OneOf? Type1227 { get; set; } + /// + /// + /// + public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type1228 { get; set; } } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs index 15d326d1..e2afa284 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs @@ -194,12 +194,7 @@ partial void ProcessCreateAssistantResponseContent( /// Default Value: 1
/// Example: 1 /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// /// The token to cancel the operation with /// [global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")] @@ -213,7 +208,7 @@ partial void ProcessCreateAssistantResponseContent( object? metadata = default, double? temperature = default, double? topP = default, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default, + global::tryAGI.OpenAI.AllOf? responseFormat = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.CreateAssistantRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs index cc89551c..18123169 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs @@ -217,25 +217,12 @@ partial void ProcessCreateRunResponseContent( /// /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. /// - /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. - /// - /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. - /// + /// + /// /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// /// The token to cancel the operation with /// [global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")] @@ -254,10 +241,10 @@ partial void ProcessCreateRunResponseContent( bool? stream = default, int? maxPromptTokens = default, int? maxCompletionTokens = default, - global::tryAGI.OpenAI.TruncationObject? truncationStrategy = default, - global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? toolChoice = default, + global::tryAGI.OpenAI.AllOf? truncationStrategy = default, + global::tryAGI.OpenAI.AllOf? toolChoice = default, bool? parallelToolCalls = default, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default, + global::tryAGI.OpenAI.AllOf? responseFormat = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.CreateRunRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs index 7b2cf42f..1e27ba51 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs @@ -164,7 +164,10 @@ partial void ProcessCreateThreadAndRunResponseContent( /// /// The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run. /// - /// + /// + /// Options to create a new thread. If no thread is provided when running a
+ /// request, an empty thread will be created. + /// /// /// The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.
/// Example: gpt-4o @@ -201,25 +204,12 @@ partial void ProcessCreateThreadAndRunResponseContent( /// /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. /// - /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. - /// - /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. - /// + /// + /// /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// /// The token to cancel the operation with /// [global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")] @@ -236,10 +226,10 @@ partial void ProcessCreateThreadAndRunResponseContent( bool? stream = default, int? maxPromptTokens = default, int? maxCompletionTokens = default, - global::tryAGI.OpenAI.TruncationObject? truncationStrategy = default, - global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? toolChoice = default, + global::tryAGI.OpenAI.AllOf? truncationStrategy = default, + global::tryAGI.OpenAI.AllOf? toolChoice = default, bool? parallelToolCalls = default, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default, + global::tryAGI.OpenAI.AllOf? responseFormat = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.CreateThreadAndRunRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs index 99aae0bb..356c5d5a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs @@ -200,12 +200,7 @@ partial void ProcessModifyAssistantResponseContent( /// Default Value: 1
/// Example: 1 /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// /// The token to cancel the operation with /// [global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")] @@ -220,7 +215,7 @@ partial void ProcessModifyAssistantResponseContent( object? metadata = default, double? temperature = default, double? topP = default, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default, + global::tryAGI.OpenAI.AllOf? responseFormat = default, global::System.Threading.CancellationToken cancellationToken = default) { var __request = new global::tryAGI.OpenAI.ModifyAssistantRequest diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.CreateChatCompletion.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.CreateChatCompletion.g.cs index 74655ce1..13a9146e 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.CreateChatCompletion.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.ChatClient.CreateChatCompletion.g.cs @@ -352,7 +352,7 @@ partial void ProcessCreateChatCompletionResponseContent( global::tryAGI.OpenAI.PredictionContent? prediction = default, global::tryAGI.OpenAI.CreateChatCompletionRequestAudio? audio = default, double? presencePenalty = default, - global::tryAGI.OpenAI.ResponseFormat? responseFormat = default, + global::tryAGI.OpenAI.ResponseFormat3? responseFormat = default, long? seed = default, global::tryAGI.OpenAI.CreateChatCompletionRequestServiceTier? serviceTier = default, global::tryAGI.OpenAI.OneOf>? stop = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateAssistant.g.cs index e5d85670..84d9d6f1 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateAssistant.g.cs @@ -51,12 +51,7 @@ public partial interface IAssistantsClient /// Default Value: 1
/// Example: 1 /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// /// The token to cancel the operation with /// [global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")] @@ -70,7 +65,7 @@ public partial interface IAssistantsClient object? metadata = default, double? temperature = default, double? topP = default, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default, + global::tryAGI.OpenAI.AllOf? responseFormat = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateRun.g.cs index d3dc468e..daacb8e9 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateRun.g.cs @@ -66,25 +66,12 @@ public partial interface IAssistantsClient /// /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. /// - /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. - /// - /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. - /// + /// + /// /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// /// The token to cancel the operation with /// [global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")] @@ -103,10 +90,10 @@ public partial interface IAssistantsClient bool? stream = default, int? maxPromptTokens = default, int? maxCompletionTokens = default, - global::tryAGI.OpenAI.TruncationObject? truncationStrategy = default, - global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? toolChoice = default, + global::tryAGI.OpenAI.AllOf? truncationStrategy = default, + global::tryAGI.OpenAI.AllOf? toolChoice = default, bool? parallelToolCalls = default, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default, + global::tryAGI.OpenAI.AllOf? responseFormat = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThreadAndRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThreadAndRun.g.cs index 7d8844fe..8e1c11b4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThreadAndRun.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.CreateThreadAndRun.g.cs @@ -21,7 +21,10 @@ public partial interface IAssistantsClient /// /// The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run. /// - /// + /// + /// Options to create a new thread. If no thread is provided when running a
+ /// request, an empty thread will be created. + /// /// /// The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.
/// Example: gpt-4o @@ -58,25 +61,12 @@ public partial interface IAssistantsClient /// /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. /// - /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. - /// - /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. - /// + /// + /// /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// /// The token to cancel the operation with /// [global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")] @@ -93,10 +83,10 @@ public partial interface IAssistantsClient bool? stream = default, int? maxPromptTokens = default, int? maxCompletionTokens = default, - global::tryAGI.OpenAI.TruncationObject? truncationStrategy = default, - global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? toolChoice = default, + global::tryAGI.OpenAI.AllOf? truncationStrategy = default, + global::tryAGI.OpenAI.AllOf? toolChoice = default, bool? parallelToolCalls = default, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default, + global::tryAGI.OpenAI.AllOf? responseFormat = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyAssistant.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyAssistant.g.cs index 4266aafe..04703aba 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyAssistant.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IAssistantsClient.ModifyAssistant.g.cs @@ -53,12 +53,7 @@ public partial interface IAssistantsClient /// Default Value: 1
/// Example: 1 /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// /// The token to cancel the operation with /// [global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")] @@ -73,7 +68,7 @@ public partial interface IAssistantsClient object? metadata = default, double? temperature = default, double? topP = default, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default, + global::tryAGI.OpenAI.AllOf? responseFormat = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IChatClient.CreateChatCompletion.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IChatClient.CreateChatCompletion.g.cs index eedc6a3b..f385b9e3 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IChatClient.CreateChatCompletion.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IChatClient.CreateChatCompletion.g.cs @@ -209,7 +209,7 @@ public partial interface IChatClient global::tryAGI.OpenAI.PredictionContent? prediction = default, global::tryAGI.OpenAI.CreateChatCompletionRequestAudio? audio = default, double? presencePenalty = default, - global::tryAGI.OpenAI.ResponseFormat? responseFormat = default, + global::tryAGI.OpenAI.ResponseFormat3? responseFormat = default, long? seed = default, global::tryAGI.OpenAI.CreateChatCompletionRequestServiceTier? serviceTier = default, global::tryAGI.OpenAI.OneOf>? stop = default, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.ModifyVectorStore.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.ModifyVectorStore.g.cs index 673c72e9..330802aa 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.ModifyVectorStore.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IVectorStoresClient.ModifyVectorStore.g.cs @@ -24,9 +24,7 @@ public partial interface IVectorStoresClient /// /// The name of the vector store. /// - /// - /// The expiration policy for a vector store. - /// + /// /// /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. /// @@ -36,7 +34,7 @@ public partial interface IVectorStoresClient global::System.Threading.Tasks.Task ModifyVectorStoreAsync( string vectorStoreId, string? name = default, - global::tryAGI.OpenAI.VectorStoreExpirationAfter? expiresAfter = default, + global::tryAGI.OpenAI.AllOf? expiresAfter = default, object? metadata = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs index 8e4f5ef4..581292f4 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace tryAGI.OpenAI @@ -98,14 +100,11 @@ public sealed partial class AssistantObject public double? TopP { get; set; } /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("response_format")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOptionJsonConverter))] - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? ResponseFormat { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? ResponseFormat { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -157,12 +156,7 @@ public sealed partial class AssistantObject /// Default Value: 1
/// Example: 1 /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public AssistantObject( string id, @@ -177,7 +171,7 @@ public AssistantObject( global::tryAGI.OpenAI.AssistantObjectToolResources? toolResources, double? temperature, double? topP, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat) + global::tryAGI.OpenAI.AllOf? responseFormat) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CreatedAt = createdAt; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectResponseFormat.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectResponseFormat.Json.g.cs new file mode 100644 index 00000000..6435f757 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectResponseFormat.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class AssistantObjectResponseFormat + { + /// + /// 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.AssistantObjectResponseFormat? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.AssistantObjectResponseFormat), + jsonSerializerContext) as global::tryAGI.OpenAI.AssistantObjectResponseFormat; + } + + /// + /// 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.AssistantObjectResponseFormat? 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.AssistantObjectResponseFormat), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.AssistantObjectResponseFormat; + } + + /// + /// 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.AssistantObjectResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectResponseFormat.g.cs new file mode 100644 index 00000000..96921321 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObjectResponseFormat.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class AssistantObjectResponseFormat + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequest.g.cs index f335c816..c6fe5865 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequest.g.cs @@ -76,14 +76,11 @@ public sealed partial class CreateAssistantRequest public double? TopP { get; set; } /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("response_format")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOptionJsonConverter))] - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? ResponseFormat { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? ResponseFormat { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -127,12 +124,7 @@ public sealed partial class CreateAssistantRequest /// Default Value: 1
/// Example: 1 /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateAssistantRequest( global::tryAGI.OpenAI.AnyOf model, @@ -144,7 +136,7 @@ public CreateAssistantRequest( object? metadata, double? temperature, double? topP, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat) + global::tryAGI.OpenAI.AllOf? responseFormat) { this.Model = model; this.Name = name; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestResponseFormat.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestResponseFormat.Json.g.cs new file mode 100644 index 00000000..f5d902a9 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestResponseFormat.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateAssistantRequestResponseFormat + { + /// + /// 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.CreateAssistantRequestResponseFormat? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateAssistantRequestResponseFormat), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateAssistantRequestResponseFormat; + } + + /// + /// 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.CreateAssistantRequestResponseFormat? 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.CreateAssistantRequestResponseFormat), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateAssistantRequestResponseFormat; + } + + /// + /// 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.CreateAssistantRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestResponseFormat.g.cs new file mode 100644 index 00000000..10e9a381 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestResponseFormat.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CreateAssistantRequestResponseFormat + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequest.g.cs index 412e42f6..e130dc94 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequest.g.cs @@ -177,8 +177,8 @@ public sealed partial class CreateChatCompletionRequest /// `max_tokens` or the conversation exceeded the max context length. ///
[global::System.Text.Json.Serialization.JsonPropertyName("response_format")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ResponseFormatJsonConverter))] - public global::tryAGI.OpenAI.ResponseFormat? ResponseFormat { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.ResponseFormat3JsonConverter))] + public global::tryAGI.OpenAI.ResponseFormat3? ResponseFormat { get; set; } /// /// This feature is in Beta.
@@ -485,7 +485,7 @@ public CreateChatCompletionRequest( global::tryAGI.OpenAI.PredictionContent? prediction, global::tryAGI.OpenAI.CreateChatCompletionRequestAudio? audio, double? presencePenalty, - global::tryAGI.OpenAI.ResponseFormat? responseFormat, + global::tryAGI.OpenAI.ResponseFormat3? responseFormat, long? seed, global::tryAGI.OpenAI.CreateChatCompletionRequestServiceTier? serviceTier, global::tryAGI.OpenAI.OneOf>? stop, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequest.g.cs index 4392a057..8a731381 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequest.g.cs @@ -94,21 +94,18 @@ public sealed partial class CreateRunRequest public int? MaxCompletionTokens { get; set; } /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("truncation_strategy")] - public global::tryAGI.OpenAI.TruncationObject? TruncationStrategy { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? TruncationStrategy { get; set; } /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiToolChoiceOptionJsonConverter))] - public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? ToolChoice { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? ToolChoice { get; set; } /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. @@ -117,14 +114,11 @@ public sealed partial class CreateRunRequest public bool? ParallelToolCalls { get; set; } /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("response_format")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOptionJsonConverter))] - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? ResponseFormat { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? ResponseFormat { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -177,25 +171,12 @@ public sealed partial class CreateRunRequest /// /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. /// - /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. - /// - /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. - /// + /// + /// /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateRunRequest( string assistantId, @@ -210,10 +191,10 @@ public CreateRunRequest( bool? stream, int? maxPromptTokens, int? maxCompletionTokens, - global::tryAGI.OpenAI.TruncationObject? truncationStrategy, - global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? toolChoice, + global::tryAGI.OpenAI.AllOf? truncationStrategy, + global::tryAGI.OpenAI.AllOf? toolChoice, bool? parallelToolCalls, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat) + global::tryAGI.OpenAI.AllOf? responseFormat) { this.AssistantId = assistantId ?? throw new global::System.ArgumentNullException(nameof(assistantId)); this.Model = model; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestResponseFormat.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestResponseFormat.Json.g.cs new file mode 100644 index 00000000..6d7bbbbf --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestResponseFormat.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateRunRequestResponseFormat + { + /// + /// 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.CreateRunRequestResponseFormat? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateRunRequestResponseFormat), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateRunRequestResponseFormat; + } + + /// + /// 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.CreateRunRequestResponseFormat? 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.CreateRunRequestResponseFormat), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateRunRequestResponseFormat; + } + + /// + /// 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.CreateRunRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestResponseFormat.g.cs new file mode 100644 index 00000000..78f56fa5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestResponseFormat.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CreateRunRequestResponseFormat + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestToolChoice.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestToolChoice.Json.g.cs new file mode 100644 index 00000000..c7a05515 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestToolChoice.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateRunRequestToolChoice + { + /// + /// 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.CreateRunRequestToolChoice? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateRunRequestToolChoice), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateRunRequestToolChoice; + } + + /// + /// 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.CreateRunRequestToolChoice? 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.CreateRunRequestToolChoice), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateRunRequestToolChoice; + } + + /// + /// 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.CreateRunRequestToolChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestToolChoice.g.cs new file mode 100644 index 00000000..ca1469f6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestToolChoice.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CreateRunRequestToolChoice + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestTruncationStrategy.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestTruncationStrategy.Json.g.cs new file mode 100644 index 00000000..72db8939 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestTruncationStrategy.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateRunRequestTruncationStrategy + { + /// + /// 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.CreateRunRequestTruncationStrategy? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateRunRequestTruncationStrategy), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateRunRequestTruncationStrategy; + } + + /// + /// 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.CreateRunRequestTruncationStrategy? 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.CreateRunRequestTruncationStrategy), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateRunRequestTruncationStrategy; + } + + /// + /// 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.CreateRunRequestTruncationStrategy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestTruncationStrategy.g.cs new file mode 100644 index 00000000..de8cb2c7 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateRunRequestTruncationStrategy.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CreateRunRequestTruncationStrategy + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequest.g.cs index f2a05a91..57d21212 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequest.g.cs @@ -18,7 +18,8 @@ public sealed partial class CreateThreadAndRunRequest public required string AssistantId { get; set; } /// - /// + /// Options to create a new thread. If no thread is provided when running a
+ /// request, an empty thread will be created. ///
[global::System.Text.Json.Serialization.JsonPropertyName("thread")] public global::tryAGI.OpenAI.CreateThreadRequest? Thread { get; set; } @@ -94,21 +95,18 @@ public sealed partial class CreateThreadAndRunRequest public int? MaxCompletionTokens { get; set; } /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("truncation_strategy")] - public global::tryAGI.OpenAI.TruncationObject? TruncationStrategy { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? TruncationStrategy { get; set; } /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiToolChoiceOptionJsonConverter))] - public global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? ToolChoice { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? ToolChoice { get; set; } /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. @@ -117,14 +115,11 @@ public sealed partial class CreateThreadAndRunRequest public bool? ParallelToolCalls { get; set; } /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("response_format")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOptionJsonConverter))] - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? ResponseFormat { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? ResponseFormat { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -138,7 +133,10 @@ public sealed partial class CreateThreadAndRunRequest /// /// The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run. /// - /// + /// + /// Options to create a new thread. If no thread is provided when running a
+ /// request, an empty thread will be created. + /// /// /// The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.
/// Example: gpt-4o @@ -175,25 +173,12 @@ public sealed partial class CreateThreadAndRunRequest /// /// The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info. /// - /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. - /// - /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. - /// + /// + /// /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public CreateThreadAndRunRequest( string assistantId, @@ -208,10 +193,10 @@ public CreateThreadAndRunRequest( bool? stream, int? maxPromptTokens, int? maxCompletionTokens, - global::tryAGI.OpenAI.TruncationObject? truncationStrategy, - global::tryAGI.OpenAI.AssistantsApiToolChoiceOption? toolChoice, + global::tryAGI.OpenAI.AllOf? truncationStrategy, + global::tryAGI.OpenAI.AllOf? toolChoice, bool? parallelToolCalls, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat) + global::tryAGI.OpenAI.AllOf? responseFormat) { this.AssistantId = assistantId ?? throw new global::System.ArgumentNullException(nameof(assistantId)); this.Thread = thread; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestResponseFormat.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestResponseFormat.Json.g.cs new file mode 100644 index 00000000..98690952 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestResponseFormat.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateThreadAndRunRequestResponseFormat + { + /// + /// 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.CreateThreadAndRunRequestResponseFormat? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateThreadAndRunRequestResponseFormat), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateThreadAndRunRequestResponseFormat; + } + + /// + /// 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.CreateThreadAndRunRequestResponseFormat? 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.CreateThreadAndRunRequestResponseFormat), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateThreadAndRunRequestResponseFormat; + } + + /// + /// 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.CreateThreadAndRunRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestResponseFormat.g.cs new file mode 100644 index 00000000..fc929c6e --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestResponseFormat.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CreateThreadAndRunRequestResponseFormat + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestToolChoice.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestToolChoice.Json.g.cs new file mode 100644 index 00000000..b6710094 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestToolChoice.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateThreadAndRunRequestToolChoice + { + /// + /// 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.CreateThreadAndRunRequestToolChoice? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateThreadAndRunRequestToolChoice), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateThreadAndRunRequestToolChoice; + } + + /// + /// 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.CreateThreadAndRunRequestToolChoice? 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.CreateThreadAndRunRequestToolChoice), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateThreadAndRunRequestToolChoice; + } + + /// + /// 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.CreateThreadAndRunRequestToolChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestToolChoice.g.cs new file mode 100644 index 00000000..548cc60f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestToolChoice.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CreateThreadAndRunRequestToolChoice + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestTruncationStrategy.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestTruncationStrategy.Json.g.cs new file mode 100644 index 00000000..d265d440 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestTruncationStrategy.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class CreateThreadAndRunRequestTruncationStrategy + { + /// + /// 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.CreateThreadAndRunRequestTruncationStrategy? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.CreateThreadAndRunRequestTruncationStrategy), + jsonSerializerContext) as global::tryAGI.OpenAI.CreateThreadAndRunRequestTruncationStrategy; + } + + /// + /// 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.CreateThreadAndRunRequestTruncationStrategy? 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.CreateThreadAndRunRequestTruncationStrategy), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.CreateThreadAndRunRequestTruncationStrategy; + } + + /// + /// 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.CreateThreadAndRunRequestTruncationStrategy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestTruncationStrategy.g.cs new file mode 100644 index 00000000..d06e2576 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadAndRunRequestTruncationStrategy.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class CreateThreadAndRunRequestTruncationStrategy + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequest.g.cs index a6d51f4e..08f53504 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequest.g.cs @@ -4,7 +4,8 @@ namespace tryAGI.OpenAI { /// - /// + /// Options to create a new thread. If no thread is provided when running a
+ /// request, an empty thread will be created. ///
public sealed partial class CreateThreadRequest { diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequest.g.cs index 6f712325..6f911f64 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequest.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace tryAGI.OpenAI @@ -70,14 +72,11 @@ public sealed partial class ModifyAssistantRequest public double? TopP { get; set; } /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("response_format")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOptionJsonConverter))] - public global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? ResponseFormat { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? ResponseFormat { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -120,12 +119,7 @@ public sealed partial class ModifyAssistantRequest /// Default Value: 1
/// Example: 1 /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public ModifyAssistantRequest( string? model, @@ -137,7 +131,7 @@ public ModifyAssistantRequest( object? metadata, double? temperature, double? topP, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat) + global::tryAGI.OpenAI.AllOf? responseFormat) { this.Model = model; this.Name = name; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestResponseFormat.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestResponseFormat.Json.g.cs new file mode 100644 index 00000000..07a11d9c --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestResponseFormat.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class ModifyAssistantRequestResponseFormat + { + /// + /// 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.ModifyAssistantRequestResponseFormat? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ModifyAssistantRequestResponseFormat), + jsonSerializerContext) as global::tryAGI.OpenAI.ModifyAssistantRequestResponseFormat; + } + + /// + /// 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.ModifyAssistantRequestResponseFormat? 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.ModifyAssistantRequestResponseFormat), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ModifyAssistantRequestResponseFormat; + } + + /// + /// 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.ModifyAssistantRequestResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestResponseFormat.g.cs new file mode 100644 index 00000000..b601c3fb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ModifyAssistantRequestResponseFormat.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class ModifyAssistantRequestResponseFormat + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat3.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat3.Json.g.cs new file mode 100644 index 00000000..37c7672f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat3.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public readonly partial struct ResponseFormat3 + { + /// + /// 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.ResponseFormat3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.ResponseFormat3), + jsonSerializerContext) as global::tryAGI.OpenAI.ResponseFormat3?; + } + + /// + /// 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.ResponseFormat3? 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.ResponseFormat3), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.ResponseFormat3?; + } + + /// + /// 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.ResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat3.g.cs similarity index 86% rename from src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat.g.cs rename to src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat3.g.cs index 700b68d1..a7c33afe 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ResponseFormat3.g.cs @@ -20,7 +20,7 @@ namespace tryAGI.OpenAI /// `finish_reason="length"`, which indicates the generation exceeded
/// `max_tokens` or the conversation exceeded the max context length. ///
- public readonly partial struct ResponseFormat : global::System.IEquatable + public readonly partial struct ResponseFormat3 : global::System.IEquatable { /// /// @@ -47,17 +47,17 @@ namespace tryAGI.OpenAI /// /// /// - public static implicit operator ResponseFormat(global::tryAGI.OpenAI.ResponseFormatText value) => new ResponseFormat(value); + public static implicit operator ResponseFormat3(global::tryAGI.OpenAI.ResponseFormatText value) => new ResponseFormat3(value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.ResponseFormatText?(ResponseFormat @this) => @this.Text; + public static implicit operator global::tryAGI.OpenAI.ResponseFormatText?(ResponseFormat3 @this) => @this.Text; /// /// /// - public ResponseFormat(global::tryAGI.OpenAI.ResponseFormatText? value) + public ResponseFormat3(global::tryAGI.OpenAI.ResponseFormatText? value) { Text = value; } @@ -82,17 +82,17 @@ public ResponseFormat(global::tryAGI.OpenAI.ResponseFormatText? value) /// /// /// - public static implicit operator ResponseFormat(global::tryAGI.OpenAI.ResponseFormatJsonObject value) => new ResponseFormat(value); + public static implicit operator ResponseFormat3(global::tryAGI.OpenAI.ResponseFormatJsonObject value) => new ResponseFormat3(value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.ResponseFormatJsonObject?(ResponseFormat @this) => @this.JsonObject; + public static implicit operator global::tryAGI.OpenAI.ResponseFormatJsonObject?(ResponseFormat3 @this) => @this.JsonObject; /// /// /// - public ResponseFormat(global::tryAGI.OpenAI.ResponseFormatJsonObject? value) + public ResponseFormat3(global::tryAGI.OpenAI.ResponseFormatJsonObject? value) { JsonObject = value; } @@ -117,17 +117,17 @@ public ResponseFormat(global::tryAGI.OpenAI.ResponseFormatJsonObject? value) /// /// /// - public static implicit operator ResponseFormat(global::tryAGI.OpenAI.ResponseFormatJsonSchema value) => new ResponseFormat(value); + public static implicit operator ResponseFormat3(global::tryAGI.OpenAI.ResponseFormatJsonSchema value) => new ResponseFormat3(value); /// /// /// - public static implicit operator global::tryAGI.OpenAI.ResponseFormatJsonSchema?(ResponseFormat @this) => @this.JsonSchema; + public static implicit operator global::tryAGI.OpenAI.ResponseFormatJsonSchema?(ResponseFormat3 @this) => @this.JsonSchema; /// /// /// - public ResponseFormat(global::tryAGI.OpenAI.ResponseFormatJsonSchema? value) + public ResponseFormat3(global::tryAGI.OpenAI.ResponseFormatJsonSchema? value) { JsonSchema = value; } @@ -135,7 +135,7 @@ public ResponseFormat(global::tryAGI.OpenAI.ResponseFormatJsonSchema? value) /// /// /// - public ResponseFormat( + public ResponseFormat3( global::tryAGI.OpenAI.CreateChatCompletionRequestResponseFormatDiscriminatorType? type, global::tryAGI.OpenAI.ResponseFormatText? text, global::tryAGI.OpenAI.ResponseFormatJsonObject? jsonObject, @@ -250,7 +250,7 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null /// /// /// - public bool Equals(ResponseFormat other) + public bool Equals(ResponseFormat3 other) { return global::System.Collections.Generic.EqualityComparer.Default.Equals(Text, other.Text) && @@ -262,15 +262,15 @@ public bool Equals(ResponseFormat other) /// /// /// - public static bool operator ==(ResponseFormat obj1, ResponseFormat obj2) + public static bool operator ==(ResponseFormat3 obj1, ResponseFormat3 obj2) { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); } /// /// /// - public static bool operator !=(ResponseFormat obj1, ResponseFormat obj2) + public static bool operator !=(ResponseFormat3 obj1, ResponseFormat3 obj2) { return !(obj1 == obj2); } @@ -280,7 +280,7 @@ public bool Equals(ResponseFormat other) /// public override bool Equals(object? obj) { - return obj is ResponseFormat o && Equals(o); + return obj is ResponseFormat3 o && Equals(o); } } } diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs index 6d34da80..a3cecc54 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObject.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace tryAGI.OpenAI @@ -175,23 +177,20 @@ public sealed partial class RunObject public required int? MaxCompletionTokens { get; set; } /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("truncation_strategy")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::tryAGI.OpenAI.TruncationObject TruncationStrategy { get; set; } + public required global::tryAGI.OpenAI.AllOf TruncationStrategy { get; set; } /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiToolChoiceOptionJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::tryAGI.OpenAI.AssistantsApiToolChoiceOption ToolChoice { get; set; } + public required global::tryAGI.OpenAI.AllOf ToolChoice { get; set; } /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. @@ -201,15 +200,12 @@ public sealed partial class RunObject public required bool? ParallelToolCalls { get; set; } /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. + /// ///
[global::System.Text.Json.Serialization.JsonPropertyName("response_format")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AssistantsApiResponseFormatOptionJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::tryAGI.OpenAI.AssistantsApiResponseFormatOption ResponseFormat { get; set; } + public required global::tryAGI.OpenAI.AllOf ResponseFormat { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -289,25 +285,12 @@ public sealed partial class RunObject /// /// The maximum number of completion tokens specified to have been used over the course of the run. /// - /// - /// Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run. - /// - /// - /// Controls which (if any) tool is called by the model.
- /// `none` means the model will not call any tools and instead generates a message.
- /// `auto` is the default value and means the model can pick between generating a message or calling one or more tools.
- /// `required` means the model must call one or more tools before responding to the user.
- /// Specifying a particular tool like `{"type": "file_search"}` or `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool. - /// + /// + /// /// /// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use. /// - /// - /// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
- /// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](/docs/guides/structured-outputs).
- /// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
- /// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length. - /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public RunObject( string id, @@ -330,10 +313,10 @@ public RunObject( global::tryAGI.OpenAI.RunCompletionUsage? usage, int? maxPromptTokens, int? maxCompletionTokens, - global::tryAGI.OpenAI.TruncationObject truncationStrategy, - global::tryAGI.OpenAI.AssistantsApiToolChoiceOption toolChoice, + global::tryAGI.OpenAI.AllOf truncationStrategy, + global::tryAGI.OpenAI.AllOf toolChoice, bool? parallelToolCalls, - global::tryAGI.OpenAI.AssistantsApiResponseFormatOption responseFormat, + global::tryAGI.OpenAI.AllOf responseFormat, global::tryAGI.OpenAI.RunObjectObject @object, double? temperature, double? topP) @@ -358,7 +341,7 @@ public RunObject( this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage)); this.MaxPromptTokens = maxPromptTokens; this.MaxCompletionTokens = maxCompletionTokens; - this.TruncationStrategy = truncationStrategy ?? throw new global::System.ArgumentNullException(nameof(truncationStrategy)); + this.TruncationStrategy = truncationStrategy; this.ToolChoice = toolChoice; this.ParallelToolCalls = parallelToolCalls; this.ResponseFormat = responseFormat; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectResponseFormat.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectResponseFormat.Json.g.cs new file mode 100644 index 00000000..6a561116 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectResponseFormat.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class RunObjectResponseFormat + { + /// + /// 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.RunObjectResponseFormat? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.RunObjectResponseFormat), + jsonSerializerContext) as global::tryAGI.OpenAI.RunObjectResponseFormat; + } + + /// + /// 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.RunObjectResponseFormat? 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.RunObjectResponseFormat), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RunObjectResponseFormat; + } + + /// + /// 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.RunObjectResponseFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectResponseFormat.g.cs new file mode 100644 index 00000000..8f51783f --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectResponseFormat.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class RunObjectResponseFormat + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectToolChoice.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectToolChoice.Json.g.cs new file mode 100644 index 00000000..cdad72ed --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectToolChoice.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class RunObjectToolChoice + { + /// + /// 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.RunObjectToolChoice? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.RunObjectToolChoice), + jsonSerializerContext) as global::tryAGI.OpenAI.RunObjectToolChoice; + } + + /// + /// 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.RunObjectToolChoice? 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.RunObjectToolChoice), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RunObjectToolChoice; + } + + /// + /// 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.RunObjectToolChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectToolChoice.g.cs new file mode 100644 index 00000000..7ab7e6c6 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectToolChoice.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class RunObjectToolChoice + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectTruncationStrategy.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectTruncationStrategy.Json.g.cs new file mode 100644 index 00000000..6c9e44e1 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectTruncationStrategy.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class RunObjectTruncationStrategy + { + /// + /// 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.RunObjectTruncationStrategy? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.RunObjectTruncationStrategy), + jsonSerializerContext) as global::tryAGI.OpenAI.RunObjectTruncationStrategy; + } + + /// + /// 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.RunObjectTruncationStrategy? 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.RunObjectTruncationStrategy), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RunObjectTruncationStrategy; + } + + /// + /// 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.RunObjectTruncationStrategy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectTruncationStrategy.g.cs new file mode 100644 index 00000000..170c8813 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RunObjectTruncationStrategy.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class RunObjectTruncationStrategy + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequest.g.cs index fb3d553c..1f63a874 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequest.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequest.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace tryAGI.OpenAI @@ -15,10 +17,11 @@ public sealed partial class UpdateVectorStoreRequest public string? Name { get; set; } /// - /// The expiration policy for a vector store. + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("expires_after")] - public global::tryAGI.OpenAI.VectorStoreExpirationAfter? ExpiresAfter { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? ExpiresAfter { get; set; } /// /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. @@ -38,16 +41,14 @@ public sealed partial class UpdateVectorStoreRequest /// /// The name of the vector store. /// - /// - /// The expiration policy for a vector store. - /// + /// /// /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public UpdateVectorStoreRequest( string? name, - global::tryAGI.OpenAI.VectorStoreExpirationAfter? expiresAfter, + global::tryAGI.OpenAI.AllOf? expiresAfter, object? metadata) { this.Name = name; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestExpiresAfter.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestExpiresAfter.Json.g.cs new file mode 100644 index 00000000..5841d8cb --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestExpiresAfter.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UpdateVectorStoreRequestExpiresAfter + { + /// + /// 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.UpdateVectorStoreRequestExpiresAfter? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UpdateVectorStoreRequestExpiresAfter), + jsonSerializerContext) as global::tryAGI.OpenAI.UpdateVectorStoreRequestExpiresAfter; + } + + /// + /// 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.UpdateVectorStoreRequestExpiresAfter? 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.UpdateVectorStoreRequestExpiresAfter), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UpdateVectorStoreRequestExpiresAfter; + } + + /// + /// 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.UpdateVectorStoreRequestExpiresAfter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestExpiresAfter.g.cs new file mode 100644 index 00000000..3d62c9b5 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UpdateVectorStoreRequestExpiresAfter.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// + /// + public sealed partial class UpdateVectorStoreRequestExpiresAfter + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Upload.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Upload.g.cs index 3b8487c0..78d38841 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Upload.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Upload.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace tryAGI.OpenAI @@ -68,10 +70,11 @@ public sealed partial class Upload public global::tryAGI.OpenAI.UploadObject? Object { get; set; } /// - /// The `File` object represents a document that has been uploaded to OpenAI. + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("file")] - public global::tryAGI.OpenAI.OpenAIFile? File { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.AllOfJsonConverter))] + public global::tryAGI.OpenAI.AllOf? File { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -106,9 +109,7 @@ public sealed partial class Upload /// /// The object type, which is always "upload". /// - /// - /// The `File` object represents a document that has been uploaded to OpenAI. - /// + /// [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] public Upload( string id, @@ -119,7 +120,7 @@ public Upload( global::tryAGI.OpenAI.UploadStatus status, global::System.DateTimeOffset expiresAt, global::tryAGI.OpenAI.UploadObject? @object, - global::tryAGI.OpenAI.OpenAIFile? file) + global::tryAGI.OpenAI.AllOf? file) { this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.CreatedAt = createdAt; diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadFile.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadFile.Json.g.cs new file mode 100644 index 00000000..88d3d4c0 --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadFile.Json.g.cs @@ -0,0 +1,92 @@ +#nullable enable + +namespace tryAGI.OpenAI +{ + public sealed partial class UploadFile + { + /// + /// 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.UploadFile? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::tryAGI.OpenAI.UploadFile), + jsonSerializerContext) as global::tryAGI.OpenAI.UploadFile; + } + + /// + /// 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.UploadFile? 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.UploadFile), + jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.UploadFile; + } + + /// + /// 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.UploadFile.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadFile.g.cs new file mode 100644 index 00000000..9e774dcc --- /dev/null +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.UploadFile.g.cs @@ -0,0 +1,18 @@ + +#nullable enable + +namespace tryAGI.OpenAI +{ + /// + /// The ready File object after the Upload is completed. + /// + public sealed partial class UploadFile + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + } +} \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysCreate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysCreate.g.cs index e9962443..d01fe49a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysCreate.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysCreate.g.cs @@ -42,15 +42,7 @@ partial void ProcessAdminApiKeysCreateResponseContent( var __pathBuilder = new PathBuilder( path: "/organization/admin_api_keys", - baseUri: HttpClient.BaseAddress); - foreach (var __authorization in Authorizations) - { - if (__authorization.Type == "ApiKey" && - __authorization.Location == "Query") - { - __pathBuilder = __pathBuilder.AddRequiredParameter(__authorization.Name, __authorization.Value); - } - } + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, @@ -59,6 +51,22 @@ partial void ProcessAdminApiKeysCreateResponseContent( __httpRequest.Version = global::System.Net.HttpVersion.Version11; __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif + + foreach (var __authorization in Authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } var __httpRequestContentBody = request.ToJson(JsonSerializerContext); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysDelete.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysDelete.g.cs index ca9379b3..70546dce 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysDelete.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysDelete.g.cs @@ -42,15 +42,7 @@ partial void ProcessAdminApiKeysDeleteResponseContent( var __pathBuilder = new PathBuilder( path: $"/organization/admin_api_keys/{keyId}", - baseUri: HttpClient.BaseAddress); - foreach (var __authorization in Authorizations) - { - if (__authorization.Type == "ApiKey" && - __authorization.Location == "Query") - { - __pathBuilder = __pathBuilder.AddRequiredParameter(__authorization.Name, __authorization.Value); - } - } + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, @@ -60,6 +52,22 @@ partial void ProcessAdminApiKeysDeleteResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif + foreach (var __authorization in Authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + PrepareRequest( client: HttpClient, request: __httpRequest); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysGet.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysGet.g.cs index fdbc5dd0..6365a4a7 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysGet.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysGet.g.cs @@ -42,15 +42,7 @@ partial void ProcessAdminApiKeysGetResponseContent( var __pathBuilder = new PathBuilder( path: $"/organization/admin_api_keys/{keyId}", - baseUri: HttpClient.BaseAddress); - foreach (var __authorization in Authorizations) - { - if (__authorization.Type == "ApiKey" && - __authorization.Location == "Query") - { - __pathBuilder = __pathBuilder.AddRequiredParameter(__authorization.Name, __authorization.Value); - } - } + baseUri: HttpClient.BaseAddress); var __path = __pathBuilder.ToString(); using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -60,6 +52,22 @@ partial void ProcessAdminApiKeysGetResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif + foreach (var __authorization in Authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + PrepareRequest( client: HttpClient, request: __httpRequest); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysList.g.cs index 2b767888..59f5b69a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysList.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.AdminApiKeysList.g.cs @@ -58,15 +58,7 @@ partial void ProcessAdminApiKeysListResponseContent( var __pathBuilder = new PathBuilder( path: "/organization/admin_api_keys", - baseUri: HttpClient.BaseAddress); - foreach (var __authorization in Authorizations) - { - if (__authorization.Type == "ApiKey" && - __authorization.Location == "Query") - { - __pathBuilder = __pathBuilder.AddRequiredParameter(__authorization.Name, __authorization.Value); - } - } + baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("after", after) .AddOptionalParameter("order", order?.ToValueString()) @@ -81,6 +73,22 @@ partial void ProcessAdminApiKeysListResponseContent( __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; #endif + foreach (var __authorization in Authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + PrepareRequest( client: HttpClient, request: __httpRequest); diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.ModifyVectorStore.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.ModifyVectorStore.g.cs index b18e0a77..a597fd33 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.ModifyVectorStore.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.VectorStoresClient.ModifyVectorStore.g.cs @@ -171,9 +171,7 @@ partial void ProcessModifyVectorStoreResponseContent( /// /// The name of the vector store. /// - /// - /// The expiration policy for a vector store. - /// + /// /// /// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. /// @@ -183,7 +181,7 @@ partial void ProcessModifyVectorStoreResponseContent( public async global::System.Threading.Tasks.Task ModifyVectorStoreAsync( string vectorStoreId, string? name = default, - global::tryAGI.OpenAI.VectorStoreExpirationAfter? expiresAfter = default, + global::tryAGI.OpenAI.AllOf? expiresAfter = default, object? metadata = default, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml index 95c2b6ec..c2070f51 100644 --- a/src/libs/tryAGI.OpenAI/openapi.yaml +++ b/src/libs/tryAGI.OpenAI/openapi.yaml @@ -1213,11 +1213,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ApiKeyList' - security: - - bearer_identity_edge: - - key.secret - - api.management.read - - basic_identity_edge: [ ] x-oaiMeta: name: List admin API keys group: administration @@ -1249,11 +1244,6 @@ paths: application/json: schema: $ref: '#/components/schemas/AdminApiKey' - security: - - bearer_identity_edge: - - key.secret - - api.management.write - - basic_identity_edge: [ ] x-oaiMeta: name: Create admin API key group: administration @@ -1281,11 +1271,6 @@ paths: application/json: schema: $ref: '#/components/schemas/AdminApiKey' - security: - - bearer_identity_edge: - - key.secret - - api.management.read - - basic_identity_edge: [ ] x-oaiMeta: name: Retrieve admin API key group: administration @@ -1322,11 +1307,6 @@ paths: deleted: type: boolean example: true - security: - - bearer_identity_edge: - - key.secret - - api.management.write - - basic_identity_edge: [ ] x-oaiMeta: name: Delete admin API key group: administration @@ -4839,7 +4819,9 @@ components: nullable: true example: 1 response_format: - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + - nullable: true description: Represents an `assistant` that can call the model and use tools. x-oaiMeta: name: The assistant object @@ -6432,7 +6414,9 @@ components: nullable: true example: 1 response_format: - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + - nullable: true additionalProperties: false CreateChatCompletionFunctionResponse: required: @@ -8101,13 +8085,19 @@ components: description: "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.\n" nullable: true truncation_strategy: - $ref: '#/components/schemas/TruncationObject' + allOf: + - $ref: '#/components/schemas/TruncationObject' + - nullable: true tool_choice: - $ref: '#/components/schemas/AssistantsApiToolChoiceOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiToolChoiceOption' + - nullable: true parallel_tool_calls: $ref: '#/components/schemas/ParallelToolCalls' response_format: - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + - nullable: true additionalProperties: false CreateSpeechRequest: required: @@ -8276,13 +8266,19 @@ components: description: "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.\n" nullable: true truncation_strategy: - $ref: '#/components/schemas/TruncationObject' + allOf: + - $ref: '#/components/schemas/TruncationObject' + - nullable: true tool_choice: - $ref: '#/components/schemas/AssistantsApiToolChoiceOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiToolChoiceOption' + - nullable: true parallel_tool_calls: $ref: '#/components/schemas/ParallelToolCalls' response_format: - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + - nullable: true additionalProperties: false CreateThreadRequest: type: object @@ -8390,6 +8386,7 @@ components: nullable: true x-oaiTypeLabel: map additionalProperties: false + description: "Options to create a new thread. If no thread is provided when running a \nrequest, an empty thread will be created.\n" CreateTranscriptionRequest: required: - file @@ -10551,7 +10548,9 @@ components: nullable: true example: 1 response_format: - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + - nullable: true additionalProperties: false ModifyMessageRequest: type: object @@ -13155,13 +13154,19 @@ components: description: "The maximum number of completion tokens specified to have been used over the course of the run.\n" nullable: true truncation_strategy: - $ref: '#/components/schemas/TruncationObject' + allOf: + - $ref: '#/components/schemas/TruncationObject' + - nullable: true tool_choice: - $ref: '#/components/schemas/AssistantsApiToolChoiceOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiToolChoiceOption' + - nullable: true parallel_tool_calls: $ref: '#/components/schemas/ParallelToolCalls' response_format: - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + allOf: + - $ref: '#/components/schemas/AssistantsApiResponseFormatOption' + - nullable: true description: 'Represents an execution run on a [thread](/docs/api-reference/threads).' x-oaiMeta: name: The run object @@ -14269,7 +14274,9 @@ components: description: The name of the vector store. nullable: true expires_after: - $ref: '#/components/schemas/VectorStoreExpirationAfter' + allOf: + - $ref: '#/components/schemas/VectorStoreExpirationAfter' + - nullable: true metadata: type: object description: "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n" @@ -14321,7 +14328,10 @@ components: description: 'The object type, which is always "upload".' x-stainless-const: true file: - $ref: '#/components/schemas/OpenAIFile' + allOf: + - $ref: '#/components/schemas/OpenAIFile' + - description: The ready File object after the Upload is completed. + nullable: true description: "The Upload object can accept byte chunks in the form of Parts.\n" x-oaiMeta: name: The upload object