Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
854 changes: 427 additions & 427 deletions src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,11 @@ partial void ProcessCreateAssistantResponseContent(
/// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.
/// </param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="temperature">
/// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.<br/>
Expand All @@ -205,7 +209,7 @@ partial void ProcessCreateAssistantResponseContent(
string? instructions = default,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem2>? tools = default,
global::tryAGI.OpenAI.CreateAssistantRequestToolResources? toolResources = default,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
double? temperature = default,
double? topP = default,
global::tryAGI.OpenAI.AllOf<global::tryAGI.OpenAI.AssistantsApiResponseFormatOption?, object>? responseFormat = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ partial void ProcessCreateMessageResponseContent(
/// A list of files attached to the message, and the tools they should be added to.
/// </param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand All @@ -188,7 +192,7 @@ partial void ProcessCreateMessageResponseContent(
global::tryAGI.OpenAI.CreateMessageRequestRole role,
global::tryAGI.OpenAI.OneOf<string, global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ContentVariant2Item>> content,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.CreateMessageRequestAttachment>? attachments = default,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::tryAGI.OpenAI.CreateMessageRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,11 @@ partial void ProcessCreateRunResponseContent(
/// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis.
/// </param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="temperature">
/// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.<br/>
Expand Down Expand Up @@ -235,7 +239,7 @@ partial void ProcessCreateRunResponseContent(
string? additionalInstructions = default,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.CreateMessageRequest>? additionalMessages = default,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem4>? tools = default,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
double? temperature = default,
double? topP = default,
bool? stream = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,19 @@ partial void ProcessCreateThreadResponseContent(
/// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.
/// </param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ThreadObject> CreateThreadAsync(
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.CreateMessageRequest>? messages = default,
global::tryAGI.OpenAI.CreateThreadRequestToolResources? toolResources = default,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::tryAGI.OpenAI.CreateThreadRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ partial void ProcessCreateThreadAndRunResponseContent(
/// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.
/// </param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="temperature">
/// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.<br/>
Expand Down Expand Up @@ -220,7 +224,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
string? instructions = default,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem5>? tools = default,
global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? toolResources = default,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
double? temperature = default,
double? topP = default,
bool? stream = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,11 @@ partial void ProcessModifyAssistantResponseContent(
/// A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.
/// </param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="temperature">
/// What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.<br/>
Expand All @@ -212,7 +216,7 @@ partial void ProcessModifyAssistantResponseContent(
string? instructions = default,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem7>? tools = default,
global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? toolResources = default,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
double? temperature = default,
double? topP = default,
global::tryAGI.OpenAI.AllOf<global::tryAGI.OpenAI.AssistantsApiResponseFormatOption?, object>? responseFormat = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,19 @@ partial void ProcessModifyMessageResponseContent(
/// <param name="threadId"></param>
/// <param name="messageId"></param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.MessageObject> ModifyMessageAsync(
string threadId,
string messageId,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::tryAGI.OpenAI.ModifyMessageRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,19 @@ partial void ProcessModifyRunResponseContent(
/// <param name="threadId"></param>
/// <param name="runId"></param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.RunObject> ModifyRunAsync(
string threadId,
string runId,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::tryAGI.OpenAI.ModifyRunRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,19 @@ partial void ProcessModifyThreadResponseContent(
/// A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.
/// </param>
/// <param name="metadata">
/// Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ThreadObject> ModifyThreadAsync(
string threadId,
global::tryAGI.OpenAI.ModifyThreadRequestToolResources? toolResources = default,
object? metadata = default,
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::tryAGI.OpenAI.ModifyThreadRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ partial void ProcessCreateTranscriptionResponseContent(
/// Example: whisper-1
/// </param>
/// <param name="language">
/// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.
/// The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format will improve accuracy and latency.
/// </param>
/// <param name="prompt">
/// An optional text to guide the model's style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text#prompting) should match the audio language.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ partial void ProcessCreateBatchResponseContent(
/// The time frame within which the batch should be processed. Currently only `24h` is supported.
/// </param>
/// <param name="metadata">
/// Optional custom metadata for the batch.
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
/// useful for storing additional information about the object in a structured<br/>
/// format, and querying for objects via API or the dashboard. <br/>
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
/// with a maximum length of 512 characters.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand Down
Loading