diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceContentItemType.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceContentItemType.g.cs
new file mode 100644
index 000000000..e8e5fdc27
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceContentItemType.g.cs
@@ -0,0 +1,49 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceContentItemTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceContentItemTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceContentItemTypeNullable.g.cs
new file mode 100644
index 000000000..379836b38
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceContentItemTypeNullable.g.cs
@@ -0,0 +1,56 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceContentItemTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceObject.g.cs
new file mode 100644
index 000000000..0b91b604c
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceObject.g.cs
@@ -0,0 +1,49 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceObjectJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObjectExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObjectExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceObjectNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceObjectNullable.g.cs
new file mode 100644
index 000000000..7d71bc457
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceObjectNullable.g.cs
@@ -0,0 +1,56 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceObjectNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObjectExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObjectExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceRole.g.cs
new file mode 100644
index 000000000..3c91b54d0
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceRole.g.cs
@@ -0,0 +1,49 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceRoleJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRoleExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRoleExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceRoleNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceRoleNullable.g.cs
new file mode 100644
index 000000000..7d5a7483d
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceRoleNullable.g.cs
@@ -0,0 +1,56 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceRoleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRoleExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRoleExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceStatus.g.cs
new file mode 100644
index 000000000..72230611e
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceStatus.g.cs
@@ -0,0 +1,49 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatusExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatusExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceStatusNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceStatusNullable.g.cs
new file mode 100644
index 000000000..30c2327b9
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceStatusNullable.g.cs
@@ -0,0 +1,56 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatusExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatusExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceType.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceType.g.cs
new file mode 100644
index 000000000..6658be048
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceType.g.cs
@@ -0,0 +1,49 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceTypeExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceTypeExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceTypeNullable.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceTypeNullable.g.cs
new file mode 100644
index 000000000..c287d9c2c
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonConverters.RealtimeConversationItemWithReferenceTypeNullable.g.cs
@@ -0,0 +1,56 @@
+#nullable enable
+
+namespace tryAGI.OpenAI.JsonConverters
+{
+ ///
+ public sealed class RealtimeConversationItemWithReferenceTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceTypeExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType)numValue;
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceTypeExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContext.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContext.g.cs
index e857ce2d3..c3445dba3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContext.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContext.g.cs
@@ -635,6 +635,16 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeResponseCreateParamsMaxResponseOutputTokensNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeResponseCreateParamsConversationJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeResponseCreateParamsConversationNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceTypeJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceTypeNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceObjectJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceObjectNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceStatusJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceStatusNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceRoleJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceRoleNullableJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceContentItemTypeJsonConverter),
+ typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceContentItemTypeNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeClientEventSessionUpdateTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeClientEventSessionUpdateTypeNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeSessionCreateRequestModalitieJsonConverter),
diff --git a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs
index ae20b0086..b87aa46f8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs
@@ -3682,1262 +3682,1298 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::System.Collections.Generic.IList? Type914 { get; set; }
+ public global::System.Collections.Generic.IList? Type914 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type915 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReference? Type915 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type916 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Type916 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type917 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Type917 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type918 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Type918 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type919 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Type919 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModel? Type920 { get; set; }
+ public global::System.Collections.Generic.IList? Type920 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestVoice? Type921 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem? Type921 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioFormat? Type922 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Type922 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestOutputAudioFormat? Type923 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdate? Type923 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type924 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeClientEventSessionUpdateType? Type924 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type925 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequest? Type925 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type926 { get; set; }
+ public global::System.Collections.Generic.IList? Type926 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type927 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModalitie? Type927 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type928 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestModel? Type928 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.OneOf? Type929 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestVoice? Type929 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type930 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioFormat? Type930 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponse? Type931 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestOutputAudioFormat? Type931 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseObject? Type932 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestInputAudioTranscription? Type932 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseStatus? Type933 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTurnDetection? Type933 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseUsage? Type934 { get; set; }
+ public global::System.Collections.Generic.IList? Type934 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type935 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestTool? Type935 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type936 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestToolType? Type936 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type937 { get; set; }
+ public global::tryAGI.OpenAI.OneOf? Type937 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type938 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateRequestMaxResponseOutputTokens? Type938 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type939 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponse? Type939 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type940 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseObject? Type940 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type941 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseStatus? Type941 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type942 { get; set; }
+ public global::System.Collections.Generic.IList? Type942 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type943 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseUsage? Type943 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type944 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationCreated? Type944 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type945 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedType? Type945 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type946 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationCreatedConversation? Type946 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type947 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreated? Type947 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type948 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemCreatedType? Type948 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventError? Type949 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeleted? Type949 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type950 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemDeletedType? Type950 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type951 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompleted? Type951 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type952 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionCompletedType? Type952 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type953 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailed? Type953 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type954 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedType? Type954 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type955 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemInputAudioTranscriptionFailedError? Type955 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type956 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncated? Type956 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type957 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventConversationItemTruncatedType? Type957 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type958 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventError? Type958 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type959 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventErrorType? Type959 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type960 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventErrorError? Type960 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type961 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCleared? Type961 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type962 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferClearedType? Type962 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type963 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommitted? Type963 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type964 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferCommittedType? Type964 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type965 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStarted? Type965 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type966 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStartedType? Type966 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type967 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStopped? Type967 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type968 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventInputAudioBufferSpeechStoppedType? Type968 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type969 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdated? Type969 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type970 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedType? Type970 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type971 { get; set; }
+ public global::System.Collections.Generic.IList? Type971 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type972 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimit? Type972 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type973 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventRateLimitsUpdatedRateLimitName? Type973 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type974 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDelta? Type974 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type975 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDeltaType? Type975 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type976 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDone? Type976 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type977 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioDoneType? Type977 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type978 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDelta? Type978 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type979 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDeltaType? Type979 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type980 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDone? Type980 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type981 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseAudioTranscriptDoneType? Type981 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type982 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAdded? Type982 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type983 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedType? Type983 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type984 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPart? Type984 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type985 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartAddedPartType? Type985 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type986 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDone? Type986 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type987 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDoneType? Type987 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type988 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePart? Type988 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type989 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseContentPartDonePartType? Type989 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type990 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseCreated? Type990 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type991 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseCreatedType? Type991 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type992 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseDone? Type992 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type993 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseDoneType? Type993 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type994 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDelta? Type994 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type995 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDeltaType? Type995 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type996 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDone? Type996 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type997 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseFunctionCallArgumentsDoneType? Type997 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type998 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAdded? Type998 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSession? Type999 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemAddedType? Type999 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionObject? Type1000 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDone? Type1000 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionVoice? Type1001 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseOutputItemDoneType? Type1001 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeAudioFormat? Type1002 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDelta? Type1002 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionInputAudioTranscription? Type1003 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDeltaType? Type1003 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionTurnDetection? Type1004 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDone? Type1004 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionTurnDetectionType? Type1005 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventResponseTextDoneType? Type1005 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1006 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventSessionCreated? Type1006 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionTool? Type1007 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventSessionCreatedType? Type1007 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionToolChoice? Type1008 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSession? Type1008 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.OneOf? Type1009 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionObject? Type1009 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionMaxOutputTokens? Type1010 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionVoice? Type1010 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1011 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeAudioFormat? Type1011 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1012 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionInputAudioTranscription? Type1012 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1013 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionTurnDetection? Type1013 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret? Type1014 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionTurnDetectionType? Type1014 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1015 { get; set; }
+ public global::System.Collections.Generic.IList? Type1015 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponseModalitie? Type1016 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionTool? Type1016 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponseVoice? Type1017 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionToolChoice? Type1017 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponseInputAudioTranscription? Type1018 { get; set; }
+ public global::tryAGI.OpenAI.OneOf? Type1018 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1019 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionMaxOutputTokens? Type1019 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1020 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdated? Type1020 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTool? Type1021 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventSessionUpdatedType? Type1021 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponseToolType? Type1022 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponse? Type1022 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.OneOf? Type1023 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponseClientSecret? Type1023 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxResponseOutputTokens? Type1024 { get; set; }
+ public global::System.Collections.Generic.IList? Type1024 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type1025 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponseModalitie? Type1025 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1026 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponseVoice? Type1026 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type1027 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponseInputAudioTranscription? Type1027 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type1028 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTurnDetection? Type1028 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AllOf? Type1029 { get; set; }
+ public global::System.Collections.Generic.IList? Type1029 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.Upload? Type1030 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponseTool? Type1030 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UploadStatus? Type1031 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponseToolType? Type1031 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UploadObject? Type1032 { get; set; }
+ public global::tryAGI.OpenAI.OneOf? Type1032 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AllOf? Type1033 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreateResponseMaxResponseOutputTokens? Type1033 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UploadPart? Type1034 { get; set; }
+ public global::tryAGI.OpenAI.SubmitToolOutputsRunRequest? Type1034 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UploadPartObject? Type1035 { get; set; }
+ public global::System.Collections.Generic.IList? Type1035 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type1036 { get; set; }
+ public global::tryAGI.OpenAI.SubmitToolOutputsRunRequestToolOutput? Type1036 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type1037 { get; set; }
+ public global::tryAGI.OpenAI.UpdateVectorStoreRequest? Type1037 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type1038 { get; set; }
+ public global::tryAGI.OpenAI.AllOf? Type1038 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type1039 { get; set; }
+ public global::tryAGI.OpenAI.Upload? Type1039 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type1040 { get; set; }
+ public global::tryAGI.OpenAI.UploadStatus? Type1040 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type1041 { get; set; }
+ public global::tryAGI.OpenAI.UploadObject? Type1041 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCompletionsResult? Type1042 { get; set; }
+ public global::tryAGI.OpenAI.AllOf? Type1042 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type1043 { get; set; }
+ public global::tryAGI.OpenAI.UploadPart? Type1043 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type1044 { get; set; }
+ public global::tryAGI.OpenAI.UploadPartObject? Type1044 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type1045 { get; set; }
+ public global::tryAGI.OpenAI.UsageAudioSpeechesResult? Type1045 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageImagesResult? Type1046 { get; set; }
+ public global::tryAGI.OpenAI.UsageAudioSpeechesResultObject? Type1046 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageImagesResultObject? Type1047 { get; set; }
+ public global::tryAGI.OpenAI.UsageAudioTranscriptionsResult? Type1047 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageModerationsResult? Type1048 { get; set; }
+ public global::tryAGI.OpenAI.UsageAudioTranscriptionsResultObject? Type1048 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageModerationsResultObject? Type1049 { get; set; }
+ public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResult? Type1049 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageResponse? Type1050 { get; set; }
+ public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsResultObject? Type1050 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageResponseObject? Type1051 { get; set; }
+ public global::tryAGI.OpenAI.UsageCompletionsResult? Type1051 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1052 { get; set; }
+ public global::tryAGI.OpenAI.UsageCompletionsResultObject? Type1052 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageTimeBucket? Type1053 { get; set; }
+ public global::tryAGI.OpenAI.UsageEmbeddingsResult? Type1053 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageTimeBucketObject? Type1054 { get; set; }
+ public global::tryAGI.OpenAI.UsageEmbeddingsResultObject? Type1054 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1055 { get; set; }
+ public global::tryAGI.OpenAI.UsageImagesResult? Type1055 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ResultItem? Type1056 { get; set; }
+ public global::tryAGI.OpenAI.UsageImagesResultObject? Type1056 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageVectorStoresResult? Type1057 { get; set; }
+ public global::tryAGI.OpenAI.UsageModerationsResult? Type1057 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type1058 { get; set; }
+ public global::tryAGI.OpenAI.UsageModerationsResultObject? Type1058 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageTimeBucketResultItemDiscriminator? Type1059 { get; set; }
+ public global::tryAGI.OpenAI.UsageResponse? Type1059 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageTimeBucketResultItemDiscriminatorObject? Type1060 { get; set; }
+ public global::tryAGI.OpenAI.UsageResponseObject? Type1060 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.User? Type1061 { get; set; }
+ public global::System.Collections.Generic.IList? Type1061 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UserObject? Type1062 { get; set; }
+ public global::tryAGI.OpenAI.UsageTimeBucket? Type1062 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UserRole? Type1063 { get; set; }
+ public global::tryAGI.OpenAI.UsageTimeBucketObject? Type1063 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UserDeleteResponse? Type1064 { get; set; }
+ public global::System.Collections.Generic.IList? Type1064 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UserDeleteResponseObject? Type1065 { get; set; }
+ public global::tryAGI.OpenAI.ResultItem? Type1065 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UserListResponse? Type1066 { get; set; }
+ public global::tryAGI.OpenAI.UsageVectorStoresResult? Type1066 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UserListResponseObject? Type1067 { get; set; }
+ public global::tryAGI.OpenAI.UsageVectorStoresResultObject? Type1067 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1068 { get; set; }
+ public global::tryAGI.OpenAI.UsageTimeBucketResultItemDiscriminator? Type1068 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type1069 { get; set; }
+ public global::tryAGI.OpenAI.UsageTimeBucketResultItemDiscriminatorObject? Type1069 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UserRoleUpdateRequestRole? Type1070 { get; set; }
+ public global::tryAGI.OpenAI.User? Type1070 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type1071 { get; set; }
+ public global::tryAGI.OpenAI.UserObject? Type1071 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type1072 { get; set; }
+ public global::tryAGI.OpenAI.UserRole? Type1072 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type1073 { get; set; }
+ public global::tryAGI.OpenAI.UserDeleteResponse? Type1073 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type1074 { get; set; }
+ public global::tryAGI.OpenAI.UserDeleteResponseObject? Type1074 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventType? Type1075 { get; set; }
+ public global::tryAGI.OpenAI.UserListResponse? Type1075 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventBase? Type1076 { get; set; }
+ public global::tryAGI.OpenAI.UserListResponseObject? Type1076 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversation? Type1077 { get; set; }
+ public global::System.Collections.Generic.IList? Type1077 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationObject? Type1078 { get; set; }
+ public global::tryAGI.OpenAI.UserRoleUpdateRequest? Type1078 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeContentPart? Type1079 { get; set; }
+ public global::tryAGI.OpenAI.UserRoleUpdateRequestRole? Type1079 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeContentPartType? Type1080 { get; set; }
+ public global::tryAGI.OpenAI.VectorStoreFileBatchObject? Type1080 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeErrorDetails? Type1081 { get; set; }
+ public global::tryAGI.OpenAI.VectorStoreFileBatchObjectObject? Type1081 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionUpdate? Type1082 { get; set; }
+ public global::tryAGI.OpenAI.VectorStoreFileBatchObjectStatus? Type1082 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionUpdateType? Type1083 { get; set; }
+ public global::tryAGI.OpenAI.VectorStoreFileBatchObjectFileCounts? Type1083 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppend? Type1084 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventType? Type1084 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppendType? Type1085 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventBase? Type1085 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommit? Type1086 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversation? Type1086 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitType? Type1087 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationObject? Type1087 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferClear? Type1088 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeContentPart? Type1088 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearType? Type1089 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeContentPartType? Type1089 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemCreate? Type1090 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeErrorDetails? Type1090 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemCreateType? Type1091 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionUpdate? Type1091 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemTruncate? Type1092 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionUpdateType? Type1092 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemTruncateType? Type1093 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppend? Type1093 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemDelete? Type1094 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferAppendType? Type1094 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemDeleteType? Type1095 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommit? Type1095 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreate? Type1096 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitType? Type1096 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreateType? Type1097 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferClear? Type1097 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreateResponse? Type1098 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearType? Type1098 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1099 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemCreate? Type1099 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreateResponseModalitie? Type1100 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemCreateType? Type1100 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreateResponseVoice? Type1101 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemTruncate? Type1101 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1102 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemTruncateType? Type1102 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreateResponseTool? Type1103 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemDelete? Type1103 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.OneOf? Type1104 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemDeleteType? Type1104 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreateResponseToolChoice? Type1105 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreate? Type1105 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.OneOf? Type1106 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreateType? Type1106 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreateResponseMaxOutputTokens? Type1107 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreateResponse? Type1107 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCancel? Type1108 { get; set; }
+ public global::System.Collections.Generic.IList? Type1108 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCancelType? Type1109 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreateResponseModalitie? Type1109 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeError? Type1110 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreateResponseVoice? Type1110 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeErrorType? Type1111 { get; set; }
+ public global::System.Collections.Generic.IList? Type1111 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreated? Type1112 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreateResponseTool? Type1112 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionCreatedType? Type1113 { get; set; }
+ public global::tryAGI.OpenAI.OneOf? Type1113 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionUpdated? Type1114 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreateResponseToolChoice? Type1114 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeSessionUpdatedType? Type1115 { get; set; }
+ public global::tryAGI.OpenAI.OneOf? Type1115 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationCreated? Type1116 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreateResponseMaxOutputTokens? Type1116 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationCreatedType? Type1117 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCancel? Type1117 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemCreated? Type1118 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCancelType? Type1118 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemCreatedType? Type1119 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeError? Type1119 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompleted? Type1120 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeErrorType? Type1120 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompletedType? Type1121 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreated? Type1121 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailed? Type1122 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionCreatedType? Type1122 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailedType? Type1123 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionUpdated? Type1123 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemTruncated? Type1124 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeSessionUpdatedType? Type1124 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemTruncatedType? Type1125 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationCreated? Type1125 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemDeleted? Type1126 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationCreatedType? Type1126 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeConversationItemDeletedType? Type1127 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemCreated? Type1127 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitted? Type1128 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemCreatedType? Type1128 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommittedType? Type1129 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompleted? Type1129 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferCleared? Type1130 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionCompletedType? Type1130 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearedType? Type1131 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailed? Type1131 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStarted? Type1132 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemInputAudioTranscriptionFailedType? Type1132 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStartedType? Type1133 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemTruncated? Type1133 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStopped? Type1134 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemTruncatedType? Type1134 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStoppedType? Type1135 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemDeleted? Type1135 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreated? Type1136 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeConversationItemDeletedType? Type1136 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseCreatedType? Type1137 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommitted? Type1137 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseDone? Type1138 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferCommittedType? Type1138 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseDoneType? Type1139 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferCleared? Type1139 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseOutputItemAdded? Type1140 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferClearedType? Type1140 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseOutputItemAddedType? Type1141 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStarted? Type1141 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseOutputItemDone? Type1142 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStartedType? Type1142 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseOutputItemDoneType? Type1143 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStopped? Type1143 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseContentPartAdded? Type1144 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeInputAudioBufferSpeechStoppedType? Type1144 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseContentPartAddedType? Type1145 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreated? Type1145 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseContentPartDone? Type1146 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseCreatedType? Type1146 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseContentPartDoneType? Type1147 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseDone? Type1147 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseTextDelta? Type1148 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseDoneType? Type1148 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseTextDeltaType? Type1149 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseOutputItemAdded? Type1149 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseTextDone? Type1150 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseOutputItemAddedType? Type1150 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseTextDoneType? Type1151 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseOutputItemDone? Type1151 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDelta? Type1152 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseOutputItemDoneType? Type1152 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDeltaType? Type1153 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseContentPartAdded? Type1153 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDone? Type1154 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseContentPartAddedType? Type1154 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDoneType? Type1155 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseContentPartDone? Type1155 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseAudioDelta? Type1156 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseContentPartDoneType? Type1156 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseAudioDeltaType? Type1157 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseTextDelta? Type1157 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseAudioDone? Type1158 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseTextDeltaType? Type1158 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseAudioDoneType? Type1159 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseTextDone? Type1159 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDelta? Type1160 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseTextDoneType? Type1160 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDeltaType? Type1161 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDelta? Type1161 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDone? Type1162 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDeltaType? Type1162 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDoneType? Type1163 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDone? Type1163 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeRateLimitsUpdated? Type1164 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseAudioTranscriptDoneType? Type1164 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedType? Type1165 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseAudioDelta? Type1165 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1166 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseAudioDeltaType? Type1166 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimit? Type1167 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseAudioDone? Type1167 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimitName? Type1168 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseAudioDoneType? Type1168 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEvent? Type1169 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDelta? Type1169 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventDiscriminator? Type1170 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDeltaType? Type1170 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.RealtimeServerEventDiscriminatorType? Type1171 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDone? Type1171 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.CreateBatchRequest? Type1172 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeResponseFunctionCallArgumentsDoneType? Type1172 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type1173 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeRateLimitsUpdated? Type1173 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type1174 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedType? Type1174 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type1175 { get; set; }
+ public global::System.Collections.Generic.IList? Type1175 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListAssistantsOrder? Type1176 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimit? Type1176 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListFilesOrder? Type1177 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeRateLimitsUpdatedRateLimitName? Type1177 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type1178 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEvent? Type1178 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type1179 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventDiscriminator? Type1179 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1180 { get; set; }
+ public global::tryAGI.OpenAI.RealtimeServerEventDiscriminatorType? Type1180 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type1181 { get; set; }
+ public global::tryAGI.OpenAI.CreateBatchRequest? Type1181 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1182 { get; set; }
+ public global::tryAGI.OpenAI.CreateBatchRequestEndpoint? Type1182 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type1183 { get; set; }
+ public global::tryAGI.OpenAI.CreateBatchRequestCompletionWindow? Type1183 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type1184 { get; set; }
+ public global::tryAGI.OpenAI.AdminApiKeysCreateRequest? Type1184 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1185 { get; set; }
+ public global::tryAGI.OpenAI.ListAssistantsOrder? Type1185 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type1186 { get; set; }
+ public global::tryAGI.OpenAI.ListFilesOrder? Type1186 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? Type1187 { get; set; }
+ public global::tryAGI.OpenAI.AdminApiKeysListOrder? Type1187 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1188 { get; set; }
+ public global::tryAGI.OpenAI.ListAuditLogsEffectiveAt? Type1188 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type1189 { get; set; }
+ public global::System.Collections.Generic.IList? Type1189 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type1190 { get; set; }
+ public global::tryAGI.OpenAI.UsageCostsBucketWidth? Type1190 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1191 { get; set; }
+ public global::System.Collections.Generic.IList? Type1191 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type1192 { get; set; }
+ public global::tryAGI.OpenAI.UsageCostsGroupByItem? Type1192 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type1193 { get; set; }
+ public global::tryAGI.OpenAI.UsageAudioSpeechesBucketWidth? Type1193 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1194 { get; set; }
+ public global::System.Collections.Generic.IList? Type1194 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type1195 { get; set; }
+ public global::tryAGI.OpenAI.UsageAudioSpeechesGroupByItem? Type1195 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type1196 { get; set; }
+ public global::tryAGI.OpenAI.UsageAudioTranscriptionsBucketWidth? 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.UsageEmbeddingsGroupByItem? Type1198 { get; set; }
+ public global::tryAGI.OpenAI.UsageAudioTranscriptionsGroupByItem? Type1198 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type1199 { get; set; }
+ public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsBucketWidth? Type1199 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1200 { get; set; }
+ public global::System.Collections.Generic.IList? Type1200 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageImagesSource? Type1201 { get; set; }
+ public global::tryAGI.OpenAI.UsageCodeInterpreterSessionsGroupByItem? Type1201 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1202 { get; set; }
+ public global::tryAGI.OpenAI.UsageCompletionsBucketWidth? Type1202 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageImagesSize? Type1203 { get; set; }
+ public global::System.Collections.Generic.IList? Type1203 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1204 { get; set; }
+ public global::tryAGI.OpenAI.UsageCompletionsGroupByItem? Type1204 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type1205 { get; set; }
+ public global::tryAGI.OpenAI.UsageEmbeddingsBucketWidth? Type1205 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type1206 { get; set; }
+ public global::System.Collections.Generic.IList? Type1206 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1207 { get; set; }
+ public global::tryAGI.OpenAI.UsageEmbeddingsGroupByItem? Type1207 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type1208 { get; set; }
+ public global::tryAGI.OpenAI.UsageImagesBucketWidth? Type1208 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type1209 { get; set; }
+ public global::System.Collections.Generic.IList? Type1209 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1210 { get; set; }
+ public global::tryAGI.OpenAI.UsageImagesSource? Type1210 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type1211 { get; set; }
+ public global::System.Collections.Generic.IList? Type1211 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListMessagesOrder? Type1212 { get; set; }
+ public global::tryAGI.OpenAI.UsageImagesSize? Type1212 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListRunsOrder? Type1213 { get; set; }
+ public global::System.Collections.Generic.IList? Type1213 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1214 { get; set; }
+ public global::tryAGI.OpenAI.UsageImagesGroupByItem? Type1214 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.CreateRunIncludeItem? Type1215 { get; set; }
+ public global::tryAGI.OpenAI.UsageModerationsBucketWidth? Type1215 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListRunStepsOrder? Type1216 { get; set; }
+ public global::System.Collections.Generic.IList? Type1216 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1217 { get; set; }
+ public global::tryAGI.OpenAI.UsageModerationsGroupByItem? Type1217 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type1218 { get; set; }
+ public global::tryAGI.OpenAI.UsageVectorStoresBucketWidth? Type1218 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type1219 { get; set; }
+ public global::System.Collections.Generic.IList? Type1219 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type1220 { get; set; }
+ public global::tryAGI.OpenAI.UsageVectorStoresGroupByItem? Type1220 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListVectorStoresOrder? Type1221 { get; set; }
+ public global::tryAGI.OpenAI.ListMessagesOrder? Type1221 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type1222 { get; set; }
+ public global::tryAGI.OpenAI.ListRunsOrder? Type1222 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type1223 { get; set; }
+ public global::System.Collections.Generic.IList? Type1223 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type1224 { get; set; }
+ public global::tryAGI.OpenAI.CreateRunIncludeItem? Type1224 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type1225 { get; set; }
+ public global::tryAGI.OpenAI.ListRunStepsOrder? Type1225 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.OneOf? Type1226 { get; set; }
+ public global::System.Collections.Generic.IList? Type1226 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.OneOf? Type1227 { get; set; }
+ public global::tryAGI.OpenAI.ListRunStepsIncludeItem? Type1227 { get; set; }
///
///
///
- public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type1228 { get; set; }
+ public global::System.Collections.Generic.IList? Type1228 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.GetRunStepIncludeItem? Type1229 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.ListVectorStoresOrder? Type1230 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchOrder? Type1231 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.ListFilesInVectorStoreBatchFilter? Type1232 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.ListVectorStoreFilesOrder? Type1233 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.ListVectorStoreFilesFilter? Type1234 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.OneOf? Type1235 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.OneOf? Type1236 { get; set; }
+ ///
+ ///
+ ///
+ public global::tryAGI.OpenAI.AdminApiKeysDeleteResponse? Type1237 { get; set; }
}
}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRole.g.cs
index 5137967f4..deeea1fa7 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRole.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRole.g.cs
@@ -8,6 +8,10 @@ namespace tryAGI.OpenAI
///
public enum ChatCompletionRole
{
+ ///
+ ///
+ ///
+ Developer,
///
///
///
@@ -42,6 +46,7 @@ public static string ToValueString(this ChatCompletionRole value)
{
return value switch
{
+ ChatCompletionRole.Developer => "developer",
ChatCompletionRole.System => "system",
ChatCompletionRole.User => "user",
ChatCompletionRole.Assistant => "assistant",
@@ -57,6 +62,7 @@ public static string ToValueString(this ChatCompletionRole value)
{
return value switch
{
+ "developer" => ChatCompletionRole.Developer,
"system" => ChatCompletionRole.System,
"user" => ChatCompletionRole.User,
"assistant" => ChatCompletionRole.Assistant,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDeltaRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDeltaRole.g.cs
index fa0c254d8..7540a8374 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDeltaRole.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionStreamResponseDeltaRole.g.cs
@@ -8,6 +8,10 @@ namespace tryAGI.OpenAI
///
public enum ChatCompletionStreamResponseDeltaRole
{
+ ///
+ ///
+ ///
+ Developer,
///
///
///
@@ -38,6 +42,7 @@ public static string ToValueString(this ChatCompletionStreamResponseDeltaRole va
{
return value switch
{
+ ChatCompletionStreamResponseDeltaRole.Developer => "developer",
ChatCompletionStreamResponseDeltaRole.System => "system",
ChatCompletionStreamResponseDeltaRole.User => "user",
ChatCompletionStreamResponseDeltaRole.Assistant => "assistant",
@@ -52,6 +57,7 @@ public static string ToValueString(this ChatCompletionStreamResponseDeltaRole va
{
return value switch
{
+ "developer" => ChatCompletionStreamResponseDeltaRole.Developer,
"system" => ChatCompletionStreamResponseDeltaRole.System,
"user" => ChatCompletionStreamResponseDeltaRole.User,
"assistant" => ChatCompletionStreamResponseDeltaRole.Assistant,
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsage.g.cs
index 4f4108fbe..cccce0c34 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsage.g.cs
@@ -9,25 +9,31 @@ namespace tryAGI.OpenAI
public sealed partial class CompletionUsage
{
///
- /// Number of tokens in the generated completion.
+ /// Number of tokens in the generated completion.
+ /// Default Value: 0
///
+ /// 0
[global::System.Text.Json.Serialization.JsonPropertyName("completion_tokens")]
[global::System.Text.Json.Serialization.JsonRequired]
- public required int CompletionTokens { get; set; }
+ public required int CompletionTokens { get; set; } = 0;
///
- /// Number of tokens in the prompt.
+ /// Number of tokens in the prompt.
+ /// Default Value: 0
///
+ /// 0
[global::System.Text.Json.Serialization.JsonPropertyName("prompt_tokens")]
[global::System.Text.Json.Serialization.JsonRequired]
- public required int PromptTokens { get; set; }
+ public required int PromptTokens { get; set; } = 0;
///
- /// Total number of tokens used in the request (prompt + completion).
+ /// Total number of tokens used in the request (prompt + completion).
+ /// Default Value: 0
///
+ /// 0
[global::System.Text.Json.Serialization.JsonPropertyName("total_tokens")]
[global::System.Text.Json.Serialization.JsonRequired]
- public required int TotalTokens { get; set; }
+ public required int TotalTokens { get; set; } = 0;
///
/// Breakdown of tokens used in a completion.
@@ -51,13 +57,16 @@ public sealed partial class CompletionUsage
/// Initializes a new instance of the class.
///
///
- /// Number of tokens in the generated completion.
+ /// Number of tokens in the generated completion.
+ /// Default Value: 0
///
///
- /// Number of tokens in the prompt.
+ /// Number of tokens in the prompt.
+ /// Default Value: 0
///
///
- /// Total number of tokens used in the request (prompt + completion).
+ /// Total number of tokens used in the request (prompt + completion).
+ /// Default Value: 0
///
///
/// Breakdown of tokens used in a completion.
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsageCompletionTokensDetails.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsageCompletionTokensDetails.g.cs
index 238a5640d..621bc7848 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsageCompletionTokensDetails.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsageCompletionTokensDetails.g.cs
@@ -10,19 +10,22 @@ public sealed partial class CompletionUsageCompletionTokensDetails
{
///
/// When using Predicted Outputs, the number of tokens in the
- /// prediction that appeared in the completion.
+ /// prediction that appeared in the completion.
+ /// Default Value: 0
///
[global::System.Text.Json.Serialization.JsonPropertyName("accepted_prediction_tokens")]
public int? AcceptedPredictionTokens { get; set; }
///
- /// Audio input tokens generated by the model.
+ /// Audio input tokens generated by the model.
+ /// Default Value: 0
///
[global::System.Text.Json.Serialization.JsonPropertyName("audio_tokens")]
public int? AudioTokens { get; set; }
///
- /// Tokens generated by the model for reasoning.
+ /// Tokens generated by the model for reasoning.
+ /// Default Value: 0
///
[global::System.Text.Json.Serialization.JsonPropertyName("reasoning_tokens")]
public int? ReasoningTokens { get; set; }
@@ -32,7 +35,8 @@ public sealed partial class CompletionUsageCompletionTokensDetails
/// prediction that did not appear in the completion. However, like
/// reasoning tokens, these tokens are still counted in the total
/// completion tokens for purposes of billing, output, and context window
- /// limits.
+ /// limits.
+ /// Default Value: 0
///
[global::System.Text.Json.Serialization.JsonPropertyName("rejected_prediction_tokens")]
public int? RejectedPredictionTokens { get; set; }
@@ -48,20 +52,24 @@ public sealed partial class CompletionUsageCompletionTokensDetails
///
///
/// When using Predicted Outputs, the number of tokens in the
- /// prediction that appeared in the completion.
+ /// prediction that appeared in the completion.
+ /// Default Value: 0
///
///
- /// Audio input tokens generated by the model.
+ /// Audio input tokens generated by the model.
+ /// Default Value: 0
///
///
- /// Tokens generated by the model for reasoning.
+ /// Tokens generated by the model for reasoning.
+ /// Default Value: 0
///
///
/// When using Predicted Outputs, the number of tokens in the
/// prediction that did not appear in the completion. However, like
/// reasoning tokens, these tokens are still counted in the total
/// completion tokens for purposes of billing, output, and context window
- /// limits.
+ /// limits.
+ /// Default Value: 0
///
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
public CompletionUsageCompletionTokensDetails(
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsagePromptTokensDetails.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsagePromptTokensDetails.g.cs
index 0b8d3760e..fa2ef6c6f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsagePromptTokensDetails.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompletionUsagePromptTokensDetails.g.cs
@@ -9,13 +9,15 @@ namespace tryAGI.OpenAI
public sealed partial class CompletionUsagePromptTokensDetails
{
///
- /// Audio input tokens present in the prompt.
+ /// Audio input tokens present in the prompt.
+ /// Default Value: 0
///
[global::System.Text.Json.Serialization.JsonPropertyName("audio_tokens")]
public int? AudioTokens { get; set; }
///
- /// Cached tokens present in the prompt.
+ /// Cached tokens present in the prompt.
+ /// Default Value: 0
///
[global::System.Text.Json.Serialization.JsonPropertyName("cached_tokens")]
public int? CachedTokens { get; set; }
@@ -30,10 +32,12 @@ public sealed partial class CompletionUsagePromptTokensDetails
/// Initializes a new instance of the class.
///
///
- /// Audio input tokens present in the prompt.
+ /// Audio input tokens present in the prompt.
+ /// Default Value: 0
///
///
- /// Cached tokens present in the prompt.
+ /// Cached tokens present in the prompt.
+ /// Default Value: 0
///
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
public CompletionUsagePromptTokensDetails(
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseVerboseJson.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseVerboseJson.g.cs
index de072c5a6..1b053e09f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseVerboseJson.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseVerboseJson.g.cs
@@ -20,7 +20,7 @@ public sealed partial class CreateTranscriptionResponseVerboseJson
///
[global::System.Text.Json.Serialization.JsonPropertyName("duration")]
[global::System.Text.Json.Serialization.JsonRequired]
- public required string Duration { get; set; }
+ public required double Duration { get; set; }
///
/// The transcribed text.
@@ -68,13 +68,13 @@ public sealed partial class CreateTranscriptionResponseVerboseJson
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
public CreateTranscriptionResponseVerboseJson(
string language,
- string duration,
+ double duration,
string text,
global::System.Collections.Generic.IList? words,
global::System.Collections.Generic.IList? segments)
{
this.Language = language ?? throw new global::System.ArgumentNullException(nameof(language));
- this.Duration = duration ?? throw new global::System.ArgumentNullException(nameof(duration));
+ this.Duration = duration;
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Words = words;
this.Segments = segments;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranslationResponseVerboseJson.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranslationResponseVerboseJson.g.cs
index 5598bc48d..13f69402e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranslationResponseVerboseJson.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranslationResponseVerboseJson.g.cs
@@ -20,7 +20,7 @@ public sealed partial class CreateTranslationResponseVerboseJson
///
[global::System.Text.Json.Serialization.JsonPropertyName("duration")]
[global::System.Text.Json.Serialization.JsonRequired]
- public required string Duration { get; set; }
+ public required double Duration { get; set; }
///
/// The translated text.
@@ -59,12 +59,12 @@ public sealed partial class CreateTranslationResponseVerboseJson
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
public CreateTranslationResponseVerboseJson(
string language,
- string duration,
+ double duration,
string text,
global::System.Collections.Generic.IList? segments)
{
this.Language = language ?? throw new global::System.ArgumentNullException(nameof(language));
- this.Duration = duration ?? throw new global::System.ArgumentNullException(nameof(duration));
+ this.Duration = duration;
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Segments = segments;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemTruncate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemTruncate.g.cs
index afbfeb891..2a9df1e99 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemTruncate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemTruncate.g.cs
@@ -12,7 +12,7 @@ namespace tryAGI.OpenAI
/// Truncating audio will delete the server-side text transcript to ensure there
/// is not text in the context that hasn't been heard by the user.
/// If successful, the server will respond with a `conversation.item.truncated`
- /// event.
+ /// event.
///
public sealed partial class RealtimeClientEventConversationItemTruncate
{
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReference.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReference.Json.g.cs
new file mode 100644
index 000000000..5f63b01d5
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReference.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ public sealed partial class RealtimeConversationItemWithReference
+ {
+ ///
+ /// 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.RealtimeConversationItemWithReference? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::tryAGI.OpenAI.RealtimeConversationItemWithReference),
+ jsonSerializerContext) as global::tryAGI.OpenAI.RealtimeConversationItemWithReference;
+ }
+
+ ///
+ /// 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.RealtimeConversationItemWithReference? 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.RealtimeConversationItemWithReference),
+ jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RealtimeConversationItemWithReference;
+ }
+
+ ///
+ /// 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.RealtimeConversationItemWithReference.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReference.g.cs
new file mode 100644
index 000000000..dfc7db721
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReference.g.cs
@@ -0,0 +1,174 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ /// The item to add to the conversation.
+ ///
+ public sealed partial class RealtimeConversationItemWithReference
+ {
+ ///
+ /// For an item of type (`message` | `function_call` | `function_call_output`)
+ /// this field allows the client to assign the unique ID of the item. It is
+ /// not required because the server will generate one if not provided.
+ /// For an item of type `item_reference`, this field is required and is a
+ /// reference to any item that has previously existed in the conversation.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("id")]
+ public string? Id { get; set; }
+
+ ///
+ /// The type of the item (`message`, `function_call`, `function_call_output`, `item_reference`).
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceTypeJsonConverter))]
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? Type { get; set; }
+
+ ///
+ /// Identifier for the API object being returned - always `realtime.item`.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("object")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceObjectJsonConverter))]
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? Object { get; set; }
+
+ ///
+ /// The status of the item (`completed`, `incomplete`). These have no effect
+ /// on the conversation, but are accepted for consistency with the
+ /// `conversation.item.created` event.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("status")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceStatusJsonConverter))]
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? Status { get; set; }
+
+ ///
+ /// The role of the message sender (`user`, `assistant`, `system`), only
+ /// applicable for `message` items.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("role")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceRoleJsonConverter))]
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? Role { get; set; }
+
+ ///
+ /// The content of the message, applicable for `message` items.
+ /// - Message items of role `system` support only `input_text` content
+ /// - Message items of role `user` support `input_text` and `input_audio`
+ /// content
+ /// - Message items of role `assistant` support `text` content.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("content")]
+ public global::System.Collections.Generic.IList? Content { get; set; }
+
+ ///
+ /// The ID of the function call (for `function_call` and
+ /// `function_call_output` items). If passed on a `function_call_output`
+ /// item, the server will check that a `function_call` item with the same
+ /// ID exists in the conversation history.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("call_id")]
+ public string? CallId { get; set; }
+
+ ///
+ /// The name of the function being called (for `function_call` items).
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string? Name { get; set; }
+
+ ///
+ /// The arguments of the function call (for `function_call` items).
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("arguments")]
+ public string? Arguments { get; set; }
+
+ ///
+ /// The output of the function call (for `function_call_output` items).
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("output")]
+ public string? Output { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// For an item of type (`message` | `function_call` | `function_call_output`)
+ /// this field allows the client to assign the unique ID of the item. It is
+ /// not required because the server will generate one if not provided.
+ /// For an item of type `item_reference`, this field is required and is a
+ /// reference to any item that has previously existed in the conversation.
+ ///
+ ///
+ /// The type of the item (`message`, `function_call`, `function_call_output`, `item_reference`).
+ ///
+ ///
+ /// Identifier for the API object being returned - always `realtime.item`.
+ ///
+ ///
+ /// The status of the item (`completed`, `incomplete`). These have no effect
+ /// on the conversation, but are accepted for consistency with the
+ /// `conversation.item.created` event.
+ ///
+ ///
+ /// The role of the message sender (`user`, `assistant`, `system`), only
+ /// applicable for `message` items.
+ ///
+ ///
+ /// The content of the message, applicable for `message` items.
+ /// - Message items of role `system` support only `input_text` content
+ /// - Message items of role `user` support `input_text` and `input_audio`
+ /// content
+ /// - Message items of role `assistant` support `text` content.
+ ///
+ ///
+ /// The ID of the function call (for `function_call` and
+ /// `function_call_output` items). If passed on a `function_call_output`
+ /// item, the server will check that a `function_call` item with the same
+ /// ID exists in the conversation history.
+ ///
+ ///
+ /// The name of the function being called (for `function_call` items).
+ ///
+ ///
+ /// The arguments of the function call (for `function_call` items).
+ ///
+ ///
+ /// The output of the function call (for `function_call_output` items).
+ ///
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ public RealtimeConversationItemWithReference(
+ string? id,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceType? type,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceObject? @object,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceStatus? status,
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceRole? role,
+ global::System.Collections.Generic.IList? content,
+ string? callId,
+ string? name,
+ string? arguments,
+ string? output)
+ {
+ this.Id = id;
+ this.Type = type;
+ this.Object = @object;
+ this.Status = status;
+ this.Role = role;
+ this.Content = content;
+ this.CallId = callId;
+ this.Name = name;
+ this.Arguments = arguments;
+ this.Output = output;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public RealtimeConversationItemWithReference()
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceContentItem.Json.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceContentItem.Json.g.cs
new file mode 100644
index 000000000..7e0dde878
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceContentItem.Json.g.cs
@@ -0,0 +1,92 @@
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ public sealed partial class RealtimeConversationItemWithReferenceContentItem
+ {
+ ///
+ /// 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.RealtimeConversationItemWithReferenceContentItem? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem),
+ jsonSerializerContext) as global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem;
+ }
+
+ ///
+ /// 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.RealtimeConversationItemWithReferenceContentItem? 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.RealtimeConversationItemWithReferenceContentItem),
+ jsonSerializerContext).ConfigureAwait(false)) as global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItem;
+ }
+
+ ///
+ /// 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.RealtimeConversationItemWithReferenceContentItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceContentItem.g.cs
new file mode 100644
index 000000000..1d0aa2f26
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceContentItem.g.cs
@@ -0,0 +1,92 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ ///
+ ///
+ public sealed partial class RealtimeConversationItemWithReferenceContentItem
+ {
+ ///
+ /// The content type (`input_text`, `input_audio`, `item_reference`, `text`).
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")]
+ [global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.RealtimeConversationItemWithReferenceContentItemTypeJsonConverter))]
+ public global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? Type { get; set; }
+
+ ///
+ /// The text content, used for `input_text` and `text` content types.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("text")]
+ public string? Text { get; set; }
+
+ ///
+ /// ID of a previous conversation item to reference (for `item_reference`
+ /// content types in `response.create` events). These can reference both
+ /// client and server created items.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("id")]
+ public string? Id { get; set; }
+
+ ///
+ /// Base64-encoded audio bytes, used for `input_audio` content type.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("audio")]
+ public string? Audio { get; set; }
+
+ ///
+ /// The transcript of the audio, used for `input_audio` content type.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("transcript")]
+ public string? Transcript { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// The content type (`input_text`, `input_audio`, `item_reference`, `text`).
+ ///
+ ///
+ /// The text content, used for `input_text` and `text` content types.
+ ///
+ ///
+ /// ID of a previous conversation item to reference (for `item_reference`
+ /// content types in `response.create` events). These can reference both
+ /// client and server created items.
+ ///
+ ///
+ /// Base64-encoded audio bytes, used for `input_audio` content type.
+ ///
+ ///
+ /// The transcript of the audio, used for `input_audio` content type.
+ ///
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ public RealtimeConversationItemWithReferenceContentItem(
+ global::tryAGI.OpenAI.RealtimeConversationItemWithReferenceContentItemType? type,
+ string? text,
+ string? id,
+ string? audio,
+ string? transcript)
+ {
+ this.Type = type;
+ this.Text = text;
+ this.Id = id;
+ this.Audio = audio;
+ this.Transcript = transcript;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public RealtimeConversationItemWithReferenceContentItem()
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceContentItemType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceContentItemType.g.cs
new file mode 100644
index 000000000..b90e88300
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceContentItemType.g.cs
@@ -0,0 +1,63 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ /// The content type (`input_text`, `input_audio`, `item_reference`, `text`).
+ ///
+ public enum RealtimeConversationItemWithReferenceContentItemType
+ {
+ ///
+ ///
+ ///
+ InputAudio,
+ ///
+ ///
+ ///
+ InputText,
+ ///
+ ///
+ ///
+ ItemReference,
+ ///
+ ///
+ ///
+ Text,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class RealtimeConversationItemWithReferenceContentItemTypeExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this RealtimeConversationItemWithReferenceContentItemType value)
+ {
+ return value switch
+ {
+ RealtimeConversationItemWithReferenceContentItemType.InputAudio => "input_audio",
+ RealtimeConversationItemWithReferenceContentItemType.InputText => "input_text",
+ RealtimeConversationItemWithReferenceContentItemType.ItemReference => "item_reference",
+ RealtimeConversationItemWithReferenceContentItemType.Text => "text",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static RealtimeConversationItemWithReferenceContentItemType? ToEnum(string value)
+ {
+ return value switch
+ {
+ "input_audio" => RealtimeConversationItemWithReferenceContentItemType.InputAudio,
+ "input_text" => RealtimeConversationItemWithReferenceContentItemType.InputText,
+ "item_reference" => RealtimeConversationItemWithReferenceContentItemType.ItemReference,
+ "text" => RealtimeConversationItemWithReferenceContentItemType.Text,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceObject.g.cs
new file mode 100644
index 000000000..dcd32118e
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceObject.g.cs
@@ -0,0 +1,45 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ /// Identifier for the API object being returned - always `realtime.item`.
+ ///
+ public enum RealtimeConversationItemWithReferenceObject
+ {
+ ///
+ ///
+ ///
+ RealtimeItem,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class RealtimeConversationItemWithReferenceObjectExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this RealtimeConversationItemWithReferenceObject value)
+ {
+ return value switch
+ {
+ RealtimeConversationItemWithReferenceObject.RealtimeItem => "realtime.item",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static RealtimeConversationItemWithReferenceObject? ToEnum(string value)
+ {
+ return value switch
+ {
+ "realtime.item" => RealtimeConversationItemWithReferenceObject.RealtimeItem,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceRole.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceRole.g.cs
new file mode 100644
index 000000000..10bd39f13
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceRole.g.cs
@@ -0,0 +1,58 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ /// The role of the message sender (`user`, `assistant`, `system`), only
+ /// applicable for `message` items.
+ ///
+ public enum RealtimeConversationItemWithReferenceRole
+ {
+ ///
+ ///
+ ///
+ User,
+ ///
+ ///
+ ///
+ Assistant,
+ ///
+ ///
+ ///
+ System,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class RealtimeConversationItemWithReferenceRoleExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this RealtimeConversationItemWithReferenceRole value)
+ {
+ return value switch
+ {
+ RealtimeConversationItemWithReferenceRole.User => "user",
+ RealtimeConversationItemWithReferenceRole.Assistant => "assistant",
+ RealtimeConversationItemWithReferenceRole.System => "system",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static RealtimeConversationItemWithReferenceRole? ToEnum(string value)
+ {
+ return value switch
+ {
+ "user" => RealtimeConversationItemWithReferenceRole.User,
+ "assistant" => RealtimeConversationItemWithReferenceRole.Assistant,
+ "system" => RealtimeConversationItemWithReferenceRole.System,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceStatus.g.cs
new file mode 100644
index 000000000..8f85a844e
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceStatus.g.cs
@@ -0,0 +1,53 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ /// The status of the item (`completed`, `incomplete`). These have no effect
+ /// on the conversation, but are accepted for consistency with the
+ /// `conversation.item.created` event.
+ ///
+ public enum RealtimeConversationItemWithReferenceStatus
+ {
+ ///
+ ///
+ ///
+ Completed,
+ ///
+ ///
+ ///
+ Incomplete,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class RealtimeConversationItemWithReferenceStatusExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this RealtimeConversationItemWithReferenceStatus value)
+ {
+ return value switch
+ {
+ RealtimeConversationItemWithReferenceStatus.Completed => "completed",
+ RealtimeConversationItemWithReferenceStatus.Incomplete => "incomplete",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static RealtimeConversationItemWithReferenceStatus? ToEnum(string value)
+ {
+ return value switch
+ {
+ "completed" => RealtimeConversationItemWithReferenceStatus.Completed,
+ "incomplete" => RealtimeConversationItemWithReferenceStatus.Incomplete,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceType.g.cs
new file mode 100644
index 000000000..aa2378214
--- /dev/null
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeConversationItemWithReferenceType.g.cs
@@ -0,0 +1,57 @@
+
+#nullable enable
+
+namespace tryAGI.OpenAI
+{
+ ///
+ /// The type of the item (`message`, `function_call`, `function_call_output`, `item_reference`).
+ ///
+ public enum RealtimeConversationItemWithReferenceType
+ {
+ ///
+ ///
+ ///
+ Message,
+ ///
+ ///
+ ///
+ FunctionCall,
+ ///
+ ///
+ ///
+ FunctionCallOutput,
+ }
+
+ ///
+ /// Enum extensions to do fast conversions without the reflection.
+ ///
+ public static class RealtimeConversationItemWithReferenceTypeExtensions
+ {
+ ///
+ /// Converts an enum to a string.
+ ///
+ public static string ToValueString(this RealtimeConversationItemWithReferenceType value)
+ {
+ return value switch
+ {
+ RealtimeConversationItemWithReferenceType.Message => "message",
+ RealtimeConversationItemWithReferenceType.FunctionCall => "function_call",
+ RealtimeConversationItemWithReferenceType.FunctionCallOutput => "function_call_output",
+ _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
+ };
+ }
+ ///
+ /// Converts an string to a enum.
+ ///
+ public static RealtimeConversationItemWithReferenceType? ToEnum(string value)
+ {
+ return value switch
+ {
+ "message" => RealtimeConversationItemWithReferenceType.Message,
+ "function_call" => RealtimeConversationItemWithReferenceType.FunctionCall,
+ "function_call_output" => RealtimeConversationItemWithReferenceType.FunctionCallOutput,
+ _ => null,
+ };
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParams.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParams.g.cs
index dce3782ff..2ae2b93a5 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParams.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeResponseCreateParams.g.cs
@@ -101,12 +101,13 @@ public sealed partial class RealtimeResponseCreateParams
public global::System.Collections.Generic.Dictionary? Metadata { get; set; }
///
- /// Input items to include in the prompt for the model. Creates a new context
- /// for this response, without including the default conversation. Can include
- /// references to items from the default conversation.
+ /// Input items to include in the prompt for the model. Using this field
+ /// creates a new context for this Response instead of using the default
+ /// conversation. An empty array `[]` will clear the context for this Response.
+ /// Note that this can include references to items from the default conversation.
///
[global::System.Text.Json.Serialization.JsonPropertyName("input")]
- public global::System.Collections.Generic.IList? Input { get; set; }
+ public global::System.Collections.Generic.IList? Input { get; set; }
///
/// Additional properties that are not explicitly defined in the schema
@@ -174,9 +175,10 @@ public sealed partial class RealtimeResponseCreateParams
/// with a maximum length of 512 characters.
///
///
- /// Input items to include in the prompt for the model. Creates a new context
- /// for this response, without including the default conversation. Can include
- /// references to items from the default conversation.
+ /// Input items to include in the prompt for the model. Using this field
+ /// creates a new context for this Response instead of using the default
+ /// conversation. An empty array `[]` will clear the context for this Response.
+ /// Note that this can include references to items from the default conversation.
///
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
public RealtimeResponseCreateParams(
@@ -190,7 +192,7 @@ public RealtimeResponseCreateParams(
global::tryAGI.OpenAI.OneOf? maxResponseOutputTokens,
global::tryAGI.OpenAI.OneOf? conversation,
global::System.Collections.Generic.Dictionary? metadata,
- global::System.Collections.Generic.IList? input)
+ global::System.Collections.Generic.IList? input)
{
this.Modalities = modalities;
this.Instructions = instructions;
diff --git a/src/libs/tryAGI.OpenAI/openapi.yaml b/src/libs/tryAGI.OpenAI/openapi.yaml
index c55facff2..72b554aa2 100644
--- a/src/libs/tryAGI.OpenAI/openapi.yaml
+++ b/src/libs/tryAGI.OpenAI/openapi.yaml
@@ -823,7 +823,7 @@ paths:
curl: "curl https://api.openai.com/v1/fine_tuning/jobs?limit=2 \\\n -H \"Authorization: Bearer $OPENAI_API_KEY\"\n"
python: "from openai import OpenAI\nclient = OpenAI()\n\nclient.fine_tuning.jobs.list()\n"
node.js: "import OpenAI from \"openai\";\n\nconst openai = new OpenAI();\n\nasync function main() {\n const list = await openai.fineTuning.jobs.list();\n\n for await (const fineTune of list) {\n console.log(fineTune);\n }\n}\n\nmain();"
- response: "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"fine_tuning.job.event\",\n \"id\": \"ft-event-TjX0lMfOniCZX64t9PUQT5hn\",\n \"created_at\": 1689813489,\n \"level\": \"warn\",\n \"message\": \"Fine tuning process stopping due to job cancellation\",\n \"data\": null,\n \"type\": \"message\"\n },\n { ... },\n { ... }\n ], \"has_more\": true\n}\n"
+ response: "{\n \"object\": \"list\",\n \"data\": [\n {\n \"object\": \"fine_tuning.job\",\n \"id\": \"ftjob-abc123\",\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"created_at\": 1721764800,\n \"fine_tuned_model\": null,\n \"organization_id\": \"org-123\",\n \"result_files\": [],\n \"status\": \"queued\",\n \"validation_file\": null,\n \"training_file\": \"file-abc123\"\n },\n { ... },\n { ... }\n ], \"has_more\": true\n}\n"
'/fine_tuning/jobs/{fine_tuning_job_id}':
get:
tags:
@@ -6022,6 +6022,7 @@ components:
description: A chat completion message generated by the model.
ChatCompletionRole:
enum:
+ - developer
- system
- user
- assistant
@@ -6062,6 +6063,7 @@ components:
$ref: '#/components/schemas/ChatCompletionMessageToolCallChunk'
role:
enum:
+ - developer
- system
- user
- assistant
@@ -6171,27 +6173,34 @@ components:
completion_tokens:
type: integer
description: Number of tokens in the generated completion.
+ default: 0
prompt_tokens:
type: integer
description: Number of tokens in the prompt.
+ default: 0
total_tokens:
type: integer
description: Total number of tokens used in the request (prompt + completion).
+ default: 0
completion_tokens_details:
type: object
properties:
accepted_prediction_tokens:
type: integer
description: "When using Predicted Outputs, the number of tokens in the\nprediction that appeared in the completion.\n"
+ default: 0
audio_tokens:
type: integer
description: Audio input tokens generated by the model.
+ default: 0
reasoning_tokens:
type: integer
description: Tokens generated by the model for reasoning.
+ default: 0
rejected_prediction_tokens:
type: integer
description: "When using Predicted Outputs, the number of tokens in the\nprediction that did not appear in the completion. However, like\nreasoning tokens, these tokens are still counted in the total\ncompletion tokens for purposes of billing, output, and context window\nlimits.\n"
+ default: 0
description: Breakdown of tokens used in a completion.
prompt_tokens_details:
type: object
@@ -6199,9 +6208,11 @@ components:
audio_tokens:
type: integer
description: Audio input tokens present in the prompt.
+ default: 0
cached_tokens:
type: integer
description: Cached tokens present in the prompt.
+ default: 0
description: Breakdown of tokens used in the prompt.
description: Usage statistics for the completion request.
CostsResult:
@@ -8431,7 +8442,7 @@ components:
type: string
description: The language of the input audio.
duration:
- type: string
+ type: number
description: The duration of the input audio.
text:
type: string
@@ -8500,7 +8511,7 @@ components:
type: string
description: The language of the output translation (always `english`).
duration:
- type: string
+ type: number
description: The duration of the input audio.
text:
type: string
@@ -11228,7 +11239,7 @@ components:
audio_end_ms:
type: integer
description: "Inclusive duration up to which audio is truncated, in milliseconds. If \nthe audio_end_ms is greater than the actual audio duration, the server \nwill respond with an error.\n"
- description: "Send this event to truncate a previous assistant message’s audio. The server \nwill produce audio faster than realtime, so this event is useful when the user \ninterrupts to truncate audio that has already been sent to the client but not \nyet played. This will synchronize the server's understanding of the audio with \nthe client's playback.\n\nTruncating audio will delete the server-side text transcript to ensure there \nis not text in the context that hasn't been heard by the user.\n\nIf successful, the server will respond with a `conversation.item.truncated` \nevent. \n"
+ description: "Send this event to truncate a previous assistant message’s audio. The server \nwill produce audio faster than realtime, so this event is useful when the user \ninterrupts to truncate audio that has already been sent to the client but not \nyet played. This will synchronize the server's understanding of the audio with \nthe client's playback.\n\nTruncating audio will delete the server-side text transcript to ensure there \nis not text in the context that hasn't been heard by the user.\n\nIf successful, the server will respond with a `conversation.item.truncated` \nevent.\n"
x-oaiMeta:
name: conversation.item.truncate
group: realtime
@@ -11434,6 +11445,80 @@ components:
description: The output of the function call (for function_call_output items).
description: The content of the message.
description: "A realtime Item is of three types: message, function_call, or function_call_output.\n\nA message item can contain text or audio.\nA function_call item indicates a model's desire to call a function, which is the only tool supported for now\nA function_call_output item indicates a function response.\nThe client may add and remove message and function_call_output Items using conversation.item.create and conversation.item.delete.\n"
+ RealtimeConversationItemWithReference:
+ type: object
+ properties:
+ id:
+ type: string
+ description: "For an item of type (`message` | `function_call` | `function_call_output`)\nthis field allows the client to assign the unique ID of the item. It is\nnot required because the server will generate one if not provided.\n\nFor an item of type `item_reference`, this field is required and is a\nreference to any item that has previously existed in the conversation.\n"
+ type:
+ enum:
+ - message
+ - function_call
+ - function_call_output
+ type: string
+ description: "The type of the item (`message`, `function_call`, `function_call_output`, `item_reference`).\n"
+ object:
+ enum:
+ - realtime.item
+ type: string
+ description: "Identifier for the API object being returned - always `realtime.item`.\n"
+ x-stainless-const: true
+ status:
+ enum:
+ - completed
+ - incomplete
+ type: string
+ description: "The status of the item (`completed`, `incomplete`). These have no effect \non the conversation, but are accepted for consistency with the \n`conversation.item.created` event.\n"
+ role:
+ enum:
+ - user
+ - assistant
+ - system
+ type: string
+ description: "The role of the message sender (`user`, `assistant`, `system`), only \napplicable for `message` items.\n"
+ content:
+ type: array
+ items:
+ type: object
+ properties:
+ type:
+ enum:
+ - input_audio
+ - input_text
+ - item_reference
+ - text
+ type: string
+ description: "The content type (`input_text`, `input_audio`, `item_reference`, `text`).\n"
+ text:
+ type: string
+ description: "The text content, used for `input_text` and `text` content types.\n"
+ id:
+ type: string
+ description: "ID of a previous conversation item to reference (for `item_reference`\ncontent types in `response.create` events). These can reference both\nclient and server created items.\n"
+ audio:
+ type: string
+ description: "Base64-encoded audio bytes, used for `input_audio` content type.\n"
+ transcript:
+ type: string
+ description: "The transcript of the audio, used for `input_audio` content type.\n"
+ x-oaiExpandable: true
+ description: "The content of the message, applicable for `message` items. \n- Message items of role `system` support only `input_text` content\n- Message items of role `user` support `input_text` and `input_audio` \n content\n- Message items of role `assistant` support `text` content.\n"
+ x-oaiExpandable: true
+ call_id:
+ type: string
+ description: "The ID of the function call (for `function_call` and \n`function_call_output` items). If passed on a `function_call_output` \nitem, the server will check that a `function_call` item with the same \nID exists in the conversation history.\n"
+ name:
+ type: string
+ description: "The name of the function being called (for `function_call` items).\n"
+ arguments:
+ type: string
+ description: "The arguments of the function call (for `function_call` items).\n"
+ output:
+ type: string
+ description: "The output of the function call (for `function_call_output` items).\n"
+ description: The item to add to the conversation.
+ x-oaiExpandable: true
RealtimeResponse:
type: object
properties:
@@ -11565,8 +11650,8 @@ components:
input:
type: array
items:
- $ref: '#/components/schemas/RealtimeConversationItem'
- description: "Input items to include in the prompt for the model. Creates a new context\nfor this response, without including the default conversation. Can include\nreferences to items from the default conversation.\n"
+ $ref: '#/components/schemas/RealtimeConversationItemWithReference'
+ description: "Input items to include in the prompt for the model. Using this field\ncreates a new context for this Response instead of using the default\nconversation. An empty array `[]` will clear the context for this Response.\nNote that this can include references to items from the default conversation.\n"
description: Create a new Realtime response with these parameters
RealtimeServerEventConversationCreated:
required: