diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs
index 401c027b..c9cf6b7c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AdminApiKey.g.cs
@@ -100,16 +100,16 @@ public sealed partial class AdminApiKey
/// The redacted value of the API key
/// Example: sk-admin...def
///
- ///
- /// The value of the API key. Only shown on create.
- /// Example: sk-admin-1234abcd
- ///
///
/// The Unix timestamp (in seconds) of when the API key was created
/// Example: 1711471533
///
- ///
///
+ ///
+ /// The value of the API key. Only shown on create.
+ /// Example: sk-admin-1234abcd
+ ///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -127,10 +127,10 @@ public AdminApiKey(
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.RedactedValue = redactedValue ?? throw new global::System.ArgumentNullException(nameof(redactedValue));
- this.CreatedAt = createdAt;
- this.Owner = owner ?? throw new global::System.ArgumentNullException(nameof(owner));
this.Value = value;
+ this.CreatedAt = createdAt;
this.LastUsedAt = lastUsedAt;
+ this.Owner = owner ?? throw new global::System.ArgumentNullException(nameof(owner));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs
index 7a5a1673..778302b3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperation.g.cs
@@ -40,16 +40,16 @@ public sealed partial class ApplyPatchCreateFileOperation
///
/// Initializes a new instance of the class.
///
- ///
- /// Create a new file with the provided diff.
- /// Default Value: create_file
- ///
///
/// Path of the file to create.
///
///
/// Diff to apply.
///
+ ///
+ /// Create a new file with the provided diff.
+ /// Default Value: create_file
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,9 +58,9 @@ public ApplyPatchCreateFileOperation(
string diff,
global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType type = global::tryAGI.OpenAI.ApplyPatchCreateFileOperationType.CreateFile)
{
+ this.Type = type;
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs
index 597e0f36..33bfe85f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchCreateFileOperationParam.g.cs
@@ -40,16 +40,16 @@ public sealed partial class ApplyPatchCreateFileOperationParam
///
/// Initializes a new instance of the class.
///
- ///
- /// The operation type. Always `create_file`.
- /// Default Value: create_file
- ///
///
/// Path of the file to create relative to the workspace root.
///
///
/// Unified diff content to apply when creating the file.
///
+ ///
+ /// The operation type. Always `create_file`.
+ /// Default Value: create_file
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,9 +58,9 @@ public ApplyPatchCreateFileOperationParam(
string diff,
global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType type = global::tryAGI.OpenAI.ApplyPatchCreateFileOperationParamType.CreateFile)
{
+ this.Type = type;
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs
index d7156956..88ef2117 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperation.g.cs
@@ -33,13 +33,13 @@ public sealed partial class ApplyPatchDeleteFileOperation
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Path of the file to delete.
+ ///
///
/// Delete the specified file.
/// Default Value: delete_file
///
- ///
- /// Path of the file to delete.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public ApplyPatchDeleteFileOperation(
string path,
global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType type = global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationType.DeleteFile)
{
- this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Type = type;
+ this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs
index 669b3aea..3eee1ae6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchDeleteFileOperationParam.g.cs
@@ -33,13 +33,13 @@ public sealed partial class ApplyPatchDeleteFileOperationParam
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Path of the file to delete relative to the workspace root.
+ ///
///
/// The operation type. Always `delete_file`.
/// Default Value: delete_file
///
- ///
- /// Path of the file to delete relative to the workspace root.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public ApplyPatchDeleteFileOperationParam(
string path,
global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType type = global::tryAGI.OpenAI.ApplyPatchDeleteFileOperationParamType.DeleteFile)
{
- this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Type = type;
+ this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs
index e79ae43f..2640af04 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCall.g.cs
@@ -62,10 +62,6 @@ public sealed partial class ApplyPatchToolCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `apply_patch_call`.
- /// Default Value: apply_patch_call
- ///
///
/// The unique ID of the apply patch tool call. Populated when this item is returned via API.
///
@@ -81,6 +77,10 @@ public sealed partial class ApplyPatchToolCall
///
/// The ID of the entity that created this tool call.
///
+ ///
+ /// The type of the item. Always `apply_patch_call`.
+ /// Default Value: apply_patch_call
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -92,11 +92,11 @@ public ApplyPatchToolCall(
string? createdBy,
global::tryAGI.OpenAI.ApplyPatchToolCallType type = global::tryAGI.OpenAI.ApplyPatchToolCallType.ApplyPatchCall)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Status = status;
this.Operation = operation;
- this.Type = type;
this.CreatedBy = createdBy;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs
index 09623b5f..1d23b0b8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallItemParam.g.cs
@@ -55,11 +55,6 @@ public sealed partial class ApplyPatchToolCallItemParam
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `apply_patch_call`.
- /// Default Value: apply_patch_call
- ///
- ///
///
/// The unique ID of the apply patch tool call generated by the model.
///
@@ -69,6 +64,11 @@ public sealed partial class ApplyPatchToolCallItemParam
///
/// The specific create, delete, or update instruction for the apply_patch tool call.
///
+ ///
+ ///
+ /// The type of the item. Always `apply_patch_call`.
+ /// Default Value: apply_patch_call
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -79,11 +79,11 @@ public ApplyPatchToolCallItemParam(
string? id,
global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType type = global::tryAGI.OpenAI.ApplyPatchToolCallItemParamType.ApplyPatchCall)
{
+ this.Type = type;
+ this.Id = id;
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Status = status;
this.Operation = operation;
- this.Type = type;
- this.Id = id;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs
index 621b5a88..ddd20aff 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutput.g.cs
@@ -60,10 +60,6 @@ public sealed partial class ApplyPatchToolCallOutput
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `apply_patch_call_output`.
- /// Default Value: apply_patch_call_output
- ///
///
/// The unique ID of the apply patch tool call output. Populated when this item is returned via API.
///
@@ -77,6 +73,10 @@ public sealed partial class ApplyPatchToolCallOutput
///
/// The ID of the entity that created this tool call output.
///
+ ///
+ /// The type of the item. Always `apply_patch_call_output`.
+ /// Default Value: apply_patch_call_output
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -88,10 +88,10 @@ public ApplyPatchToolCallOutput(
string? createdBy,
global::tryAGI.OpenAI.ApplyPatchToolCallOutputType type = global::tryAGI.OpenAI.ApplyPatchToolCallOutputType.ApplyPatchCallOutput)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Status = status;
- this.Type = type;
this.Output = output;
this.CreatedBy = createdBy;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs
index bb09683e..991b7fb2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchToolCallOutputItemParam.g.cs
@@ -53,18 +53,18 @@ public sealed partial class ApplyPatchToolCallOutputItemParam
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `apply_patch_call_output`.
- /// Default Value: apply_patch_call_output
- ///
- ///
///
/// The unique ID of the apply patch tool call generated by the model.
///
///
/// The status of the apply patch tool call output. One of `completed` or `failed`.
///
+ ///
///
+ ///
+ /// The type of the item. Always `apply_patch_call_output`.
+ /// Default Value: apply_patch_call_output
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -75,10 +75,10 @@ public ApplyPatchToolCallOutputItemParam(
string? output,
global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType type = global::tryAGI.OpenAI.ApplyPatchToolCallOutputItemParamType.ApplyPatchCallOutput)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Status = status;
this.Type = type;
this.Id = id;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
+ this.Status = status;
this.Output = output;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs
index d65a9b1c..19ff46e7 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperation.g.cs
@@ -40,16 +40,16 @@ public sealed partial class ApplyPatchUpdateFileOperation
///
/// Initializes a new instance of the class.
///
- ///
- /// Update an existing file with the provided diff.
- /// Default Value: update_file
- ///
///
/// Path of the file to update.
///
///
/// Diff to apply.
///
+ ///
+ /// Update an existing file with the provided diff.
+ /// Default Value: update_file
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,9 +58,9 @@ public ApplyPatchUpdateFileOperation(
string diff,
global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType type = global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationType.UpdateFile)
{
+ this.Type = type;
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperationParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperationParam.g.cs
index 6f77e16e..f0a3afeb 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperationParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApplyPatchUpdateFileOperationParam.g.cs
@@ -40,16 +40,16 @@ public sealed partial class ApplyPatchUpdateFileOperationParam
///
/// Initializes a new instance of the class.
///
- ///
- /// The operation type. Always `update_file`.
- /// Default Value: update_file
- ///
///
/// Path of the file to update relative to the workspace root.
///
///
/// Unified diff content to apply to the existing file.
///
+ ///
+ /// The operation type. Always `update_file`.
+ /// Default Value: update_file
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,9 +58,9 @@ public ApplyPatchUpdateFileOperationParam(
string diff,
global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType type = global::tryAGI.OpenAI.ApplyPatchUpdateFileOperationParamType.UpdateFile)
{
+ this.Type = type;
this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Diff = diff ?? throw new global::System.ArgumentNullException(nameof(diff));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApproximateLocation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApproximateLocation.g.cs
index 6ffd1d9b..f4dffd5f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApproximateLocation.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ApproximateLocation.g.cs
@@ -50,14 +50,14 @@ public sealed partial class ApproximateLocation
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of location approximation. Always `approximate`.
- /// Default Value: approximate
- ///
///
///
///
///
+ ///
+ /// The type of location approximation. Always `approximate`.
+ /// Default Value: approximate
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs
index 148d6cc6..970f6c08 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantMessageItem.g.cs
@@ -67,23 +67,23 @@ public sealed partial class AssistantMessageItem
///
/// Identifier of the thread item.
///
- ///
- /// Type discriminator that is always `chatkit.thread_item`.
- /// Default Value: chatkit.thread_item
- ///
///
/// Unix timestamp (in seconds) for when the item was created.
///
///
/// Identifier of the parent thread.
///
+ ///
+ /// Ordered assistant response segments.
+ ///
+ ///
+ /// Type discriminator that is always `chatkit.thread_item`.
+ /// Default Value: chatkit.thread_item
+ ///
///
/// Type discriminator that is always `chatkit.assistant_message`.
/// Default Value: chatkit.assistant_message
///
- ///
- /// Ordered assistant response segments.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -96,11 +96,11 @@ public AssistantMessageItem(
global::tryAGI.OpenAI.AssistantMessageItemType type = global::tryAGI.OpenAI.AssistantMessageItemType.ChatkitAssistantMessage)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Object = @object;
this.CreatedAt = createdAt;
this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId));
- this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
- this.Object = @object;
this.Type = type;
+ this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs
index 938fff07..06e86cd8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantObject.g.cs
@@ -119,22 +119,22 @@ public sealed partial class AssistantObject
///
/// The identifier, which can be referenced in API endpoints.
///
- ///
- /// The object type, which is always `assistant`.
- ///
///
/// The Unix timestamp (in seconds) for when the assistant was created.
///
- ///
- ///
///
/// ID of the model to use. You can use the [List models](/docs/api-reference/models/list) API to see all of your available models, or see our [Model overview](/docs/models) for descriptions of them.
///
- ///
///
/// A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types `code_interpreter`, `file_search`, or `function`.
/// Default Value: []
///
+ ///
+ /// The object type, which is always `assistant`.
+ ///
+ ///
+ ///
+ ///
///
///
///
@@ -159,13 +159,13 @@ public AssistantObject(
global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.CreatedAt = createdAt;
- this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
- this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools));
this.Object = @object;
+ this.CreatedAt = createdAt;
this.Name = name;
this.Description = description;
+ this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Instructions = instructions;
+ this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools));
this.ToolResources = toolResources;
this.Metadata = metadata;
this.Temperature = temperature;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantToolsFunction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantToolsFunction.g.cs
index 8f32ca32..6cecd186 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantToolsFunction.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AssistantToolsFunction.g.cs
@@ -31,10 +31,10 @@ public sealed partial class AssistantToolsFunction
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of tool being defined: `function`
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public AssistantToolsFunction(
global::tryAGI.OpenAI.FunctionObject function,
global::tryAGI.OpenAI.AssistantToolsFunctionType type)
{
- this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function));
this.Type = type;
+ this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLog.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLog.g.cs
index f2b1edfe..777c3db6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLog.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AuditLog.g.cs
@@ -344,12 +344,12 @@ public sealed partial class AuditLog
///
/// The Unix timestamp (in seconds) of the event.
///
- ///
- /// The project that the action was scoped to. Absent for actions not scoped to projects. Note that any admin actions taken via Admin API keys are associated with the default project.
- ///
///
/// The actor who performed the audit logged action.
///
+ ///
+ /// The project that the action was scoped to. Absent for actions not scoped to projects. Note that any admin actions taken via Admin API keys are associated with the default project.
+ ///
///
/// The details for events with this `type`.
///
@@ -551,8 +551,8 @@ public AuditLog(
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Type = type;
this.EffectiveAt = effectiveAt;
- this.Actor = actor ?? throw new global::System.ArgumentNullException(nameof(actor));
this.Project = project;
+ this.Actor = actor ?? throw new global::System.ArgumentNullException(nameof(actor));
this.ApiKeyCreated = apiKeyCreated;
this.ApiKeyUpdated = apiKeyUpdated;
this.ApiKeyDeleted = apiKeyDeleted;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AutoCodeInterpreterToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AutoCodeInterpreterToolParam.g.cs
index e3eb2342..81af58a3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AutoCodeInterpreterToolParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.AutoCodeInterpreterToolParam.g.cs
@@ -45,10 +45,6 @@ public sealed partial class AutoCodeInterpreterToolParam
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `auto`.
- /// Default Value: auto
- ///
///
/// An optional list of uploaded files to make available to your code.
///
@@ -56,6 +52,10 @@ public sealed partial class AutoCodeInterpreterToolParam
///
/// Network access policy for the container.
///
+ ///
+ /// Always `auto`.
+ /// Default Value: auto
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs
index 008c8d72..5dc5dac9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Batch.g.cs
@@ -172,19 +172,9 @@ public sealed partial class Batch
/// Initializes a new instance of the class.
///
///
- ///
- /// The object type, which is always `batch`.
- ///
///
/// The OpenAI API endpoint used by the batch.
///
- ///
- /// Model ID used to process the batch, like `gpt-5-2025-08-07`. OpenAI
- /// offers a wide range of models with different capabilities, performance
- /// characteristics, and price points. Refer to the [model
- /// guide](/docs/models) to browse and compare available models.
- ///
- ///
///
/// The ID of the input file for the batch.
///
@@ -194,15 +184,25 @@ public sealed partial class Batch
///
/// The current status of the batch.
///
+ ///
+ /// The Unix timestamp (in seconds) for when the batch was created.
+ ///
+ ///
+ /// The object type, which is always `batch`.
+ ///
+ ///
+ /// Model ID used to process the batch, like `gpt-5-2025-08-07`. OpenAI
+ /// offers a wide range of models with different capabilities, performance
+ /// characteristics, and price points. Refer to the [model
+ /// guide](/docs/models) to browse and compare available models.
+ ///
+ ///
///
/// The ID of the file containing the outputs of successfully executed requests.
///
///
/// The ID of the file containing the outputs of requests with errors.
///
- ///
- /// The Unix timestamp (in seconds) for when the batch was created.
- ///
///
/// The Unix timestamp (in seconds) for when the batch started processing.
///
@@ -264,16 +264,16 @@ public Batch(
global::System.Collections.Generic.Dictionary? metadata)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Object = @object;
this.Endpoint = endpoint ?? throw new global::System.ArgumentNullException(nameof(endpoint));
+ this.Model = model;
+ this.Errors = errors;
this.InputFileId = inputFileId ?? throw new global::System.ArgumentNullException(nameof(inputFileId));
this.CompletionWindow = completionWindow ?? throw new global::System.ArgumentNullException(nameof(completionWindow));
this.Status = status;
- this.CreatedAt = createdAt;
- this.Object = @object;
- this.Model = model;
- this.Errors = errors;
this.OutputFileId = outputFileId;
this.ErrorFileId = errorFileId;
+ this.CreatedAt = createdAt;
this.InProgressAt = inProgressAt;
this.ExpiresAt = expiresAt;
this.FinalizingAt = finalizingAt;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchFileExpirationAfter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchFileExpirationAfter.g.cs
index 96d71cb9..d15ff972 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchFileExpirationAfter.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.BatchFileExpirationAfter.g.cs
@@ -31,12 +31,12 @@ public sealed partial class BatchFileExpirationAfter
///
/// Initializes a new instance of the class.
///
- ///
- /// Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`. Note that the anchor is the file creation time, not the time the batch is created.
- ///
///
/// The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).
///
+ ///
+ /// Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`. Note that the anchor is the file creation time, not the time the batch is created.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public BatchFileExpirationAfter(
int seconds,
global::tryAGI.OpenAI.BatchFileExpirationAfterAnchor anchor)
{
- this.Seconds = seconds;
this.Anchor = anchor;
+ this.Seconds = seconds;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionAllowedToolsChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionAllowedToolsChoice.g.cs
index 6ceb432b..da777179 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionAllowedToolsChoice.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionAllowedToolsChoice.g.cs
@@ -31,12 +31,12 @@ public sealed partial class ChatCompletionAllowedToolsChoice
///
/// Initializes a new instance of the class.
///
- ///
- /// Allowed tool configuration type. Always `allowed_tools`.
- ///
///
/// Constrains the tools available to the model to a pre-defined set.
///
+ ///
+ /// Allowed tool configuration type. Always `allowed_tools`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public ChatCompletionAllowedToolsChoice(
global::tryAGI.OpenAI.ChatCompletionAllowedTools allowedTools,
global::tryAGI.OpenAI.ChatCompletionAllowedToolsChoiceType type)
{
- this.AllowedTools = allowedTools ?? throw new global::System.ArgumentNullException(nameof(allowedTools));
this.Type = type;
+ this.AllowedTools = allowedTools ?? throw new global::System.ArgumentNullException(nameof(allowedTools));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionDeleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionDeleted.g.cs
index 4951b882..0bdd6cad 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionDeleted.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionDeleted.g.cs
@@ -38,15 +38,15 @@ public sealed partial class ChatCompletionDeleted
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of object being deleted.
- ///
///
/// The ID of the chat completion that was deleted.
///
///
/// Whether the chat completion was deleted.
///
+ ///
+ /// The type of object being deleted.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -55,9 +55,9 @@ public ChatCompletionDeleted(
bool deleted,
global::tryAGI.OpenAI.ChatCompletionDeletedObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Deleted = deleted;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionFunctions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionFunctions.g.cs
index 1282d0d3..f6c12c93 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionFunctions.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionFunctions.g.cs
@@ -41,12 +41,12 @@ public sealed partial class ChatCompletionFunctions
///
/// Initializes a new instance of the class.
///
- ///
- /// A description of what the function does, used by the model to choose when and how to call the function.
- ///
///
/// The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
///
+ ///
+ /// A description of what the function does, used by the model to choose when and how to call the function.
+ ///
///
/// The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
/// Omitting `parameters` defines a function with an empty parameter list.
@@ -59,8 +59,8 @@ public ChatCompletionFunctions(
string? description,
global::tryAGI.OpenAI.FunctionParameters? parameters)
{
- this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Parameters = parameters;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionList.g.cs
index 44d4d129..f70aebaf 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionList.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionList.g.cs
@@ -54,10 +54,6 @@ public sealed partial class ChatCompletionList
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of this object. It is always set to "list".
- /// Default Value: list
- ///
///
/// An array of chat completion objects.
///
@@ -70,6 +66,10 @@ public sealed partial class ChatCompletionList
///
/// Indicates whether there are more Chat Completions available.
///
+ ///
+ /// The type of this object. It is always set to "list".
+ /// Default Value: list
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -80,11 +80,11 @@ public ChatCompletionList(
bool hasMore,
global::tryAGI.OpenAI.ChatCompletionListObject @object = global::tryAGI.OpenAI.ChatCompletionListObject.List)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageCustomToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageCustomToolCall.g.cs
index 7926c601..976d2e29 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageCustomToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageCustomToolCall.g.cs
@@ -41,12 +41,12 @@ public sealed partial class ChatCompletionMessageCustomToolCall
///
/// The ID of the tool call.
///
- ///
- /// The type of the tool. Always `custom`.
- ///
///
/// The custom tool that the model called.
///
+ ///
+ /// The type of the tool. Always `custom`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,8 +56,8 @@ public ChatCompletionMessageCustomToolCall(
global::tryAGI.OpenAI.ChatCompletionMessageCustomToolCallType type)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom));
this.Type = type;
+ this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageList.g.cs
index 8ef1e8eb..ebafe7e2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageList.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageList.g.cs
@@ -54,10 +54,6 @@ public sealed partial class ChatCompletionMessageList
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of this object. It is always set to "list".
- /// Default Value: list
- ///
///
/// An array of chat completion message objects.
///
@@ -70,6 +66,10 @@ public sealed partial class ChatCompletionMessageList
///
/// Indicates whether there are more chat messages available.
///
+ ///
+ /// The type of this object. It is always set to "list".
+ /// Default Value: list
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -80,11 +80,11 @@ public ChatCompletionMessageList(
bool hasMore,
global::tryAGI.OpenAI.ChatCompletionMessageListObject @object = global::tryAGI.OpenAI.ChatCompletionMessageListObject.List)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageToolCall.g.cs
index 0b7413e1..ba38c4c1 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionMessageToolCall.g.cs
@@ -41,12 +41,12 @@ public sealed partial class ChatCompletionMessageToolCall
///
/// The ID of the tool call.
///
- ///
- /// The type of the tool. Currently, only `function` is supported.
- ///
///
/// The function that the model called.
///
+ ///
+ /// The type of the tool. Currently, only `function` is supported.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,8 +56,8 @@ public ChatCompletionMessageToolCall(
global::tryAGI.OpenAI.ChatCompletionMessageToolCallType type)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function));
this.Type = type;
+ this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoice.g.cs
index 5d3699f5..7d864340 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoice.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoice.g.cs
@@ -31,10 +31,10 @@ public sealed partial class ChatCompletionNamedToolChoice
///
/// Initializes a new instance of the class.
///
+ ///
///
/// For function calling, the type is always `function`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public ChatCompletionNamedToolChoice(
global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceFunction function,
global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceType type)
{
- this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function));
this.Type = type;
+ this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoiceCustom.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoiceCustom.g.cs
index a1920238..7421da9f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoiceCustom.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionNamedToolChoiceCustom.g.cs
@@ -31,10 +31,10 @@ public sealed partial class ChatCompletionNamedToolChoiceCustom
///
/// Initializes a new instance of the class.
///
+ ///
///
/// For custom tool calling, the type is always `custom`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public ChatCompletionNamedToolChoiceCustom(
global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomCustom custom,
global::tryAGI.OpenAI.ChatCompletionNamedToolChoiceCustomType type)
{
- this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom));
this.Type = type;
+ this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestFunctionMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestFunctionMessage.g.cs
index 55b71580..82f5d521 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestFunctionMessage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestFunctionMessage.g.cs
@@ -41,13 +41,13 @@ public sealed partial class ChatCompletionRequestFunctionMessage
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The name of the function to call.
+ ///
///
/// The role of the messages author, in this case `function`.
///
///
- ///
- /// The name of the function to call.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,9 +56,9 @@ public ChatCompletionRequestFunctionMessage(
global::tryAGI.OpenAI.ChatCompletionRequestFunctionMessageRole role,
string? content)
{
- this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Role = role;
this.Content = content;
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudio.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudio.g.cs
index 4d558cc3..89304694 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudio.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartAudio.g.cs
@@ -31,10 +31,10 @@ public sealed partial class ChatCompletionRequestMessageContentPartAudio
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of the content part. Always `input_audio`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public ChatCompletionRequestMessageContentPartAudio(
global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioInputAudio inputAudio,
global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartAudioType type)
{
- this.InputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio));
this.Type = type;
+ this.InputAudio = inputAudio ?? throw new global::System.ArgumentNullException(nameof(inputAudio));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartFile.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartFile.g.cs
index 89ac4b57..31be465c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartFile.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartFile.g.cs
@@ -31,10 +31,10 @@ public sealed partial class ChatCompletionRequestMessageContentPartFile
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of the content part. Always `file`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public ChatCompletionRequestMessageContentPartFile(
global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFileFile file,
global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartFileType type)
{
- this.File = file ?? throw new global::System.ArgumentNullException(nameof(file));
this.Type = type;
+ this.File = file ?? throw new global::System.ArgumentNullException(nameof(file));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImage.g.cs
index ad3b2b50..4be57171 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartImage.g.cs
@@ -31,10 +31,10 @@ public sealed partial class ChatCompletionRequestMessageContentPartImage
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of the content part.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public ChatCompletionRequestMessageContentPartImage(
global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageImageUrl imageUrl,
global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartImageType type)
{
- this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl));
this.Type = type;
+ this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartRefusal.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartRefusal.g.cs
index dd0edb51..e70c6075 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartRefusal.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartRefusal.g.cs
@@ -31,12 +31,12 @@ public sealed partial class ChatCompletionRequestMessageContentPartRefusal
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the content part.
- ///
///
/// The refusal message generated by the model.
///
+ ///
+ /// The type of the content part.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public ChatCompletionRequestMessageContentPartRefusal(
string refusal,
global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartRefusalType type)
{
- this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal));
this.Type = type;
+ this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartText.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartText.g.cs
index 8e72a5c3..01418be9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartText.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestMessageContentPartText.g.cs
@@ -31,12 +31,12 @@ public sealed partial class ChatCompletionRequestMessageContentPartText
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the content part.
- ///
///
/// The text content.
///
+ ///
+ /// The type of the content part.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public ChatCompletionRequestMessageContentPartText(
string text,
global::tryAGI.OpenAI.ChatCompletionRequestMessageContentPartTextType type)
{
- this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Type = type;
+ this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestToolMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestToolMessage.g.cs
index cb5ab0b7..5ecec70a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestToolMessage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionRequestToolMessage.g.cs
@@ -39,15 +39,15 @@ public sealed partial class ChatCompletionRequestToolMessage
///
/// Initializes a new instance of the class.
///
- ///
- /// The role of the messages author, in this case `tool`.
- ///
///
/// The contents of the tool message.
///
///
/// Tool call that this message is responding to.
///
+ ///
+ /// The role of the messages author, in this case `tool`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,9 +56,9 @@ public ChatCompletionRequestToolMessage(
string toolCallId,
global::tryAGI.OpenAI.ChatCompletionRequestToolMessageRole role)
{
+ this.Role = role;
this.Content = content;
this.ToolCallId = toolCallId ?? throw new global::System.ArgumentNullException(nameof(toolCallId));
- this.Role = role;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionResponseMessageAnnotation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionResponseMessageAnnotation.g.cs
index aee1f6c0..77f1db0e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionResponseMessageAnnotation.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionResponseMessageAnnotation.g.cs
@@ -31,12 +31,12 @@ public sealed partial class ChatCompletionResponseMessageAnnotation
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the URL citation. Always `url_citation`.
- ///
///
/// A URL citation when using web search.
///
+ ///
+ /// The type of the URL citation. Always `url_citation`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public ChatCompletionResponseMessageAnnotation(
global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotationUrlCitation urlCitation,
global::tryAGI.OpenAI.ChatCompletionResponseMessageAnnotationType type)
{
- this.UrlCitation = urlCitation ?? throw new global::System.ArgumentNullException(nameof(urlCitation));
this.Type = type;
+ this.UrlCitation = urlCitation ?? throw new global::System.ArgumentNullException(nameof(urlCitation));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTokenLogprob.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTokenLogprob.g.cs
index 07b5f9d1..8eacb440 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTokenLogprob.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTokenLogprob.g.cs
@@ -50,10 +50,10 @@ public sealed partial class ChatCompletionTokenLogprob
///
/// The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value `-9999.0` is used to signify that the token is very unlikely.
///
- ///
///
/// List of the most likely tokens and their log probability, at this token position. In rare cases, there may be fewer than the number of requested `top_logprobs` returned.
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -65,8 +65,8 @@ public ChatCompletionTokenLogprob(
{
this.Token = token ?? throw new global::System.ArgumentNullException(nameof(token));
this.Logprob = logprob;
- this.TopLogprobs = topLogprobs ?? throw new global::System.ArgumentNullException(nameof(topLogprobs));
this.Bytes = bytes;
+ this.TopLogprobs = topLogprobs ?? throw new global::System.ArgumentNullException(nameof(topLogprobs));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTool.g.cs
index 2be16192..9ddcffd5 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTool.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatCompletionTool.g.cs
@@ -31,10 +31,10 @@ public sealed partial class ChatCompletionTool
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of the tool. Currently, only `function` is supported.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public ChatCompletionTool(
global::tryAGI.OpenAI.FunctionObject function,
global::tryAGI.OpenAI.ChatCompletionToolType type)
{
- this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function));
this.Type = type;
+ this.Function = function ?? throw new global::System.ArgumentNullException(nameof(function));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs
index dcbcdc1d..f1b98b25 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatSessionResource.g.cs
@@ -95,10 +95,6 @@ public sealed partial class ChatSessionResource
///
/// Identifier for the ChatKit session.
///
- ///
- /// Type discriminator that is always `chatkit.session`.
- /// Default Value: chatkit.session
- ///
///
/// Unix timestamp (in seconds) for when the session expires.
///
@@ -123,6 +119,10 @@ public sealed partial class ChatSessionResource
///
/// Resolved ChatKit feature configuration for the session.
///
+ ///
+ /// Type discriminator that is always `chatkit.session`.
+ /// Default Value: chatkit.session
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -139,6 +139,7 @@ public ChatSessionResource(
global::tryAGI.OpenAI.ChatSessionResourceObject @object = global::tryAGI.OpenAI.ChatSessionResourceObject.ChatkitSession)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Object = @object;
this.ExpiresAt = expiresAt;
this.ClientSecret = clientSecret ?? throw new global::System.ArgumentNullException(nameof(clientSecret));
this.Workflow = workflow ?? throw new global::System.ArgumentNullException(nameof(workflow));
@@ -147,7 +148,6 @@ public ChatSessionResource(
this.MaxRequestsPer1Minute = maxRequestsPer1Minute;
this.Status = status;
this.ChatkitConfiguration = chatkitConfiguration ?? throw new global::System.ArgumentNullException(nameof(chatkitConfiguration));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs
index 809402d4..2a9e21d8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ChatkitWorkflow.g.cs
@@ -46,11 +46,11 @@ public sealed partial class ChatkitWorkflow
///
/// Identifier of the workflow backing the session.
///
- ///
- ///
///
/// Tracing settings applied to the workflow.
///
+ ///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -61,9 +61,9 @@ public ChatkitWorkflow(
object? stateVariables)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Tracing = tracing ?? throw new global::System.ArgumentNullException(nameof(tracing));
this.Version = version;
this.StateVariables = stateVariables;
+ this.Tracing = tracing ?? throw new global::System.ArgumentNullException(nameof(tracing));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickParam.g.cs
index 2dc955e0..5ce8fe61 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClickParam.g.cs
@@ -54,10 +54,6 @@ public sealed partial class ClickParam
///
/// Initializes a new instance of the class.
///
- ///
- /// Specifies the event type. For a click action, this property is always `click`.
- /// Default Value: click
- ///
///
/// Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`.
///
@@ -68,6 +64,10 @@ public sealed partial class ClickParam
/// The y-coordinate where the click occurred.
///
///
+ ///
+ /// Specifies the event type. For a click action, this property is always `click`.
+ /// Default Value: click
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -78,10 +78,10 @@ public ClickParam(
global::System.Collections.Generic.IList? keys,
global::tryAGI.OpenAI.ClickParamType type = global::tryAGI.OpenAI.ClickParamType.Click)
{
+ this.Type = type;
this.Button = button;
this.X = x;
this.Y = y;
- this.Type = type;
this.Keys = keys;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs
index 09a83709..becd8f79 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClientToolCallItem.g.cs
@@ -95,20 +95,12 @@ public sealed partial class ClientToolCallItem
///
/// Identifier of the thread item.
///
- ///
- /// Type discriminator that is always `chatkit.thread_item`.
- /// Default Value: chatkit.thread_item
- ///
///
/// Unix timestamp (in seconds) for when the item was created.
///
///
/// Identifier of the parent thread.
///
- ///
- /// Type discriminator that is always `chatkit.client_tool_call`.
- /// Default Value: chatkit.client_tool_call
- ///
///
/// Execution status for the tool call.
///
@@ -122,6 +114,14 @@ public sealed partial class ClientToolCallItem
/// JSON-encoded arguments that were sent to the tool.
///
///
+ ///
+ /// Type discriminator that is always `chatkit.thread_item`.
+ /// Default Value: chatkit.thread_item
+ ///
+ ///
+ /// Type discriminator that is always `chatkit.client_tool_call`.
+ /// Default Value: chatkit.client_tool_call
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -138,14 +138,14 @@ public ClientToolCallItem(
global::tryAGI.OpenAI.ClientToolCallItemType type = global::tryAGI.OpenAI.ClientToolCallItemType.ChatkitClientToolCall)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Object = @object;
this.CreatedAt = createdAt;
this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId));
+ this.Type = type;
this.Status = status;
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments));
- this.Object = @object;
- this.Type = type;
this.Output = output;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClosedStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClosedStatus.g.cs
index 6c758ba2..1bbc26ef 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClosedStatus.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ClosedStatus.g.cs
@@ -32,11 +32,11 @@ public sealed partial class ClosedStatus
///
/// Initializes a new instance of the class.
///
+ ///
///
/// Status discriminator that is always `closed`.
/// Default Value: closed
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterFileOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterFileOutput.g.cs
index 44e174a1..5be9bd84 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterFileOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterFileOutput.g.cs
@@ -31,10 +31,10 @@ public sealed partial class CodeInterpreterFileOutput
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of the code interpreter file output. Always `files`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public CodeInterpreterFileOutput(
global::System.Collections.Generic.IList files,
global::tryAGI.OpenAI.CodeInterpreterFileOutputType type)
{
- this.Files = files ?? throw new global::System.ArgumentNullException(nameof(files));
this.Type = type;
+ this.Files = files ?? throw new global::System.ArgumentNullException(nameof(files));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs
index b67cd9b9..fe25058e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputImage.g.cs
@@ -33,13 +33,13 @@ public sealed partial class CodeInterpreterOutputImage
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The URL of the image output from the code interpreter.
+ ///
///
/// The type of the output. Always `image`.
/// Default Value: image
///
- ///
- /// The URL of the image output from the code interpreter.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public CodeInterpreterOutputImage(
string url,
global::tryAGI.OpenAI.CodeInterpreterOutputImageType type = global::tryAGI.OpenAI.CodeInterpreterOutputImageType.Image)
{
- this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url));
this.Type = type;
+ this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs
index 512c8b3b..bed8bbb5 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterOutputLogs.g.cs
@@ -33,13 +33,13 @@ public sealed partial class CodeInterpreterOutputLogs
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The logs output from the code interpreter.
+ ///
///
/// The type of the output. Always `logs`.
/// Default Value: logs
///
- ///
- /// The logs output from the code interpreter.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public CodeInterpreterOutputLogs(
string logs,
global::tryAGI.OpenAI.CodeInterpreterOutputLogsType type = global::tryAGI.OpenAI.CodeInterpreterOutputLogsType.Logs)
{
- this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs));
this.Type = type;
+ this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTextOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTextOutput.g.cs
index 31f2bdf1..8f52ba81 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTextOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTextOutput.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CodeInterpreterTextOutput
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the code interpreter text output. Always `logs`.
- ///
///
/// The logs of the code interpreter tool call.
///
+ ///
+ /// The type of the code interpreter text output. Always `logs`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CodeInterpreterTextOutput(
string logs,
global::tryAGI.OpenAI.CodeInterpreterTextOutputType type)
{
- this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs));
this.Type = type;
+ this.Logs = logs ?? throw new global::System.ArgumentNullException(nameof(logs));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs
index 59b736a4..2498aa85 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterTool.g.cs
@@ -34,14 +34,14 @@ public sealed partial class CodeInterpreterTool
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the code interpreter tool. Always `code_interpreter`.
- ///
///
/// The code interpreter container. Can be a container ID or an object that
/// specifies uploaded file IDs to make available to your code, along with an
/// optional `memory_limit` setting.
///
+ ///
+ /// The type of the code interpreter tool. Always `code_interpreter`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -49,8 +49,8 @@ public CodeInterpreterTool(
global::tryAGI.OpenAI.OneOf container,
global::tryAGI.OpenAI.CodeInterpreterToolType type)
{
- this.Container = container;
this.Type = type;
+ this.Container = container;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs
index 3cc6a2c6..d02fb9d2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CodeInterpreterToolCall.g.cs
@@ -60,10 +60,6 @@ public sealed partial class CodeInterpreterToolCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the code interpreter tool call. Always `code_interpreter_call`.
- /// Default Value: code_interpreter_call
- ///
///
/// The unique ID of the code interpreter tool call.
///
@@ -75,6 +71,10 @@ public sealed partial class CodeInterpreterToolCall
///
///
///
+ ///
+ /// The type of the code interpreter tool call. Always `code_interpreter_call`.
+ /// Default Value: code_interpreter_call
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -86,10 +86,10 @@ public CodeInterpreterToolCall(
global::System.Collections.Generic.IList? outputs,
global::tryAGI.OpenAI.CodeInterpreterToolCallType type = global::tryAGI.OpenAI.CodeInterpreterToolCallType.CodeInterpreterCall)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Status = status;
this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId));
- this.Type = type;
this.Code = code;
this.Outputs = outputs;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs
index 7413f087..68fb6a90 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactResource.g.cs
@@ -58,10 +58,6 @@ public sealed partial class CompactResource
///
/// The unique identifier for the compacted response.
///
- ///
- /// The object type. Always `response.compaction`.
- /// Default Value: response.compaction
- ///
///
/// The compacted list of output items.
///
@@ -71,6 +67,10 @@ public sealed partial class CompactResource
///
/// Token accounting for the compaction pass, including cached, reasoning, and total tokens.
///
+ ///
+ /// The object type. Always `response.compaction`.
+ /// Default Value: response.compaction
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -82,10 +82,10 @@ public CompactResource(
global::tryAGI.OpenAI.CompactResourceObject @object = global::tryAGI.OpenAI.CompactResourceObject.ResponseCompaction)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Object = @object;
this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.CreatedAt = createdAt;
this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionBody.g.cs
index ba276284..32d75297 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionBody.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionBody.g.cs
@@ -46,10 +46,6 @@ public sealed partial class CompactionBody
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `compaction`.
- /// Default Value: compaction
- ///
///
/// The unique ID of the compaction item.
///
@@ -59,6 +55,10 @@ public sealed partial class CompactionBody
///
/// The identifier of the actor that created the item.
///
+ ///
+ /// The type of the item. Always `compaction`.
+ /// Default Value: compaction
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -68,9 +68,9 @@ public CompactionBody(
string? createdBy,
global::tryAGI.OpenAI.CompactionBodyType type = global::tryAGI.OpenAI.CompactionBodyType.Compaction)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.EncryptedContent = encryptedContent ?? throw new global::System.ArgumentNullException(nameof(encryptedContent));
- this.Type = type;
this.CreatedBy = createdBy;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionSummaryItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionSummaryItemParam.g.cs
index 18ef3151..168bd8c8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionSummaryItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CompactionSummaryItemParam.g.cs
@@ -39,14 +39,14 @@ public sealed partial class CompactionSummaryItemParam
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The encrypted content of the compaction summary.
+ ///
///
///
/// The type of the item. Always `compaction`.
/// Default Value: compaction
///
- ///
- /// The encrypted content of the compaction summary.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -55,9 +55,9 @@ public CompactionSummaryItemParam(
string? id,
global::tryAGI.OpenAI.CompactionSummaryItemParamType type = global::tryAGI.OpenAI.CompactionSummaryItemParamType.Compaction)
{
- this.EncryptedContent = encryptedContent ?? throw new global::System.ArgumentNullException(nameof(encryptedContent));
this.Id = id;
this.Type = type;
+ this.EncryptedContent = encryptedContent ?? throw new global::System.ArgumentNullException(nameof(encryptedContent));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerCallOutputItemParam.g.cs
index 41778edd..8ebc4a70 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerCallOutputItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerCallOutputItemParam.g.cs
@@ -58,19 +58,19 @@ public sealed partial class ComputerCallOutputItemParam
///
/// Initializes a new instance of the class.
///
- ///
///
/// The ID of the computer tool call that produced the output.
///
- ///
- /// The type of the computer tool call output. Always `computer_call_output`.
- /// Default Value: computer_call_output
- ///
///
/// A computer screenshot image used with the computer use tool.
///
+ ///
///
///
+ ///
+ /// The type of the computer tool call output. Always `computer_call_output`.
+ /// Default Value: computer_call_output
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -82,10 +82,10 @@ public ComputerCallOutputItemParam(
global::tryAGI.OpenAI.FunctionCallItemStatus? status,
global::tryAGI.OpenAI.ComputerCallOutputItemParamType type = global::tryAGI.OpenAI.ComputerCallOutputItemParamType.ComputerCallOutput)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.Id = id;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Type = type;
+ this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.AcknowledgedSafetyChecks = acknowledgedSafetyChecks;
this.Status = status;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotContent.g.cs
index 2e68ab2e..acf40585 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotContent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotContent.g.cs
@@ -46,14 +46,14 @@ public sealed partial class ComputerScreenshotContent
///
/// Initializes a new instance of the class.
///
- ///
- /// Specifies the event type. For a computer screenshot, this property is always set to `computer_screenshot`.
- /// Default Value: computer_screenshot
+ ///
+ /// The detail level of the screenshot image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.
///
///
///
- ///
- /// The detail level of the screenshot image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.
+ ///
+ /// Specifies the event type. For a computer screenshot, this property is always set to `computer_screenshot`.
+ /// Default Value: computer_screenshot
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -64,10 +64,10 @@ public ComputerScreenshotContent(
string? fileId,
global::tryAGI.OpenAI.ComputerScreenshotContentType type = global::tryAGI.OpenAI.ComputerScreenshotContentType.ComputerScreenshot)
{
- this.Detail = detail;
this.Type = type;
this.ImageUrl = imageUrl;
this.FileId = fileId;
+ this.Detail = detail;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotImage.g.cs
index cf7c2d81..18454be4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotImage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerScreenshotImage.g.cs
@@ -39,17 +39,17 @@ public sealed partial class ComputerScreenshotImage
///
/// Initializes a new instance of the class.
///
- ///
- /// Specifies the event type. For a computer screenshot, this property is
- /// always set to `computer_screenshot`.
- /// Default Value: computer_screenshot
- ///
///
/// The URL of the screenshot image.
///
///
/// The identifier of an uploaded file that contains the screenshot.
///
+ ///
+ /// Specifies the event type. For a computer screenshot, this property is
+ /// always set to `computer_screenshot`.
+ /// Default Value: computer_screenshot
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCall.g.cs
index 4635245f..920589c2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCall.g.cs
@@ -71,21 +71,12 @@ public sealed partial class ComputerToolCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the computer call. Always `computer_call`.
- /// Default Value: computer_call
- ///
///
/// The unique ID of the computer call.
///
///
/// An identifier used when responding to the tool call with output.
///
- ///
- ///
- /// Flattened batched actions for `computer_use`. Each action includes an
- /// `type` discriminator and action-specific fields.
- ///
///
/// The pending safety checks for the computer call.
///
@@ -93,6 +84,15 @@ public sealed partial class ComputerToolCall
/// The status of the item. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when items are returned via API.
///
+ ///
+ ///
+ /// Flattened batched actions for `computer_use`. Each action includes an
+ /// `type` discriminator and action-specific fields.
+ ///
+ ///
+ /// The type of the computer call. Always `computer_call`.
+ /// Default Value: computer_call
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -105,13 +105,13 @@ public ComputerToolCall(
global::System.Collections.Generic.IList? actions,
global::tryAGI.OpenAI.ComputerToolCallType type = global::tryAGI.OpenAI.ComputerToolCallType.ComputerCall)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.PendingSafetyChecks = pendingSafetyChecks ?? throw new global::System.ArgumentNullException(nameof(pendingSafetyChecks));
- this.Status = status;
- this.Type = type;
this.Action = action;
this.Actions = actions;
+ this.PendingSafetyChecks = pendingSafetyChecks ?? throw new global::System.ArgumentNullException(nameof(pendingSafetyChecks));
+ this.Status = status;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutput.g.cs
index ea5d32ad..31fedfcd 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerToolCallOutput.g.cs
@@ -61,27 +61,27 @@ public sealed partial class ComputerToolCallOutput
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the computer tool call output. Always `computer_call_output`.
- /// Default Value: computer_call_output
+ ///
+ /// The ID of the computer tool call that produced the output.
+ ///
+ ///
+ /// A computer screenshot image used with the computer use tool.
///
///
/// The ID of the computer tool call output.
///
- ///
- /// The ID of the computer tool call that produced the output.
- ///
///
/// The safety checks reported by the API that have been acknowledged by the
/// developer.
///
- ///
- /// A computer screenshot image used with the computer use tool.
- ///
///
/// The status of the message input. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when input items are returned via API.
///
+ ///
+ /// The type of the computer tool call output. Always `computer_call_output`.
+ /// Default Value: computer_call_output
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -93,11 +93,11 @@ public ComputerToolCallOutput(
global::tryAGI.OpenAI.ComputerToolCallOutputStatus? status,
global::tryAGI.OpenAI.ComputerToolCallOutputType type = global::tryAGI.OpenAI.ComputerToolCallOutputType.ComputerCallOutput)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.Type = type;
this.Id = id;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.AcknowledgedSafetyChecks = acknowledgedSafetyChecks;
+ this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.Status = status;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerUsePreviewTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerUsePreviewTool.g.cs
index 38559f16..ef071388 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerUsePreviewTool.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ComputerUsePreviewTool.g.cs
@@ -48,10 +48,6 @@ public sealed partial class ComputerUsePreviewTool
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the computer use tool. Always `computer_use_preview`.
- /// Default Value: computer_use_preview
- ///
///
/// The type of computer environment to control.
///
@@ -61,6 +57,10 @@ public sealed partial class ComputerUsePreviewTool
///
/// The height of the computer display.
///
+ ///
+ /// The type of the computer use tool. Always `computer_use_preview`.
+ /// Default Value: computer_use_preview
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -70,10 +70,10 @@ public ComputerUsePreviewTool(
int displayHeight,
global::tryAGI.OpenAI.ComputerUsePreviewToolType type = global::tryAGI.OpenAI.ComputerUsePreviewToolType.ComputerUsePreview)
{
+ this.Type = type;
this.Environment = environment;
this.DisplayWidth = displayWidth;
this.DisplayHeight = displayHeight;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerAutoParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerAutoParam.g.cs
index d50e6be3..affd75ed 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerAutoParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerAutoParam.g.cs
@@ -51,10 +51,6 @@ public sealed partial class ContainerAutoParam
///
/// Initializes a new instance of the class.
///
- ///
- /// Automatically creates a container for this request
- /// Default Value: container_auto
- ///
///
/// An optional list of uploaded files to make available to your code.
///
@@ -65,6 +61,10 @@ public sealed partial class ContainerAutoParam
///
/// An optional list of skills referenced by id or inline data.
///
+ ///
+ /// Automatically creates a container for this request
+ /// Default Value: container_auto
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs
index 5b64e8ab..dd17b456 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileCitationBody.g.cs
@@ -61,10 +61,6 @@ public sealed partial class ContainerFileCitationBody
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the container file citation. Always `container_file_citation`.
- /// Default Value: container_file_citation
- ///
///
/// The ID of the container file.
///
@@ -80,6 +76,10 @@ public sealed partial class ContainerFileCitationBody
///
/// The filename of the container file cited.
///
+ ///
+ /// The type of the container file citation. Always `container_file_citation`.
+ /// Default Value: container_file_citation
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -91,12 +91,12 @@ public ContainerFileCitationBody(
string filename,
global::tryAGI.OpenAI.ContainerFileCitationBodyType type = global::tryAGI.OpenAI.ContainerFileCitationBodyType.ContainerFileCitation)
{
+ this.Type = type;
this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId));
this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId));
this.StartIndex = startIndex;
this.EndIndex = endIndex;
this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileListResource.g.cs
index f1aa73cb..3d018aa7 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileListResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerFileListResource.g.cs
@@ -52,9 +52,6 @@ public sealed partial class ContainerFileListResource
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of object returned, must be 'list'.
- ///
///
/// A list of container files.
///
@@ -67,6 +64,9 @@ public sealed partial class ContainerFileListResource
///
/// Whether there are more files available.
///
+ ///
+ /// The type of object returned, must be 'list'.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -77,11 +77,11 @@ public ContainerFileListResource(
bool hasMore,
global::tryAGI.OpenAI.ContainerFileListResourceObject @object)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerListResource.g.cs
index 5bc6ad35..18bc7609 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerListResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerListResource.g.cs
@@ -52,9 +52,6 @@ public sealed partial class ContainerListResource
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of object returned, must be 'list'.
- ///
///
/// A list of containers.
///
@@ -67,6 +64,9 @@ public sealed partial class ContainerListResource
///
/// Whether there are more containers available.
///
+ ///
+ /// The type of object returned, must be 'list'.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -77,11 +77,11 @@ public ContainerListResource(
bool hasMore,
global::tryAGI.OpenAI.ContainerListResourceObject @object)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerNetworkPolicyAllowlistParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerNetworkPolicyAllowlistParam.g.cs
index 061a46ca..ee5c1c86 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerNetworkPolicyAllowlistParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerNetworkPolicyAllowlistParam.g.cs
@@ -39,16 +39,16 @@ public sealed partial class ContainerNetworkPolicyAllowlistParam
///
/// Initializes a new instance of the class.
///
- ///
- /// Allow outbound network access only to specified domains. Always `allowlist`.
- /// Default Value: allowlist
- ///
///
/// A list of allowed domains when type is `allowlist`.
///
///
/// Optional domain-scoped secrets for allowlisted domains.
///
+ ///
+ /// Allow outbound network access only to specified domains. Always `allowlist`.
+ /// Default Value: allowlist
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -57,8 +57,8 @@ public ContainerNetworkPolicyAllowlistParam(
global::System.Collections.Generic.IList? domainSecrets,
global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType type = global::tryAGI.OpenAI.ContainerNetworkPolicyAllowlistParamType.Allowlist)
{
- this.AllowedDomains = allowedDomains ?? throw new global::System.ArgumentNullException(nameof(allowedDomains));
this.Type = type;
+ this.AllowedDomains = allowedDomains ?? throw new global::System.ArgumentNullException(nameof(allowedDomains));
this.DomainSecrets = domainSecrets;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceParam.g.cs
index c32ae405..86d0ad5c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceParam.g.cs
@@ -35,14 +35,14 @@ public sealed partial class ContainerReferenceParam
///
/// Initializes a new instance of the class.
///
- ///
- /// References a container created with the /v1/containers endpoint
- /// Default Value: container_reference
- ///
///
/// The ID of the referenced container.
/// Example: cntr_123
///
+ ///
+ /// References a container created with the /v1/containers endpoint
+ /// Default Value: container_reference
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -50,8 +50,8 @@ public ContainerReferenceParam(
string containerId,
global::tryAGI.OpenAI.ContainerReferenceParamType type = global::tryAGI.OpenAI.ContainerReferenceParamType.ContainerReference)
{
- this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId));
this.Type = type;
+ this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceResource.g.cs
index ae711226..9f26293c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ContainerReferenceResource.g.cs
@@ -33,11 +33,11 @@ public sealed partial class ContainerReferenceResource
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The environment type. Always `container_reference`.
/// Default Value: container_reference
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -45,8 +45,8 @@ public ContainerReferenceResource(
string containerId,
global::tryAGI.OpenAI.ContainerReferenceResourceType type = global::tryAGI.OpenAI.ContainerReferenceResourceType.ContainerReference)
{
- this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId));
this.Type = type;
+ this.ContainerId = containerId ?? throw new global::System.ArgumentNullException(nameof(containerId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationItemList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationItemList.g.cs
index e6c78a5e..276ba13d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationItemList.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationItemList.g.cs
@@ -52,9 +52,6 @@ public sealed partial class ConversationItemList
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of object returned, must be `list`.
- ///
///
/// A list of conversation items.
///
@@ -67,6 +64,9 @@ public sealed partial class ConversationItemList
///
/// The ID of the last item in the list.
///
+ ///
+ /// The type of object returned, must be `list`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -77,11 +77,11 @@ public ConversationItemList(
string lastId,
global::tryAGI.OpenAI.ConversationItemListObject @object)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.HasMore = hasMore;
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs
index 32480d45..ba308c62 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ConversationResource.g.cs
@@ -51,10 +51,6 @@ public sealed partial class ConversationResource
///
/// The unique ID of the conversation.
///
- ///
- /// The object type, which is always `conversation`.
- /// Default Value: conversation
- ///
///
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
/// Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
@@ -62,6 +58,10 @@ public sealed partial class ConversationResource
///
/// The time at which the conversation was created, measured in seconds since the Unix epoch.
///
+ ///
+ /// The object type, which is always `conversation`.
+ /// Default Value: conversation
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -72,9 +72,9 @@ public ConversationResource(
global::tryAGI.OpenAI.ConversationResourceObject @object = global::tryAGI.OpenAI.ConversationResourceObject.Conversation)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Object = @object;
this.Metadata = metadata ?? throw new global::System.ArgumentNullException(nameof(metadata));
this.CreatedAt = createdAt;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs
index 735119c4..6bdbbb72 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs
@@ -31,10 +31,10 @@ public sealed partial class CreateAssistantRequestToolResourcesFileSearchVectorS
///
/// Initializes a new instance of the class.
///
+ ///
///
/// Always `static`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyS
global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyStatic @static,
global::tryAGI.OpenAI.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyType type)
{
- this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static));
this.Type = type;
+ this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestEndpoint.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestEndpoint.g.cs
index e13556f5..f540dba9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestEndpoint.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateBatchRequestEndpoint.g.cs
@@ -11,35 +11,35 @@ public enum CreateBatchRequestEndpoint
///
///
///
- V1ChatCompletions,
+ Dividev1DividechatDividecompletions,
///
///
///
- V1Completions,
+ Dividev1Dividecompletions,
///
///
///
- V1Embeddings,
+ Dividev1Divideembeddings,
///
///
///
- V1ImagesEdits,
+ Dividev1DivideimagesDivideedits,
///
///
///
- V1ImagesGenerations,
+ Dividev1DivideimagesDividegenerations,
///
///
///
- V1Moderations,
+ Dividev1Dividemoderations,
///
///
///
- V1Responses,
+ Dividev1Divideresponses,
///
///
///
- V1Videos,
+ Dividev1Dividevideos,
}
///
@@ -54,14 +54,14 @@ public static string ToValueString(this CreateBatchRequestEndpoint value)
{
return value switch
{
- CreateBatchRequestEndpoint.V1ChatCompletions => "/v1/chat/completions",
- CreateBatchRequestEndpoint.V1Completions => "/v1/completions",
- CreateBatchRequestEndpoint.V1Embeddings => "/v1/embeddings",
- CreateBatchRequestEndpoint.V1ImagesEdits => "/v1/images/edits",
- CreateBatchRequestEndpoint.V1ImagesGenerations => "/v1/images/generations",
- CreateBatchRequestEndpoint.V1Moderations => "/v1/moderations",
- CreateBatchRequestEndpoint.V1Responses => "/v1/responses",
- CreateBatchRequestEndpoint.V1Videos => "/v1/videos",
+ CreateBatchRequestEndpoint.Dividev1DividechatDividecompletions => "/v1/chat/completions",
+ CreateBatchRequestEndpoint.Dividev1Dividecompletions => "/v1/completions",
+ CreateBatchRequestEndpoint.Dividev1Divideembeddings => "/v1/embeddings",
+ CreateBatchRequestEndpoint.Dividev1DivideimagesDivideedits => "/v1/images/edits",
+ CreateBatchRequestEndpoint.Dividev1DivideimagesDividegenerations => "/v1/images/generations",
+ CreateBatchRequestEndpoint.Dividev1Dividemoderations => "/v1/moderations",
+ CreateBatchRequestEndpoint.Dividev1Divideresponses => "/v1/responses",
+ CreateBatchRequestEndpoint.Dividev1Dividevideos => "/v1/videos",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
@@ -72,14 +72,14 @@ public static string ToValueString(this CreateBatchRequestEndpoint value)
{
return value switch
{
- "/v1/chat/completions" => CreateBatchRequestEndpoint.V1ChatCompletions,
- "/v1/completions" => CreateBatchRequestEndpoint.V1Completions,
- "/v1/embeddings" => CreateBatchRequestEndpoint.V1Embeddings,
- "/v1/images/edits" => CreateBatchRequestEndpoint.V1ImagesEdits,
- "/v1/images/generations" => CreateBatchRequestEndpoint.V1ImagesGenerations,
- "/v1/moderations" => CreateBatchRequestEndpoint.V1Moderations,
- "/v1/responses" => CreateBatchRequestEndpoint.V1Responses,
- "/v1/videos" => CreateBatchRequestEndpoint.V1Videos,
+ "/v1/chat/completions" => CreateBatchRequestEndpoint.Dividev1DividechatDividecompletions,
+ "/v1/completions" => CreateBatchRequestEndpoint.Dividev1Dividecompletions,
+ "/v1/embeddings" => CreateBatchRequestEndpoint.Dividev1Divideembeddings,
+ "/v1/images/edits" => CreateBatchRequestEndpoint.Dividev1DivideimagesDivideedits,
+ "/v1/images/generations" => CreateBatchRequestEndpoint.Dividev1DivideimagesDividegenerations,
+ "/v1/moderations" => CreateBatchRequestEndpoint.Dividev1Dividemoderations,
+ "/v1/responses" => CreateBatchRequestEndpoint.Dividev1Divideresponses,
+ "/v1/videos" => CreateBatchRequestEndpoint.Dividev1Dividevideos,
_ => null,
};
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation.g.cs
index 799f00bb..5587c0a8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CreateChatCompletionRequestVariant2WebSearchOptionsU
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of location approximation. Always `approximate`.
- ///
///
/// Approximate location parameters for the search.
///
+ ///
+ /// The type of location approximation. Always `approximate`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CreateChatCompletionRequestVariant2WebSearchOptionsUserLocation(
global::tryAGI.OpenAI.WebSearchLocation approximate,
global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocationType type)
{
- this.Approximate = approximate ?? throw new global::System.ArgumentNullException(nameof(approximate));
this.Type = type;
+ this.Approximate = approximate ?? throw new global::System.ArgumentNullException(nameof(approximate));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs
index 3e97ff2a..44665b07 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateChatCompletionStreamResponseChoice.g.cs
@@ -50,6 +50,9 @@ public sealed partial class CreateChatCompletionStreamResponseChoice
///
/// A chat completion delta generated by streamed model responses.
///
+ ///
+ /// The index of the choice in the list of choices.
+ ///
///
/// Log probability information for the choice.
///
@@ -59,9 +62,6 @@ public sealed partial class CreateChatCompletionStreamResponseChoice
/// `content_filter` if content was omitted due to a flag from our content filters,
/// `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function.
///
- ///
- /// The index of the choice in the list of choices.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -72,9 +72,9 @@ public CreateChatCompletionStreamResponseChoice(
global::tryAGI.OpenAI.CreateChatCompletionStreamResponseChoiceFinishReason? finishReason)
{
this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta));
- this.Index = index;
this.Logprobs = logprobs;
this.FinishReason = finishReason;
+ this.Index = index;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoice.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoice.g.cs
index 3ca518d4..123bfb3b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoice.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateCompletionResponseChoice.g.cs
@@ -53,8 +53,8 @@ public sealed partial class CreateCompletionResponseChoice
/// or `content_filter` if content was omitted due to a flag from our content filters.
///
///
- ///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -66,8 +66,8 @@ public CreateCompletionResponseChoice(
{
this.FinishReason = finishReason;
this.Index = index;
- this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Logprobs = logprobs;
+ this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyExpiresAfter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyExpiresAfter.g.cs
index b252e989..d6de7f85 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyExpiresAfter.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateContainerBodyExpiresAfter.g.cs
@@ -31,10 +31,10 @@ public sealed partial class CreateContainerBodyExpiresAfter
///
/// Initializes a new instance of the class.
///
+ ///
///
/// Time anchor for the expiration time. Currently only 'last_active_at' is supported.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public CreateContainerBodyExpiresAfter(
int minutes,
global::tryAGI.OpenAI.CreateContainerBodyExpiresAfterAnchor anchor)
{
- this.Minutes = minutes;
this.Anchor = anchor;
+ this.Minutes = minutes;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingResponse.g.cs
index c2a0608b..7a494a4b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEmbeddingResponse.g.cs
@@ -51,12 +51,12 @@ public sealed partial class CreateEmbeddingResponse
///
/// The name of the model used to generate the embedding.
///
- ///
- /// The object type, which is always "list".
- ///
///
/// The usage information for the request.
///
+ ///
+ /// The object type, which is always "list".
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -68,8 +68,8 @@ public CreateEmbeddingResponse(
{
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
- this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage));
this.Object = @object;
+ this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSource.g.cs
index 714b16fa..43afdbd4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSource.g.cs
@@ -53,9 +53,8 @@ public sealed partial class CreateEvalCompletionsRunDataSource
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of run data source. Always `completions`.
- /// Default Value: completions
+ ///
+ /// Determines what populates the `item` namespace in this run's data source.
///
///
/// Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, `item.input_trajectory`), or a template with variable references to the `item` namespace.
@@ -64,8 +63,9 @@ public sealed partial class CreateEvalCompletionsRunDataSource
///
/// The name of the model to use for generating completions (e.g. "o3-mini").
///
- ///
- /// Determines what populates the `item` namespace in this run's data source.
+ ///
+ /// The type of run data source. Always `completions`.
+ /// Default Value: completions
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -77,11 +77,11 @@ public CreateEvalCompletionsRunDataSource(
string? model,
global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType type = global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceType.Completions)
{
- this.Source = source;
this.Type = type;
this.InputMessages = inputMessages;
this.SamplingParams = samplingParams;
this.Model = model;
+ this.Source = source;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages.g.cs
index 31f63f9f..3102443d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CreateEvalCompletionsRunDataSourceInputMessagesItemR
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of input messages. Always `item_reference`.
- ///
///
/// A reference to a variable in the `item` namespace. Ie, "item.input_trajectory"
///
+ ///
+ /// The type of input messages. Always `item_reference`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessages
string itemReference,
global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesItemReferenceInputMessagesType type)
{
- this.ItemReference = itemReference ?? throw new global::System.ArgumentNullException(nameof(itemReference));
this.Type = type;
+ this.ItemReference = itemReference ?? throw new global::System.ArgumentNullException(nameof(itemReference));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages.g.cs
index d4ef0a73..fef0268d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CreateEvalCompletionsRunDataSourceInputMessagesTempl
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of input messages. Always `template`.
- ///
///
/// A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}.
///
+ ///
+ /// The type of input messages. Always `template`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessages(
global::System.Collections.Generic.IList> template,
global::tryAGI.OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplateInputMessagesType type)
{
- this.Template = template ?? throw new global::System.ArgumentNullException(nameof(template));
this.Type = type;
+ this.Template = template ?? throw new global::System.ArgumentNullException(nameof(template));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCustomDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCustomDataSourceConfig.g.cs
index 734b4490..4a85a82a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCustomDataSourceConfig.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalCustomDataSourceConfig.g.cs
@@ -61,10 +61,6 @@ public sealed partial class CreateEvalCustomDataSourceConfig
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of data source. Always `custom`.
- /// Default Value: custom
- ///
///
/// The json schema for each row in the data source.
/// Example: {
@@ -80,6 +76,10 @@ public sealed partial class CreateEvalCustomDataSourceConfig
/// Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)
/// Default Value: false
///
+ ///
+ /// The type of data source. Always `custom`.
+ /// Default Value: custom
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -88,8 +88,8 @@ public CreateEvalCustomDataSourceConfig(
bool? includeSampleSchema,
global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfigType type = global::tryAGI.OpenAI.CreateEvalCustomDataSourceConfigType.Custom)
{
- this.ItemSchema = itemSchema ?? throw new global::System.ArgumentNullException(nameof(itemSchema));
this.Type = type;
+ this.ItemSchema = itemSchema ?? throw new global::System.ArgumentNullException(nameof(itemSchema));
this.IncludeSampleSchema = includeSampleSchema;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalJsonlRunDataSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalJsonlRunDataSource.g.cs
index d977294e..7fd46e6e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalJsonlRunDataSource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalJsonlRunDataSource.g.cs
@@ -34,13 +34,13 @@ public sealed partial class CreateEvalJsonlRunDataSource
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Determines what populates the `item` namespace in the data source.
+ ///
///
/// The type of data source. Always `jsonl`.
/// Default Value: jsonl
///
- ///
- /// Determines what populates the `item` namespace in the data source.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -48,8 +48,8 @@ public CreateEvalJsonlRunDataSource(
global::tryAGI.OpenAI.OneOf source,
global::tryAGI.OpenAI.CreateEvalJsonlRunDataSourceType type = global::tryAGI.OpenAI.CreateEvalJsonlRunDataSourceType.Jsonl)
{
- this.Source = source;
this.Type = type;
+ this.Source = source;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLabelModelGrader.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLabelModelGrader.g.cs
index 2b9db69e..5d5786af 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLabelModelGrader.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLabelModelGrader.g.cs
@@ -60,9 +60,6 @@ public sealed partial class CreateEvalLabelModelGrader
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `label_model`.
- ///
///
/// The name of the grader.
///
@@ -78,6 +75,9 @@ public sealed partial class CreateEvalLabelModelGrader
///
/// The labels that indicate a passing result. Must be a subset of labels.
///
+ ///
+ /// The object type, which is always `label_model`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -89,12 +89,12 @@ public CreateEvalLabelModelGrader(
global::System.Collections.Generic.IList passingLabels,
global::tryAGI.OpenAI.CreateEvalLabelModelGraderType type)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
this.Labels = labels ?? throw new global::System.ArgumentNullException(nameof(labels));
this.PassingLabels = passingLabels ?? throw new global::System.ArgumentNullException(nameof(passingLabels));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLogsDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLogsDataSourceConfig.g.cs
index 4db54127..4f045062 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLogsDataSourceConfig.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalLogsDataSourceConfig.g.cs
@@ -41,16 +41,16 @@ public sealed partial class CreateEvalLogsDataSourceConfig
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of data source. Always `logs`.
- /// Default Value: logs
- ///
///
/// Metadata filters for the logs data source.
/// Example: {
/// "use_case": "customer_support_agent"
/// }
///
+ ///
+ /// The type of data source. Always `logs`.
+ /// Default Value: logs
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRequest.g.cs
index 5186dbdc..8265cce6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRequest.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRequest.g.cs
@@ -46,16 +46,16 @@ public sealed partial class CreateEvalRequest
///
/// Initializes a new instance of the class.
///
- ///
- /// The name of the evaluation.
- ///
- ///
///
/// The configuration for the data source used for the evaluation runs. Dictates the schema of the data used in the evaluation.
///
///
/// A list of graders for all eval runs in this group. Graders can reference variables in the data source using double curly braces notation, like `{{item.variable_name}}`. To reference the model's output, use the `sample` namespace (ie, `{{sample.output_text}}`).
///
+ ///
+ /// The name of the evaluation.
+ ///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -65,10 +65,10 @@ public CreateEvalRequest(
string? name,
global::System.Collections.Generic.Dictionary? metadata)
{
- this.DataSourceConfig = dataSourceConfig;
- this.TestingCriteria = testingCriteria ?? throw new global::System.ArgumentNullException(nameof(testingCriteria));
this.Name = name;
this.Metadata = metadata;
+ this.DataSourceConfig = dataSourceConfig;
+ this.TestingCriteria = testingCriteria ?? throw new global::System.ArgumentNullException(nameof(testingCriteria));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSource.g.cs
index 413a4142..5bfd2285 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSource.g.cs
@@ -53,9 +53,8 @@ public sealed partial class CreateEvalResponsesRunDataSource
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of run data source. Always `responses`.
- /// Default Value: responses
+ ///
+ /// Determines what populates the `item` namespace in this run's data source.
///
///
/// Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, `item.input_trajectory`), or a template with variable references to the `item` namespace.
@@ -64,8 +63,9 @@ public sealed partial class CreateEvalResponsesRunDataSource
///
/// The name of the model to use for generating completions (e.g. "o3-mini").
///
- ///
- /// Determines what populates the `item` namespace in this run's data source.
+ ///
+ /// The type of run data source. Always `responses`.
+ /// Default Value: responses
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -77,11 +77,11 @@ public CreateEvalResponsesRunDataSource(
string? model,
global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceType type = global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceType.Responses)
{
- this.Source = source;
this.Type = type;
this.InputMessages = inputMessages;
this.SamplingParams = samplingParams;
this.Model = model;
+ this.Source = source;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference.g.cs
index ddede47b..60286214 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CreateEvalResponsesRunDataSourceInputMessagesInputMe
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of input messages. Always `item_reference`.
- ///
///
/// A reference to a variable in the `item` namespace. Ie, "item.name"
///
+ ///
+ /// The type of input messages. Always `item_reference`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReference(
string itemReference,
global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesItemReferenceType type)
{
- this.ItemReference = itemReference ?? throw new global::System.ArgumentNullException(nameof(itemReference));
this.Type = type;
+ this.ItemReference = itemReference ?? throw new global::System.ArgumentNullException(nameof(itemReference));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate.g.cs
index 041f6ee2..f2a1af82 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CreateEvalResponsesRunDataSourceInputMessagesInputMe
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of input messages. Always `template`.
- ///
///
/// A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}.
///
+ ///
+ /// The type of input messages. Always `template`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplate(
global::System.Collections.Generic.IList> template,
global::tryAGI.OpenAI.CreateEvalResponsesRunDataSourceInputMessagesInputMessagesTemplateType type)
{
- this.Template = template ?? throw new global::System.ArgumentNullException(nameof(template));
this.Type = type;
+ this.Template = template ?? throw new global::System.ArgumentNullException(nameof(template));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRunRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRunRequest.g.cs
index 7be50e3e..be1c18e4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRunRequest.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalRunRequest.g.cs
@@ -37,13 +37,13 @@ public sealed partial class CreateEvalRunRequest
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Details about the run's data source.
+ ///
///
/// The name of the run.
///
///
- ///
- /// Details about the run's data source.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -52,9 +52,9 @@ public CreateEvalRunRequest(
string? name,
global::System.Collections.Generic.Dictionary? metadata)
{
- this.DataSource = dataSource;
this.Name = name;
this.Metadata = metadata;
+ this.DataSource = dataSource;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalStoredCompletionsDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalStoredCompletionsDataSourceConfig.g.cs
index 47748332..279699a2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalStoredCompletionsDataSourceConfig.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateEvalStoredCompletionsDataSourceConfig.g.cs
@@ -43,16 +43,16 @@ public sealed partial class CreateEvalStoredCompletionsDataSourceConfig
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of data source. Always `stored_completions`.
- /// Default Value: stored_completions
- ///
///
/// Metadata filters for the stored completions data source.
/// Example: {
/// "use_case": "customer_support_agent"
/// }
///
+ ///
+ /// The type of data source. Always `stored_completions`.
+ /// Default Value: stored_completions
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFineTuningJobRequestIntegration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFineTuningJobRequestIntegration.g.cs
index aff99a54..bbea5f2a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFineTuningJobRequestIntegration.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateFineTuningJobRequestIntegration.g.cs
@@ -33,14 +33,14 @@ public sealed partial class CreateFineTuningJobRequestIntegration
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of integration to enable. Currently, only "wandb" (Weights and Biases) is supported.
- ///
///
/// The settings for your integration with Weights and Biases. This payload specifies the project that
/// metrics will be sent to. Optionally, you can set an explicit display name for your run, add tags
/// to your run, and set a default entity (team, username, etc) to be associated with your run.
///
+ ///
+ /// The type of integration to enable. Currently, only "wandb" (Weights and Biases) is supported.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -48,8 +48,8 @@ public CreateFineTuningJobRequestIntegration(
global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationWandb wandb,
global::tryAGI.OpenAI.CreateFineTuningJobRequestIntegrationType type)
{
- this.Wandb = wandb ?? throw new global::System.ArgumentNullException(nameof(wandb));
this.Type = type;
+ this.Wandb = wandb ?? throw new global::System.ArgumentNullException(nameof(wandb));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant1.g.cs
index 95dd0025..4afddc45 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant1.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant1.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CreateModerationRequestInputVariant3ItemVariant1
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `image_url`.
- ///
///
/// Contains either an image URL or a data URL for a base64 encoded image.
///
+ ///
+ /// Always `image_url`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CreateModerationRequestInputVariant3ItemVariant1(
global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1ImageUrl imageUrl,
global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant1Type type)
{
- this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl));
this.Type = type;
+ this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant2.g.cs
index 77676ab5..ed4e2991 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant2.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationRequestInputVariant3ItemVariant2.g.cs
@@ -33,13 +33,13 @@ public sealed partial class CreateModerationRequestInputVariant3ItemVariant2
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `text`.
- ///
///
/// A string of text to classify.
/// Example: I want to kill them
///
+ ///
+ /// Always `text`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public CreateModerationRequestInputVariant3ItemVariant2(
string text,
global::tryAGI.OpenAI.CreateModerationRequestInputVariant3ItemVariant2Type type)
{
- this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Type = type;
+ this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategories.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategories.g.cs
index 09f71840..f1865384 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategories.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateModerationResponseResultCategories.g.cs
@@ -118,8 +118,6 @@ public sealed partial class CreateModerationResponseResultCategories
///
/// Harassment content that also includes violence or serious harm towards any target.
///
- ///
- ///
///
/// Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
///
@@ -141,6 +139,8 @@ public sealed partial class CreateModerationResponseResultCategories
///
/// Content that depicts death, violence, or physical injury in graphic detail.
///
+ ///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -163,6 +163,8 @@ public CreateModerationResponseResultCategories(
this.HateThreatening = hateThreatening;
this.Harassment = harassment;
this.HarassmentThreatening = harassmentThreatening;
+ this.Illicit = illicit;
+ this.IllicitViolent = illicitViolent;
this.SelfHarm = selfHarm;
this.SelfHarmIntent = selfHarmIntent;
this.SelfHarmInstructions = selfHarmInstructions;
@@ -170,8 +172,6 @@ public CreateModerationResponseResultCategories(
this.SexualMinors = sexualMinors;
this.Violence = violence;
this.ViolenceGraphic = violenceGraphic;
- this.Illicit = illicit;
- this.IllicitViolent = illicitViolent;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs
index 1d9a1429..c9071e17 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateSpeechRequest.g.cs
@@ -75,12 +75,12 @@ public sealed partial class CreateSpeechRequest
///
/// The text to generate audio for. The maximum length is 4096 characters.
///
- ///
- /// Control the voice of your generated audio with additional instructions. Does not work with `tts-1` or `tts-1-hd`.
- ///
///
/// The voice to use when generating the audio. Supported built-in voices are `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, `verse`, `marin`, and `cedar`. You may also provide a custom voice object with an `id`, for example `{ "id": "voice_1234" }`. Previews of the voices are available in the [Text to speech guide](/docs/guides/text-to-speech#voice-options).
///
+ ///
+ /// Control the voice of your generated audio with additional instructions. Does not work with `tts-1` or `tts-1-hd`.
+ ///
///
/// The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, `wav`, and `pcm`.
/// Default Value: mp3
@@ -107,8 +107,8 @@ public CreateSpeechRequest(
{
this.Model = model;
this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
- this.Voice = voice;
this.Instructions = instructions;
+ this.Voice = voice;
this.ResponseFormat = responseFormat;
this.Speed = speed;
this.StreamFormat = streamFormat;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs
index c1da3054..963fcaf6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategy.g.cs
@@ -31,10 +31,10 @@ public sealed partial class CreateThreadRequestToolResourcesFileSearchVectorStor
///
/// Initializes a new instance of the class.
///
+ ///
///
/// Always `static`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStat
global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyStatic @static,
global::tryAGI.OpenAI.CreateThreadRequestToolResourcesFileSearchVectorStoreChunkingStrategyStaticChunkingStrategyType type)
{
- this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static));
this.Type = type;
+ this.Static = @static ?? throw new global::System.ArgumentNullException(nameof(@static));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseDiarizedJson.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseDiarizedJson.g.cs
index aa0025b2..4709d6c6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseDiarizedJson.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateTranscriptionResponseDiarizedJson.g.cs
@@ -52,9 +52,6 @@ public sealed partial class CreateTranscriptionResponseDiarizedJson
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of task that was run. Always `transcribe`.
- ///
///
/// Duration of the input audio in seconds.
///
@@ -64,6 +61,9 @@ public sealed partial class CreateTranscriptionResponseDiarizedJson
///
/// Segments of the transcript annotated with timestamps and speaker labels.
///
+ ///
+ /// The type of task that was run. Always `transcribe`.
+ ///
///
/// Token or duration usage statistics for the request.
///
@@ -77,10 +77,10 @@ public CreateTranscriptionResponseDiarizedJson(
global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonTask task,
global::tryAGI.OpenAI.CreateTranscriptionResponseDiarizedJsonUsage? usage)
{
+ this.Task = task;
this.Duration = duration;
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Segments = segments ?? throw new global::System.ArgumentNullException(nameof(segments));
- this.Task = task;
this.Usage = usage;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoJsonBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoJsonBody.g.cs
index 347a9796..22a5c197 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoJsonBody.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoJsonBody.g.cs
@@ -51,12 +51,12 @@ public sealed partial class CreateVideoJsonBody
///
/// Initializes a new instance of the class.
///
- ///
- /// The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`.
- ///
///
/// Text prompt that describes the video to generate.
///
+ ///
+ /// The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`.
+ ///
///
/// Optional reference object that guides generation. Provide exactly one of `image_url` or `file_id`.
///
@@ -76,8 +76,8 @@ public CreateVideoJsonBody(
global::tryAGI.OpenAI.VideoSeconds? seconds,
global::tryAGI.OpenAI.VideoSize? size)
{
- this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.Model = model;
+ this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.InputReference = inputReference;
this.Seconds = seconds;
this.Size = size;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoMultipartBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoMultipartBody.g.cs
index dcb7fd27..5c343200 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoMultipartBody.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CreateVideoMultipartBody.g.cs
@@ -52,12 +52,12 @@ public sealed partial class CreateVideoMultipartBody
///
/// Initializes a new instance of the class.
///
- ///
- /// The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`.
- ///
///
/// Text prompt that describes the video to generate.
///
+ ///
+ /// The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults to `sora-2`.
+ ///
///
///
/// Clip duration in seconds (allowed values: 4, 8, 12). Defaults to 4 seconds.
@@ -75,8 +75,8 @@ public CreateVideoMultipartBody(
global::tryAGI.OpenAI.VideoSeconds? seconds,
global::tryAGI.OpenAI.VideoSize? size)
{
- this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.Model = model;
+ this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.InputReference = inputReference;
this.Seconds = seconds;
this.Size = size;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomGrammarFormatParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomGrammarFormatParam.g.cs
index 4f016938..f80873e0 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomGrammarFormatParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomGrammarFormatParam.g.cs
@@ -41,16 +41,16 @@ public sealed partial class CustomGrammarFormatParam
///
/// Initializes a new instance of the class.
///
- ///
- /// Grammar format. Always `grammar`.
- /// Default Value: grammar
- ///
///
/// The syntax of the grammar definition. One of `lark` or `regex`.
///
///
/// The grammar definition.
///
+ ///
+ /// Grammar format. Always `grammar`.
+ /// Default Value: grammar
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -59,9 +59,9 @@ public CustomGrammarFormatParam(
string definition,
global::tryAGI.OpenAI.CustomGrammarFormatParamType type = global::tryAGI.OpenAI.CustomGrammarFormatParamType.Grammar)
{
+ this.Type = type;
this.Syntax = syntax;
this.Definition = definition ?? throw new global::System.ArgumentNullException(nameof(definition));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCall.g.cs
index 44dc376a..cdd60efe 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCall.g.cs
@@ -57,24 +57,24 @@ public sealed partial class CustomToolCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the custom tool call. Always `custom_tool_call`.
- ///
- ///
- /// The unique ID of the custom tool call in the OpenAI platform.
- ///
///
/// An identifier used to map this custom tool call to a tool call output.
///
- ///
- /// The namespace of the custom tool being called.
- ///
///
/// The name of the custom tool being called.
///
///
/// The input for the custom tool call generated by the model.
///
+ ///
+ /// The type of the custom tool call. Always `custom_tool_call`.
+ ///
+ ///
+ /// The unique ID of the custom tool call in the OpenAI platform.
+ ///
+ ///
+ /// The namespace of the custom tool being called.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -86,12 +86,12 @@ public CustomToolCall(
string? id,
string? @namespace)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
- this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
this.Type = type;
this.Id = id;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Namespace = @namespace;
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
+ this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCallOutput.g.cs
index d4d14b4e..b1a71f44 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCallOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolCallOutput.g.cs
@@ -46,12 +46,6 @@ public sealed partial class CustomToolCallOutput
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the custom tool call output. Always `custom_tool_call_output`.
- ///
- ///
- /// The unique ID of the custom tool call output in the OpenAI platform.
- ///
///
/// The call ID, used to map this custom tool call output to a custom tool call.
///
@@ -59,6 +53,12 @@ public sealed partial class CustomToolCallOutput
/// The output from the custom tool call generated by your code.
/// Can be a string or an list of output content.
///
+ ///
+ /// The type of the custom tool call output. Always `custom_tool_call_output`.
+ ///
+ ///
+ /// The unique ID of the custom tool call output in the OpenAI platform.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -68,10 +68,10 @@ public CustomToolCallOutput(
global::tryAGI.OpenAI.CustomToolCallOutputType type,
string? id)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Output = output;
this.Type = type;
this.Id = id;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
+ this.Output = output;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletions.g.cs
index 57035552..3faed1b2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletions.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletions.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CustomToolChatCompletions
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the custom tool. Always `custom`.
- ///
///
/// Properties of the custom tool.
///
+ ///
+ /// The type of the custom tool. Always `custom`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CustomToolChatCompletions(
global::tryAGI.OpenAI.CustomToolChatCompletionsCustom custom,
global::tryAGI.OpenAI.CustomToolChatCompletionsType type)
{
- this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom));
this.Type = type;
+ this.Custom = custom ?? throw new global::System.ArgumentNullException(nameof(custom));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletionsCustomFormatGrammarFormat.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletionsCustomFormatGrammarFormat.g.cs
index 9db820a4..7d726b15 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletionsCustomFormatGrammarFormat.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolChatCompletionsCustomFormatGrammarFormat.g.cs
@@ -31,12 +31,12 @@ public sealed partial class CustomToolChatCompletionsCustomFormatGrammarFormat
///
/// Initializes a new instance of the class.
///
- ///
- /// Grammar format. Always `grammar`.
- ///
///
/// Your chosen grammar.
///
+ ///
+ /// Grammar format. Always `grammar`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public CustomToolChatCompletionsCustomFormatGrammarFormat(
global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatGrammar grammar,
global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatGrammarFormatType type)
{
- this.Grammar = grammar ?? throw new global::System.ArgumentNullException(nameof(grammar));
this.Type = type;
+ this.Grammar = grammar ?? throw new global::System.ArgumentNullException(nameof(grammar));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolParam.g.cs
index 1534ff4d..ac540bc6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.CustomToolParam.g.cs
@@ -52,10 +52,6 @@ public sealed partial class CustomToolParam
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the custom tool. Always `custom`.
- /// Default Value: custom
- ///
///
/// The name of the custom tool, used to identify it in tool calls.
///
@@ -68,6 +64,10 @@ public sealed partial class CustomToolParam
///
/// Whether this tool should be deferred and discovered via tool search.
///
+ ///
+ /// The type of the custom tool. Always `custom`.
+ /// Default Value: custom
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -78,8 +78,8 @@ public CustomToolParam(
bool? deferLoading,
global::tryAGI.OpenAI.CustomToolParamType type = global::tryAGI.OpenAI.CustomToolParamType.Custom)
{
- this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Type = type;
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.Format = format;
this.DeferLoading = deferLoading;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteCertificateResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteCertificateResponse.g.cs
index 6dfc24dc..8b550bc8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteCertificateResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteCertificateResponse.g.cs
@@ -31,12 +31,12 @@ public sealed partial class DeleteCertificateResponse
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, must be `certificate.deleted`.
- ///
///
/// The ID of the certificate that was deleted.
///
+ ///
+ /// The object type, must be `certificate.deleted`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public DeleteCertificateResponse(
string id,
global::tryAGI.OpenAI.DeleteCertificateResponseObject @object)
{
- this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Object = @object;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFileResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFileResponse.g.cs
index f9959479..1e5215cc 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFileResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFileResponse.g.cs
@@ -39,8 +39,8 @@ public sealed partial class DeleteFileResponse
/// Initializes a new instance of the class.
///
///
- ///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -50,8 +50,8 @@ public DeleteFileResponse(
global::tryAGI.OpenAI.DeleteFileResponseObject @object)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Deleted = deleted;
this.Object = @object;
+ this.Deleted = deleted;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFineTuningCheckpointPermissionResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFineTuningCheckpointPermissionResponse.g.cs
index 760987a9..7f5a7e00 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFineTuningCheckpointPermissionResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeleteFineTuningCheckpointPermissionResponse.g.cs
@@ -41,12 +41,12 @@ public sealed partial class DeleteFineTuningCheckpointPermissionResponse
///
/// The ID of the fine-tuned model checkpoint permission that was deleted.
///
- ///
- /// The object type, which is always "checkpoint.permission".
- ///
///
/// Whether the fine-tuned model checkpoint permission was successfully deleted.
///
+ ///
+ /// The object type, which is always "checkpoint.permission".
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,8 +56,8 @@ public DeleteFineTuningCheckpointPermissionResponse(
global::tryAGI.OpenAI.DeleteFineTuningCheckpointPermissionResponseObject @object)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Deleted = deleted;
this.Object = @object;
+ this.Deleted = deleted;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedConversationResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedConversationResource.g.cs
index 13c82f46..f38b682b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedConversationResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedConversationResource.g.cs
@@ -39,11 +39,11 @@ public sealed partial class DeletedConversationResource
///
/// Initializes a new instance of the class.
///
+ ///
+ ///
///
/// Default Value: conversation.deleted
///
- ///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -52,9 +52,9 @@ public DeletedConversationResource(
string id,
global::tryAGI.OpenAI.DeletedConversationResourceObject @object = global::tryAGI.OpenAI.DeletedConversationResourceObject.ConversationDeleted)
{
+ this.Object = @object;
this.Deleted = deleted;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillResource.g.cs
index 0fb0e97a..392e1c1c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillResource.g.cs
@@ -39,11 +39,11 @@ public sealed partial class DeletedSkillResource
///
/// Initializes a new instance of the class.
///
+ ///
+ ///
///
/// Default Value: skill.deleted
///
- ///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -52,9 +52,9 @@ public DeletedSkillResource(
string id,
global::tryAGI.OpenAI.DeletedSkillResourceObject @object = global::tryAGI.OpenAI.DeletedSkillResourceObject.SkillDeleted)
{
+ this.Object = @object;
this.Deleted = deleted;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillVersionResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillVersionResource.g.cs
index 4d7cbcbb..a50644b4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillVersionResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedSkillVersionResource.g.cs
@@ -46,14 +46,14 @@ public sealed partial class DeletedSkillVersionResource
///
/// Initializes a new instance of the class.
///
- ///
- /// Default Value: skill.version.deleted
- ///
///
///
///
/// The deleted skill version.
///
+ ///
+ /// Default Value: skill.version.deleted
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -63,10 +63,10 @@ public DeletedSkillVersionResource(
string version,
global::tryAGI.OpenAI.DeletedSkillVersionResourceObject @object = global::tryAGI.OpenAI.DeletedSkillVersionResourceObject.SkillVersionDeleted)
{
+ this.Object = @object;
this.Deleted = deleted;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Version = version ?? throw new global::System.ArgumentNullException(nameof(version));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedThreadResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedThreadResource.g.cs
index b9e21fa9..900dfd39 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedThreadResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedThreadResource.g.cs
@@ -43,13 +43,13 @@ public sealed partial class DeletedThreadResource
///
/// Identifier of the deleted thread.
///
+ ///
+ /// Indicates that the thread has been deleted.
+ ///
///
/// Type discriminator that is always `chatkit.thread.deleted`.
/// Default Value: chatkit.thread.deleted
///
- ///
- /// Indicates that the thread has been deleted.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -59,8 +59,8 @@ public DeletedThreadResource(
global::tryAGI.OpenAI.DeletedThreadResourceObject @object = global::tryAGI.OpenAI.DeletedThreadResourceObject.ChatkitThreadDeleted)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Deleted = deleted;
this.Object = @object;
+ this.Deleted = deleted;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedVideoResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedVideoResource.g.cs
index a3a4df3c..1019915e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedVideoResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DeletedVideoResource.g.cs
@@ -40,16 +40,16 @@ public sealed partial class DeletedVideoResource
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type that signals the deletion response.
- /// Default Value: video.deleted
- ///
///
/// Indicates that the video resource was deleted.
///
///
/// Identifier of the deleted video.
///
+ ///
+ /// The object type that signals the deletion response.
+ /// Default Value: video.deleted
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,9 +58,9 @@ public DeletedVideoResource(
string id,
global::tryAGI.OpenAI.DeletedVideoResourceObject @object = global::tryAGI.OpenAI.DeletedVideoResourceObject.VideoDeleted)
{
+ this.Object = @object;
this.Deleted = deleted;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DoubleClickAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DoubleClickAction.g.cs
index 0b6ec378..4c06d7e1 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DoubleClickAction.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DoubleClickAction.g.cs
@@ -46,10 +46,6 @@ public sealed partial class DoubleClickAction
///
/// Initializes a new instance of the class.
///
- ///
- /// Specifies the event type. For a double click action, this property is always set to `double_click`.
- /// Default Value: double_click
- ///
///
/// The x-coordinate where the double click occurred.
///
@@ -57,6 +53,10 @@ public sealed partial class DoubleClickAction
/// The y-coordinate where the double click occurred.
///
///
+ ///
+ /// Specifies the event type. For a double click action, this property is always set to `double_click`.
+ /// Default Value: double_click
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -66,9 +66,9 @@ public DoubleClickAction(
global::System.Collections.Generic.IList? keys,
global::tryAGI.OpenAI.DoubleClickActionType type = global::tryAGI.OpenAI.DoubleClickActionType.DoubleClick)
{
+ this.Type = type;
this.X = x;
this.Y = y;
- this.Type = type;
this.Keys = keys;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DragParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DragParam.g.cs
index 0f3c438f..53ff20b9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DragParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.DragParam.g.cs
@@ -45,10 +45,6 @@ public sealed partial class DragParam
///
/// Initializes a new instance of the class.
///
- ///
- /// Specifies the event type. For a drag action, this property is always set to `drag`.
- /// Default Value: drag
- ///
///
/// An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg
/// ```
@@ -59,6 +55,10 @@ public sealed partial class DragParam
/// ```
///
///
+ ///
+ /// Specifies the event type. For a drag action, this property is always set to `drag`.
+ /// Default Value: drag
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,8 +67,8 @@ public DragParam(
global::System.Collections.Generic.IList? keys,
global::tryAGI.OpenAI.DragParamType type = global::tryAGI.OpenAI.DragParamType.Drag)
{
- this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Type = type;
+ this.Path = path ?? throw new global::System.ArgumentNullException(nameof(path));
this.Keys = keys;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParam.g.cs
index 174234c8..fe70e08a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EditImageBodyJsonParam.g.cs
@@ -146,23 +146,23 @@ public sealed partial class EditImageBodyJsonParam
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Input image references to edit.
+ /// For GPT image models, you can provide up to 16 images.
+ ///
+ ///
+ /// A text description of the desired image edit.
+ /// Example: Add a watercolor effect and keep the subject centered
+ ///
///
/// The model to use for image editing.
/// Default Value: gpt-image-1.5
/// Example: gpt-image-1.5
///
- ///
- /// Input image references to edit.
- /// For GPT image models, you can provide up to 16 images.
- ///
///
/// Reference an input image by either URL or uploaded file ID.
/// Provide exactly one of `image_url` or `file_id`.
///
- ///
- /// A text description of the desired image edit.
- /// Example: Add a watercolor effect and keep the subject centered
- ///
///
/// The number of edited images to generate.
/// Default Value: 1
@@ -231,10 +231,10 @@ public EditImageBodyJsonParam(
bool? stream,
int? partialImages)
{
- this.Images = images ?? throw new global::System.ArgumentNullException(nameof(images));
- this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.Model = model;
+ this.Images = images ?? throw new global::System.ArgumentNullException(nameof(images));
this.Mask = mask;
+ this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.N = n;
this.Quality = quality;
this.InputFidelity = inputFidelity;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Error.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Error.g.cs
index 9bf10115..f740a505 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Error.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Error.g.cs
@@ -43,10 +43,10 @@ public sealed partial class Error
///
/// Initializes a new instance of the class.
///
- ///
///
- ///
///
+ ///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,10 +56,10 @@ public Error(
string? code,
string? param)
{
- this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message));
- this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
this.Code = code;
+ this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message));
this.Param = param;
+ this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ErrorEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ErrorEvent.g.cs
index 6b403948..982d789d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ErrorEvent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ErrorEvent.g.cs
@@ -31,8 +31,8 @@ public sealed partial class ErrorEvent
///
/// Initializes a new instance of the class.
///
- ///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -40,8 +40,8 @@ public ErrorEvent(
global::tryAGI.OpenAI.Error data,
global::tryAGI.OpenAI.ErrorEventEvent @event)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Event = @event;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Eval.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Eval.g.cs
index 2e0b835f..5e7548d0 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Eval.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Eval.g.cs
@@ -79,10 +79,6 @@ public sealed partial class Eval
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type.
- /// Default Value: eval
- ///
///
/// Unique identifier for the evaluation.
///
@@ -101,6 +97,10 @@ public sealed partial class Eval
/// The Unix timestamp (in seconds) for when the eval was created.
///
///
+ ///
+ /// The object type.
+ /// Default Value: eval
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -113,12 +113,12 @@ public Eval(
global::System.Collections.Generic.Dictionary? metadata,
global::tryAGI.OpenAI.EvalObject @object = global::tryAGI.OpenAI.EvalObject.Eval)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.DataSourceConfig = dataSourceConfig;
this.TestingCriteria = testingCriteria ?? throw new global::System.ArgumentNullException(nameof(testingCriteria));
this.CreatedAt = createdAt;
- this.Object = @object;
this.Metadata = metadata;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalCustomDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalCustomDataSourceConfig.g.cs
index 330f9b5f..1b73aec6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalCustomDataSourceConfig.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalCustomDataSourceConfig.g.cs
@@ -65,10 +65,6 @@ public sealed partial class EvalCustomDataSourceConfig
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of data source. Always `custom`.
- /// Default Value: custom
- ///
///
/// The json schema for the run data source items.
/// Learn how to build JSON schemas [here](https://json-schema.org/).
@@ -86,6 +82,10 @@ public sealed partial class EvalCustomDataSourceConfig
/// "required": ["item"]
/// }
///
+ ///
+ /// The type of data source. Always `custom`.
+ /// Default Value: custom
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -93,8 +93,8 @@ public EvalCustomDataSourceConfig(
object schema,
global::tryAGI.OpenAI.EvalCustomDataSourceConfigType type = global::tryAGI.OpenAI.EvalCustomDataSourceConfigType.Custom)
{
- this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema));
this.Type = type;
+ this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemContentOutputText.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemContentOutputText.g.cs
index 97fc6614..df596100 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemContentOutputText.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemContentOutputText.g.cs
@@ -31,12 +31,12 @@ public sealed partial class EvalItemContentOutputText
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the output text. Always `output_text`.
- ///
///
/// The text output from the model.
///
+ ///
+ /// The type of the output text. Always `output_text`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public EvalItemContentOutputText(
string text,
global::tryAGI.OpenAI.EvalItemContentOutputTextType type)
{
- this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Type = type;
+ this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemInputImage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemInputImage.g.cs
index 43ff3208..f4f4d49c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemInputImage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalItemInputImage.g.cs
@@ -37,12 +37,12 @@ public sealed partial class EvalItemInputImage
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the image input. Always `input_image`.
- ///
///
/// The URL of the image input.
///
+ ///
+ /// The type of the image input. Always `input_image`.
+ ///
///
/// The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
///
@@ -54,8 +54,8 @@ public EvalItemInputImage(
global::tryAGI.OpenAI.EvalItemInputImageType type,
string? detail)
{
- this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl));
this.Type = type;
+ this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl));
this.Detail = detail;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileContentSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileContentSource.g.cs
index 3d525b82..9ffd8f3e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileContentSource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileContentSource.g.cs
@@ -33,13 +33,13 @@ public sealed partial class EvalJsonlFileContentSource
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The content of the jsonl file.
+ ///
///
/// The type of jsonl source. Always `file_content`.
/// Default Value: file_content
///
- ///
- /// The content of the jsonl file.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public EvalJsonlFileContentSource(
global::System.Collections.Generic.IList content,
global::tryAGI.OpenAI.EvalJsonlFileContentSourceType type = global::tryAGI.OpenAI.EvalJsonlFileContentSourceType.FileContent)
{
- this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
this.Type = type;
+ this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileIdSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileIdSource.g.cs
index bb7bec2a..2e00bf20 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileIdSource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalJsonlFileIdSource.g.cs
@@ -33,13 +33,13 @@ public sealed partial class EvalJsonlFileIdSource
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The identifier of the file.
+ ///
///
/// The type of jsonl source. Always `file_id`.
/// Default Value: file_id
///
- ///
- /// The identifier of the file.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public EvalJsonlFileIdSource(
string id,
global::tryAGI.OpenAI.EvalJsonlFileIdSourceType type = global::tryAGI.OpenAI.EvalJsonlFileIdSourceType.FileId)
{
- this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Type = type;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalList.g.cs
index b8075c9d..a641e0ca 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalList.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalList.g.cs
@@ -54,10 +54,6 @@ public sealed partial class EvalList
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of this object. It is always set to "list".
- /// Default Value: list
- ///
///
/// An array of eval objects.
///
@@ -70,6 +66,10 @@ public sealed partial class EvalList
///
/// Indicates whether there are more evals available.
///
+ ///
+ /// The type of this object. It is always set to "list".
+ /// Default Value: list
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -80,11 +80,11 @@ public EvalList(
bool hasMore,
global::tryAGI.OpenAI.EvalListObject @object = global::tryAGI.OpenAI.EvalListObject.List)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalLogsDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalLogsDataSourceConfig.g.cs
index 4153d433..28530ef2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalLogsDataSourceConfig.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalLogsDataSourceConfig.g.cs
@@ -43,15 +43,15 @@ public sealed partial class EvalLogsDataSourceConfig
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of data source. Always `logs`.
- /// Default Value: logs
- ///
- ///
///
/// The json schema for the run data source items.
/// Learn how to build JSON schemas [here](https://json-schema.org/).
///
+ ///
+ ///
+ /// The type of data source. Always `logs`.
+ /// Default Value: logs
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -60,9 +60,9 @@ public EvalLogsDataSourceConfig(
global::System.Collections.Generic.Dictionary? metadata,
global::tryAGI.OpenAI.EvalLogsDataSourceConfigType type = global::tryAGI.OpenAI.EvalLogsDataSourceConfigType.Logs)
{
- this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema));
this.Type = type;
this.Metadata = metadata;
+ this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRun.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRun.g.cs
index b66bb7a0..78732611 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRun.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRun.g.cs
@@ -118,10 +118,6 @@ public sealed partial class EvalRun
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the object. Always "eval.run".
- /// Default Value: eval.run
- ///
///
/// Unique identifier for the evaluation run.
///
@@ -155,10 +151,14 @@ public sealed partial class EvalRun
///
/// Information about the run's data source.
///
- ///
///
/// An object representing an error response from the Eval API.
///
+ ///
+ ///
+ /// The type of the object. Always "eval.run".
+ /// Default Value: eval.run
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -178,6 +178,7 @@ public EvalRun(
global::System.Collections.Generic.Dictionary? metadata,
global::tryAGI.OpenAI.EvalRunObject @object = global::tryAGI.OpenAI.EvalRunObject.EvalRun)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.EvalId = evalId ?? throw new global::System.ArgumentNullException(nameof(evalId));
this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status));
@@ -189,9 +190,8 @@ public EvalRun(
this.PerModelUsage = perModelUsage ?? throw new global::System.ArgumentNullException(nameof(perModelUsage));
this.PerTestingCriteriaResults = perTestingCriteriaResults ?? throw new global::System.ArgumentNullException(nameof(perTestingCriteriaResults));
this.DataSource = dataSource;
- this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error));
- this.Object = @object;
this.Metadata = metadata;
+ this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunList.g.cs
index c88b8640..900d3949 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunList.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunList.g.cs
@@ -54,10 +54,6 @@ public sealed partial class EvalRunList
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of this object. It is always set to "list".
- /// Default Value: list
- ///
///
/// An array of eval run objects.
///
@@ -70,6 +66,10 @@ public sealed partial class EvalRunList
///
/// Indicates whether there are more evals available.
///
+ ///
+ /// The type of this object. It is always set to "list".
+ /// Default Value: list
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -80,11 +80,11 @@ public EvalRunList(
bool hasMore,
global::tryAGI.OpenAI.EvalRunListObject @object = global::tryAGI.OpenAI.EvalRunListObject.List)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItem.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItem.g.cs
index 850613ad..ecfc5735 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItem.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItem.g.cs
@@ -90,10 +90,6 @@ public sealed partial class EvalRunOutputItem
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the object. Always "eval.run.output_item".
- /// Default Value: eval.run.output_item
- ///
///
/// Unique identifier for the evaluation run output item.
///
@@ -121,6 +117,10 @@ public sealed partial class EvalRunOutputItem
///
/// A sample containing the input and output of the evaluation run.
///
+ ///
+ /// The type of the object. Always "eval.run.output_item".
+ /// Default Value: eval.run.output_item
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -136,6 +136,7 @@ public EvalRunOutputItem(
global::tryAGI.OpenAI.EvalRunOutputItemSample sample,
global::tryAGI.OpenAI.EvalRunOutputItemObject @object = global::tryAGI.OpenAI.EvalRunOutputItemObject.EvalRunOutputItem)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.RunId = runId ?? throw new global::System.ArgumentNullException(nameof(runId));
this.EvalId = evalId ?? throw new global::System.ArgumentNullException(nameof(evalId));
@@ -145,7 +146,6 @@ public EvalRunOutputItem(
this.DatasourceItem = datasourceItem ?? throw new global::System.ArgumentNullException(nameof(datasourceItem));
this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results));
this.Sample = sample ?? throw new global::System.ArgumentNullException(nameof(sample));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemList.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemList.g.cs
index 20e15938..d612c60e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemList.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemList.g.cs
@@ -54,10 +54,6 @@ public sealed partial class EvalRunOutputItemList
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of this object. It is always set to "list".
- /// Default Value: list
- ///
///
/// An array of eval run output item objects.
///
@@ -70,6 +66,10 @@ public sealed partial class EvalRunOutputItemList
///
/// Indicates whether there are more eval run output items available.
///
+ ///
+ /// The type of this object. It is always set to "list".
+ /// Default Value: list
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -80,11 +80,11 @@ public EvalRunOutputItemList(
bool hasMore,
global::tryAGI.OpenAI.EvalRunOutputItemListObject @object = global::tryAGI.OpenAI.EvalRunOutputItemListObject.List)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemResult.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemResult.g.cs
index e35a15f8..9fefef01 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemResult.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalRunOutputItemResult.g.cs
@@ -53,15 +53,15 @@ public sealed partial class EvalRunOutputItemResult
///
/// The name of the grader.
///
- ///
- /// The grader type (for example, "string-check-grader").
- ///
///
/// The numeric score produced by the grader.
///
///
/// Whether the grader considered the output a pass.
///
+ ///
+ /// The grader type (for example, "string-check-grader").
+ ///
///
/// Optional sample or intermediate data produced by the grader.
///
@@ -76,9 +76,9 @@ public EvalRunOutputItemResult(
object? sample)
{
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
+ this.Type = type;
this.Score = score;
this.Passed = passed;
- this.Type = type;
this.Sample = sample;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsDataSourceConfig.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsDataSourceConfig.g.cs
index 49d0c23a..5a0ec096 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsDataSourceConfig.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsDataSourceConfig.g.cs
@@ -44,15 +44,15 @@ public sealed partial class EvalStoredCompletionsDataSourceConfig
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of data source. Always `stored_completions`.
- /// Default Value: stored_completions
- ///
- ///
///
/// The json schema for the run data source items.
/// Learn how to build JSON schemas [here](https://json-schema.org/).
///
+ ///
+ ///
+ /// The type of data source. Always `stored_completions`.
+ /// Default Value: stored_completions
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -61,9 +61,9 @@ public EvalStoredCompletionsDataSourceConfig(
global::System.Collections.Generic.Dictionary? metadata,
global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfigType type = global::tryAGI.OpenAI.EvalStoredCompletionsDataSourceConfigType.StoredCompletions)
{
- this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema));
this.Type = type;
this.Metadata = metadata;
+ this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsSource.g.cs
index 9402b442..9936f303 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsSource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.EvalStoredCompletionsSource.g.cs
@@ -56,15 +56,15 @@ public sealed partial class EvalStoredCompletionsSource
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of source. Always `stored_completions`.
- /// Default Value: stored_completions
- ///
///
///
///
///
///
+ ///
+ /// The type of source. Always `stored_completions`.
+ /// Default Value: stored_completions
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs
index d9ff7731..1e7cbe84 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ExpiresAfterParam.g.cs
@@ -33,13 +33,13 @@ public sealed partial class ExpiresAfterParam
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Number of seconds after the anchor when the session expires.
+ ///
///
/// Base timestamp used to calculate expiration. Currently fixed to `created_at`.
/// Default Value: created_at
///
- ///
- /// Number of seconds after the anchor when the session expires.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public ExpiresAfterParam(
int seconds,
global::tryAGI.OpenAI.ExpiresAfterParamAnchor anchor = global::tryAGI.OpenAI.ExpiresAfterParamAnchor.CreatedAt)
{
- this.Seconds = seconds;
this.Anchor = anchor;
+ this.Seconds = seconds;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotation.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotation.g.cs
index fa5c41fe..c2d692a8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotation.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotation.g.cs
@@ -33,13 +33,13 @@ public sealed partial class FileAnnotation
///
/// Initializes a new instance of the class.
///
+ ///
+ /// File attachment referenced by the annotation.
+ ///
///
/// Type discriminator that is always `file` for this annotation.
/// Default Value: file
///
- ///
- /// File attachment referenced by the annotation.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public FileAnnotation(
global::tryAGI.OpenAI.FileAnnotationSource source,
global::tryAGI.OpenAI.FileAnnotationType type = global::tryAGI.OpenAI.FileAnnotationType.File)
{
- this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source));
this.Type = type;
+ this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotationSource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotationSource.g.cs
index 5e743a8b..768fe9c9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotationSource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileAnnotationSource.g.cs
@@ -33,13 +33,13 @@ public sealed partial class FileAnnotationSource
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Filename referenced by the annotation.
+ ///
///
/// Type discriminator that is always `file`.
/// Default Value: file
///
- ///
- /// Filename referenced by the annotation.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public FileAnnotationSource(
string filename,
global::tryAGI.OpenAI.FileAnnotationSourceType type = global::tryAGI.OpenAI.FileAnnotationSourceType.File)
{
- this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename));
this.Type = type;
+ this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs
index 3b347ad0..730f444a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileCitationBody.g.cs
@@ -47,10 +47,6 @@ public sealed partial class FileCitationBody
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the file citation. Always `file_citation`.
- /// Default Value: file_citation
- ///
///
/// The ID of the file.
///
@@ -60,6 +56,10 @@ public sealed partial class FileCitationBody
///
/// The filename of the file cited.
///
+ ///
+ /// The type of the file citation. Always `file_citation`.
+ /// Default Value: file_citation
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -69,10 +69,10 @@ public FileCitationBody(
string filename,
global::tryAGI.OpenAI.FileCitationBodyType type = global::tryAGI.OpenAI.FileCitationBodyType.FileCitation)
{
+ this.Type = type;
this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId));
this.Index = index;
this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileExpirationAfter.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileExpirationAfter.g.cs
index 041b3d11..6501948d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileExpirationAfter.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileExpirationAfter.g.cs
@@ -31,12 +31,12 @@ public sealed partial class FileExpirationAfter
///
/// Initializes a new instance of the class.
///
- ///
- /// Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`.
- ///
///
/// The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).
///
+ ///
+ /// Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public FileExpirationAfter(
int seconds,
global::tryAGI.OpenAI.FileExpirationAfterAnchor anchor)
{
- this.Seconds = seconds;
this.Anchor = anchor;
+ this.Seconds = seconds;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FilePath.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FilePath.g.cs
index 33f77a62..c7c7c66e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FilePath.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FilePath.g.cs
@@ -38,15 +38,15 @@ public sealed partial class FilePath
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the file path. Always `file_path`.
- ///
///
/// The ID of the file.
///
///
/// The index of the file in the list of files.
///
+ ///
+ /// The type of the file path. Always `file_path`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -55,9 +55,9 @@ public FilePath(
int index,
global::tryAGI.OpenAI.FilePathType type)
{
+ this.Type = type;
this.FileId = fileId ?? throw new global::System.ArgumentNullException(nameof(fileId));
this.Index = index;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchRankingOptions.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchRankingOptions.g.cs
index b8a297b1..c3115780 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchRankingOptions.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchRankingOptions.g.cs
@@ -32,12 +32,12 @@ public sealed partial class FileSearchRankingOptions
///
/// Initializes a new instance of the class.
///
- ///
- /// The ranker to use for the file search. If not specified will use the `auto` ranker.
- ///
///
/// The score threshold for the file search. All values must be a floating point number between 0 and 1.
///
+ ///
+ /// The ranker to use for the file search. If not specified will use the `auto` ranker.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -45,8 +45,8 @@ public FileSearchRankingOptions(
double scoreThreshold,
global::tryAGI.OpenAI.FileSearchRanker? ranker)
{
- this.ScoreThreshold = scoreThreshold;
this.Ranker = ranker;
+ this.ScoreThreshold = scoreThreshold;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchTool.g.cs
index e0b0166e..f3250da3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchTool.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchTool.g.cs
@@ -51,10 +51,6 @@ public sealed partial class FileSearchTool
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the file search tool. Always `file_search`.
- /// Default Value: file_search
- ///
///
/// The IDs of the vector stores to search.
///
@@ -65,6 +61,10 @@ public sealed partial class FileSearchTool
/// Ranking options for search.
///
///
+ ///
+ /// The type of the file search tool. Always `file_search`.
+ /// Default Value: file_search
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -75,8 +75,8 @@ public FileSearchTool(
global::tryAGI.OpenAI.Filters2? filters,
global::tryAGI.OpenAI.FileSearchToolType type = global::tryAGI.OpenAI.FileSearchToolType.FileSearch)
{
- this.VectorStoreIds = vectorStoreIds ?? throw new global::System.ArgumentNullException(nameof(vectorStoreIds));
this.Type = type;
+ this.VectorStoreIds = vectorStoreIds ?? throw new global::System.ArgumentNullException(nameof(vectorStoreIds));
this.MaxNumResults = maxNumResults;
this.RankingOptions = rankingOptions;
this.Filters = filters;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCall.g.cs
index 9deff186..8485c690 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FileSearchToolCall.g.cs
@@ -57,9 +57,6 @@ public sealed partial class FileSearchToolCall
///
/// The unique ID of the file search tool call.
///
- ///
- /// The type of the file search tool call. Always `file_search_call`.
- ///
///
/// The status of the file search tool call. One of `in_progress`,
/// `searching`, `incomplete` or `failed`,
@@ -67,6 +64,9 @@ public sealed partial class FileSearchToolCall
///
/// The queries used to search for files.
///
+ ///
+ /// The type of the file search tool call. Always `file_search_call`.
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -79,9 +79,9 @@ public FileSearchToolCall(
global::System.Collections.Generic.IList? results)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Type = type;
this.Status = status;
this.Queries = queries ?? throw new global::System.ArgumentNullException(nameof(queries));
- this.Type = type;
this.Results = results;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningIntegration.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningIntegration.g.cs
index 5c1e2b51..55cbb663 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningIntegration.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningIntegration.g.cs
@@ -33,14 +33,14 @@ public sealed partial class FineTuningIntegration
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the integration being enabled for the fine-tuning job
- ///
///
/// The settings for your integration with Weights and Biases. This payload specifies the project that
/// metrics will be sent to. Optionally, you can set an explicit display name for your run, add tags
/// to your run, and set a default entity (team, username, etc) to be associated with your run.
///
+ ///
+ /// The type of the integration being enabled for the fine-tuning job
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -48,8 +48,8 @@ public FineTuningIntegration(
global::tryAGI.OpenAI.FineTuningIntegrationWandb wandb,
global::tryAGI.OpenAI.FineTuningIntegrationType type)
{
- this.Wandb = wandb ?? throw new global::System.ArgumentNullException(nameof(wandb));
this.Type = type;
+ this.Wandb = wandb ?? throw new global::System.ArgumentNullException(nameof(wandb));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJob.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJob.g.cs
index bcc1dbbe..c385898d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJob.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJob.g.cs
@@ -149,18 +149,12 @@ public sealed partial class FineTuningJob
///
/// The Unix timestamp (in seconds) for when the fine-tuning job was created.
///
- ///
- ///
- ///
///
/// The hyperparameters used for the fine-tuning job. This value will only be returned when running `supervised` jobs.
///
///
/// The base model that is being fine-tuned.
///
- ///
- /// The object type, which is always "fine_tuning.job".
- ///
///
/// The organization that owns the fine-tuning job.
///
@@ -170,15 +164,21 @@ public sealed partial class FineTuningJob
///
/// The current status of the fine-tuning job, which can be either `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`.
///
- ///
///
/// The file ID used for training. You can retrieve the training data with the [Files API](/docs/api-reference/files/retrieve-contents).
///
- ///
- ///
///
/// The seed used for the fine-tuning job.
///
+ ///
+ ///
+ ///
+ ///
+ /// The object type, which is always "fine_tuning.job".
+ ///
+ ///
+ ///
+ ///
///
///
/// The method used for fine-tuning.
@@ -210,20 +210,20 @@ public FineTuningJob(
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.CreatedAt = createdAt;
+ this.Error = error;
+ this.FineTunedModel = fineTunedModel;
+ this.FinishedAt = finishedAt;
this.Hyperparameters = hyperparameters ?? throw new global::System.ArgumentNullException(nameof(hyperparameters));
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
+ this.Object = @object;
this.OrganizationId = organizationId ?? throw new global::System.ArgumentNullException(nameof(organizationId));
this.ResultFiles = resultFiles ?? throw new global::System.ArgumentNullException(nameof(resultFiles));
this.Status = status;
- this.TrainingFile = trainingFile ?? throw new global::System.ArgumentNullException(nameof(trainingFile));
- this.Seed = seed;
- this.Error = error;
- this.FineTunedModel = fineTunedModel;
- this.FinishedAt = finishedAt;
- this.Object = @object;
this.TrainedTokens = trainedTokens;
+ this.TrainingFile = trainingFile ?? throw new global::System.ArgumentNullException(nameof(trainingFile));
this.ValidationFile = validationFile;
this.Integrations = integrations;
+ this.Seed = seed;
this.EstimatedFinish = estimatedFinish;
this.Method = method;
this.Metadata = metadata;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEvent.g.cs
index 66a5ee4f..9581a39b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEvent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FineTuningJobEvent.g.cs
@@ -67,9 +67,6 @@ public sealed partial class FineTuningJobEvent
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always "fine_tuning.job.event".
- ///
///
/// The object identifier.
///
@@ -82,6 +79,9 @@ public sealed partial class FineTuningJobEvent
///
/// The message of the event.
///
+ ///
+ /// The object type, which is always "fine_tuning.job.event".
+ ///
///
/// The type of event.
///
@@ -100,11 +100,11 @@ public FineTuningJobEvent(
global::tryAGI.OpenAI.FineTuningJobEventType? type,
object? data)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.CreatedAt = createdAt;
this.Level = level;
this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message));
- this.Object = @object;
this.Type = type;
this.Data = data;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs
index ba3f9342..c8c078e7 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionCallOutputItemParam.g.cs
@@ -53,18 +53,18 @@ public sealed partial class FunctionCallOutputItemParam
///
/// Initializes a new instance of the class.
///
- ///
///
/// The unique ID of the function tool call generated by the model.
///
- ///
- /// The type of the function tool call output. Always `function_call_output`.
- /// Default Value: function_call_output
- ///
///
/// Text, image, or file output of the function tool call.
///
+ ///
///
+ ///
+ /// The type of the function tool call output. Always `function_call_output`.
+ /// Default Value: function_call_output
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -75,10 +75,10 @@ public FunctionCallOutputItemParam(
global::tryAGI.OpenAI.FunctionCallItemStatus? status,
global::tryAGI.OpenAI.FunctionCallOutputItemParamType type = global::tryAGI.OpenAI.FunctionCallOutputItemParamType.FunctionCallOutput)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Output = output;
this.Id = id;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Type = type;
+ this.Output = output;
this.Status = status;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionObject.g.cs
index 38b13e0a..c28a03d8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionObject.g.cs
@@ -43,12 +43,12 @@ public sealed partial class FunctionObject
///
/// Initializes a new instance of the class.
///
- ///
- /// A description of what the function does, used by the model to choose when and how to call the function.
- ///
///
/// The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
///
+ ///
+ /// A description of what the function does, used by the model to choose when and how to call the function.
+ ///
///
/// The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
/// Omitting `parameters` defines a function with an empty parameter list.
@@ -63,8 +63,8 @@ public FunctionObject(
global::tryAGI.OpenAI.FunctionParameters? parameters,
bool? strict)
{
- this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Parameters = parameters;
this.Strict = strict;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCall.g.cs
index ba9dafd5..d1c2de6d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCall.g.cs
@@ -67,10 +67,6 @@ public sealed partial class FunctionShellCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `shell_call`.
- /// Default Value: shell_call
- ///
///
/// The unique ID of the shell tool call. Populated when this item is returned via API.
///
@@ -87,6 +83,10 @@ public sealed partial class FunctionShellCall
///
/// The ID of the entity that created this tool call.
///
+ ///
+ /// The type of the item. Always `shell_call`.
+ /// Default Value: shell_call
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -99,11 +99,11 @@ public FunctionShellCall(
string? createdBy,
global::tryAGI.OpenAI.FunctionShellCallType type = global::tryAGI.OpenAI.FunctionShellCallType.ShellCall)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action));
this.Status = status;
- this.Type = type;
this.Environment = environment;
this.CreatedBy = createdBy;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemParam.g.cs
index 9e6fdd43..3f775c5d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallItemParam.g.cs
@@ -58,19 +58,19 @@ public sealed partial class FunctionShellCallItemParam
///
/// Initializes a new instance of the class.
///
- ///
///
/// The unique ID of the shell tool call generated by the model.
///
- ///
- /// The type of the item. Always `shell_call`.
- /// Default Value: shell_call
- ///
///
/// The shell commands and limits that describe how to run the tool call.
///
+ ///
///
///
+ ///
+ /// The type of the item. Always `shell_call`.
+ /// Default Value: shell_call
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -82,10 +82,10 @@ public FunctionShellCallItemParam(
global::tryAGI.OpenAI.EnvironmentVariant13? environment,
global::tryAGI.OpenAI.FunctionShellCallItemParamType type = global::tryAGI.OpenAI.FunctionShellCallItemParamType.ShellCall)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action));
this.Id = id;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Type = type;
+ this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action));
this.Status = status;
this.Environment = environment;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutput.g.cs
index a4aaddfc..4fc65021 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutput.g.cs
@@ -67,10 +67,6 @@ public sealed partial class FunctionShellCallOutput
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the shell call output. Always `shell_call_output`.
- /// Default Value: shell_call_output
- ///
///
/// The unique ID of the shell call output. Populated when this item is returned via API.
///
@@ -87,6 +83,10 @@ public sealed partial class FunctionShellCallOutput
///
/// The identifier of the actor that created the item.
///
+ ///
+ /// The type of the shell call output. Always `shell_call_output`.
+ /// Default Value: shell_call_output
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -99,11 +99,11 @@ public FunctionShellCallOutput(
string? createdBy,
global::tryAGI.OpenAI.FunctionShellCallOutputType type = global::tryAGI.OpenAI.FunctionShellCallOutputType.ShellCallOutput)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Status = status;
this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
- this.Type = type;
this.MaxOutputLength = maxOutputLength;
this.CreatedBy = createdBy;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcome.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcome.g.cs
index 0f095103..07b672d2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcome.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcome.g.cs
@@ -33,13 +33,13 @@ public sealed partial class FunctionShellCallOutputExitOutcome
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Exit code from the shell process.
+ ///
///
/// The outcome type. Always `exit`.
/// Default Value: exit
///
- ///
- /// Exit code from the shell process.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public FunctionShellCallOutputExitOutcome(
int exitCode,
global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType type = global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeType.Exit)
{
- this.ExitCode = exitCode;
this.Type = type;
+ this.ExitCode = exitCode;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcomeParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcomeParam.g.cs
index 62ea25d6..7709f097 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcomeParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputExitOutcomeParam.g.cs
@@ -33,13 +33,13 @@ public sealed partial class FunctionShellCallOutputExitOutcomeParam
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The exit code returned by the shell process.
+ ///
///
/// The outcome type. Always `exit`.
/// Default Value: exit
///
- ///
- /// The exit code returned by the shell process.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public FunctionShellCallOutputExitOutcomeParam(
int exitCode,
global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType type = global::tryAGI.OpenAI.FunctionShellCallOutputExitOutcomeParamType.Exit)
{
- this.ExitCode = exitCode;
this.Type = type;
+ this.ExitCode = exitCode;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputItemParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputItemParam.g.cs
index 594ea553..fb0eff71 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputItemParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellCallOutputItemParam.g.cs
@@ -58,19 +58,19 @@ public sealed partial class FunctionShellCallOutputItemParam
///
/// Initializes a new instance of the class.
///
- ///
///
/// The unique ID of the shell tool call generated by the model.
///
- ///
- /// The type of the item. Always `shell_call_output`.
- /// Default Value: shell_call_output
- ///
///
/// Captured chunks of stdout and stderr output, along with their associated outcomes.
///
+ ///
///
///
+ ///
+ /// The type of the item. Always `shell_call_output`.
+ /// Default Value: shell_call_output
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -82,10 +82,10 @@ public FunctionShellCallOutputItemParam(
int? maxOutputLength,
global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType type = global::tryAGI.OpenAI.FunctionShellCallOutputItemParamType.ShellCallOutput)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.Id = id;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Type = type;
+ this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
this.Status = status;
this.MaxOutputLength = maxOutputLength;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellToolParam.g.cs
index a2c984dd..1e848ef7 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellToolParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionShellToolParam.g.cs
@@ -32,11 +32,11 @@ public sealed partial class FunctionShellToolParam
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of the shell tool. Always `shell`.
/// Default Value: shell
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionTool.g.cs
index 56c9c54b..ed833a86 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionTool.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionTool.g.cs
@@ -57,10 +57,6 @@ public sealed partial class FunctionTool
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the function tool. Always `function`.
- /// Default Value: function
- ///
///
/// The name of the function to call.
///
@@ -70,6 +66,10 @@ public sealed partial class FunctionTool
///
/// Whether this function is deferred and loaded via tool search.
///
+ ///
+ /// The type of the function tool. Always `function`.
+ /// Default Value: function
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -81,8 +81,8 @@ public FunctionTool(
bool? deferLoading,
global::tryAGI.OpenAI.FunctionToolType type = global::tryAGI.OpenAI.FunctionToolType.Function)
{
- this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Type = type;
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description;
this.Parameters = parameters;
this.Strict = strict;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCall.g.cs
index 577d8c09..2d2377af 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCall.g.cs
@@ -66,24 +66,24 @@ public sealed partial class FunctionToolCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The unique ID of the function tool call.
- ///
- ///
- /// The type of the function tool call. Always `function_call`.
- ///
///
/// The unique ID of the function tool call generated by the model.
///
- ///
- /// The namespace of the function to run.
- ///
///
/// The name of the function to run.
///
///
/// A JSON string of the arguments to pass to the function.
///
+ ///
+ /// The unique ID of the function tool call.
+ ///
+ ///
+ /// The type of the function tool call. Always `function_call`.
+ ///
+ ///
+ /// The namespace of the function to run.
+ ///
///
/// The status of the item. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when items are returned via API.
@@ -100,12 +100,12 @@ public FunctionToolCall(
string? @namespace,
global::tryAGI.OpenAI.FunctionToolCallStatus? status)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
- this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments));
this.Id = id;
this.Type = type;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Namespace = @namespace;
+ this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
+ this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments));
this.Status = status;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs
index 2819d596..77f7b8ac 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolCallOutput.g.cs
@@ -55,13 +55,6 @@ public sealed partial class FunctionToolCallOutput
///
/// Initializes a new instance of the class.
///
- ///
- /// The unique ID of the function tool call output. Populated when this item
- /// is returned via API.
- ///
- ///
- /// The type of the function tool call output. Always `function_call_output`.
- ///
///
/// The unique ID of the function tool call generated by the model.
///
@@ -69,6 +62,13 @@ public sealed partial class FunctionToolCallOutput
/// The output from the function call generated by your code.
/// Can be a string or an list of output content.
///
+ ///
+ /// The unique ID of the function tool call output. Populated when this item
+ /// is returned via API.
+ ///
+ ///
+ /// The type of the function tool call output. Always `function_call_output`.
+ ///
///
/// The status of the item. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when items are returned via API.
@@ -83,10 +83,10 @@ public FunctionToolCallOutput(
global::tryAGI.OpenAI.FunctionToolCallOutputType type,
global::tryAGI.OpenAI.FunctionToolCallOutputStatus? status)
{
- this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
- this.Output = output;
this.Id = id;
this.Type = type;
+ this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
+ this.Output = output;
this.Status = status;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolParam.g.cs
index caf2e695..a8251b3e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.FunctionToolParam.g.cs
@@ -60,12 +60,12 @@ public sealed partial class FunctionToolParam
///
///
///
- ///
- /// Default Value: function
- ///
///
/// Whether this function should be deferred and discovered via tool search.
///
+ ///
+ /// Default Value: function
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderLabelModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderLabelModel.g.cs
index f1dd2901..8d13570e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderLabelModel.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderLabelModel.g.cs
@@ -60,9 +60,6 @@ public sealed partial class GraderLabelModel
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `label_model`.
- ///
///
/// The name of the grader.
///
@@ -76,6 +73,9 @@ public sealed partial class GraderLabelModel
///
/// The labels that indicate a passing result. Must be a subset of labels.
///
+ ///
+ /// The object type, which is always `label_model`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -87,12 +87,12 @@ public GraderLabelModel(
global::System.Collections.Generic.IList passingLabels,
global::tryAGI.OpenAI.GraderLabelModelType type)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
this.Labels = labels ?? throw new global::System.ArgumentNullException(nameof(labels));
this.PassingLabels = passingLabels ?? throw new global::System.ArgumentNullException(nameof(passingLabels));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderMulti.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderMulti.g.cs
index c6a8ef2e..f7c8eca3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderMulti.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderMulti.g.cs
@@ -48,10 +48,6 @@ public sealed partial class GraderMulti
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `multi`.
- /// Default Value: multi
- ///
///
/// The name of the grader.
///
@@ -59,6 +55,10 @@ public sealed partial class GraderMulti
///
/// A formula to calculate the output based on grader results.
///
+ ///
+ /// The object type, which is always `multi`.
+ /// Default Value: multi
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -68,10 +68,10 @@ public GraderMulti(
string calculateOutput,
global::tryAGI.OpenAI.GraderMultiType type = global::tryAGI.OpenAI.GraderMultiType.Multi)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Graders = graders;
this.CalculateOutput = calculateOutput ?? throw new global::System.ArgumentNullException(nameof(calculateOutput));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderPython.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderPython.g.cs
index a18c4c75..0f19960b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderPython.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderPython.g.cs
@@ -44,15 +44,15 @@ public sealed partial class GraderPython
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `python`.
- ///
///
/// The name of the grader.
///
///
/// The source code of the python script.
///
+ ///
+ /// The object type, which is always `python`.
+ ///
///
/// The image tag to use for the python script.
///
@@ -65,9 +65,9 @@ public GraderPython(
global::tryAGI.OpenAI.GraderPythonType type,
string? imageTag)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source));
- this.Type = type;
this.ImageTag = imageTag;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs
index d3973471..17101783 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderScoreModel.g.cs
@@ -57,21 +57,21 @@ public sealed partial class GraderScoreModel
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `score_model`.
- ///
///
/// The name of the grader.
///
///
/// The model to use for the evaluation.
///
- ///
- /// The sampling parameters for the model.
- ///
///
/// The input messages evaluated by the grader. Supports text, output text, input image, and input audio content blocks, and may include template strings.
///
+ ///
+ /// The object type, which is always `score_model`.
+ ///
+ ///
+ /// The sampling parameters for the model.
+ ///
///
/// The range of the score. Defaults to `[0, 1]`.
///
@@ -86,11 +86,11 @@ public GraderScoreModel(
global::tryAGI.OpenAI.GraderScoreModelSamplingParams? samplingParams,
global::System.Collections.Generic.IList? range)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
- this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
- this.Type = type;
this.SamplingParams = samplingParams;
+ this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
this.Range = range;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheck.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheck.g.cs
index d6851cf6..7b6261d9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheck.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderStringCheck.g.cs
@@ -53,9 +53,6 @@ public sealed partial class GraderStringCheck
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `string_check`.
- ///
///
/// The name of the grader.
///
@@ -68,6 +65,9 @@ public sealed partial class GraderStringCheck
///
/// The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`.
///
+ ///
+ /// The object type, which is always `string_check`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -78,11 +78,11 @@ public GraderStringCheck(
global::tryAGI.OpenAI.GraderStringCheckOperation operation,
global::tryAGI.OpenAI.GraderStringCheckType type)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
this.Reference = reference ?? throw new global::System.ArgumentNullException(nameof(reference));
this.Operation = operation;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarity.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarity.g.cs
index 394f2cdb..337db06d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarity.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GraderTextSimilarity.g.cs
@@ -57,10 +57,6 @@ public sealed partial class GraderTextSimilarity
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of grader.
- /// Default Value: text_similarity
- ///
///
/// The name of the grader.
///
@@ -75,6 +71,10 @@ public sealed partial class GraderTextSimilarity
/// `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`,
/// or `rouge_l`.
///
+ ///
+ /// The type of grader.
+ /// Default Value: text_similarity
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -85,11 +85,11 @@ public GraderTextSimilarity(
global::tryAGI.OpenAI.GraderTextSimilarityEvaluationMetric evaluationMetric,
global::tryAGI.OpenAI.GraderTextSimilarityType type = global::tryAGI.OpenAI.GraderTextSimilarityType.TextSimilarity)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Input = input ?? throw new global::System.ArgumentNullException(nameof(input));
this.Reference = reference ?? throw new global::System.ArgumentNullException(nameof(reference));
this.EvaluationMetric = evaluationMetric;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Group.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Group.g.cs
index e7c8a094..f9f846b6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Group.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Group.g.cs
@@ -53,9 +53,6 @@ public sealed partial class Group
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `group`.
- ///
///
/// Identifier for the group.
///
@@ -68,6 +65,9 @@ public sealed partial class Group
///
/// Whether the group is managed through SCIM.
///
+ ///
+ /// Always `group`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -78,11 +78,11 @@ public Group(
bool scimManaged,
global::tryAGI.OpenAI.GroupObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.CreatedAt = createdAt;
this.ScimManaged = scimManaged;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupDeletedResource.g.cs
index 90e1aba6..dc6ebb40 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupDeletedResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupDeletedResource.g.cs
@@ -38,15 +38,15 @@ public sealed partial class GroupDeletedResource
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `group.deleted`.
- ///
///
/// Identifier of the deleted group.
///
///
/// Whether the group was deleted.
///
+ ///
+ /// Always `group.deleted`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -55,9 +55,9 @@ public GroupDeletedResource(
bool deleted,
global::tryAGI.OpenAI.GroupDeletedResourceObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Deleted = deleted;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupListResource.g.cs
index 62598947..a920cf63 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupListResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupListResource.g.cs
@@ -44,15 +44,15 @@ public sealed partial class GroupListResource
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `list`.
- ///
///
/// Groups returned in the current page.
///
///
/// Whether additional groups are available when paginating.
///
+ ///
+ /// Always `list`.
+ ///
///
/// Cursor to fetch the next page of results, or `null` if there are no more results.
///
@@ -65,9 +65,9 @@ public GroupListResource(
global::tryAGI.OpenAI.GroupListResourceObject @object,
string? next)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.HasMore = hasMore;
- this.Object = @object;
this.Next = next;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupRoleAssignment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupRoleAssignment.g.cs
index c55bec9f..b5d11ded 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupRoleAssignment.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupRoleAssignment.g.cs
@@ -38,15 +38,15 @@ public sealed partial class GroupRoleAssignment
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `group.role`.
- ///
///
/// Summary information about a group returned in role assignment responses.
///
///
/// Details about a role that can be assigned through the public Roles API.
///
+ ///
+ /// Always `group.role`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -55,9 +55,9 @@ public GroupRoleAssignment(
global::tryAGI.OpenAI.Role role,
global::tryAGI.OpenAI.GroupRoleAssignmentObject @object)
{
+ this.Object = @object;
this.Group = group ?? throw new global::System.ArgumentNullException(nameof(group));
this.Role = role ?? throw new global::System.ArgumentNullException(nameof(role));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserAssignment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserAssignment.g.cs
index 1a125a00..dc9ea7e7 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserAssignment.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserAssignment.g.cs
@@ -38,15 +38,15 @@ public sealed partial class GroupUserAssignment
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `group.user`.
- ///
///
/// Identifier of the user that was added.
///
///
/// Identifier of the group the user was added to.
///
+ ///
+ /// Always `group.user`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -55,9 +55,9 @@ public GroupUserAssignment(
string groupId,
global::tryAGI.OpenAI.GroupUserAssignmentObject @object)
{
+ this.Object = @object;
this.UserId = userId ?? throw new global::System.ArgumentNullException(nameof(userId));
this.GroupId = groupId ?? throw new global::System.ArgumentNullException(nameof(groupId));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserDeletedResource.g.cs
index c365c673..a756d77b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserDeletedResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.GroupUserDeletedResource.g.cs
@@ -31,12 +31,12 @@ public sealed partial class GroupUserDeletedResource
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `group.user.deleted`.
- ///
///
/// Whether the group membership was removed.
///
+ ///
+ /// Always `group.user.deleted`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public GroupUserDeletedResource(
bool deleted,
global::tryAGI.OpenAI.GroupUserDeletedResourceObject @object)
{
- this.Deleted = deleted;
this.Object = @object;
+ this.Deleted = deleted;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEvent.g.cs
index 9cc88844..168c2961 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEvent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditCompletedEvent.g.cs
@@ -78,9 +78,6 @@ public sealed partial class ImageEditCompletedEvent
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the event. Always `image_edit.completed`.
- ///
///
/// Base64-encoded final edited image data, suitable for rendering as an image.
///
@@ -102,6 +99,9 @@ public sealed partial class ImageEditCompletedEvent
///
/// For the GPT image models only, the token usage information for the image generation.
///
+ ///
+ /// The type of the event. Always `image_edit.completed`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -115,6 +115,7 @@ public ImageEditCompletedEvent(
global::tryAGI.OpenAI.ImagesUsage usage,
global::tryAGI.OpenAI.ImageEditCompletedEventType type)
{
+ this.Type = type;
this.B64Json = b64Json ?? throw new global::System.ArgumentNullException(nameof(b64Json));
this.CreatedAt = createdAt;
this.Size = size;
@@ -122,7 +123,6 @@ public ImageEditCompletedEvent(
this.Background = background;
this.OutputFormat = outputFormat;
this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEvent.g.cs
index 59c038c5..ece70635 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEvent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageEditPartialImageEvent.g.cs
@@ -78,9 +78,6 @@ public sealed partial class ImageEditPartialImageEvent
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the event. Always `image_edit.partial_image`.
- ///
///
/// Base64-encoded partial image data, suitable for rendering as an image.
///
@@ -102,6 +99,9 @@ public sealed partial class ImageEditPartialImageEvent
///
/// 0-based index for the partial image (streaming).
///
+ ///
+ /// The type of the event. Always `image_edit.partial_image`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -115,6 +115,7 @@ public ImageEditPartialImageEvent(
int partialImageIndex,
global::tryAGI.OpenAI.ImageEditPartialImageEventType type)
{
+ this.Type = type;
this.B64Json = b64Json ?? throw new global::System.ArgumentNullException(nameof(b64Json));
this.CreatedAt = createdAt;
this.Size = size;
@@ -122,7 +123,6 @@ public ImageEditPartialImageEvent(
this.Background = background;
this.OutputFormat = outputFormat;
this.PartialImageIndex = partialImageIndex;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEvent.g.cs
index 4b6a55a7..2b789783 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEvent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenCompletedEvent.g.cs
@@ -78,9 +78,6 @@ public sealed partial class ImageGenCompletedEvent
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the event. Always `image_generation.completed`.
- ///
///
/// Base64-encoded image data, suitable for rendering as an image.
///
@@ -102,6 +99,9 @@ public sealed partial class ImageGenCompletedEvent
///
/// For the GPT image models only, the token usage information for the image generation.
///
+ ///
+ /// The type of the event. Always `image_generation.completed`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -115,6 +115,7 @@ public ImageGenCompletedEvent(
global::tryAGI.OpenAI.ImagesUsage usage,
global::tryAGI.OpenAI.ImageGenCompletedEventType type)
{
+ this.Type = type;
this.B64Json = b64Json ?? throw new global::System.ArgumentNullException(nameof(b64Json));
this.CreatedAt = createdAt;
this.Size = size;
@@ -122,7 +123,6 @@ public ImageGenCompletedEvent(
this.Background = background;
this.OutputFormat = outputFormat;
this.Usage = usage ?? throw new global::System.ArgumentNullException(nameof(usage));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEvent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEvent.g.cs
index 248b0198..e81776fa 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEvent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenPartialImageEvent.g.cs
@@ -78,9 +78,6 @@ public sealed partial class ImageGenPartialImageEvent
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the event. Always `image_generation.partial_image`.
- ///
///
/// Base64-encoded partial image data, suitable for rendering as an image.
///
@@ -102,6 +99,9 @@ public sealed partial class ImageGenPartialImageEvent
///
/// 0-based index for the partial image (streaming).
///
+ ///
+ /// The type of the event. Always `image_generation.partial_image`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -115,6 +115,7 @@ public ImageGenPartialImageEvent(
int partialImageIndex,
global::tryAGI.OpenAI.ImageGenPartialImageEventType type)
{
+ this.Type = type;
this.B64Json = b64Json ?? throw new global::System.ArgumentNullException(nameof(b64Json));
this.CreatedAt = createdAt;
this.Size = size;
@@ -122,7 +123,6 @@ public ImageGenPartialImageEvent(
this.Background = background;
this.OutputFormat = outputFormat;
this.PartialImageIndex = partialImageIndex;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCall.g.cs
index d48ffe41..12f899b1 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenToolCall.g.cs
@@ -45,15 +45,15 @@ public sealed partial class ImageGenToolCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the image generation call. Always `image_generation_call`.
- ///
///
/// The unique ID of the image generation call.
///
///
/// The status of the image generation call.
///
+ ///
+ /// The type of the image generation call. Always `image_generation_call`.
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -64,9 +64,9 @@ public ImageGenToolCall(
global::tryAGI.OpenAI.ImageGenToolCallType type,
string? result)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Status = status;
- this.Type = type;
this.Result = result;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenUsage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenUsage.g.cs
index ae190dc5..fdb59ce2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenUsage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ImageGenUsage.g.cs
@@ -60,12 +60,12 @@ public sealed partial class ImageGenUsage
///
/// The number of output tokens generated by the model.
///
- ///
- /// The output token details for the image generation.
- ///
///
/// The input tokens detailed information for the image generation.
///
+ ///
+ /// The output token details for the image generation.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -79,8 +79,8 @@ public ImageGenUsage(
this.InputTokens = inputTokens;
this.TotalTokens = totalTokens;
this.OutputTokens = outputTokens;
- this.InputTokensDetails = inputTokensDetails ?? throw new global::System.ArgumentNullException(nameof(inputTokensDetails));
this.OutputTokensDetails = outputTokensDetails;
+ this.InputTokensDetails = inputTokensDetails ?? throw new global::System.ArgumentNullException(nameof(inputTokensDetails));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillParam.g.cs
index 55f21c1b..6437e9df 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillParam.g.cs
@@ -47,10 +47,6 @@ public sealed partial class InlineSkillParam
///
/// Initializes a new instance of the class.
///
- ///
- /// Defines an inline skill for this request.
- /// Default Value: inline
- ///
///
/// The name of the skill.
///
@@ -60,6 +56,10 @@ public sealed partial class InlineSkillParam
///
/// Inline skill payload
///
+ ///
+ /// Defines an inline skill for this request.
+ /// Default Value: inline
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -69,10 +69,10 @@ public InlineSkillParam(
global::tryAGI.OpenAI.InlineSkillSourceParam source,
global::tryAGI.OpenAI.InlineSkillParamType type = global::tryAGI.OpenAI.InlineSkillParamType.Inline)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description));
this.Source = source ?? throw new global::System.ArgumentNullException(nameof(source));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParam.g.cs
index 0d7b6141..e991dd39 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParam.g.cs
@@ -21,10 +21,10 @@ public sealed partial class InlineSkillSourceParam
/// The media type of the inline skill payload. Must be `application/zip`.
/// Default Value: application/zip
///
- /// global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationZip
+ /// global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationDividezip
[global::System.Text.Json.Serialization.JsonPropertyName("media_type")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.InlineSkillSourceParamMediaTypeJsonConverter))]
- public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType MediaType { get; set; } = global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationZip;
+ public global::tryAGI.OpenAI.InlineSkillSourceParamMediaType MediaType { get; set; } = global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationDividezip;
///
/// Base64-encoded skill zip bundle.
@@ -42,6 +42,9 @@ public sealed partial class InlineSkillSourceParam
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Base64-encoded skill zip bundle.
+ ///
///
/// The type of the inline skill source. Must be `base64`.
/// Default Value: base64
@@ -50,20 +53,17 @@ public sealed partial class InlineSkillSourceParam
/// The media type of the inline skill payload. Must be `application/zip`.
/// Default Value: application/zip
///
- ///
- /// Base64-encoded skill zip bundle.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public InlineSkillSourceParam(
string data,
global::tryAGI.OpenAI.InlineSkillSourceParamType type = global::tryAGI.OpenAI.InlineSkillSourceParamType.Base64,
- global::tryAGI.OpenAI.InlineSkillSourceParamMediaType mediaType = global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationZip)
+ global::tryAGI.OpenAI.InlineSkillSourceParamMediaType mediaType = global::tryAGI.OpenAI.InlineSkillSourceParamMediaType.ApplicationDividezip)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Type = type;
this.MediaType = mediaType;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParamMediaType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParamMediaType.g.cs
index a74d7bf1..294a7279 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParamMediaType.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InlineSkillSourceParamMediaType.g.cs
@@ -12,7 +12,7 @@ public enum InlineSkillSourceParamMediaType
///
///
///
- ApplicationZip,
+ ApplicationDividezip,
}
///
@@ -27,7 +27,7 @@ public static string ToValueString(this InlineSkillSourceParamMediaType value)
{
return value switch
{
- InlineSkillSourceParamMediaType.ApplicationZip => "application/zip",
+ InlineSkillSourceParamMediaType.ApplicationDividezip => "application/zip",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
@@ -38,7 +38,7 @@ public static string ToValueString(this InlineSkillSourceParamMediaType value)
{
return value switch
{
- "application/zip" => InlineSkillSourceParamMediaType.ApplicationZip,
+ "application/zip" => InlineSkillSourceParamMediaType.ApplicationDividezip,
_ => null,
};
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputAudio.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputAudio.g.cs
index 5b485829..cbdddefc 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputAudio.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputAudio.g.cs
@@ -31,10 +31,10 @@ public sealed partial class InputAudio
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of the input item. Always `input_audio`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public InputAudio(
global::tryAGI.OpenAI.InputAudioInputAudio1 inputAudio1,
global::tryAGI.OpenAI.InputAudioType type)
{
- this.InputAudio1 = inputAudio1 ?? throw new global::System.ArgumentNullException(nameof(inputAudio1));
this.Type = type;
+ this.InputAudio1 = inputAudio1 ?? throw new global::System.ArgumentNullException(nameof(inputAudio1));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContent.g.cs
index f04a557c..a68f544e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContent.g.cs
@@ -50,10 +50,6 @@ public sealed partial class InputFileContent
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the input item. Always `input_file`.
- /// Default Value: input_file
- ///
///
///
/// The name of the file to be sent to the model.
@@ -64,6 +60,10 @@ public sealed partial class InputFileContent
///
/// The URL of the file to be sent to the model.
///
+ ///
+ /// The type of the input item. Always `input_file`.
+ /// Default Value: input_file
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContentParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContentParam.g.cs
index d3d90894..60bec8a7 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContentParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputFileContentParam.g.cs
@@ -50,14 +50,14 @@ public sealed partial class InputFileContentParam
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the input item. Always `input_file`.
- /// Default Value: input_file
- ///
///
///
///
///
+ ///
+ /// The type of the input item. Always `input_file`.
+ /// Default Value: input_file
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContent.g.cs
index e5236ba0..a31717b1 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContent.g.cs
@@ -46,14 +46,14 @@ public sealed partial class InputImageContent
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the input item. Always `input_image`.
- /// Default Value: input_image
+ ///
+ /// The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.
///
///
///
- ///
- /// The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.
+ ///
+ /// The type of the input item. Always `input_image`.
+ /// Default Value: input_image
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -64,10 +64,10 @@ public InputImageContent(
string? fileId,
global::tryAGI.OpenAI.InputImageContentType type = global::tryAGI.OpenAI.InputImageContentType.InputImage)
{
- this.Detail = detail;
this.Type = type;
this.ImageUrl = imageUrl;
this.FileId = fileId;
+ this.Detail = detail;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContentParamAutoParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContentParamAutoParam.g.cs
index e8feff83..868ede49 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContentParamAutoParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputImageContentParamAutoParam.g.cs
@@ -44,13 +44,13 @@ public sealed partial class InputImageContentParamAutoParam
///
/// Initializes a new instance of the class.
///
+ ///
+ ///
+ ///
///
/// The type of the input item. Always `input_image`.
/// Default Value: input_image
///
- ///
- ///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessage.g.cs
index bc7043ed..0a213be1 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputMessage.g.cs
@@ -50,20 +50,20 @@ public sealed partial class InputMessage
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the message input. Always set to `message`.
- ///
///
/// The role of the message input. One of `user`, `system`, or `developer`.
///
- ///
- /// The status of item. One of `in_progress`, `completed`, or
- /// `incomplete`. Populated when items are returned via API.
- ///
///
/// A list of one or many input items to the model, containing different content
/// types.
///
+ ///
+ /// The type of the message input. Always set to `message`.
+ ///
+ ///
+ /// The status of item. One of `in_progress`, `completed`, or
+ /// `incomplete`. Populated when items are returned via API.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -73,10 +73,10 @@ public InputMessage(
global::tryAGI.OpenAI.InputMessageType? type,
global::tryAGI.OpenAI.InputMessageStatus? status)
{
- this.Role = role;
- this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
this.Type = type;
+ this.Role = role;
this.Status = status;
+ this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContent.g.cs
index d3020dc7..e3b95c6a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContent.g.cs
@@ -33,13 +33,13 @@ public sealed partial class InputTextContent
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The text input to the model.
+ ///
///
/// The type of the input item. Always `input_text`.
/// Default Value: input_text
///
- ///
- /// The text input to the model.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public InputTextContent(
string text,
global::tryAGI.OpenAI.InputTextContentType type = global::tryAGI.OpenAI.InputTextContentType.InputText)
{
- this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Type = type;
+ this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContentParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContentParam.g.cs
index a0b1a99c..3aa163f2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContentParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InputTextContentParam.g.cs
@@ -33,13 +33,13 @@ public sealed partial class InputTextContentParam
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The text input to the model.
+ ///
///
/// The type of the input item. Always `input_text`.
/// Default Value: input_text
///
- ///
- /// The text input to the model.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public InputTextContentParam(
string text,
global::tryAGI.OpenAI.InputTextContentParamType type = global::tryAGI.OpenAI.InputTextContentParamType.InputText)
{
- this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Type = type;
+ this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Invite.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Invite.g.cs
index 7554571b..12e8e94d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Invite.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Invite.g.cs
@@ -83,9 +83,6 @@ public sealed partial class Invite
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `organization.invite`
- ///
///
/// The identifier, which can be referenced in API endpoints
///
@@ -104,6 +101,9 @@ public sealed partial class Invite
///
/// The Unix timestamp (in seconds) of when the invite expires.
///
+ ///
+ /// The object type, which is always `organization.invite`
+ ///
///
/// The Unix timestamp (in seconds) of when the invite was accepted.
///
@@ -124,13 +124,13 @@ public Invite(
global::System.DateTimeOffset? acceptedAt,
global::System.Collections.Generic.IList? projects)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Email = email ?? throw new global::System.ArgumentNullException(nameof(email));
this.Role = role;
this.Status = status;
this.InvitedAt = invitedAt;
this.ExpiresAt = expiresAt;
- this.Object = @object;
this.AcceptedAt = acceptedAt;
this.Projects = projects;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteDeleteResponse.g.cs
index df3d8129..eb80d527 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteDeleteResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteDeleteResponse.g.cs
@@ -38,11 +38,11 @@ public sealed partial class InviteDeleteResponse
///
/// Initializes a new instance of the class.
///
+ ///
+ ///
///
/// The object type, which is always `organization.invite.deleted`
///
- ///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -51,9 +51,9 @@ public InviteDeleteResponse(
bool deleted,
global::tryAGI.OpenAI.InviteDeleteResponseObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Deleted = deleted;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteListResponse.g.cs
index 791806a6..40ea037d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteListResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.InviteListResponse.g.cs
@@ -49,10 +49,10 @@ public sealed partial class InviteListResponse
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The object type, which is always `list`
///
- ///
///
/// The first `invite_id` in the retrieved `list`
///
@@ -72,8 +72,8 @@ public InviteListResponse(
string? lastId,
bool? hasMore)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Object = @object;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId;
this.LastId = lastId;
this.HasMore = hasMore;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ItemReferenceParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ItemReferenceParam.g.cs
index 00d2bceb..ebd39a88 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ItemReferenceParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ItemReferenceParam.g.cs
@@ -30,10 +30,10 @@ public sealed partial class ItemReferenceParam
///
/// Initializes a new instance of the class.
///
- ///
///
/// The ID of the item to reference.
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -41,8 +41,8 @@ public ItemReferenceParam(
string id,
global::tryAGI.OpenAI.ItemReferenceParamType2? type)
{
- this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Type = type;
+ this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.KeyPressAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.KeyPressAction.g.cs
index 5495bd81..e6d10882 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.KeyPressAction.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.KeyPressAction.g.cs
@@ -33,13 +33,13 @@ public sealed partial class KeyPressAction
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.
+ ///
///
/// Specifies the event type. For a keypress action, this property is always set to `keypress`.
/// Default Value: keypress
///
- ///
- /// The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -47,8 +47,8 @@ public KeyPressAction(
global::System.Collections.Generic.IList keys,
global::tryAGI.OpenAI.KeyPressActionType type = global::tryAGI.OpenAI.KeyPressActionType.Keypress)
{
- this.Keys = keys ?? throw new global::System.ArgumentNullException(nameof(keys));
this.Type = type;
+ this.Keys = keys ?? throw new global::System.ArgumentNullException(nameof(keys));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListAuditLogsResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListAuditLogsResponse.g.cs
index 79134e7b..ea8d9bcc 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListAuditLogsResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListAuditLogsResponse.g.cs
@@ -54,7 +54,6 @@ public sealed partial class ListAuditLogsResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
/// Example: audit_log-defb456h8dks
@@ -63,6 +62,7 @@ public sealed partial class ListAuditLogsResponse
/// Example: audit_log-hnbkd8s93s
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -73,11 +73,11 @@ public ListAuditLogsResponse(
bool hasMore,
global::tryAGI.OpenAI.ListAuditLogsResponseObject @object)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListBatchesResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListBatchesResponse.g.cs
index 2325e157..86505767 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListBatchesResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListBatchesResponse.g.cs
@@ -53,13 +53,13 @@ public sealed partial class ListBatchesResponse
/// Initializes a new instance of the class.
///
///
+ ///
///
/// Example: batch_abc123
///
///
/// Example: batch_abc456
///
- ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -72,9 +72,9 @@ public ListBatchesResponse(
global::tryAGI.OpenAI.ListBatchesResponseObject @object)
{
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
- this.HasMore = hasMore;
this.FirstId = firstId;
this.LastId = lastId;
+ this.HasMore = hasMore;
this.Object = @object;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListCertificatesResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListCertificatesResponse.g.cs
index 1d8f711d..ef3d692a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListCertificatesResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListCertificatesResponse.g.cs
@@ -53,13 +53,13 @@ public sealed partial class ListCertificatesResponse
/// Initializes a new instance of the class.
///
///
+ ///
///
/// Example: cert_abc
///
///
/// Example: cert_abc
///
- ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -72,9 +72,9 @@ public ListCertificatesResponse(
global::tryAGI.OpenAI.ListCertificatesResponseObject @object)
{
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
- this.HasMore = hasMore;
this.FirstId = firstId;
this.LastId = lastId;
+ this.HasMore = hasMore;
this.Object = @object;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningCheckpointPermissionResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningCheckpointPermissionResponse.g.cs
index 2d9ce703..74cc01d3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningCheckpointPermissionResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningCheckpointPermissionResponse.g.cs
@@ -51,10 +51,10 @@ public sealed partial class ListFineTuningCheckpointPermissionResponse
/// Initializes a new instance of the class.
///
///
+ ///
///
///
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -66,10 +66,10 @@ public ListFineTuningCheckpointPermissionResponse(
string? lastId)
{
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
- this.HasMore = hasMore;
this.Object = @object;
this.FirstId = firstId;
this.LastId = lastId;
+ this.HasMore = hasMore;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobCheckpointsResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobCheckpointsResponse.g.cs
index 2f07248e..6be4b2fb 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobCheckpointsResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobCheckpointsResponse.g.cs
@@ -51,10 +51,10 @@ public sealed partial class ListFineTuningJobCheckpointsResponse
/// Initializes a new instance of the class.
///
///
+ ///
///
///
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -66,10 +66,10 @@ public ListFineTuningJobCheckpointsResponse(
string? lastId)
{
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
- this.HasMore = hasMore;
this.Object = @object;
this.FirstId = firstId;
this.LastId = lastId;
+ this.HasMore = hasMore;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobEventsResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobEventsResponse.g.cs
index 6323a2d0..93a86442 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobEventsResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListFineTuningJobEventsResponse.g.cs
@@ -39,8 +39,8 @@ public sealed partial class ListFineTuningJobEventsResponse
/// Initializes a new instance of the class.
///
///
- ///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -50,8 +50,8 @@ public ListFineTuningJobEventsResponse(
global::tryAGI.OpenAI.ListFineTuningJobEventsResponseObject @object)
{
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
- this.HasMore = hasMore;
this.Object = @object;
+ this.HasMore = hasMore;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListModelsResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListModelsResponse.g.cs
index 74011a77..5abb14da 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListModelsResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ListModelsResponse.g.cs
@@ -31,8 +31,8 @@ public sealed partial class ListModelsResponse
///
/// Initializes a new instance of the class.
///
- ///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -40,8 +40,8 @@ public ListModelsResponse(
global::System.Collections.Generic.IList data,
global::tryAGI.OpenAI.ListModelsResponseObject @object)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Object = @object;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalEnvironmentParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalEnvironmentParam.g.cs
index d5bc4d14..7e7db456 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalEnvironmentParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalEnvironmentParam.g.cs
@@ -32,13 +32,13 @@ public sealed partial class LocalEnvironmentParam
///
/// Initializes a new instance of the class.
///
+ ///
+ /// An optional list of skills.
+ ///
///
/// Use a local computer environment.
/// Default Value: local
///
- ///
- /// An optional list of skills.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellExecAction.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellExecAction.g.cs
index 83e7ff4c..a670bcb3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellExecAction.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellExecAction.g.cs
@@ -58,19 +58,19 @@ public sealed partial class LocalShellExecAction
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the local shell action. Always `exec`.
- /// Default Value: exec
- ///
///
/// The command to run.
///
- ///
- ///
///
/// Environment variables to set for the command.
///
+ ///
+ ///
///
+ ///
+ /// The type of the local shell action. Always `exec`.
+ /// Default Value: exec
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -82,11 +82,11 @@ public LocalShellExecAction(
string? user,
global::tryAGI.OpenAI.LocalShellExecActionType type = global::tryAGI.OpenAI.LocalShellExecActionType.Exec)
{
- this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command));
- this.Env = env ?? throw new global::System.ArgumentNullException(nameof(env));
this.Type = type;
+ this.Command = command ?? throw new global::System.ArgumentNullException(nameof(command));
this.TimeoutMs = timeoutMs;
this.WorkingDirectory = workingDirectory;
+ this.Env = env ?? throw new global::System.ArgumentNullException(nameof(env));
this.User = user;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCall.g.cs
index 15100197..97297656 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCall.g.cs
@@ -53,9 +53,6 @@ public sealed partial class LocalShellToolCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the local shell call. Always `local_shell_call`.
- ///
///
/// The unique ID of the local shell call.
///
@@ -68,6 +65,9 @@ public sealed partial class LocalShellToolCall
///
/// The status of the local shell call.
///
+ ///
+ /// The type of the local shell call. Always `local_shell_call`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -78,11 +78,11 @@ public LocalShellToolCall(
global::tryAGI.OpenAI.LocalShellToolCallStatus status,
global::tryAGI.OpenAI.LocalShellToolCallType type)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Action = action ?? throw new global::System.ArgumentNullException(nameof(action));
this.Status = status;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutput.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutput.g.cs
index 17888245..d74ce297 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutput.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LocalShellToolCallOutput.g.cs
@@ -44,15 +44,15 @@ public sealed partial class LocalShellToolCallOutput
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the local shell tool call output. Always `local_shell_call_output`.
- ///
///
/// The unique ID of the local shell tool call generated by the model.
///
///
/// A JSON string of the output of the local shell tool call.
///
+ ///
+ /// The type of the local shell tool call output. Always `local_shell_call_output`.
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -63,9 +63,9 @@ public LocalShellToolCallOutput(
global::tryAGI.OpenAI.LocalShellToolCallOutputType type,
global::tryAGI.OpenAI.LocalShellToolCallOutputStatus2? status)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Output = output ?? throw new global::System.ArgumentNullException(nameof(output));
- this.Type = type;
this.Status = status;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LockedStatus.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LockedStatus.g.cs
index 10b07bb9..30a04989 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LockedStatus.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.LockedStatus.g.cs
@@ -32,11 +32,11 @@ public sealed partial class LockedStatus
///
/// Initializes a new instance of the class.
///
+ ///
///
/// Status discriminator that is always `locked`.
/// Default Value: locked
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalRequest.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalRequest.g.cs
index a9566244..97caecd4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalRequest.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalRequest.g.cs
@@ -52,9 +52,6 @@ public sealed partial class MCPApprovalRequest
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `mcp_approval_request`.
- ///
///
/// The unique ID of the approval request.
///
@@ -67,6 +64,9 @@ public sealed partial class MCPApprovalRequest
///
/// A JSON string of arguments for the tool.
///
+ ///
+ /// The type of the item. Always `mcp_approval_request`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -77,11 +77,11 @@ public MCPApprovalRequest(
string arguments,
global::tryAGI.OpenAI.MCPApprovalRequestType type)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponse.g.cs
index adda938b..08fc2373 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponse.g.cs
@@ -50,16 +50,16 @@ public sealed partial class MCPApprovalResponse
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `mcp_approval_response`.
- ///
- ///
///
/// The ID of the approval request being answered.
///
///
/// Whether the request was approved.
///
+ ///
+ /// The type of the item. Always `mcp_approval_response`.
+ ///
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -71,10 +71,10 @@ public MCPApprovalResponse(
string? id,
string? reason)
{
- this.ApprovalRequestId = approvalRequestId ?? throw new global::System.ArgumentNullException(nameof(approvalRequestId));
- this.Approve = approve;
this.Type = type;
this.Id = id;
+ this.ApprovalRequestId = approvalRequestId ?? throw new global::System.ArgumentNullException(nameof(approvalRequestId));
+ this.Approve = approve;
this.Reason = reason;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponseResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponseResource.g.cs
index 2f71ff0f..2c35894d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponseResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPApprovalResponseResource.g.cs
@@ -51,9 +51,6 @@ public sealed partial class MCPApprovalResponseResource
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `mcp_approval_response`.
- ///
///
/// The unique ID of the approval response
///
@@ -63,6 +60,9 @@ public sealed partial class MCPApprovalResponseResource
///
/// Whether the request was approved.
///
+ ///
+ /// The type of the item. Always `mcp_approval_response`.
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -74,10 +74,10 @@ public MCPApprovalResponseResource(
global::tryAGI.OpenAI.MCPApprovalResponseResourceType type,
string? reason)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.ApprovalRequestId = approvalRequestId ?? throw new global::System.ArgumentNullException(nameof(approvalRequestId));
this.Approve = approve;
- this.Type = type;
this.Reason = reason;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListTools.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListTools.g.cs
index 2905cf3b..9af56dbf 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListTools.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListTools.g.cs
@@ -51,9 +51,6 @@ public sealed partial class MCPListTools
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `mcp_list_tools`.
- ///
///
/// The unique ID of the list.
///
@@ -63,6 +60,9 @@ public sealed partial class MCPListTools
///
/// The tools available on the server.
///
+ ///
+ /// The type of the item. Always `mcp_list_tools`.
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -74,10 +74,10 @@ public MCPListTools(
global::tryAGI.OpenAI.MCPListToolsType type,
string? error)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel));
this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools));
- this.Type = type;
this.Error = error;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListToolsTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListToolsTool.g.cs
index a617579a..03583278 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListToolsTool.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPListToolsTool.g.cs
@@ -46,10 +46,10 @@ public sealed partial class MCPListToolsTool
///
/// The name of the tool.
///
- ///
///
/// The JSON schema describing the tool's input.
///
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -61,8 +61,8 @@ public MCPListToolsTool(
object? annotations)
{
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
- this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema));
this.Description = description;
+ this.InputSchema = inputSchema ?? throw new global::System.ArgumentNullException(nameof(inputSchema));
this.Annotations = annotations;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPTool.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPTool.g.cs
index 9cd056c3..b838837e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPTool.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPTool.g.cs
@@ -95,12 +95,12 @@ public sealed partial class MCPTool
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the MCP tool. Always `mcp`.
- ///
///
/// A label for this MCP server, used to identify it in tool calls.
///
+ ///
+ /// The type of the MCP tool. Always `mcp`.
+ ///
///
/// The URL for the MCP server. One of `server_url` or `connector_id` must be
/// provided.
@@ -148,8 +148,8 @@ public MCPTool(
global::tryAGI.OpenAI.OneOf? requireApproval,
bool? deferLoading)
{
- this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel));
this.Type = type;
+ this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel));
this.ServerUrl = serverUrl;
this.ConnectorId = connectorId;
this.Authorization = authorization;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCall.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCall.g.cs
index 5b16d6d8..885f21dd 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCall.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MCPToolCall.g.cs
@@ -77,9 +77,6 @@ public sealed partial class MCPToolCall
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the item. Always `mcp_call`.
- ///
///
/// The unique ID of the tool call.
///
@@ -92,6 +89,9 @@ public sealed partial class MCPToolCall
///
/// A JSON string of the arguments passed to the tool.
///
+ ///
+ /// The type of the item. Always `mcp_call`.
+ ///
///
///
///
@@ -112,11 +112,11 @@ public MCPToolCall(
global::tryAGI.OpenAI.MCPToolCallStatus? status,
string? approvalRequestId)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.ServerLabel = serverLabel ?? throw new global::System.ArgumentNullException(nameof(serverLabel));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments));
- this.Type = type;
this.Output = output;
this.Error = error;
this.Status = status;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Message.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Message.g.cs
index 4c00e317..c34c7e6e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Message.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Message.g.cs
@@ -56,10 +56,6 @@ public sealed partial class Message
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the message. Always set to `message`.
- /// Default Value: message
- ///
///
/// The unique ID of the message.
///
@@ -72,6 +68,10 @@ public sealed partial class Message
///
/// The content of the message
///
+ ///
+ /// The type of the message. Always set to `message`.
+ /// Default Value: message
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -82,11 +82,11 @@ public Message(
global::System.Collections.Generic.IList content,
global::tryAGI.OpenAI.MessageType type = global::tryAGI.OpenAI.MessageType.Message)
{
+ this.Type = type;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Status = status;
this.Role = role;
this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObject.g.cs
index e4b18df4..be9bf7dd 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageFileObject.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageContentImageFileObject
///
/// Initializes a new instance of the class.
///
+ ///
///
/// Always `image_file`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageContentImageFileObject(
global::tryAGI.OpenAI.MessageContentImageFileObjectImageFile imageFile,
global::tryAGI.OpenAI.MessageContentImageFileObjectType type)
{
- this.ImageFile = imageFile ?? throw new global::System.ArgumentNullException(nameof(imageFile));
this.Type = type;
+ this.ImageFile = imageFile ?? throw new global::System.ArgumentNullException(nameof(imageFile));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObject.g.cs
index 087dfa98..4ca64f25 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentImageUrlObject.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageContentImageUrlObject
///
/// Initializes a new instance of the class.
///
+ ///
///
/// The type of the content part.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageContentImageUrlObject(
global::tryAGI.OpenAI.MessageContentImageUrlObjectImageUrl imageUrl,
global::tryAGI.OpenAI.MessageContentImageUrlObjectType type)
{
- this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl));
this.Type = type;
+ this.ImageUrl = imageUrl ?? throw new global::System.ArgumentNullException(nameof(imageUrl));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentRefusalObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentRefusalObject.g.cs
index cd30c63c..20d00d0f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentRefusalObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentRefusalObject.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageContentRefusalObject
///
/// Initializes a new instance of the class.
///
+ ///
///
/// Always `refusal`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageContentRefusalObject(
string refusal,
global::tryAGI.OpenAI.MessageContentRefusalObjectType type)
{
- this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal));
this.Type = type;
+ this.Refusal = refusal ?? throw new global::System.ArgumentNullException(nameof(refusal));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFileCitationObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFileCitationObject.g.cs
index d92d5beb..47e37e90 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFileCitationObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFileCitationObject.g.cs
@@ -52,15 +52,15 @@ public sealed partial class MessageContentTextAnnotationsFileCitationObject
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `file_citation`.
- ///
///
/// The text in the message content that needs to be replaced.
///
///
///
///
+ ///
+ /// Always `file_citation`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -71,11 +71,11 @@ public MessageContentTextAnnotationsFileCitationObject(
int endIndex,
global::tryAGI.OpenAI.MessageContentTextAnnotationsFileCitationObjectType type)
{
+ this.Type = type;
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.FileCitation = fileCitation ?? throw new global::System.ArgumentNullException(nameof(fileCitation));
this.StartIndex = startIndex;
this.EndIndex = endIndex;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFilePathObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFilePathObject.g.cs
index 3be26b63..51b7ca25 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFilePathObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextAnnotationsFilePathObject.g.cs
@@ -52,15 +52,15 @@ public sealed partial class MessageContentTextAnnotationsFilePathObject
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `file_path`.
- ///
///
/// The text in the message content that needs to be replaced.
///
///
///
///
+ ///
+ /// Always `file_path`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -71,11 +71,11 @@ public MessageContentTextAnnotationsFilePathObject(
int endIndex,
global::tryAGI.OpenAI.MessageContentTextAnnotationsFilePathObjectType type)
{
+ this.Type = type;
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.FilePath = filePath ?? throw new global::System.ArgumentNullException(nameof(filePath));
this.StartIndex = startIndex;
this.EndIndex = endIndex;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextObject.g.cs
index 3b28ef68..0f095876 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageContentTextObject.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageContentTextObject
///
/// Initializes a new instance of the class.
///
+ ///
///
/// Always `text`.
///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageContentTextObject(
global::tryAGI.OpenAI.MessageContentTextObjectText text,
global::tryAGI.OpenAI.MessageContentTextObjectType type)
{
- this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Type = type;
+ this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObject.g.cs
index 92c50f8a..58b8d228 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageDeltaObject.g.cs
@@ -41,12 +41,12 @@ public sealed partial class MessageDeltaObject
///
/// The identifier of the message, which can be referenced in API endpoints.
///
- ///
- /// The object type, which is always `thread.message.delta`.
- ///
///
/// The delta containing the fields that have changed on the Message.
///
+ ///
+ /// The object type, which is always `thread.message.delta`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,8 +56,8 @@ public MessageDeltaObject(
global::tryAGI.OpenAI.MessageDeltaObjectObject @object)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta));
this.Object = @object;
+ this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs
index 62640df5..09f10ab5 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageObject.g.cs
@@ -114,9 +114,6 @@ public sealed partial class MessageObject
///
/// The identifier, which can be referenced in API endpoints.
///
- ///
- /// The object type, which is always `thread.message`.
- ///
///
/// The Unix timestamp (in seconds) for when the message was created.
///
@@ -126,15 +123,18 @@ public sealed partial class MessageObject
///
/// The status of the message, which can be either `in_progress`, `incomplete`, or `completed`.
///
- ///
- ///
- ///
///
/// The entity that produced the message. One of `user` or `assistant`.
///
///
/// The content of the message in array of text and/or images.
///
+ ///
+ /// The object type, which is always `thread.message`.
+ ///
+ ///
+ ///
+ ///
///
///
///
@@ -159,15 +159,15 @@ public MessageObject(
global::System.Collections.Generic.Dictionary? metadata)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Object = @object;
this.CreatedAt = createdAt;
this.ThreadId = threadId ?? throw new global::System.ArgumentNullException(nameof(threadId));
this.Status = status;
- this.Role = role;
- this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
- this.Object = @object;
this.IncompleteDetails = incompleteDetails;
this.CompletedAt = completedAt;
this.IncompleteAt = incompleteAt;
+ this.Role = role;
+ this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
this.AssistantId = assistantId;
this.RunId = runId;
this.Attachments = attachments;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRequestContentTextObject.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRequestContentTextObject.g.cs
index 63f14aad..477e992d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRequestContentTextObject.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageRequestContentTextObject.g.cs
@@ -31,12 +31,12 @@ public sealed partial class MessageRequestContentTextObject
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `text`.
- ///
///
/// Text content to be sent to the model
///
+ ///
+ /// Always `text`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public MessageRequestContentTextObject(
string text,
global::tryAGI.OpenAI.MessageRequestContentTextObjectType type)
{
- this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Type = type;
+ this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant1.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant1.g.cs
index 6a85730e..7d419039 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant1.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant1.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant1
///
/// Initializes a new instance of the class.
///
- ///
///
/// Represents a message within a [thread](/docs/api-reference/threads).
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageStreamEventVariant1(
global::tryAGI.OpenAI.MessageObject data,
global::tryAGI.OpenAI.MessageStreamEventVariant1Event @event)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Event = @event;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant2.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant2.g.cs
index a565adb5..07a1aa5a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant2.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant2.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant2
///
/// Initializes a new instance of the class.
///
- ///
///
/// Represents a message within a [thread](/docs/api-reference/threads).
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageStreamEventVariant2(
global::tryAGI.OpenAI.MessageObject data,
global::tryAGI.OpenAI.MessageStreamEventVariant2Event @event)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Event = @event;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant3.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant3.g.cs
index 9d0260c3..bbc1fbf8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant3.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant3.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant3
///
/// Initializes a new instance of the class.
///
- ///
///
/// Represents a message delta i.e. any changed fields on a message during streaming.
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageStreamEventVariant3(
global::tryAGI.OpenAI.MessageDeltaObject data,
global::tryAGI.OpenAI.MessageStreamEventVariant3Event @event)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Event = @event;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant4.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant4.g.cs
index 7d4b5223..57d9845d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant4.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant4.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant4
///
/// Initializes a new instance of the class.
///
- ///
///
/// Represents a message within a [thread](/docs/api-reference/threads).
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageStreamEventVariant4(
global::tryAGI.OpenAI.MessageObject data,
global::tryAGI.OpenAI.MessageStreamEventVariant4Event @event)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Event = @event;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant5.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant5.g.cs
index 02e67b0f..44690236 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant5.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MessageStreamEventVariant5.g.cs
@@ -31,10 +31,10 @@ public sealed partial class MessageStreamEventVariant5
///
/// Initializes a new instance of the class.
///
- ///
///
/// Represents a message within a [thread](/docs/api-reference/threads).
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -42,8 +42,8 @@ public MessageStreamEventVariant5(
global::tryAGI.OpenAI.MessageObject data,
global::tryAGI.OpenAI.MessageStreamEventVariant5Event @event)
{
- this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Event = @event;
+ this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Model17.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Model17.g.cs
index df993c1d..fb7d3cdb 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Model17.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Model17.g.cs
@@ -52,12 +52,12 @@ public sealed partial class Model17
///
/// The Unix timestamp (in seconds) when the model was created.
///
- ///
- /// The object type, which is always "model".
- ///
///
/// The organization that owns the model.
///
+ ///
+ /// The object type, which is always "model".
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -69,8 +69,8 @@ public Model17(
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Created = created;
- this.OwnedBy = ownedBy ?? throw new global::System.ArgumentNullException(nameof(ownedBy));
this.Object = @object;
+ this.OwnedBy = ownedBy ?? throw new global::System.ArgumentNullException(nameof(ownedBy));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MoveParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MoveParam.g.cs
index c2478922..1a7246e8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MoveParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.MoveParam.g.cs
@@ -46,10 +46,6 @@ public sealed partial class MoveParam
///
/// Initializes a new instance of the class.
///
- ///
- /// Specifies the event type. For a move action, this property is always set to `move`.
- /// Default Value: move
- ///
///
/// The x-coordinate to move to.
///
@@ -57,6 +53,10 @@ public sealed partial class MoveParam
/// The y-coordinate to move to.
///
///
+ ///
+ /// Specifies the event type. For a move action, this property is always set to `move`.
+ /// Default Value: move
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -66,9 +66,9 @@ public MoveParam(
global::System.Collections.Generic.IList? keys,
global::tryAGI.OpenAI.MoveParamType type = global::tryAGI.OpenAI.MoveParamType.Move)
{
+ this.Type = type;
this.X = x;
this.Y = y;
- this.Type = type;
this.Keys = keys;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NamespaceToolParam.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NamespaceToolParam.g.cs
index 9de937f8..0ef22cfc 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NamespaceToolParam.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.NamespaceToolParam.g.cs
@@ -47,10 +47,6 @@ public sealed partial class NamespaceToolParam
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the tool. Always `namespace`.
- /// Default Value: namespace
- ///
///
/// The namespace name used in tool calls (for example, `crm`).
///
@@ -60,6 +56,10 @@ public sealed partial class NamespaceToolParam
///
/// The function/custom tools available inside this namespace.
///
+ ///
+ /// The type of the tool. Always `namespace`.
+ /// Default Value: namespace
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -69,10 +69,10 @@ public NamespaceToolParam(
global::System.Collections.Generic.IList tools,
global::tryAGI.OpenAI.NamespaceToolParamType type = global::tryAGI.OpenAI.NamespaceToolParamType.Namespace)
{
+ this.Type = type;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Description = description ?? throw new global::System.ArgumentNullException(nameof(description));
this.Tools = tools ?? throw new global::System.ArgumentNullException(nameof(tools));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs
index f4c37f57..d9be478c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OpenAIFile.g.cs
@@ -94,21 +94,21 @@ public sealed partial class OpenAIFile
///
/// The Unix timestamp (in seconds) for when the file was created.
///
- ///
- /// The Unix timestamp (in seconds) for when the file will expire.
- ///
///
/// The name of the file.
///
- ///
- /// The object type, which is always `file`.
- ///
///
/// The intended purpose of the file. Supported values are `assistants`, `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`, `vision`, and `user_data`.
///
///
/// Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`.
///
+ ///
+ /// The Unix timestamp (in seconds) for when the file will expire.
+ ///
+ ///
+ /// The object type, which is always `file`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -125,11 +125,11 @@ public OpenAIFile(
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Bytes = bytes;
this.CreatedAt = createdAt;
+ this.ExpiresAt = expiresAt;
this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename));
+ this.Object = @object;
this.Purpose = purpose;
this.Status = status;
- this.ExpiresAt = expiresAt;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputAudio.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputAudio.g.cs
index 7b573e24..ded5428d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputAudio.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputAudio.g.cs
@@ -38,15 +38,15 @@ public sealed partial class OutputAudio
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the output audio. Always `output_audio`.
- ///
///
/// Base64-encoded audio data from the model.
///
///
/// The transcript of the audio data from the model.
///
+ ///
+ /// The type of the output audio. Always `output_audio`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -55,9 +55,9 @@ public OutputAudio(
string transcript,
global::tryAGI.OpenAI.OutputAudioType type)
{
+ this.Type = type;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.Transcript = transcript ?? throw new global::System.ArgumentNullException(nameof(transcript));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessage.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessage.g.cs
index c2a286c6..35ec10f3 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessage.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputMessage.g.cs
@@ -63,20 +63,20 @@ public sealed partial class OutputMessage
///
/// The unique ID of the output message.
///
- ///
- /// The type of the output message. Always `message`.
- ///
- ///
- /// The role of the output message. Always `assistant`.
- ///
///
/// The content of the output message.
///
- ///
///
/// The status of the message input. One of `in_progress`, `completed`, or
/// `incomplete`. Populated when input items are returned via API.
///
+ ///
+ /// The type of the output message. Always `message`.
+ ///
+ ///
+ /// The role of the output message. Always `assistant`.
+ ///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -89,11 +89,11 @@ public OutputMessage(
global::tryAGI.OpenAI.MessagePhase? phase)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
- this.Status = status;
this.Type = type;
this.Role = role;
+ this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content));
this.Phase = phase;
+ this.Status = status;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputTextContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputTextContent.g.cs
index 055a9352..0f614ebb 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputTextContent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.OutputTextContent.g.cs
@@ -47,10 +47,6 @@ public sealed partial class OutputTextContent
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the output text. Always `output_text`.
- /// Default Value: output_text
- ///
///
/// The text output from the model.
///
@@ -58,6 +54,10 @@ public sealed partial class OutputTextContent
/// The annotations of the text output.
///
///
+ ///
+ /// The type of the output text. Always `output_text`.
+ /// Default Value: output_text
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,10 +67,10 @@ public OutputTextContent(
global::System.Collections.Generic.IList logprobs,
global::tryAGI.OpenAI.OutputTextContentType type = global::tryAGI.OpenAI.OutputTextContentType.OutputText)
{
+ this.Type = type;
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
this.Annotations = annotations ?? throw new global::System.ArgumentNullException(nameof(annotations));
this.Logprobs = logprobs ?? throw new global::System.ArgumentNullException(nameof(logprobs));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PredictionContent.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PredictionContent.g.cs
index 9aa16797..b854dbb1 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PredictionContent.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PredictionContent.g.cs
@@ -36,15 +36,15 @@ public sealed partial class PredictionContent
///
/// Initializes a new instance of the class.
///
- ///
- /// The type of the predicted content you want to provide. This type is
- /// currently always `content`.
- ///
///
/// The content that should be matched when generating a model response.
/// If generated tokens would match this content, the entire model response
/// can be returned much more quickly.
///
+ ///
+ /// The type of the predicted content you want to provide. This type is
+ /// currently always `content`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -52,8 +52,8 @@ public PredictionContent(
global::tryAGI.OpenAI.OneOf> content,
global::tryAGI.OpenAI.PredictionContentType type)
{
- this.Content = content;
this.Type = type;
+ this.Content = content;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Project.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Project.g.cs
index 40960080..3aa65392 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Project.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.Project.g.cs
@@ -63,19 +63,19 @@ public sealed partial class Project
///
/// The identifier, which can be referenced in API endpoints
///
- ///
- /// The object type, which is always `organization.project`
- ///
///
/// The name of the project. This appears in reporting.
///
///
/// The Unix timestamp (in seconds) of when the project was created.
///
- ///
///
/// `active` or `archived`
///
+ ///
+ /// The object type, which is always `organization.project`
+ ///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -88,11 +88,11 @@ public Project(
global::System.DateTimeOffset? archivedAt)
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
+ this.Object = @object;
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.CreatedAt = createdAt;
- this.Status = status;
- this.Object = @object;
this.ArchivedAt = archivedAt;
+ this.Status = status;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKey.g.cs
index 9912dcce..b80412d4 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKey.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKey.g.cs
@@ -68,9 +68,6 @@ public sealed partial class ProjectApiKey
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `organization.project.api_key`
- ///
///
/// The redacted value of the API key
///
@@ -87,6 +84,9 @@ public sealed partial class ProjectApiKey
/// The identifier, which can be referenced in API endpoints
///
///
+ ///
+ /// The object type, which is always `organization.project.api_key`
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -99,13 +99,13 @@ public ProjectApiKey(
global::tryAGI.OpenAI.ProjectApiKeyOwner owner,
global::tryAGI.OpenAI.ProjectApiKeyObject @object)
{
+ this.Object = @object;
this.RedactedValue = redactedValue ?? throw new global::System.ArgumentNullException(nameof(redactedValue));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.CreatedAt = createdAt;
this.LastUsedAt = lastUsedAt;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Owner = owner ?? throw new global::System.ArgumentNullException(nameof(owner));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyDeleteResponse.g.cs
index f7344c27..0ec8099a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyDeleteResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyDeleteResponse.g.cs
@@ -38,9 +38,9 @@ public sealed partial class ProjectApiKeyDeleteResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -49,9 +49,9 @@ public ProjectApiKeyDeleteResponse(
bool deleted,
global::tryAGI.OpenAI.ProjectApiKeyDeleteResponseObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Deleted = deleted;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyListResponse.g.cs
index 9f3604c6..f4d70cda 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyListResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectApiKeyListResponse.g.cs
@@ -52,11 +52,11 @@ public sealed partial class ProjectApiKeyListResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,11 +67,11 @@ public ProjectApiKeyListResponse(
bool hasMore,
global::tryAGI.OpenAI.ProjectApiKeyListResponseObject @object)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs
index 8190458b..704122fe 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroup.g.cs
@@ -53,9 +53,6 @@ public sealed partial class ProjectGroup
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `project.group`.
- ///
///
/// Identifier of the project.
///
@@ -68,6 +65,9 @@ public sealed partial class ProjectGroup
///
/// Unix timestamp (in seconds) when the group was granted project access.
///
+ ///
+ /// Always `project.group`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -78,11 +78,11 @@ public ProjectGroup(
global::System.DateTimeOffset createdAt,
global::tryAGI.OpenAI.ProjectGroupObject @object)
{
+ this.Object = @object;
this.ProjectId = projectId ?? throw new global::System.ArgumentNullException(nameof(projectId));
this.GroupId = groupId ?? throw new global::System.ArgumentNullException(nameof(groupId));
this.GroupName = groupName ?? throw new global::System.ArgumentNullException(nameof(groupName));
this.CreatedAt = createdAt;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupDeletedResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupDeletedResource.g.cs
index 28a5e3b9..4db8142e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupDeletedResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupDeletedResource.g.cs
@@ -31,12 +31,12 @@ public sealed partial class ProjectGroupDeletedResource
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `project.group.deleted`.
- ///
///
/// Whether the group membership in the project was removed.
///
+ ///
+ /// Always `project.group.deleted`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -44,8 +44,8 @@ public ProjectGroupDeletedResource(
bool deleted,
global::tryAGI.OpenAI.ProjectGroupDeletedResourceObject @object)
{
- this.Deleted = deleted;
this.Object = @object;
+ this.Deleted = deleted;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupListResource.g.cs
index bb50a666..0a6112f9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupListResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectGroupListResource.g.cs
@@ -44,15 +44,15 @@ public sealed partial class ProjectGroupListResource
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `list`.
- ///
///
/// Project group memberships returned in the current page.
///
///
/// Whether additional project group memberships are available.
///
+ ///
+ /// Always `list`.
+ ///
///
/// Cursor to fetch the next page of results, or `null` when there are no more results.
///
@@ -65,9 +65,9 @@ public ProjectGroupListResource(
global::tryAGI.OpenAI.ProjectGroupListResourceObject @object,
string? next)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.HasMore = hasMore;
- this.Object = @object;
this.Next = next;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectListResponse.g.cs
index 3d6e89d5..f5479e12 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectListResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectListResponse.g.cs
@@ -52,11 +52,11 @@ public sealed partial class ProjectListResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,11 +67,11 @@ public ProjectListResponse(
bool hasMore,
global::tryAGI.OpenAI.ProjectListResponseObject @object)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimit.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimit.g.cs
index 3bd505d5..6f7780a6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimit.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimit.g.cs
@@ -76,9 +76,6 @@ public sealed partial class ProjectRateLimit
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `project.rate_limit`
- ///
///
/// The identifier, which can be referenced in API endpoints.
///
@@ -91,6 +88,9 @@ public sealed partial class ProjectRateLimit
///
/// The maximum tokens per minute.
///
+ ///
+ /// The object type, which is always `project.rate_limit`
+ ///
///
/// The maximum images per minute. Only present for relevant models.
///
@@ -117,11 +117,11 @@ public ProjectRateLimit(
int? maxRequestsPer1Day,
int? batch1DayMaxInputTokens)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model));
this.MaxRequestsPer1Minute = maxRequestsPer1Minute;
this.MaxTokensPer1Minute = maxTokensPer1Minute;
- this.Object = @object;
this.MaxImagesPer1Minute = maxImagesPer1Minute;
this.MaxAudioMegabytesPer1Minute = maxAudioMegabytesPer1Minute;
this.MaxRequestsPer1Day = maxRequestsPer1Day;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimitListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimitListResponse.g.cs
index e35719ed..1ff10d65 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimitListResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectRateLimitListResponse.g.cs
@@ -52,11 +52,11 @@ public sealed partial class ProjectRateLimitListResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,11 +67,11 @@ public ProjectRateLimitListResponse(
bool hasMore,
global::tryAGI.OpenAI.ProjectRateLimitListResponseObject @object)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccount.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccount.g.cs
index 35a31246..c5dce4cf 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccount.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccount.g.cs
@@ -54,9 +54,6 @@ public sealed partial class ProjectServiceAccount
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `organization.project.service_account`
- ///
///
/// The identifier, which can be referenced in API endpoints
///
@@ -69,6 +66,9 @@ public sealed partial class ProjectServiceAccount
///
/// The Unix timestamp (in seconds) of when the service account was created
///
+ ///
+ /// The object type, which is always `organization.project.service_account`
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -79,11 +79,11 @@ public ProjectServiceAccount(
global::System.DateTimeOffset createdAt,
global::tryAGI.OpenAI.ProjectServiceAccountObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Role = role;
this.CreatedAt = createdAt;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountApiKey.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountApiKey.g.cs
index 64390540..4dbd852f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountApiKey.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountApiKey.g.cs
@@ -52,13 +52,13 @@ public sealed partial class ProjectServiceAccountApiKey
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `organization.project.service_account.api_key`
- ///
///
///
///
///
+ ///
+ /// The object type, which is always `organization.project.service_account.api_key`
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -69,11 +69,11 @@ public ProjectServiceAccountApiKey(
string id,
global::tryAGI.OpenAI.ProjectServiceAccountApiKeyObject @object)
{
+ this.Object = @object;
this.Value = value ?? throw new global::System.ArgumentNullException(nameof(value));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.CreatedAt = createdAt;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountCreateResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountCreateResponse.g.cs
index 079de55a..9533e95c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountCreateResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountCreateResponse.g.cs
@@ -59,14 +59,14 @@ public sealed partial class ProjectServiceAccountCreateResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
+ ///
+ ///
+ ///
///
/// Service accounts can only have one role of type `member`
///
- ///
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -78,12 +78,12 @@ public ProjectServiceAccountCreateResponse(
global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseObject @object,
global::tryAGI.OpenAI.ProjectServiceAccountCreateResponseRole role)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
+ this.Role = role;
this.CreatedAt = createdAt;
this.ApiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey));
- this.Object = @object;
- this.Role = role;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountDeleteResponse.g.cs
index 4878ce71..6dbcb66d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountDeleteResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountDeleteResponse.g.cs
@@ -38,9 +38,9 @@ public sealed partial class ProjectServiceAccountDeleteResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -49,9 +49,9 @@ public ProjectServiceAccountDeleteResponse(
bool deleted,
global::tryAGI.OpenAI.ProjectServiceAccountDeleteResponseObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Deleted = deleted;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountListResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountListResponse.g.cs
index 077aca97..7972a67c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountListResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectServiceAccountListResponse.g.cs
@@ -52,11 +52,11 @@ public sealed partial class ProjectServiceAccountListResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,11 +67,11 @@ public ProjectServiceAccountListResponse(
bool hasMore,
global::tryAGI.OpenAI.ProjectServiceAccountListResponseObject @object)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.FirstId = firstId ?? throw new global::System.ArgumentNullException(nameof(firstId));
this.LastId = lastId ?? throw new global::System.ArgumentNullException(nameof(lastId));
this.HasMore = hasMore;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUser.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUser.g.cs
index f29a6ec9..2e4535fb 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUser.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUser.g.cs
@@ -61,9 +61,6 @@ public sealed partial class ProjectUser
///
/// Initializes a new instance of the class.
///
- ///
- /// The object type, which is always `organization.project.user`
- ///
///
/// The identifier, which can be referenced in API endpoints
///
@@ -79,6 +76,9 @@ public sealed partial class ProjectUser
///
/// The Unix timestamp (in seconds) of when the project was added.
///
+ ///
+ /// The object type, which is always `organization.project.user`
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -90,12 +90,12 @@ public ProjectUser(
global::System.DateTimeOffset addedAt,
global::tryAGI.OpenAI.ProjectUserObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Email = email ?? throw new global::System.ArgumentNullException(nameof(email));
this.Role = role;
this.AddedAt = addedAt;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserDeleteResponse.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserDeleteResponse.g.cs
index ee440e61..68be2fbe 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserDeleteResponse.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.ProjectUserDeleteResponse.g.cs
@@ -38,9 +38,9 @@ public sealed partial class ProjectUserDeleteResponse
///
/// Initializes a new instance of the class.
///
- ///
///
///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -49,9 +49,9 @@ public ProjectUserDeleteResponse(
bool deleted,
global::tryAGI.OpenAI.ProjectUserDeleteResponseObject @object)
{
+ this.Object = @object;
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.Deleted = deleted;
- this.Object = @object;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PublicRoleListResource.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PublicRoleListResource.g.cs
index 3ca3a8cd..f2115013 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PublicRoleListResource.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.PublicRoleListResource.g.cs
@@ -44,15 +44,15 @@ public sealed partial class PublicRoleListResource
///
/// Initializes a new instance of the class.
///
- ///
- /// Always `list`.
- ///
///
/// Roles returned in the current page.
///
///
/// Whether more roles are available when paginating.
///
+ ///
+ /// Always `list`.
+ ///
///
/// Cursor to fetch the next page of results, or `null` when there are no additional roles.
///
@@ -65,9 +65,9 @@ public PublicRoleListResource(
global::tryAGI.OpenAI.PublicRoleListResourceObject @object,
string? next)
{
+ this.Object = @object;
this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data));
this.HasMore = hasMore;
- this.Object = @object;
this.Next = next;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmAudioFormatType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmAudioFormatType.g.cs
index 35c76b88..0815a30b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmAudioFormatType.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmAudioFormatType.g.cs
@@ -11,7 +11,7 @@ public enum RealtimeAudioFormatsPcmAudioFormatType
///
///
///
- AudioPcm,
+ AudioDividepcm,
}
///
@@ -26,7 +26,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmAudioFormatType v
{
return value switch
{
- RealtimeAudioFormatsPcmAudioFormatType.AudioPcm => "audio/pcm",
+ RealtimeAudioFormatsPcmAudioFormatType.AudioDividepcm => "audio/pcm",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
@@ -37,7 +37,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmAudioFormatType v
{
return value switch
{
- "audio/pcm" => RealtimeAudioFormatsPcmAudioFormatType.AudioPcm,
+ "audio/pcm" => RealtimeAudioFormatsPcmAudioFormatType.AudioDividepcm,
_ => null,
};
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmaAudioFormatType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmaAudioFormatType.g.cs
index dee26bdb..5c61241b 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmaAudioFormatType.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmaAudioFormatType.g.cs
@@ -11,7 +11,7 @@ public enum RealtimeAudioFormatsPcmaAudioFormatType
///
///
///
- AudioPcma,
+ AudioDividepcma,
}
///
@@ -26,7 +26,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmaAudioFormatType
{
return value switch
{
- RealtimeAudioFormatsPcmaAudioFormatType.AudioPcma => "audio/pcma",
+ RealtimeAudioFormatsPcmaAudioFormatType.AudioDividepcma => "audio/pcma",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
@@ -37,7 +37,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmaAudioFormatType
{
return value switch
{
- "audio/pcma" => RealtimeAudioFormatsPcmaAudioFormatType.AudioPcma,
+ "audio/pcma" => RealtimeAudioFormatsPcmaAudioFormatType.AudioDividepcma,
_ => null,
};
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmuAudioFormatType.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmuAudioFormatType.g.cs
index c1b6f61d..8c484224 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmuAudioFormatType.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeAudioFormatsPcmuAudioFormatType.g.cs
@@ -11,7 +11,7 @@ public enum RealtimeAudioFormatsPcmuAudioFormatType
///
///
///
- AudioPcmu,
+ AudioDividepcmu,
}
///
@@ -26,7 +26,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmuAudioFormatType
{
return value switch
{
- RealtimeAudioFormatsPcmuAudioFormatType.AudioPcmu => "audio/pcmu",
+ RealtimeAudioFormatsPcmuAudioFormatType.AudioDividepcmu => "audio/pcmu",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
@@ -37,7 +37,7 @@ public static string ToValueString(this RealtimeAudioFormatsPcmuAudioFormatType
{
return value switch
{
- "audio/pcmu" => RealtimeAudioFormatsPcmuAudioFormatType.AudioPcmu,
+ "audio/pcmu" => RealtimeAudioFormatsPcmuAudioFormatType.AudioDividepcmu,
_ => null,
};
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemCreate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemCreate.g.cs
index d1bcbd16..d3f4bb35 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemCreate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemCreate.g.cs
@@ -53,6 +53,9 @@ public sealed partial class RealtimeBetaClientEventConversationItemCreate
///
/// Initializes a new instance of the class.
///
+ ///
+ /// A single item within a Realtime conversation.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
@@ -66,9 +69,6 @@ public sealed partial class RealtimeBetaClientEventConversationItemCreate
/// If set to an existing ID, it allows an item to be inserted mid-conversation. If the
/// ID cannot be found, an error will be returned and the item will not be added.
///
- ///
- /// A single item within a Realtime conversation.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -78,10 +78,10 @@ public RealtimeBetaClientEventConversationItemCreate(
global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemCreateType type,
string? previousItemId)
{
- this.Item = item;
this.EventId = eventId;
this.Type = type;
this.PreviousItemId = previousItemId;
+ this.Item = item;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemDelete.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemDelete.g.cs
index 22eb6d32..40ca5c14 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemDelete.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemDelete.g.cs
@@ -40,15 +40,15 @@ public sealed partial class RealtimeBetaClientEventConversationItemDelete
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The ID of the item to delete.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
///
/// The event type, must be `conversation.item.delete`.
///
- ///
- /// The ID of the item to delete.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -57,9 +57,9 @@ public RealtimeBetaClientEventConversationItemDelete(
string? eventId,
global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemDeleteType type)
{
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.EventId = eventId;
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemRetrieve.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemRetrieve.g.cs
index 202ee5f9..149e1019 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemRetrieve.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemRetrieve.g.cs
@@ -40,15 +40,15 @@ public sealed partial class RealtimeBetaClientEventConversationItemRetrieve
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The ID of the item to retrieve.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
///
/// The event type, must be `conversation.item.retrieve`.
///
- ///
- /// The ID of the item to retrieve.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -57,9 +57,9 @@ public RealtimeBetaClientEventConversationItemRetrieve(
string? eventId,
global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemRetrieveType type)
{
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.EventId = eventId;
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemTruncate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemTruncate.g.cs
index e65f86eb..96a190bb 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemTruncate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventConversationItemTruncate.g.cs
@@ -62,12 +62,6 @@ public sealed partial class RealtimeBetaClientEventConversationItemTruncate
///
/// Initializes a new instance of the class.
///
- ///
- /// Optional client-generated ID used to identify this event.
- ///
- ///
- /// The event type, must be `conversation.item.truncate`.
- ///
///
/// The ID of the assistant message item to truncate. Only assistant message
/// items can be truncated.
@@ -80,6 +74,12 @@ public sealed partial class RealtimeBetaClientEventConversationItemTruncate
/// the audio_end_ms is greater than the actual audio duration, the server
/// will respond with an error.
///
+ ///
+ /// Optional client-generated ID used to identify this event.
+ ///
+ ///
+ /// The event type, must be `conversation.item.truncate`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -90,11 +90,11 @@ public RealtimeBetaClientEventConversationItemTruncate(
string? eventId,
global::tryAGI.OpenAI.RealtimeBetaClientEventConversationItemTruncateType type)
{
+ this.EventId = eventId;
+ this.Type = type;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.ContentIndex = contentIndex;
this.AudioEndMs = audioEndMs;
- this.EventId = eventId;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventInputAudioBufferAppend.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventInputAudioBufferAppend.g.cs
index 98f47250..b41d5fce 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventInputAudioBufferAppend.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventInputAudioBufferAppend.g.cs
@@ -46,16 +46,16 @@ public sealed partial class RealtimeBetaClientEventInputAudioBufferAppend
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Base64-encoded audio bytes. This must be in the format specified by the
+ /// `input_audio_format` field in the session configuration.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
///
/// The event type, must be `input_audio_buffer.append`.
///
- ///
- /// Base64-encoded audio bytes. This must be in the format specified by the
- /// `input_audio_format` field in the session configuration.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -64,9 +64,9 @@ public RealtimeBetaClientEventInputAudioBufferAppend(
string? eventId,
global::tryAGI.OpenAI.RealtimeBetaClientEventInputAudioBufferAppendType type)
{
- this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio));
this.EventId = eventId;
this.Type = type;
+ this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventSessionUpdate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventSessionUpdate.g.cs
index 33dd8a7f..f70ab6e9 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventSessionUpdate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventSessionUpdate.g.cs
@@ -46,16 +46,16 @@ public sealed partial class RealtimeBetaClientEventSessionUpdate
///
/// Initializes a new instance of the class.
///
+ ///
+ /// A new Realtime session configuration, with an ephemeral key. Default TTL
+ /// for keys is one minute.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
///
/// The event type, must be `session.update`.
///
- ///
- /// A new Realtime session configuration, with an ephemeral key. Default TTL
- /// for keys is one minute.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -64,9 +64,9 @@ public RealtimeBetaClientEventSessionUpdate(
string? eventId,
global::tryAGI.OpenAI.RealtimeBetaClientEventSessionUpdateType type)
{
- this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
this.EventId = eventId;
this.Type = type;
+ this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventTranscriptionSessionUpdate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventTranscriptionSessionUpdate.g.cs
index 6bb64a20..7e97b85a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventTranscriptionSessionUpdate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaClientEventTranscriptionSessionUpdate.g.cs
@@ -37,15 +37,15 @@ public sealed partial class RealtimeBetaClientEventTranscriptionSessionUpdate
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Realtime transcription session object configuration.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
///
/// The event type, must be `transcription_session.update`.
///
- ///
- /// Realtime transcription session object configuration.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -54,9 +54,9 @@ public RealtimeBetaClientEventTranscriptionSessionUpdate(
string? eventId,
global::tryAGI.OpenAI.RealtimeBetaClientEventTranscriptionSessionUpdateType type)
{
- this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
this.EventId = eventId;
this.Type = type;
+ this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemCreated.g.cs
index a5a3873d..66b21f19 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemCreated.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemCreated.g.cs
@@ -56,13 +56,13 @@ public sealed partial class RealtimeBetaServerEventConversationItemCreated
///
/// The unique ID of the server event.
///
+ ///
+ /// A single item within a Realtime conversation.
+ ///
///
/// The event type, must be `conversation.item.created`.
///
///
- ///
- /// A single item within a Realtime conversation.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -73,9 +73,9 @@ public RealtimeBetaServerEventConversationItemCreated(
string? previousItemId)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Item = item;
this.Type = type;
this.PreviousItemId = previousItemId;
+ this.Item = item;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemDeleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemDeleted.g.cs
index 47456020..b619198a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemDeleted.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemDeleted.g.cs
@@ -43,12 +43,12 @@ public sealed partial class RealtimeBetaServerEventConversationItemDeleted
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `conversation.item.deleted`.
- ///
///
/// The ID of the item that was deleted.
///
+ ///
+ /// The event type, must be `conversation.item.deleted`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,8 +58,8 @@ public RealtimeBetaServerEventConversationItemDeleted(
global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemDeletedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted.g.cs
index a8933ba9..373adb83 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted.g.cs
@@ -78,10 +78,6 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be
- /// `conversation.item.input_audio_transcription.completed`.
- ///
///
/// The ID of the user message item containing the audio.
///
@@ -91,10 +87,14 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra
///
/// The transcribed text.
///
- ///
///
/// Usage statistics for the transcription.
///
+ ///
+ /// The event type, must be
+ /// `conversation.item.input_audio_transcription.completed`.
+ ///
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -108,12 +108,12 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionCompleted(
global::System.Collections.Generic.IList? logprobs)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.ContentIndex = contentIndex;
this.Transcript = transcript ?? throw new global::System.ArgumentNullException(nameof(transcript));
- this.Usage = usage;
- this.Type = type;
this.Logprobs = logprobs;
+ this.Usage = usage;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta.g.cs
index 038e2e3c..5d8a5dbd 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta.g.cs
@@ -59,12 +59,12 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `conversation.item.input_audio_transcription.delta`.
- ///
///
/// The ID of the item.
///
+ ///
+ /// The event type, must be `conversation.item.input_audio_transcription.delta`.
+ ///
///
/// The index of the content part in the item's content array.
///
@@ -84,8 +84,8 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionDelta(
global::System.Collections.Generic.IList? logprobs)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.ContentIndex = contentIndex;
this.Delta = delta;
this.Logprobs = logprobs;
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed.g.cs
index 5c6a2946..306d3c8f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed.g.cs
@@ -58,10 +58,6 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be
- /// `conversation.item.input_audio_transcription.failed`.
- ///
///
/// The ID of the user message item.
///
@@ -71,6 +67,10 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra
///
/// Details of the transcription error.
///
+ ///
+ /// The event type, must be
+ /// `conversation.item.input_audio_transcription.failed`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -82,10 +82,10 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailed(
global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionFailedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.ContentIndex = contentIndex;
this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment.g.cs
index 41a0a319..0f6ca840 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment.g.cs
@@ -83,9 +83,6 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `conversation.item.input_audio_transcription.segment`.
- ///
///
/// The ID of the item containing the input audio content.
///
@@ -107,6 +104,9 @@ public sealed partial class RealtimeBetaServerEventConversationItemInputAudioTra
///
/// End time of the segment in seconds.
///
+ ///
+ /// The event type, must be `conversation.item.input_audio_transcription.segment`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -122,6 +122,7 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment(
global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegmentType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.ContentIndex = contentIndex;
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
@@ -129,7 +130,6 @@ public RealtimeBetaServerEventConversationItemInputAudioTranscriptionSegment(
this.Speaker = speaker ?? throw new global::System.ArgumentNullException(nameof(speaker));
this.Start = start;
this.End = end;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemRetrieved.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemRetrieved.g.cs
index b803cbe6..3349fd4d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemRetrieved.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemRetrieved.g.cs
@@ -42,12 +42,12 @@ public sealed partial class RealtimeBetaServerEventConversationItemRetrieved
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `conversation.item.retrieved`.
- ///
///
/// A single item within a Realtime conversation.
///
+ ///
+ /// The event type, must be `conversation.item.retrieved`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -57,8 +57,8 @@ public RealtimeBetaServerEventConversationItemRetrieved(
global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemRetrievedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Item = item;
this.Type = type;
+ this.Item = item;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemTruncated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemTruncated.g.cs
index 75031703..018ee9c8 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemTruncated.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventConversationItemTruncated.g.cs
@@ -59,9 +59,6 @@ public sealed partial class RealtimeBetaServerEventConversationItemTruncated
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `conversation.item.truncated`.
- ///
///
/// The ID of the assistant message item that was truncated.
///
@@ -71,6 +68,9 @@ public sealed partial class RealtimeBetaServerEventConversationItemTruncated
///
/// The duration up to which the audio was truncated, in milliseconds.
///
+ ///
+ /// The event type, must be `conversation.item.truncated`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -82,10 +82,10 @@ public RealtimeBetaServerEventConversationItemTruncated(
global::tryAGI.OpenAI.RealtimeBetaServerEventConversationItemTruncatedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.ContentIndex = contentIndex;
this.AudioEndMs = audioEndMs;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventError.g.cs
index 3849df70..3652962c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventError.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventError.g.cs
@@ -43,12 +43,12 @@ public sealed partial class RealtimeBetaServerEventError
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `error`.
- ///
///
/// Details of the error.
///
+ ///
+ /// The event type, must be `error`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,8 +58,8 @@ public RealtimeBetaServerEventError(
global::tryAGI.OpenAI.RealtimeBetaServerEventErrorType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error));
this.Type = type;
+ this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventErrorError.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventErrorError.g.cs
index 485bdc91..ef708d51 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventErrorError.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventErrorError.g.cs
@@ -52,10 +52,10 @@ public sealed partial class RealtimeBetaServerEventErrorError
///
/// The type of error (e.g., "invalid_request_error", "server_error").
///
- ///
///
/// A human-readable error message.
///
+ ///
///
///
#if NET7_0_OR_GREATER
@@ -69,8 +69,8 @@ public RealtimeBetaServerEventErrorError(
string? eventId)
{
this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type));
- this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message));
this.Code = code;
+ this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message));
this.Param = param;
this.EventId = eventId;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferCommitted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferCommitted.g.cs
index 235e1ea1..8111cbf2 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferCommitted.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferCommitted.g.cs
@@ -50,13 +50,13 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferCommitted
///
/// The unique ID of the server event.
///
+ ///
+ /// The ID of the user message item that will be created.
+ ///
///
/// The event type, must be `input_audio_buffer.committed`.
///
///
- ///
- /// The ID of the user message item that will be created.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,9 +67,9 @@ public RealtimeBetaServerEventInputAudioBufferCommitted(
string? previousItemId)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.Type = type;
this.PreviousItemId = previousItemId;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStarted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStarted.g.cs
index c829ca85..ff478828 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStarted.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStarted.g.cs
@@ -59,9 +59,6 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferSpeechStarted
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `input_audio_buffer.speech_started`.
- ///
///
/// Milliseconds from the start of all audio written to the buffer during the
/// session when speech was first detected. This will correspond to the
@@ -71,6 +68,9 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferSpeechStarted
///
/// The ID of the user message item that will be created when speech stops.
///
+ ///
+ /// The event type, must be `input_audio_buffer.speech_started`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -81,9 +81,9 @@ public RealtimeBetaServerEventInputAudioBufferSpeechStarted(
global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStartedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.AudioStartMs = audioStartMs;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStopped.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStopped.g.cs
index 1bd91342..3666f4b6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStopped.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventInputAudioBufferSpeechStopped.g.cs
@@ -52,9 +52,6 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferSpeechStopped
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `input_audio_buffer.speech_stopped`.
- ///
///
/// Milliseconds since the session started when speech stopped. This will
/// correspond to the end of audio sent to the model, and thus includes the
@@ -63,6 +60,9 @@ public sealed partial class RealtimeBetaServerEventInputAudioBufferSpeechStopped
///
/// The ID of the user message item that will be created.
///
+ ///
+ /// The event type, must be `input_audio_buffer.speech_stopped`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -73,9 +73,9 @@ public RealtimeBetaServerEventInputAudioBufferSpeechStopped(
global::tryAGI.OpenAI.RealtimeBetaServerEventInputAudioBufferSpeechStoppedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.AudioEndMs = audioEndMs;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsCompleted.g.cs
index 6f452df1..c0f750aa 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsCompleted.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsCompleted.g.cs
@@ -41,12 +41,12 @@ public sealed partial class RealtimeBetaServerEventMCPListToolsCompleted
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `mcp_list_tools.completed`.
- ///
///
/// The ID of the MCP list tools item.
///
+ ///
+ /// The event type, must be `mcp_list_tools.completed`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,8 +56,8 @@ public RealtimeBetaServerEventMCPListToolsCompleted(
global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsCompletedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsFailed.g.cs
index 1c932ed8..f84c21e7 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsFailed.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsFailed.g.cs
@@ -41,12 +41,12 @@ public sealed partial class RealtimeBetaServerEventMCPListToolsFailed
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `mcp_list_tools.failed`.
- ///
///
/// The ID of the MCP list tools item.
///
+ ///
+ /// The event type, must be `mcp_list_tools.failed`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,8 +56,8 @@ public RealtimeBetaServerEventMCPListToolsFailed(
global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsFailedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsInProgress.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsInProgress.g.cs
index be81c970..f02ee927 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsInProgress.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventMCPListToolsInProgress.g.cs
@@ -41,12 +41,12 @@ public sealed partial class RealtimeBetaServerEventMCPListToolsInProgress
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `mcp_list_tools.in_progress`.
- ///
///
/// The ID of the MCP list tools item.
///
+ ///
+ /// The event type, must be `mcp_list_tools.in_progress`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -56,8 +56,8 @@ public RealtimeBetaServerEventMCPListToolsInProgress(
global::tryAGI.OpenAI.RealtimeBetaServerEventMCPListToolsInProgressType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventRateLimitsUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventRateLimitsUpdated.g.cs
index d011663b..d304bdee 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventRateLimitsUpdated.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventRateLimitsUpdated.g.cs
@@ -44,12 +44,12 @@ public sealed partial class RealtimeBetaServerEventRateLimitsUpdated
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `rate_limits.updated`.
- ///
///
/// List of rate limit information.
///
+ ///
+ /// The event type, must be `rate_limits.updated`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -59,8 +59,8 @@ public RealtimeBetaServerEventRateLimitsUpdated(
global::tryAGI.OpenAI.RealtimeBetaServerEventRateLimitsUpdatedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.RateLimits = rateLimits ?? throw new global::System.ArgumentNullException(nameof(rateLimits));
this.Type = type;
+ this.RateLimits = rateLimits ?? throw new global::System.ArgumentNullException(nameof(rateLimits));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDelta.g.cs
index 54d7de3a..c6225887 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDelta.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDelta.g.cs
@@ -69,9 +69,6 @@ public sealed partial class RealtimeBetaServerEventResponseAudioDelta
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.output_audio.delta`.
- ///
///
/// The ID of the response.
///
@@ -87,6 +84,9 @@ public sealed partial class RealtimeBetaServerEventResponseAudioDelta
///
/// Base64-encoded audio data delta.
///
+ ///
+ /// The event type, must be `response.output_audio.delta`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -100,12 +100,12 @@ public RealtimeBetaServerEventResponseAudioDelta(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDeltaType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.ContentIndex = contentIndex;
this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDone.g.cs
index 40804483..d7364c75 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDone.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioDone.g.cs
@@ -63,9 +63,6 @@ public sealed partial class RealtimeBetaServerEventResponseAudioDone
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.output_audio.done`.
- ///
///
/// The ID of the response.
///
@@ -78,6 +75,9 @@ public sealed partial class RealtimeBetaServerEventResponseAudioDone
///
/// The index of the content part in the item's content array.
///
+ ///
+ /// The event type, must be `response.output_audio.done`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -90,11 +90,11 @@ public RealtimeBetaServerEventResponseAudioDone(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioDoneType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.ContentIndex = contentIndex;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDelta.g.cs
index b06aa2f2..a88b885c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDelta.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDelta.g.cs
@@ -69,9 +69,6 @@ public sealed partial class RealtimeBetaServerEventResponseAudioTranscriptDelta
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.output_audio_transcript.delta`.
- ///
///
/// The ID of the response.
///
@@ -87,6 +84,9 @@ public sealed partial class RealtimeBetaServerEventResponseAudioTranscriptDelta
///
/// The transcript delta.
///
+ ///
+ /// The event type, must be `response.output_audio_transcript.delta`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -100,12 +100,12 @@ public RealtimeBetaServerEventResponseAudioTranscriptDelta(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDeltaType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.ContentIndex = contentIndex;
this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDone.g.cs
index b8f2e46e..9ae94e26 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDone.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseAudioTranscriptDone.g.cs
@@ -71,9 +71,6 @@ public sealed partial class RealtimeBetaServerEventResponseAudioTranscriptDone
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.output_audio_transcript.done`.
- ///
///
/// The ID of the response.
///
@@ -89,6 +86,9 @@ public sealed partial class RealtimeBetaServerEventResponseAudioTranscriptDone
///
/// The final transcript of the audio.
///
+ ///
+ /// The event type, must be `response.output_audio_transcript.done`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -102,12 +102,12 @@ public RealtimeBetaServerEventResponseAudioTranscriptDone(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseAudioTranscriptDoneType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.ContentIndex = contentIndex;
this.Transcript = transcript ?? throw new global::System.ArgumentNullException(nameof(transcript));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartAdded.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartAdded.g.cs
index 72382dec..b56c014a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartAdded.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartAdded.g.cs
@@ -70,9 +70,6 @@ public sealed partial class RealtimeBetaServerEventResponseContentPartAdded
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.content_part.added`.
- ///
///
/// The ID of the response.
///
@@ -88,6 +85,9 @@ public sealed partial class RealtimeBetaServerEventResponseContentPartAdded
///
/// The content part that was added.
///
+ ///
+ /// The event type, must be `response.content_part.added`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -101,12 +101,12 @@ public RealtimeBetaServerEventResponseContentPartAdded(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartAddedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.ContentIndex = contentIndex;
this.Part = part ?? throw new global::System.ArgumentNullException(nameof(part));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartDone.g.cs
index a60149d4..1852921e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartDone.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseContentPartDone.g.cs
@@ -70,9 +70,6 @@ public sealed partial class RealtimeBetaServerEventResponseContentPartDone
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.content_part.done`.
- ///
///
/// The ID of the response.
///
@@ -88,6 +85,9 @@ public sealed partial class RealtimeBetaServerEventResponseContentPartDone
///
/// The content part that is done.
///
+ ///
+ /// The event type, must be `response.content_part.done`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -101,12 +101,12 @@ public RealtimeBetaServerEventResponseContentPartDone(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseContentPartDoneType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.ContentIndex = contentIndex;
this.Part = part ?? throw new global::System.ArgumentNullException(nameof(part));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseCreated.g.cs
index 891396c8..a8941e5e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseCreated.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseCreated.g.cs
@@ -42,12 +42,12 @@ public sealed partial class RealtimeBetaServerEventResponseCreated
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.created`.
- ///
///
/// The response resource.
///
+ ///
+ /// The event type, must be `response.created`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -57,8 +57,8 @@ public RealtimeBetaServerEventResponseCreated(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseCreatedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response));
this.Type = type;
+ this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseDone.g.cs
index 9dc51679..5d71d8fa 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseDone.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseDone.g.cs
@@ -43,12 +43,12 @@ public sealed partial class RealtimeBetaServerEventResponseDone
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.done`.
- ///
///
/// The response resource.
///
+ ///
+ /// The event type, must be `response.done`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,8 +58,8 @@ public RealtimeBetaServerEventResponseDone(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseDoneType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response));
this.Type = type;
+ this.Response = response ?? throw new global::System.ArgumentNullException(nameof(response));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta.g.cs
index 86ec4784..5b44d902 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDelta.g.cs
@@ -69,9 +69,6 @@ public sealed partial class RealtimeBetaServerEventResponseFunctionCallArguments
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.function_call_arguments.delta`.
- ///
///
/// The ID of the response.
///
@@ -87,6 +84,9 @@ public sealed partial class RealtimeBetaServerEventResponseFunctionCallArguments
///
/// The arguments delta as a JSON string.
///
+ ///
+ /// The event type, must be `response.function_call_arguments.delta`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -100,12 +100,12 @@ public RealtimeBetaServerEventResponseFunctionCallArgumentsDelta(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDeltaType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDone.g.cs
index ca64595d..94128f36 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDone.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseFunctionCallArgumentsDone.g.cs
@@ -77,9 +77,6 @@ public sealed partial class RealtimeBetaServerEventResponseFunctionCallArguments
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.function_call_arguments.done`.
- ///
///
/// The ID of the response.
///
@@ -98,6 +95,9 @@ public sealed partial class RealtimeBetaServerEventResponseFunctionCallArguments
///
/// The final arguments as a JSON string.
///
+ ///
+ /// The event type, must be `response.function_call_arguments.done`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -112,13 +112,13 @@ public RealtimeBetaServerEventResponseFunctionCallArgumentsDone(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseFunctionCallArgumentsDoneType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.CallId = callId ?? throw new global::System.ArgumentNullException(nameof(callId));
this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name));
this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDelta.g.cs
index 6d6b3a00..5607b5a6 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDelta.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDelta.g.cs
@@ -68,9 +68,6 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallArgumentsDelta
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.mcp_call_arguments.delta`.
- ///
///
/// The ID of the response.
///
@@ -83,6 +80,9 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallArgumentsDelta
///
/// The JSON-encoded arguments delta.
///
+ ///
+ /// The event type, must be `response.mcp_call_arguments.delta`.
+ ///
///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
@@ -97,11 +97,11 @@ public RealtimeBetaServerEventResponseMCPCallArgumentsDelta(
string? obfuscation)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta));
- this.Type = type;
this.Obfuscation = obfuscation;
}
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDone.g.cs
index db5a5792..626aaf0a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDone.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallArgumentsDone.g.cs
@@ -62,9 +62,6 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallArgumentsDone
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.mcp_call_arguments.done`.
- ///
///
/// The ID of the response.
///
@@ -77,6 +74,9 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallArgumentsDone
///
/// The final JSON-encoded arguments string.
///
+ ///
+ /// The event type, must be `response.mcp_call_arguments.done`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -89,11 +89,11 @@ public RealtimeBetaServerEventResponseMCPCallArgumentsDone(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallArgumentsDoneType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.Arguments = arguments ?? throw new global::System.ArgumentNullException(nameof(arguments));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallCompleted.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallCompleted.g.cs
index e6e566e8..1cb0a05f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallCompleted.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallCompleted.g.cs
@@ -48,15 +48,15 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallCompleted
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.mcp_call.completed`.
- ///
///
/// The index of the output item in the response.
///
///
/// The ID of the MCP tool call item.
///
+ ///
+ /// The event type, must be `response.mcp_call.completed`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,9 +67,9 @@ public RealtimeBetaServerEventResponseMCPCallCompleted(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallCompletedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.OutputIndex = outputIndex;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallFailed.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallFailed.g.cs
index 640f8949..20fe7aed 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallFailed.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallFailed.g.cs
@@ -48,15 +48,15 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallFailed
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.mcp_call.failed`.
- ///
///
/// The index of the output item in the response.
///
///
/// The ID of the MCP tool call item.
///
+ ///
+ /// The event type, must be `response.mcp_call.failed`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,9 +67,9 @@ public RealtimeBetaServerEventResponseMCPCallFailed(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallFailedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.OutputIndex = outputIndex;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallInProgress.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallInProgress.g.cs
index 2ca88c7b..b6b4b8b5 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallInProgress.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseMCPCallInProgress.g.cs
@@ -48,15 +48,15 @@ public sealed partial class RealtimeBetaServerEventResponseMCPCallInProgress
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.mcp_call.in_progress`.
- ///
///
/// The index of the output item in the response.
///
///
/// The ID of the MCP tool call item.
///
+ ///
+ /// The event type, must be `response.mcp_call.in_progress`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -67,9 +67,9 @@ public RealtimeBetaServerEventResponseMCPCallInProgress(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseMCPCallInProgressType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.OutputIndex = outputIndex;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemAdded.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemAdded.g.cs
index e3025496..f37699f5 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemAdded.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemAdded.g.cs
@@ -56,9 +56,6 @@ public sealed partial class RealtimeBetaServerEventResponseOutputItemAdded
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.output_item.added`.
- ///
///
/// The ID of the Response to which the item belongs.
///
@@ -68,6 +65,9 @@ public sealed partial class RealtimeBetaServerEventResponseOutputItemAdded
///
/// A single item within a Realtime conversation.
///
+ ///
+ /// The event type, must be `response.output_item.added`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -79,10 +79,10 @@ public RealtimeBetaServerEventResponseOutputItemAdded(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemAddedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.OutputIndex = outputIndex;
this.Item = item;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemDone.g.cs
index fb80c6f1..8cd49587 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemDone.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseOutputItemDone.g.cs
@@ -57,9 +57,6 @@ public sealed partial class RealtimeBetaServerEventResponseOutputItemDone
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.output_item.done`.
- ///
///
/// The ID of the Response to which the item belongs.
///
@@ -69,6 +66,9 @@ public sealed partial class RealtimeBetaServerEventResponseOutputItemDone
///
/// A single item within a Realtime conversation.
///
+ ///
+ /// The event type, must be `response.output_item.done`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -80,10 +80,10 @@ public RealtimeBetaServerEventResponseOutputItemDone(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseOutputItemDoneType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.OutputIndex = outputIndex;
this.Item = item;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDelta.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDelta.g.cs
index bdaf0adb..f1008a8e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDelta.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDelta.g.cs
@@ -69,9 +69,6 @@ public sealed partial class RealtimeBetaServerEventResponseTextDelta
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.output_text.delta`.
- ///
///
/// The ID of the response.
///
@@ -87,6 +84,9 @@ public sealed partial class RealtimeBetaServerEventResponseTextDelta
///
/// The text delta.
///
+ ///
+ /// The event type, must be `response.output_text.delta`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -100,12 +100,12 @@ public RealtimeBetaServerEventResponseTextDelta(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDeltaType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.ContentIndex = contentIndex;
this.Delta = delta ?? throw new global::System.ArgumentNullException(nameof(delta));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDone.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDone.g.cs
index b33fa898..b5bef1c0 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDone.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventResponseTextDone.g.cs
@@ -70,9 +70,6 @@ public sealed partial class RealtimeBetaServerEventResponseTextDone
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `response.output_text.done`.
- ///
///
/// The ID of the response.
///
@@ -88,6 +85,9 @@ public sealed partial class RealtimeBetaServerEventResponseTextDone
///
/// The final text content.
///
+ ///
+ /// The event type, must be `response.output_text.done`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -101,12 +101,12 @@ public RealtimeBetaServerEventResponseTextDone(
global::tryAGI.OpenAI.RealtimeBetaServerEventResponseTextDoneType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
+ this.Type = type;
this.ResponseId = responseId ?? throw new global::System.ArgumentNullException(nameof(responseId));
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.OutputIndex = outputIndex;
this.ContentIndex = contentIndex;
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionCreated.g.cs
index 9d753c9b..21d2cc09 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionCreated.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionCreated.g.cs
@@ -43,12 +43,12 @@ public sealed partial class RealtimeBetaServerEventSessionCreated
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `session.created`.
- ///
///
/// Realtime session object for the beta interface.
///
+ ///
+ /// The event type, must be `session.created`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -58,8 +58,8 @@ public RealtimeBetaServerEventSessionCreated(
global::tryAGI.OpenAI.RealtimeBetaServerEventSessionCreatedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
this.Type = type;
+ this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionUpdated.g.cs
index 58fc4972..e7b1f56d 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionUpdated.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventSessionUpdated.g.cs
@@ -42,12 +42,12 @@ public sealed partial class RealtimeBetaServerEventSessionUpdated
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `session.updated`.
- ///
///
/// Realtime session object for the beta interface.
///
+ ///
+ /// The event type, must be `session.updated`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -57,8 +57,8 @@ public RealtimeBetaServerEventSessionUpdated(
global::tryAGI.OpenAI.RealtimeBetaServerEventSessionUpdatedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
this.Type = type;
+ this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionCreated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionCreated.g.cs
index 71c913e9..a3abbd1f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionCreated.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionCreated.g.cs
@@ -44,15 +44,15 @@ public sealed partial class RealtimeBetaServerEventTranscriptionSessionCreated
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `transcription_session.created`.
- ///
///
/// A new Realtime transcription session configuration.
/// When a session is created on the server via REST API, the session object
/// also contains an ephemeral key. Default TTL for keys is 10 minutes. This
/// property is not present when a session is updated via the WebSocket API.
///
+ ///
+ /// The event type, must be `transcription_session.created`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -62,8 +62,8 @@ public RealtimeBetaServerEventTranscriptionSessionCreated(
global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionCreatedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
this.Type = type;
+ this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionUpdated.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionUpdated.g.cs
index bb8dbe90..c0ac325f 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionUpdated.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeBetaServerEventTranscriptionSessionUpdated.g.cs
@@ -45,15 +45,15 @@ public sealed partial class RealtimeBetaServerEventTranscriptionSessionUpdated
///
/// The unique ID of the server event.
///
- ///
- /// The event type, must be `transcription_session.updated`.
- ///
///
/// A new Realtime transcription session configuration.
/// When a session is created on the server via REST API, the session object
/// also contains an ephemeral key. Default TTL for keys is 10 minutes. This
/// property is not present when a session is updated via the WebSocket API.
///
+ ///
+ /// The event type, must be `transcription_session.updated`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -63,8 +63,8 @@ public RealtimeBetaServerEventTranscriptionSessionUpdated(
global::tryAGI.OpenAI.RealtimeBetaServerEventTranscriptionSessionUpdatedType type)
{
this.EventId = eventId ?? throw new global::System.ArgumentNullException(nameof(eventId));
- this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
this.Type = type;
+ this.Session = session ?? throw new global::System.ArgumentNullException(nameof(session));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemCreate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemCreate.g.cs
index 6e72a8dc..fb85f55e 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemCreate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemCreate.g.cs
@@ -51,6 +51,9 @@ public sealed partial class RealtimeClientEventConversationItemCreate
///
/// Initializes a new instance of the class.
///
+ ///
+ /// A single item within a Realtime conversation.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
@@ -62,9 +65,6 @@ public sealed partial class RealtimeClientEventConversationItemCreate
/// If set to `root`, the new item will be added to the beginning of the conversation.
/// If set to an existing ID, it allows an item to be inserted mid-conversation. If the ID cannot be found, an error will be returned and the item will not be added.
///
- ///
- /// A single item within a Realtime conversation.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -74,10 +74,10 @@ public RealtimeClientEventConversationItemCreate(
global::tryAGI.OpenAI.RealtimeClientEventConversationItemCreateType type,
string? previousItemId)
{
- this.Item = item;
this.EventId = eventId;
this.Type = type;
this.PreviousItemId = previousItemId;
+ this.Item = item;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemDelete.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemDelete.g.cs
index 885b593b..04a2ef9a 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemDelete.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemDelete.g.cs
@@ -40,15 +40,15 @@ public sealed partial class RealtimeClientEventConversationItemDelete
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The ID of the item to delete.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
///
/// The event type, must be `conversation.item.delete`.
///
- ///
- /// The ID of the item to delete.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -57,9 +57,9 @@ public RealtimeClientEventConversationItemDelete(
string? eventId,
global::tryAGI.OpenAI.RealtimeClientEventConversationItemDeleteType type)
{
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.EventId = eventId;
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemRetrieve.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemRetrieve.g.cs
index 0ea3f4d6..cf4c4612 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemRetrieve.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventConversationItemRetrieve.g.cs
@@ -40,15 +40,15 @@ public sealed partial class RealtimeClientEventConversationItemRetrieve
///
/// Initializes a new instance of the class.
///
+ ///
+ /// The ID of the item to retrieve.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
///
/// The event type, must be `conversation.item.retrieve`.
///
- ///
- /// The ID of the item to retrieve.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -57,9 +57,9 @@ public RealtimeClientEventConversationItemRetrieve(
string? eventId,
global::tryAGI.OpenAI.RealtimeClientEventConversationItemRetrieveType type)
{
- this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.EventId = eventId;
this.Type = type;
+ this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
}
///
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 9f88497d..41ec5ebf 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
@@ -62,12 +62,6 @@ public sealed partial class RealtimeClientEventConversationItemTruncate
///
/// Initializes a new instance of the class.
///
- ///
- /// Optional client-generated ID used to identify this event.
- ///
- ///
- /// The event type, must be `conversation.item.truncate`.
- ///
///
/// The ID of the assistant message item to truncate. Only assistant message
/// items can be truncated.
@@ -80,6 +74,12 @@ public sealed partial class RealtimeClientEventConversationItemTruncate
/// the audio_end_ms is greater than the actual audio duration, the server
/// will respond with an error.
///
+ ///
+ /// Optional client-generated ID used to identify this event.
+ ///
+ ///
+ /// The event type, must be `conversation.item.truncate`.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -90,11 +90,11 @@ public RealtimeClientEventConversationItemTruncate(
string? eventId,
global::tryAGI.OpenAI.RealtimeClientEventConversationItemTruncateType type)
{
+ this.EventId = eventId;
+ this.Type = type;
this.ItemId = itemId ?? throw new global::System.ArgumentNullException(nameof(itemId));
this.ContentIndex = contentIndex;
this.AudioEndMs = audioEndMs;
- this.EventId = eventId;
- this.Type = type;
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventInputAudioBufferAppend.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventInputAudioBufferAppend.g.cs
index 9dfa4c57..9288708c 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventInputAudioBufferAppend.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventInputAudioBufferAppend.g.cs
@@ -48,16 +48,16 @@ public sealed partial class RealtimeClientEventInputAudioBufferAppend
///
/// Initializes a new instance of the class.
///
+ ///
+ /// Base64-encoded audio bytes. This must be in the format specified by the
+ /// `input_audio_format` field in the session configuration.
+ ///
///
/// Optional client-generated ID used to identify this event.
///
///
/// The event type, must be `input_audio_buffer.append`.
///
- ///
- /// Base64-encoded audio bytes. This must be in the format specified by the
- /// `input_audio_format` field in the session configuration.
- ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
@@ -66,9 +66,9 @@ public RealtimeClientEventInputAudioBufferAppend(
string? eventId,
global::tryAGI.OpenAI.RealtimeClientEventInputAudioBufferAppendType type)
{
- this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio));
this.EventId = eventId;
this.Type = type;
+ this.Audio = audio ?? throw new global::System.ArgumentNullException(nameof(audio));
}
///
diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventSessionUpdate.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventSessionUpdate.g.cs
index e495b798..4d46b2eb 100644
--- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventSessionUpdate.g.cs
+++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.Models.RealtimeClientEventSessionUpdate.g.cs
@@ -46,16 +46,16 @@ public sealed partial class RealtimeClientEventSessionUpdate
///
/// Initializes a new instance of the