diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs index 8ea0858e..942bcc7a 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.IOpenAiClient.g.cs @@ -51,39 +51,44 @@ public partial interface IOpenAiClient : global::System.IDisposable public AudioClient Audio { get; } /// - /// Given a list of messages comprising a conversation, the model will return a response. + /// List user actions and configuration changes within this organization. /// - public ChatClient Chat { get; } + public AuditLogsClient AuditLogs { get; } /// - /// Manage conversations and conversation items. + /// Create large batches of API requests to run asynchronously. /// - public ConversationsClient Conversations { get; } + public BatchClient Batch { get; } /// - /// Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. + /// /// - public CompletionsClient Completions { get; } + public CertificatesClient Certificates { get; } /// - /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. + /// Given a list of messages comprising a conversation, the model will return a response. /// - public EmbeddingsClient Embeddings { get; } + public ChatClient Chat { get; } /// - /// Manage and run evals in the OpenAI platform. + /// Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. /// - public EvalsClient Evals { get; } + public CompletionsClient Completions { get; } /// - /// Manage fine-tuning jobs to tailor a model to your specific training data. + /// Manage conversations and conversation items. /// - public FineTuningClient FineTuning { get; } + public ConversationsClient Conversations { get; } /// - /// Create large batches of API requests to run asynchronously. + /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. /// - public BatchClient Batch { get; } + public EmbeddingsClient Embeddings { get; } + + /// + /// Manage and run evals in the OpenAI platform. + /// + public EvalsClient Evals { get; } /// /// Files are used to upload documents that can be used with features like Assistants and Fine-tuning. @@ -91,59 +96,59 @@ public partial interface IOpenAiClient : global::System.IDisposable public FilesClient Files { get; } /// - /// Use Uploads to upload large files in multiple parts. + /// Manage fine-tuning jobs to tailor a model to your specific training data. /// - public UploadsClient Uploads { get; } + public FineTuningClient FineTuning { get; } /// - /// Given a prompt and/or an input image, the model will generate a new image. + /// /// - public ImagesClient Images { get; } + public GroupOrganizationRoleAssignmentsClient GroupOrganizationRoleAssignments { get; } /// - /// List and describe the various models available in the API. + /// /// - public ModelsClient Models { get; } + public GroupUsersClient GroupUsers { get; } /// - /// Given text and/or image inputs, classifies if those inputs are potentially harmful. + /// /// - public ModerationsClient Moderations { get; } + public GroupsClient Groups { get; } /// - /// List user actions and configuration changes within this organization. + /// Given a prompt and/or an input image, the model will generate a new image. /// - public AuditLogsClient AuditLogs { get; } + public ImagesClient Images { get; } /// /// /// - public CertificatesClient Certificates { get; } + public InvitesClient Invites { get; } /// - /// + /// List and describe the various models available in the API. /// - public UsageClient Usage { get; } + public ModelsClient Models { get; } /// - /// + /// Given text and/or image inputs, classifies if those inputs are potentially harmful. /// - public GroupsClient Groups { get; } + public ModerationsClient Moderations { get; } /// /// /// - public GroupOrganizationRoleAssignmentsClient GroupOrganizationRoleAssignments { get; } + public ProjectGroupRoleAssignmentsClient ProjectGroupRoleAssignments { get; } /// /// /// - public GroupUsersClient GroupUsers { get; } + public ProjectGroupsClient ProjectGroups { get; } /// /// /// - public InvitesClient Invites { get; } + public ProjectUserRoleAssignmentsClient ProjectUserRoleAssignments { get; } /// /// @@ -153,42 +158,42 @@ public partial interface IOpenAiClient : global::System.IDisposable /// /// /// - public ProjectGroupsClient ProjectGroups { get; } + public RealtimeClient Realtime { get; } /// /// /// - public RolesClient Roles { get; } + public ResponsesClient Responses { get; } /// /// /// - public UsersClient Users { get; } + public RolesClient Roles { get; } /// /// /// - public UserOrganizationRoleAssignmentsClient UserOrganizationRoleAssignments { get; } + public SkillsClient Skills { get; } /// - /// + /// Use Uploads to upload large files in multiple parts. /// - public ProjectGroupRoleAssignmentsClient ProjectGroupRoleAssignments { get; } + public UploadsClient Uploads { get; } /// /// /// - public ProjectUserRoleAssignmentsClient ProjectUserRoleAssignments { get; } + public UsageClient Usage { get; } /// /// /// - public RealtimeClient Realtime { get; } + public UserOrganizationRoleAssignmentsClient UserOrganizationRoleAssignments { get; } /// /// /// - public ResponsesClient Responses { get; } + public UsersClient Users { get; } /// /// @@ -200,10 +205,5 @@ public partial interface IOpenAiClient : global::System.IDisposable /// public VideosClient Videos { get; } - /// - /// - /// - public SkillsClient Skills { get; } - } } \ No newline at end of file diff --git a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs index fbf1367f..8a6a2801 100644 --- a/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs +++ b/src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.OpenAiClient.g.cs @@ -56,126 +56,126 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, }; /// - /// Given a list of messages comprising a conversation, the model will return a response. + /// List user actions and configuration changes within this organization. /// - public ChatClient Chat => new ChatClient(HttpClient, authorizations: Authorizations) + public AuditLogsClient AuditLogs => new AuditLogsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Manage conversations and conversation items. + /// Create large batches of API requests to run asynchronously. /// - public ConversationsClient Conversations => new ConversationsClient(HttpClient, authorizations: Authorizations) + public BatchClient Batch => new BatchClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. + /// /// - public CompletionsClient Completions => new CompletionsClient(HttpClient, authorizations: Authorizations) + public CertificatesClient Certificates => new CertificatesClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. + /// Given a list of messages comprising a conversation, the model will return a response. /// - public EmbeddingsClient Embeddings => new EmbeddingsClient(HttpClient, authorizations: Authorizations) + public ChatClient Chat => new ChatClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Manage and run evals in the OpenAI platform. + /// Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. /// - public EvalsClient Evals => new EvalsClient(HttpClient, authorizations: Authorizations) + public CompletionsClient Completions => new CompletionsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Manage fine-tuning jobs to tailor a model to your specific training data. + /// Manage conversations and conversation items. /// - public FineTuningClient FineTuning => new FineTuningClient(HttpClient, authorizations: Authorizations) + public ConversationsClient Conversations => new ConversationsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Create large batches of API requests to run asynchronously. + /// Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. /// - public BatchClient Batch => new BatchClient(HttpClient, authorizations: Authorizations) + public EmbeddingsClient Embeddings => new EmbeddingsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Files are used to upload documents that can be used with features like Assistants and Fine-tuning. + /// Manage and run evals in the OpenAI platform. /// - public FilesClient Files => new FilesClient(HttpClient, authorizations: Authorizations) + public EvalsClient Evals => new EvalsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Use Uploads to upload large files in multiple parts. + /// Files are used to upload documents that can be used with features like Assistants and Fine-tuning. /// - public UploadsClient Uploads => new UploadsClient(HttpClient, authorizations: Authorizations) + public FilesClient Files => new FilesClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Given a prompt and/or an input image, the model will generate a new image. + /// Manage fine-tuning jobs to tailor a model to your specific training data. /// - public ImagesClient Images => new ImagesClient(HttpClient, authorizations: Authorizations) + public FineTuningClient FineTuning => new FineTuningClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// List and describe the various models available in the API. + /// /// - public ModelsClient Models => new ModelsClient(HttpClient, authorizations: Authorizations) + public GroupOrganizationRoleAssignmentsClient GroupOrganizationRoleAssignments => new GroupOrganizationRoleAssignmentsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// Given text and/or image inputs, classifies if those inputs are potentially harmful. + /// /// - public ModerationsClient Moderations => new ModerationsClient(HttpClient, authorizations: Authorizations) + public GroupUsersClient GroupUsers => new GroupUsersClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// List user actions and configuration changes within this organization. + /// /// - public AuditLogsClient AuditLogs => new AuditLogsClient(HttpClient, authorizations: Authorizations) + public GroupsClient Groups => new GroupsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// + /// Given a prompt and/or an input image, the model will generate a new image. /// - public CertificatesClient Certificates => new CertificatesClient(HttpClient, authorizations: Authorizations) + public ImagesClient Images => new ImagesClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -184,25 +184,25 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public UsageClient Usage => new UsageClient(HttpClient, authorizations: Authorizations) + public InvitesClient Invites => new InvitesClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// + /// List and describe the various models available in the API. /// - public GroupsClient Groups => new GroupsClient(HttpClient, authorizations: Authorizations) + public ModelsClient Models => new ModelsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// + /// Given text and/or image inputs, classifies if those inputs are potentially harmful. /// - public GroupOrganizationRoleAssignmentsClient GroupOrganizationRoleAssignments => new GroupOrganizationRoleAssignmentsClient(HttpClient, authorizations: Authorizations) + public ModerationsClient Moderations => new ModerationsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -211,7 +211,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public GroupUsersClient GroupUsers => new GroupUsersClient(HttpClient, authorizations: Authorizations) + public ProjectGroupRoleAssignmentsClient ProjectGroupRoleAssignments => new ProjectGroupRoleAssignmentsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -220,7 +220,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public InvitesClient Invites => new InvitesClient(HttpClient, authorizations: Authorizations) + public ProjectGroupsClient ProjectGroups => new ProjectGroupsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -229,7 +229,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public ProjectsClient Projects => new ProjectsClient(HttpClient, authorizations: Authorizations) + public ProjectUserRoleAssignmentsClient ProjectUserRoleAssignments => new ProjectUserRoleAssignmentsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -238,7 +238,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public ProjectGroupsClient ProjectGroups => new ProjectGroupsClient(HttpClient, authorizations: Authorizations) + public ProjectsClient Projects => new ProjectsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -247,7 +247,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public RolesClient Roles => new RolesClient(HttpClient, authorizations: Authorizations) + public RealtimeClient Realtime => new RealtimeClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -256,7 +256,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public UsersClient Users => new UsersClient(HttpClient, authorizations: Authorizations) + public ResponsesClient Responses => new ResponsesClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -265,7 +265,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public UserOrganizationRoleAssignmentsClient UserOrganizationRoleAssignments => new UserOrganizationRoleAssignmentsClient(HttpClient, authorizations: Authorizations) + public RolesClient Roles => new RolesClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -274,16 +274,16 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public ProjectGroupRoleAssignmentsClient ProjectGroupRoleAssignments => new ProjectGroupRoleAssignmentsClient(HttpClient, authorizations: Authorizations) + public SkillsClient Skills => new SkillsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, }; /// - /// + /// Use Uploads to upload large files in multiple parts. /// - public ProjectUserRoleAssignmentsClient ProjectUserRoleAssignments => new ProjectUserRoleAssignmentsClient(HttpClient, authorizations: Authorizations) + public UploadsClient Uploads => new UploadsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -292,7 +292,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public RealtimeClient Realtime => new RealtimeClient(HttpClient, authorizations: Authorizations) + public UsageClient Usage => new UsageClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -301,7 +301,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public ResponsesClient Responses => new ResponsesClient(HttpClient, authorizations: Authorizations) + public UserOrganizationRoleAssignmentsClient UserOrganizationRoleAssignments => new UserOrganizationRoleAssignmentsClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -310,7 +310,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public VectorStoresClient VectorStores => new VectorStoresClient(HttpClient, authorizations: Authorizations) + public UsersClient Users => new UsersClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -319,7 +319,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public VideosClient Videos => new VideosClient(HttpClient, authorizations: Authorizations) + public VectorStoresClient VectorStores => new VectorStoresClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext, @@ -328,7 +328,7 @@ public sealed partial class OpenAiClient : global::tryAGI.OpenAI.IOpenAiClient, /// /// /// - public SkillsClient Skills => new SkillsClient(HttpClient, authorizations: Authorizations) + public VideosClient Videos => new VideosClient(HttpClient, authorizations: Authorizations) { ReadResponseAsString = ReadResponseAsString, JsonSerializerContext = JsonSerializerContext,