Skip to content

Commit 9068b34

Browse files
github-actions[bot]HavenDV
authored andcommitted
feat: Updated OpenAPI spec
1 parent ab97990 commit 9068b34

File tree

110 files changed

+1001
-3151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+1001
-3151
lines changed

src/libs/tryAGI.OpenAI/Generated/JsonSerializerContextTypes.g.cs

Lines changed: 427 additions & 427 deletions
Large diffs are not rendered by default.

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateAssistant.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,11 @@ partial void ProcessCreateAssistantResponseContent(
181181
/// 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.
182182
/// </param>
183183
/// <param name="metadata">
184-
/// 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.
184+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
185+
/// useful for storing additional information about the object in a structured<br/>
186+
/// format, and querying for objects via API or the dashboard. <br/>
187+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
188+
/// with a maximum length of 512 characters.
185189
/// </param>
186190
/// <param name="temperature">
187191
/// 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/>
@@ -205,7 +209,7 @@ partial void ProcessCreateAssistantResponseContent(
205209
string? instructions = default,
206210
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem2>? tools = default,
207211
global::tryAGI.OpenAI.CreateAssistantRequestToolResources? toolResources = default,
208-
object? metadata = default,
212+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
209213
double? temperature = default,
210214
double? topP = default,
211215
global::tryAGI.OpenAI.AllOf<global::tryAGI.OpenAI.AssistantsApiResponseFormatOption?, object>? responseFormat = default,

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateMessage.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,11 @@ partial void ProcessCreateMessageResponseContent(
178178
/// A list of files attached to the message, and the tools they should be added to.
179179
/// </param>
180180
/// <param name="metadata">
181-
/// 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.
181+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
182+
/// useful for storing additional information about the object in a structured<br/>
183+
/// format, and querying for objects via API or the dashboard. <br/>
184+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
185+
/// with a maximum length of 512 characters.
182186
/// </param>
183187
/// <param name="cancellationToken">The token to cancel the operation with</param>
184188
/// <exception cref="global::System.InvalidOperationException"></exception>
@@ -188,7 +192,7 @@ partial void ProcessCreateMessageResponseContent(
188192
global::tryAGI.OpenAI.CreateMessageRequestRole role,
189193
global::tryAGI.OpenAI.OneOf<string, global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ContentVariant2Item>> content,
190194
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.CreateMessageRequestAttachment>? attachments = default,
191-
object? metadata = default,
195+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
192196
global::System.Threading.CancellationToken cancellationToken = default)
193197
{
194198
var __request = new global::tryAGI.OpenAI.CreateMessageRequest

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateRun.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,11 @@ partial void ProcessCreateRunResponseContent(
195195
/// Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis.
196196
/// </param>
197197
/// <param name="metadata">
198-
/// 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.
198+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
199+
/// useful for storing additional information about the object in a structured<br/>
200+
/// format, and querying for objects via API or the dashboard. <br/>
201+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
202+
/// with a maximum length of 512 characters.
199203
/// </param>
200204
/// <param name="temperature">
201205
/// 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/>
@@ -235,7 +239,7 @@ partial void ProcessCreateRunResponseContent(
235239
string? additionalInstructions = default,
236240
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.CreateMessageRequest>? additionalMessages = default,
237241
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem4>? tools = default,
238-
object? metadata = default,
242+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
239243
double? temperature = default,
240244
double? topP = default,
241245
bool? stream = default,

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThread.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,15 +168,19 @@ partial void ProcessCreateThreadResponseContent(
168168
/// 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.
169169
/// </param>
170170
/// <param name="metadata">
171-
/// 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.
171+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
172+
/// useful for storing additional information about the object in a structured<br/>
173+
/// format, and querying for objects via API or the dashboard. <br/>
174+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
175+
/// with a maximum length of 512 characters.
172176
/// </param>
173177
/// <param name="cancellationToken">The token to cancel the operation with</param>
174178
/// <exception cref="global::System.InvalidOperationException"></exception>
175179
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")]
176180
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ThreadObject> CreateThreadAsync(
177181
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.CreateMessageRequest>? messages = default,
178182
global::tryAGI.OpenAI.CreateThreadRequestToolResources? toolResources = default,
179-
object? metadata = default,
183+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
180184
global::System.Threading.CancellationToken cancellationToken = default)
181185
{
182186
var __request = new global::tryAGI.OpenAI.CreateThreadRequest

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.CreateThreadAndRun.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,11 @@ partial void ProcessCreateThreadAndRunResponseContent(
182182
/// 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.
183183
/// </param>
184184
/// <param name="metadata">
185-
/// 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.
185+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
186+
/// useful for storing additional information about the object in a structured<br/>
187+
/// format, and querying for objects via API or the dashboard. <br/>
188+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
189+
/// with a maximum length of 512 characters.
186190
/// </param>
187191
/// <param name="temperature">
188192
/// 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/>
@@ -220,7 +224,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
220224
string? instructions = default,
221225
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem5>? tools = default,
222226
global::tryAGI.OpenAI.CreateThreadAndRunRequestToolResources? toolResources = default,
223-
object? metadata = default,
227+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
224228
double? temperature = default,
225229
double? topP = default,
226230
bool? stream = default,

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyAssistant.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,11 @@ partial void ProcessModifyAssistantResponseContent(
187187
/// 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.
188188
/// </param>
189189
/// <param name="metadata">
190-
/// 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.
190+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
191+
/// useful for storing additional information about the object in a structured<br/>
192+
/// format, and querying for objects via API or the dashboard. <br/>
193+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
194+
/// with a maximum length of 512 characters.
191195
/// </param>
192196
/// <param name="temperature">
193197
/// 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/>
@@ -212,7 +216,7 @@ partial void ProcessModifyAssistantResponseContent(
212216
string? instructions = default,
213217
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem7>? tools = default,
214218
global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? toolResources = default,
215-
object? metadata = default,
219+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
216220
double? temperature = default,
217221
double? topP = default,
218222
global::tryAGI.OpenAI.AllOf<global::tryAGI.OpenAI.AssistantsApiResponseFormatOption?, object>? responseFormat = default,

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyMessage.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,19 @@ partial void ProcessModifyMessageResponseContent(
176176
/// <param name="threadId"></param>
177177
/// <param name="messageId"></param>
178178
/// <param name="metadata">
179-
/// 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.
179+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
180+
/// useful for storing additional information about the object in a structured<br/>
181+
/// format, and querying for objects via API or the dashboard. <br/>
182+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
183+
/// with a maximum length of 512 characters.
180184
/// </param>
181185
/// <param name="cancellationToken">The token to cancel the operation with</param>
182186
/// <exception cref="global::System.InvalidOperationException"></exception>
183187
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")]
184188
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.MessageObject> ModifyMessageAsync(
185189
string threadId,
186190
string messageId,
187-
object? metadata = default,
191+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
188192
global::System.Threading.CancellationToken cancellationToken = default)
189193
{
190194
var __request = new global::tryAGI.OpenAI.ModifyMessageRequest

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyRun.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,19 @@ partial void ProcessModifyRunResponseContent(
176176
/// <param name="threadId"></param>
177177
/// <param name="runId"></param>
178178
/// <param name="metadata">
179-
/// 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.
179+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
180+
/// useful for storing additional information about the object in a structured<br/>
181+
/// format, and querying for objects via API or the dashboard. <br/>
182+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
183+
/// with a maximum length of 512 characters.
180184
/// </param>
181185
/// <param name="cancellationToken">The token to cancel the operation with</param>
182186
/// <exception cref="global::System.InvalidOperationException"></exception>
183187
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")]
184188
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.RunObject> ModifyRunAsync(
185189
string threadId,
186190
string runId,
187-
object? metadata = default,
191+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
188192
global::System.Threading.CancellationToken cancellationToken = default)
189193
{
190194
var __request = new global::tryAGI.OpenAI.ModifyRunRequest

src/libs/tryAGI.OpenAI/Generated/tryAGI.OpenAI.AssistantsClient.ModifyThread.g.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,19 @@ partial void ProcessModifyThreadResponseContent(
172172
/// 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.
173173
/// </param>
174174
/// <param name="metadata">
175-
/// 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.
175+
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
176+
/// useful for storing additional information about the object in a structured<br/>
177+
/// format, and querying for objects via API or the dashboard. <br/>
178+
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
179+
/// with a maximum length of 512 characters.
176180
/// </param>
177181
/// <param name="cancellationToken">The token to cancel the operation with</param>
178182
/// <exception cref="global::System.InvalidOperationException"></exception>
179183
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "TRYAGI_OPENAI_BETA_001")]
180184
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ThreadObject> ModifyThreadAsync(
181185
string threadId,
182186
global::tryAGI.OpenAI.ModifyThreadRequestToolResources? toolResources = default,
183-
object? metadata = default,
187+
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
184188
global::System.Threading.CancellationToken cancellationToken = default)
185189
{
186190
var __request = new global::tryAGI.OpenAI.ModifyThreadRequest

0 commit comments

Comments
 (0)