Skip to content

Commit f4d3d2e

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#226)
Co-authored-by: github-actions[bot] <[email protected]>
1 parent 52c982c commit f4d3d2e

File tree

189 files changed

+2556
-6509
lines changed

Some content is hidden

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

189 files changed

+2556
-6509
lines changed

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

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

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ partial void ProcessCreateAssistantResponseContent(
182182
/// <param name="metadata">
183183
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
184184
/// useful for storing additional information about the object in a structured<br/>
185-
/// format, and querying for objects via API or the dashboard. <br/>
185+
/// format, and querying for objects via API or the dashboard.<br/>
186186
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
187187
/// with a maximum length of 512 characters.
188188
/// </param>
@@ -194,19 +194,14 @@ partial void ProcessCreateAssistantResponseContent(
194194
/// The name of the assistant. The maximum length is 256 characters.
195195
/// </param>
196196
/// <param name="reasoningEffort">
197-
/// Constrains effort on reasoning for <br/>
197+
/// Constrains effort on reasoning for<br/>
198198
/// [reasoning models](https://platform.openai.com/docs/guides/reasoning).<br/>
199199
/// Currently supported values are `minimal`, `low`, `medium`, and `high`. Reducing<br/>
200200
/// reasoning effort can result in faster responses and fewer tokens used<br/>
201201
/// on reasoning in a response.<br/>
202202
/// Default Value: medium
203203
/// </param>
204-
/// <param name="responseFormat">
205-
/// Specifies the format that the model must output. Compatible with [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.<br/>
206-
/// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).<br/>
207-
/// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.<br/>
208-
/// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length.
209-
/// </param>
204+
/// <param name="responseFormat"></param>
210205
/// <param name="temperature">
211206
/// 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/>
212207
/// Default Value: 1<br/>
@@ -236,7 +231,7 @@ partial void ProcessCreateAssistantResponseContent(
236231
global::System.Collections.Generic.Dictionary<string, string>? metadata = default,
237232
string? name = default,
238233
global::tryAGI.OpenAI.ReasoningEffort? reasoningEffort = default,
239-
global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default,
234+
object? responseFormat = default,
240235
double? temperature = default,
241236
global::tryAGI.OpenAI.CreateAssistantRequestToolResources? toolResources = default,
242237
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.AssistantTool>? tools = default,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ partial void ProcessCreateMessageResponseContent(
187187
/// <param name="metadata">
188188
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
189189
/// useful for storing additional information about the object in a structured<br/>
190-
/// format, and querying for objects via API or the dashboard. <br/>
190+
/// format, and querying for objects via API or the dashboard.<br/>
191191
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
192192
/// with a maximum length of 512 characters.
193193
/// </param>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ partial void ProcessCreateRunResponseContent(
211211
/// <param name="metadata">
212212
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
213213
/// useful for storing additional information about the object in a structured<br/>
214-
/// format, and querying for objects via API or the dashboard. <br/>
214+
/// format, and querying for objects via API or the dashboard.<br/>
215215
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
216216
/// with a maximum length of 512 characters.
217217
/// </param>
@@ -222,7 +222,7 @@ partial void ProcessCreateRunResponseContent(
222222
/// Whether to enable [parallel function calling](https://platform.openai.com/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
223223
/// </param>
224224
/// <param name="reasoningEffort">
225-
/// Constrains effort on reasoning for <br/>
225+
/// Constrains effort on reasoning for<br/>
226226
/// [reasoning models](https://platform.openai.com/docs/guides/reasoning).<br/>
227227
/// Currently supported values are `minimal`, `low`, `medium`, and `high`. Reducing<br/>
228228
/// reasoning effort can result in faster responses and fewer tokens used<br/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ partial void ProcessCreateThreadResponseContent(
179179
/// <param name="metadata">
180180
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
181181
/// useful for storing additional information about the object in a structured<br/>
182-
/// format, and querying for objects via API or the dashboard. <br/>
182+
/// format, and querying for objects via API or the dashboard.<br/>
183183
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
184184
/// with a maximum length of 512 characters.
185185
/// </param>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
188188
/// <param name="metadata">
189189
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
190190
/// useful for storing additional information about the object in a structured<br/>
191-
/// format, and querying for objects via API or the dashboard. <br/>
191+
/// format, and querying for objects via API or the dashboard.<br/>
192192
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
193193
/// with a maximum length of 512 characters.
194194
/// </param>
@@ -213,7 +213,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
213213
/// Example: 1
214214
/// </param>
215215
/// <param name="thread">
216-
/// Options to create a new thread. If no thread is provided when running a <br/>
216+
/// Options to create a new thread. If no thread is provided when running a<br/>
217217
/// request, an empty thread will be created.
218218
/// </param>
219219
/// <param name="toolChoice">

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ partial void ProcessModifyAssistantResponseContent(
189189
/// <param name="metadata">
190190
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
191191
/// useful for storing additional information about the object in a structured<br/>
192-
/// format, and querying for objects via API or the dashboard. <br/>
192+
/// format, and querying for objects via API or the dashboard.<br/>
193193
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
194194
/// with a maximum length of 512 characters.
195195
/// </param>
@@ -200,19 +200,14 @@ partial void ProcessModifyAssistantResponseContent(
200200
/// The name of the assistant. The maximum length is 256 characters.
201201
/// </param>
202202
/// <param name="reasoningEffort">
203-
/// Constrains effort on reasoning for <br/>
203+
/// Constrains effort on reasoning for<br/>
204204
/// [reasoning models](https://platform.openai.com/docs/guides/reasoning).<br/>
205205
/// Currently supported values are `minimal`, `low`, `medium`, and `high`. Reducing<br/>
206206
/// reasoning effort can result in faster responses and fewer tokens used<br/>
207207
/// on reasoning in a response.<br/>
208208
/// Default Value: medium
209209
/// </param>
210-
/// <param name="responseFormat">
211-
/// Specifies the format that the model must output. Compatible with [GPT-4o](https://platform.openai.com/docs/models#gpt-4o), [GPT-4 Turbo](https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.<br/>
212-
/// Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema. Learn more in the [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).<br/>
213-
/// Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.<br/>
214-
/// **Important:** when using JSON mode, you **must** also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if `finish_reason="length"`, which indicates the generation exceeded `max_tokens` or the conversation exceeded the max context length.
215-
/// </param>
210+
/// <param name="responseFormat"></param>
216211
/// <param name="temperature">
217212
/// 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/>
218213
/// Default Value: 1<br/>
@@ -243,7 +238,7 @@ partial void ProcessModifyAssistantResponseContent(
243238
global::tryAGI.OpenAI.AnyOf<string, global::tryAGI.OpenAI.AssistantSupportedModels?>? model = default,
244239
string? name = default,
245240
global::tryAGI.OpenAI.ReasoningEffort? reasoningEffort = default,
246-
global::tryAGI.OpenAI.AssistantsApiResponseFormatOption? responseFormat = default,
241+
object? responseFormat = default,
247242
double? temperature = default,
248243
global::tryAGI.OpenAI.ModifyAssistantRequestToolResources? toolResources = default,
249244
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.AssistantTool>? tools = default,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ partial void ProcessModifyMessageResponseContent(
190190
/// <param name="metadata">
191191
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
192192
/// useful for storing additional information about the object in a structured<br/>
193-
/// format, and querying for objects via API or the dashboard. <br/>
193+
/// format, and querying for objects via API or the dashboard.<br/>
194194
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
195195
/// with a maximum length of 512 characters.
196196
/// </param>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ partial void ProcessModifyRunResponseContent(
190190
/// <param name="metadata">
191191
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
192192
/// useful for storing additional information about the object in a structured<br/>
193-
/// format, and querying for objects via API or the dashboard. <br/>
193+
/// format, and querying for objects via API or the dashboard.<br/>
194194
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
195195
/// with a maximum length of 512 characters.
196196
/// </param>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ partial void ProcessModifyThreadResponseContent(
183183
/// <param name="metadata">
184184
/// Set of 16 key-value pairs that can be attached to an object. This can be<br/>
185185
/// useful for storing additional information about the object in a structured<br/>
186-
/// format, and querying for objects via API or the dashboard. <br/>
186+
/// format, and querying for objects via API or the dashboard.<br/>
187187
/// Keys are strings with a maximum length of 64 characters. Values are strings<br/>
188188
/// with a maximum length of 512 characters.
189189
/// </param>

0 commit comments

Comments
 (0)